Help with crash???

Discussion in 'iOS Programming' started by straber, Jan 10, 2013.

  1. straber, Jan 10, 2013
    Last edited by a moderator: Jan 10, 2013

    straber macrumors member

    Joined:
    Jul 3, 2012
    #1
    Can anyone help me understand this crash log? I can't figure out what's crashing and I can't reproduce it in the simulator or on my iPhone, it only happens on my boss' iPhone 4. The project is using ARC if that makes a difference.

    Code:
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0xd8f8c12c
    Crashed Thread:  17
    
    Thread 17 Crashed:
    0   QuartzCore                    	0x3601031a CA::Layer::collect_animations_(double, double*, CA::Layer::CollectAnimationsData*) + 522
    1   QuartzCore                    	0x36010326 CA::Layer::collect_animations_(double, double*, CA::Layer::CollectAnimationsData*) + 534
    2   QuartzCore                    	0x36010326 CA::Layer::collect_animations_(double, double*, CA::Layer::CollectAnimationsData*) + 534
    3   QuartzCore                    	0x36010108 CA::Layer::collect_animations(CA::Transaction*, double, double*) + 32
    4   QuartzCore                    	0x3600f556 CA::Context::commit_transaction(CA::Transaction*) + 1066
    5   QuartzCore                    	0x3600f024 CA::Transaction::commit() + 312
    6   QuartzCore                    	0x36055df6 CA::Transaction::release_thread(void*) + 166
    7   libsystem_c.dylib             	0x3465f128 _pthread_tsd_cleanup + 172
    8   libsystem_c.dylib             	0x3465edfe _pthread_exit + 114
    9   libsystem_c.dylib             	0x34678160 pthread_exit + 24
    10  Foundation                    	0x34392226 +[NSThread exit] + 6
    11  Foundation                    	0x34409696 __NSThread__main__ + 998
    12  libsystem_c.dylib             	0x3466c30e _pthread_start + 306
    13  libsystem_c.dylib             	0x3466c1d4 thread_start + 4
    
    Thread 17 crashed with ARM Thread State (32-bit):
        r0: 0xd8f8c120    r1: 0x8f8b854c      r2: 0x40e7b4ec      r3: 0x0000000c
        r4: 0x08680c30    r5: 0x00000000      r6: 0x08680c30      r7: 0x08680a58
        r8: 0x04410af0    r9: 0x08682cc0     r10: 0x8f8b854c     r11: 0x21334000
        ip: 0x3a838e7c    sp: 0x08680980      lr: 0x36010297      pc: 0x3601031a
      cpsr: 0x80000030
    
     
  2. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #2
    That crash log shows no signs of any of your classes. The classes listed are all built in classes. As for the Quartz it may be that it is failing on an animation.
     
  3. straber thread starter macrumors member

    Joined:
    Jul 3, 2012
    #3
    That's what it seems like to me, but why would Quartz be failing on an animation? And why would it only happen on some devices?
     
  4. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #4
    Use the analyzer. Turn on Zombies and if needed the various malloc debugging tools. Even though it's crashing in framework code it's almost a certainty that the bug is in your code, somewhere else.
     
  5. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #5
    This is true, I would still like to say its in your animation blocks.
     

Share This Page