Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to understand crash log on XCode 4
    text
    copied!<p>I am trying to debug the cause of my app to crash. From my trial I realized that somewhere, there were leaks and I am in the middle of figuring out. I knew it because when I tried debugging using this method <a href="http://www.friday.com/bbum/2010/10/17/when-is-a-leak-not-a-leak-using-heapshot-analysis-to-find-undesirable-memory-growth/" rel="nofollow">here</a>, it will crash eventually as it seems the memory leaks bulking up after some time.</p> <p>To find out the caused, I have now open the NSZombieEnabled to YES on XCode 4. But I didn't see anything. So now I turn to crash log. And here it is :</p> <pre><code>Thread 7 Crashed: 0 libsystem_kernel.dylib 0x31b71a1c __pthread_kill + 8 1 libsystem_c.dylib 0x35ceb3b4 pthread_kill + 52 2 libsystem_c.dylib 0x35ce3bf8 abort + 72 3 libsystem_c.dylib 0x35d1f024 free + 104 4 ImageIO 0x32ca35f0 ImageProviderReleaseInfoCallback + 56 5 CoreGraphics 0x31a05284 image_provider_finalize + 8 6 CoreFoundation 0x35aad288 _CFRelease + 160 7 CoreFoundation 0x35aad1ae CFRelease + 82 8 CoreGraphics 0x319fe150 CGImageProviderRelease + 4 9 CoreGraphics 0x31a00bac CGImageBlockSetRelease + 44 10 CoreGraphics 0x31a00b70 img_blocks_destroy + 8 11 CoreGraphics 0x319fdaae CGSImageDataUnlock + 26 12 libRIP.A.dylib 0x309eebae ripc_ReleaseImage + 374 13 libRIP.A.dylib 0x309ecc9c ripc_DrawImage + 536 14 CoreGraphics 0x319f9284 CGContextDelegateDrawImage + 44 15 CoreGraphics 0x319f9142 CGContextDrawImage + 250 16 myapp 0x000c6a28 0x45000 + 530984 17 myapp 0x000c6d6a 0x45000 + 531818 18 myapp 0x000c681c 0x45000 + 530460 19 myapp 0x000c3526 0x45000 + 517414 20 myapp 0x000c3796 0x45000 + 518038 21 Foundation 0x33486382 -[NSThread main] + 38 22 Foundation 0x334f85c6 __NSThread__main__ + 966 23 libsystem_c.dylib 0x35ceb30a _pthread_start + 242 24 libsystem_c.dylib 0x35cecbb4 thread_start + 0 </code></pre> <p>My question : is there any tips on how to read and understand this debug log? Maybe a link or book that cover how to debug all together. Thanks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload