In my app I occasionally get a crash when navigating away from a view with a GMSMapView in it (popping it from my UINavigationController). It's crashing on thread 10, and here's the crash info:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000004
Crashed Thread: 10
And the stack trace for that thread:
Thread 10 name: Dispatch queue: URLConnection
Thread 10 Crashed:
0 libsystem_c.dylib 0x39ef897c OSAtomicAdd32 + 0
1 CoreData 0x31bf3de4 _PFfastQueueRelease + 24
2 CoreData 0x31bd3ee8 -[NSManagedObject release] + 224
3 CoreFoundation 0x31d2d30c CFRelease + 96
4 CoreFoundation 0x31d47e96 -[__NSDictionaryM dealloc] + 130
5 Trail Tracker GPS 0x00206076 -[GMSTileDataCache .cxx_destruct] + 162
6 libobjc.A.dylib 0x39a90f3a object_cxxDestructFromClass(objc_object*, objc_class*) + 54
7 libobjc.A.dylib 0x39a8e0ce objc_destructInstance + 30
8 libobjc.A.dylib 0x39a8e3a2 object_dispose + 10
9 Trail Tracker GPS 0x00201810 -[GMSTileDataCache dealloc] + 172
10 Trail Tracker GPS 0x0030da12 -[GMSDASHTileService .cxx_destruct] + 318
11 libobjc.A.dylib 0x39a90f3a object_cxxDestructFromClass(objc_object*, objc_class*) + 54
12 libobjc.A.dylib 0x39a8e0ce objc_destructInstance + 30
13 libobjc.A.dylib 0x39a8e3a2 object_dispose + 10
14 Trail Tracker GPS 0x00309786 -[GMSDASHTileService dealloc] + 182
15 libobjc.A.dylib 0x39a90f3a object_cxxDestructFromClass(objc_object*, objc_class*) + 54
16 libobjc.A.dylib 0x39a8e0ce objc_destructInstance + 30
17 libobjc.A.dylib 0x39a8e3a2 object_dispose + 10
18 CoreFoundation 0x31d2d30c CFRelease + 96
19 CoreFoundation 0x31d37a0e -[__NSArrayI dealloc] + 74
20 Trail Tracker GPS 0x00230e84 -[GMSDASHStreamingBody .cxx_destruct] + 40
21 libobjc.A.dylib 0x39a90f3a object_cxxDestructFromClass(objc_object*, objc_class*) + 54
22 libobjc.A.dylib 0x39a8e0ce objc_destructInstance + 30
23 libobjc.A.dylib 0x39a8e3a2 object_dispose + 10
24 CoreFoundation 0x31d2d30c CFRelease + 96
25 CFNetwork 0x31aececa CoreReadStreamFromCFReadStream::~CoreReadStreamFromCFReadStream() + 38
26 CFNetwork 0x31aece8a CoreReadStreamFromCFReadStream::~CoreReadStreamFromCFReadStream() + 6
27 CoreFoundation 0x31d2d3ce CFRelease + 290
28 CFNetwork 0x31a4f7be HTTPRequest::~HTTPRequest() + 74
29 CFNetwork 0x31a4f76a HTTPRequest::~HTTPRequest() + 6
30 CoreFoundation 0x31d2d3ce CFRelease + 290
31 CFNetwork 0x31a54992 URLRequest::~URLRequest() + 106
32 CFNetwork 0x31a5491e URLRequest::~URLRequest() + 6
33 CoreFoundation 0x31d2d3ce CFRelease + 290
34 CFNetwork 0x31a4464c __CFURLCacheNode::~__CFURLCacheNode() + 40
35 CFNetwork 0x31a429de __CFURLCacheNode::~__CFURLCacheNode() + 6
36 CFNetwork 0x31a4f57e __CFURLCache::RemoveResponseFromCacheContainers(__CFURLCacheNode*, _CFCachedURLResponse const*, __CFString const*, bool) + 158
37 CFNetwork 0x31a4d71e __CFURLCache::AddResponseIntoCacheContainers(__CFString const*, __CFURLCacheNode*, bool) + 102
38 CFNetwork 0x31a4d652 __CFURLCache::CreateAndStoreCacheNode(__CFURLCacheNode*, _CFCachedURLResponse const*, __CFString const*, _CFURLRequest const*, void const*, bool, bool&) + 186
39 CFNetwork 0x31a900c8 __CFURLCache::AddCacheTask0(__CFURLCacheNode*) + 320
40 CFNetwork 0x31a8ff78 __CFURLCache::AddCacheTask(__CFURLCacheNode*) + 28
41 CFNetwork 0x31a4d55e CFURLCacheAddCachedResponseForRequest + 622
42 CFNetwork 0x31ac7ac4 ___internalEvent_WillCacheResponse_block_invoke_0 + 28
43 CFNetwork 0x31ac91ca URLConnectionClient_Classic::_delegate_willCacheResponse(_CFCachedURLResponse const*, void ()(_CFCachedURLResponse const*) block_pointer) + 42
44 CFNetwork 0x31ac7a96 URLConnectionClient::_internalEvent_WillCacheResponse() + 586
45 CFNetwork 0x31ac7b8c URLConnectionClient::_clientEvent_DidFinishLoading() + 172
46 CFNetwork 0x31acdaa8 ___withClientAsync_block_invoke_0 + 20
47 CFNetwork 0x31ac6426 ___withWorkQueueAsync_block_invoke_0 + 10
48 CFNetwork 0x31af0e34 ___performAsync_block_invoke_0 + 24
49 libdispatch.dylib 0x39ea911c _dispatch_call_block_and_release + 8
50 libdispatch.dylib 0x39ea8996 _dispatch_queue_drain$VARIANT$up + 142
51 libdispatch.dylib 0x39ea8890 _dispatch_queue_invoke$VARIANT$up + 32
52 libdispatch.dylib 0x39eb7212 _dispatch_root_queue_drain + 190
53 libdispatch.dylib 0x39eb73b4 _dispatch_worker_thread2 + 80
54 libsystem_c.dylib 0x39edda0e _pthread_wqthread + 358
55 libsystem_c.dylib 0x39edd8a0 start_wqthread + 4`
Has anyone seen crashes like this from GMSMapView or the Google Maps SDK?
I had this issue with Xcode 5 - DP 5 and a previous version of the Google Maps SDK. I upgraded the SDK and things seemed to go away.
Related
This crash is from crash report of app. Multiple URL requests crash cause of it. I want to figure out how to repeat the crash and why the crash happened.
Incident Identifier: 4A2BA2B1-9174-410F-9D51-88A151884484
CrashReporter Key: TODO
Hardware Model: iPhone8,1
Code Type: ARM-64
Parent Process: ??? [1]
Date/Time: 2016-09-28 02:43:26 +0000
OS Version: iPhone OS 10.0.2 (14A456)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x0
Crashed Thread: 21
Thread 21 Crashed:
0 CFNetwork _CFURLRequestCopyContentDispositionEncodingFallbackArray + 48
1 CFNetwork HTTPProtocol::updateForHeader(__CFHTTPMessage*) + 260
2 CFNetwork HTTPProtocol::performHeaderReadPostProcessing(__CFHTTPMessage*, unsigned char) + 156
3 CFNetwork HTTPProtocol::performHeaderRead(__CFHTTPMessage*) + 992
4 CFNetwork HTTPProtocol::handleStreamEvent(__CFHTTPMessage*, dispatch_data_s*, CFStreamError const*) + 496
5 CFNetwork ___ZN15HTTPTransaction22_onqueue_invokeHandlerEv_block_invoke.64 + 60
6 libdispatch.dylib _dispatch_client_callout + 16
7 libdispatch.dylib _dispatch_block_invoke_direct + 376
8 CFNetwork RunloopBlockContext::_invoke_block(void const*, void*) + 36
9 CoreFoundation CFArrayApplyFunction + 68
10 CFNetwork RunloopBlockContext::perform() + 136
11 CFNetwork MultiplexerSource::perform() + 312
12 CFNetwork MultiplexerSource::_perform(void*) + 64
13 CoreFoundation __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
14 CoreFoundation __CFRunLoopDoSources0 + 524
15 CoreFoundation __CFRunLoopRun + 804
16 CoreFoundation CFRunLoopRunSpecific + 444
17 CFNetwork +[NSURLConnection(Loader) _resourceLoadLoop:] + 336
18 Foundation __NSThread__start__ + 1024
19 libsystem_pthread.dylib _pthread_body + 240
20 libsystem_pthread.dylib _pthread_body + 0
21 libsystem_pthread.dylib thread_start + 4
I am looking for some assistance with squashing a bug in an OSX app that i just can't work out. I am getting a logged error of:
Selector name found in current argument registers: isEqual:
But i can't for the life of me work out where it's coming from as the log is very unhelpful. Also i can't reproduce this on my own test systems, but it seems to be happening quite a lot on some of the beta testers machines. This only seems to happen on 10.9.
Here is the log file for the crash:
Incident Identifier: 77FAD32D-0316-489E-B898-9C084A4FF48A
CrashReporter Key: A9FEF4E7-53F7-5FD1-AEDE-915C87BD437F
Hardware Model: MacBookPro8,1
Process: iModerate Deskto [4155]
Path: /Users/USER/Desktop/iModerate Desktop.app/Contents/MacOS/iModerate Desktop
Identifier: com.fuzzybadger.iModerate-Desktop
Version: 1.1.549
Code Type: X86-64
Parent Process: launchd [159]
Date/Time: 2014-02-28 10:40:33 +0000
OS Version: Mac OS X 10.9.0 (13A603)
Report Version: 104
Exception Type: SIGSEGV
Exception Codes: SEGV_NOOP at 0x0
Crashed Thread: 10
Application Specific Information:
Selector name found in current argument registers: isEqual:
Thread 0:
0 libsystem_kernel.dylib 0x00007fff852b1716 __psynch_cvwait + 10
1 QuartzCore 0x00007fff8769cce7 _ZN2CA13DispatchGroupD2Ev + 53
2 QuartzCore 0x00007fff8768916e _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 538
3 QuartzCore 0x00007fff876888f1 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 35
4 QuartzCore 0x00007fff8768837c _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 236
5 QuartzCore 0x00007fff87688016 _ZN2CA11Transaction6commitEv + 388
6 QuartzCore 0x00007fff876987a1 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 71
7 CoreFoundation 0x00007fff8998d0a7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
8 CoreFoundation 0x00007fff8998d017 __CFRunLoopDoObservers + 391
9 CoreFoundation 0x00007fff8997e294 CFRunLoopRunSpecific + 340
10 HIToolbox 0x00007fff8fbd1f0d RunCurrentEventLoopInMode + 226
11 HIToolbox 0x00007fff8fbd1b85 ReceiveNextEventCommon + 173
12 HIToolbox 0x00007fff8fbd1abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
13 AppKit 0x00007fff8ce6828e _DPSNextEvent + 1434
14 AppKit 0x00007fff8ce678db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
15 AppKit 0x00007fff8ce5b9cc -[NSApplication run] + 553
16 AppKit 0x00007fff8ce46803 NSApplicationMain + 940
17 libdyld.dylib 0x00007fff8ce435fd start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff852b2662 kevent64 + 10
1 libdispatch.dylib 0x00007fff91e9f152 _dispatch_mgr_init + 0
Thread 2:
0 libsystem_kernel.dylib 0x00007fff852ada1a mach_msg_trap + 10
1 CoreFoundation 0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2 CoreFoundation 0x00007fff8997e939 __CFRunLoopRun + 1161
3 CoreFoundation 0x00007fff8997e275 CFRunLoopRunSpecific + 309
4 Foundation 0x00007fff90e47907 +[NSURLConnection(Loader) _resourceLoadLoop:] + 348
5 Foundation 0x00007fff90e4770b __NSThread__main__ + 1318
6 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 3:
0 libsystem_kernel.dylib 0x00007fff852ada1a mach_msg_trap + 10
1 CoreFoundation 0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2 CoreFoundation 0x00007fff8997e939 __CFRunLoopRun + 1161
3 CoreFoundation 0x00007fff8997e275 CFRunLoopRunSpecific + 309
4 AppKit 0x00007fff8d0081ce _NSEventThread + 144
5 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 4:
0 libsystem_kernel.dylib 0x00007fff852ada1a mach_msg_trap + 10
1 CoreFoundation 0x00007fff8997f315 __CFRunLoopServiceMachPort + 181
2 CoreFoundation 0x00007fff8997e939 __CFRunLoopRun + 1161
3 CoreFoundation 0x00007fff8997e275 CFRunLoopRunSpecific + 309
4 Foundation 0x00007fff90e49a7c -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 253
5 Simperium-OSX 0x000000010cb6b838 -[_SRRunLoopThread main] (SRWebSocket.m:1744)
6 Foundation 0x00007fff90e4770b __NSThread__main__ + 1318
7 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
8 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 5:
0 libsystem_kernel.dylib 0x00007fff852b19aa __select + 10
1 libsystem_pthread.dylib 0x00007fff905e8899 _pthread_body + 138
2 libsystem_pthread.dylib 0x00007fff905e872a _pthread_struct_init + 0
Thread 6:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 8:
0 libsystem_platform.dylib 0x00007fff8bde7cd1 OSAtomicDequeue + 17
1 libsystem_malloc.dylib 0x00007fff8f4b16c4 nano_malloc + 35
2 libsystem_malloc.dylib 0x00007fff8f4af87c malloc_zone_malloc + 71
3 CoreFoundation 0x00007fff899118df __CFBasicHashRehash + 287
4 CoreFoundation 0x00007fff89917566 __CFBasicHashAddValue + 86
5 CoreFoundation 0x00007fff89916609 CFDictionarySetValue + 217
6 libCGCMS.A.dylib 0x00007fff8b857fb8 CreateProfileSet + 104
7 libCGCMS.A.dylib 0x00007fff8b857e61 profileRef + 189
8 libCGCMS.A.dylib 0x00007fff8b858b79 create + 1205
9 libCGCMS.A.dylib 0x00007fff8b859454 get_cms_space_for_space + 140
10 libCGCMS.A.dylib 0x00007fff8b8592ca get_color_world_for_space + 166
11 libCGCMS.A.dylib 0x00007fff8b8591f0 CMSTransformCreateConverter + 63
12 CoreGraphics 0x00007fff86681ba1 CGColorTransformCacheGetConversionType + 145
13 CoreGraphics 0x00007fff86681aeb CGColorTransformConvertNeedsCMS + 113
14 CoreGraphics 0x00007fff8667f8e9 img_data_lock + 1217
15 CoreGraphics 0x00007fff8667e480 CGSImageDataLock + 149
16 libRIP.A.dylib 0x00007fff86548b3c ripc_AcquireImage + 769
17 libRIP.A.dylib 0x00007fff86547b85 ripc_DrawImage + 1025
18 CoreGraphics 0x00007fff8667e023 CGContextDrawImage + 457
19 AppKit 0x00007fff8cfd8c02 __74-[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 835
20 AppKit 0x00007fff8cfd86a8 -[NSImageRep drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1073
21 AppKit 0x00007fff8cfd7fee __71-[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:]_block_invoke + 896
22 AppKit 0x00007fff8cf63626 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 170
23 AppKit 0x00007fff8cfd7b6c -[NSImage drawInRect:fromRect:operation:fraction:respectFlipped:hints:] + 1447
24 AppKit 0x00007fff8cfd7153 -[NSImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fraction:flip:hints:] + 1453
25 AppKit 0x00007fff8d01fa21 -[NSImageCell _drawImageWithFrame:inView:] + 225
26 AppKit 0x00007fff8d01f8e5 -[NSImageCell drawInteriorWithFrame:inView:] + 625
27 AppKit 0x00007fff8cfd4728 -[NSControl drawRect:] + 341
28 AppKit 0x00007fff8cfc98b0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1075
29 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
30 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
31 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
32 AppKit 0x00007fff8cfc936d __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 186
33 AppKit 0x00007fff8cfc9153 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2297
34 AppKit 0x00007fff8cfc8848 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
35 QuartzCore 0x00007fff8768a852 CABackingStoreUpdate_ + 2220
36 QuartzCore 0x00007fff87689fa0 ___ZN2CA5Layer8display_Ev_block_invoke + 59
37 QuartzCore 0x00007fff87689f5c x_blame_allocations + 84
38 QuartzCore 0x00007fff87689a6b _ZN2CA5Layer8display_Ev + 1539
39 AppKit 0x00007fff8cfc8713 _NSBackingLayerDisplay + 235
40 AppKit 0x00007fff8cf9faab -[_NSViewBackingLayer display] + 811
41 QuartzCore 0x00007fff8769ce1a _ZL16display_callbackPvS_ + 81
42 QuartzCore 0x00007fff8769cd69 _ZN2CA13DispatchGroup8dispatchEb + 69
43 libdispatch.dylib 0x00007fff91e9d2ad _dispatch_client_callout + 8
44 libdispatch.dylib 0x00007fff91e9f09e _dispatch_root_queue_drain + 326
45 libdispatch.dylib 0x00007fff91ea0193 _dispatch_worker_thread2 + 40
46 libsystem_pthread.dylib 0x00007fff905e9ef8 _pthread_wqthread + 314
47 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 10 Crashed:
0 libobjc.A.dylib 0x00007fff87f0e097 objc_msgSend + 23
1 CoreFoundation 0x00007fff899573d9 -[__NSDictionaryM setObject:forKey:] + 505
2 AppKit 0x00007fff8ceb032b -[NSCell _textAttributes] + 531
3 AppKit 0x00007fff8ceb00e2 -[NSCell _unformattedAttributedStringValue:] + 301
4 AppKit 0x00007fff8cfead57 -[NSButtonCell _currentTitle] + 122
5 AppKit 0x00007fff8cfea3fb -[NSButtonCell _configureAndDrawTitleWithRect:cellFrame:controlView:] + 148
6 AppKit 0x00007fff8cfd62cf -[NSButtonCell drawInteriorWithFrame:inView:] + 1965
7 AppKit 0x00007fff8cfd5ac8 -[NSButtonCell drawWithFrame:inView:] + 498
8 AppKit 0x00007fff8cfd4728 -[NSControl drawRect:] + 341
9 AppKit 0x00007fff8cfc98b0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1075
10 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
11 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
12 AppKit 0x00007fff8cfc9bb0 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:] + 1843
13 AppKit 0x00007fff8cfc936d __46-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke + 186
14 AppKit 0x00007fff8cfc9153 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2297
15 AppKit 0x00007fff8cfc8848 -[NSView(NSLayerKitGlue) drawLayer:inContext:] + 108
16 AppKit 0x00007fff8d01e57c -[_NSBackingLayerContents drawLayer:inContext:] + 149
17 QuartzCore 0x00007fff8768bcc9 -[CALayer drawInContext:] + 115
18 AppKit 0x00007fff8d01e0b8 -[_NSTiledLayer drawTile:inContext:] + 654
19 AppKit 0x00007fff8d01ddbc -[_NSTiledLayerContents drawLayer:inContext:] + 172
20 QuartzCore 0x00007fff8768bcc9 -[CALayer drawInContext:] + 115
21 AppKit 0x00007fff8d7f2565 -[NSTileLayer drawInContext:] + 169
22 QuartzCore 0x00007fff8768a852 CABackingStoreUpdate_ + 2220
23 QuartzCore 0x00007fff87689fa0 ___ZN2CA5Layer8display_Ev_block_invoke + 59
24 QuartzCore 0x00007fff87689f5c x_blame_allocations + 84
25 QuartzCore 0x00007fff87689a6b _ZN2CA5Layer8display_Ev + 1539
26 AppKit 0x00007fff8d01dccf -[NSTileLayer display] + 119
27 AppKit 0x00007fff8d01a175 -[_NSTiledLayerContents update:] + 5545
28 AppKit 0x00007fff8d0188e8 -[_NSTiledLayer display] + 404
29 QuartzCore 0x00007fff8769ce1a _ZL16display_callbackPvS_ + 81
30 QuartzCore 0x00007fff8769cd69 _ZN2CA13DispatchGroup8dispatchEb + 69
31 libdispatch.dylib 0x00007fff91e9d2ad _dispatch_client_callout + 8
32 libdispatch.dylib 0x00007fff91e9f09e _dispatch_root_queue_drain + 326
33 libdispatch.dylib 0x00007fff91ea0193 _dispatch_worker_thread2 + 40
34 libsystem_pthread.dylib 0x00007fff905e9ef8 _pthread_wqthread + 314
35 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 12:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 13:
0 libsystem_kernel.dylib 0x00007fff852b1e6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff905ecfb9 start_wqthread + 13
Thread 10 crashed with X86-64 Thread State:
rip: 0x00007fff87f0e097 rbp: 0x000000011ab59d20 rsp: 0x000000011ab59cb8 rax: 0x00007fff76b7c648
rbx: 0x0000000000000001 rcx: 0x0000000000000000 rdx: 0x00007fff76b7c648 rdi: 0x00006080006321a0
rsi: 0x00007fff8d89320c r8: 0x00007fff8d85082b r9: 0x0000000000000032 r10: 0x00007fff8d89320c
r11: 0xbadd0dacedb8bead r12: 0x0000608000232d00 r13: 0x0000000000000002 r14: 0x0000000000000003
r15: 0x0000000000000003 rflags: 0x0000000000010246 cs: 0x000000000000002b fs: 0x0000000000000000
gs: 0x000000000e5d0000
The string Selector name found in current argument registers: isEqual: in the crash report is actually coming from HockeySDK and shows the last selector name objc_msgSend() was trying to call. It is identical to OS X showing the following string in their crash reports: objc_msgSend() selector name: isEqual:.
We'll improve this message in our SDK and also see what we can do in the backend for current incoming messages.
So the crash is not caused by HockeySDK!
The reason for the crash is, that objc_msgSend (thread 10 frame 0) was trying to call isEqual on an invalid object, hence the exception type SIGSEGV (See http://en.wikipedia.org/wiki/Segmentation_fault ). This was triggered by [NSButtonCell _currentTitle] in frame 4.
So you might want to check your table views and cells memory management. Especially when you assign a title to an NSButtonCell.
Does anyone have a clue on this crash ?
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x30e57e83 __exceptionPreprocess + 131
1 libobjc.A.dylib 0x3b1b86c7 objc_exception_throw + 38
2 CoreFoundation 0x30e57dc5 +[NSException raise:format:] + 112
3 CoreData 0x30bc6be3 -[_PFBatchFaultingArray objectAtIndex:] +
146
4 ChevronRetail 0x000345bd 0x1f000 + 87485
5 ChevronRetail 0x000314e5 0x1f000 + 74981
6 ChevronRetail 0x0003143d 0x1f000 + 74813
7 ChevronRetail 0x000313c3 0x1f000 + 74691
8 ChevronRetail 0x00031cc7 0x1f000 + 76999
9 UIKit 0x336d7349 -[UIScrollView(UIScrollViewInternal)
_delegateScrollViewAnimationEnded] + 68
10 UIKit 0x336d72c5 -[UIScrollView(UIScrollViewInternal)
_scrollViewAnimationEnded:finished:] + 176
11 UIKit 0x023c001b 0x2393000 + 184347
12 UIKit 0x3377fd6b -[UIAnimator stopAnimation:] + 466
13 UIKit 0x3377f74d -[UIAnimator(Static) _advanceAnimationsOfType:withTimestamp:] + 284
14 UIKit 0x3377f62d -[UIAnimator(Static) _LCDHeartbeatCallback:] + 52
15 QuartzCore 0x332b2ad3 CA::Display::DisplayLinkItem::dispatch() + 98
16 QuartzCore 0x332b287d CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 344
17 IOMobileFramebuffer 0x35edc76d IOMobileFramebufferVsyncNotifyFunc + 104
18 IOKit 0x31b39be5 IODispatchCalloutFromCFMessage + 248
19 CoreFoundation 0x30e17b81 __CFMachPortPerform + 136
20 CoreFoundation 0x30e22777 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 34
21 CoreFoundation 0x30e22713 __CFRunLoopDoSource1 + 346
22 CoreFoundation 0x30e20edf __CFRunLoopRun + 1406
23 CoreFoundation 0x30d8b471 CFRunLoopRunSpecific + 524
24 CoreFoundation 0x30d8b253 CFRunLoopRunInMode + 106
25 GraphicsServices 0x35abf2eb GSEventRunModal + 138
26 UIKit 0x33640845 UIApplicationMain + 1136
27 ChevronRetail 0x00057fd5 0x1f000 + 233429
28 libdyld.dylib 0x3b6b1ab7 start + 2
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3b7681fc __pthread_kill + 8
1 libsystem_pthread.dylib 0x3b7cfa4f pthread_kill + 55
2 libsystem_c.dylib 0x3b719029 abort + 73
3 libc++abi.dylib 0x3ab6798b abort_message + 71
4 libc++abi.dylib 0x3ab806e3 default_terminate_handler() + 251
5 libobjc.A.dylib 0x3b1b8937 _objc_terminate() + 191
6 libc++abi.dylib 0x3ab7e1b1 std::__terminate(void (*)()) + 77
7 libc++abi.dylib 0x3ab7dd13 __cxa_rethrow + 99
8 libobjc.A.dylib 0x3b1b880b objc_exception_rethrow + 39
9 CoreFoundation 0x30d8b4e3 CFRunLoopRunSpecific + 639
10 CoreFoundation 0x30d8b24f CFRunLoopRunInMode + 103
11 GraphicsServices 0x35abf2e7 GSEventRunModal + 135
12 UIKit 0x33640841 UIApplicationMain + 1133
13 ChevronRetail 0x00057fd1 0x1f000 + 233425
14 libdyld.dylib 0x3b6b1ab5 start + 1
Today i tried running my app on my iPhone device, and it crashed! It worked perfectly fine on the simulator, I don't know what the problem is.
These are the crash logs:
Identifier: Evader
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-09-13 16:41:54.656 -0700
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x377d888f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x354dd259 objc_exception_throw + 33
2 CoreFoundation 0x377d8789 +[NSException raise:format:] + 1
3 Foundation 0x380173a3 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 91
4 Evader 0x0012ca41 -[CCSprite initWithTexture:] (CCSprite.m:192)
5 Evader 0x0012c1b1 +[CCSprite spriteWithTexture:] (CCSprite.m:83)
6 Evader 0x0011eb3d -[CCProgressTimer initWithTexture:] (CCProgressTimer.m:69)
7 Evader 0x0011ea55 -[CCProgressTimer initWithFile:] (CCProgressTimer.m:59)
8 Evader 0x0011e9e1 +[CCProgressTimer progressWithFile:] (CCProgressTimer.m:55)
9 Evader 0x00173579 -[HelloWorldLayer lives] (HelloWorldLayer.m:256)
10 Evader 0x001723ed -[HelloWorldLayer init] (HelloWorldLayer.m:101)
11 Evader 0x0010f073 +[CCNode node] (CCNode.m:258)
12 Evader 0x0017bd11 -[StartMenu doThis:] (StartMenu.m:75)
13 CoreFoundation 0x377db7e4 __invoking___ + 68
14 CoreFoundation 0x377367b1 -[NSInvocation invoke] + 161
15 Evader 0x0010aa03 -[CCMenuItem activate] (CCMenuItem.m:129)
16 Evader 0x001085ff -[CCMenu ccTouchEnded:withEvent:] (CCMenu.m:198)
17 CoreFoundation 0x377323fd -[NSObject performSelector:withObject:withObject:] + 53
18 Evader 0x0014f4ff -[CCTouchDispatcher touches:withEvent:withTouchType:] (CCTouchDispatcher.m:268)
19 Evader 0x0014fc43 -[CCTouchDispatcher touchesEnded:withEvent:] (CCTouchDispatcher.m:338)
20 Evader 0x001515c3 -[EAGLView touchesEnded:withEvent:] (EAGLView.m:332)
21 UIKit 0x314c692b -[UIWindow _sendTouchesForEvent:] + 319
22 UIKit 0x314c6319 -[UIWindow sendEvent:] + 381
23 UIKit 0x314ac695 -[UIApplication sendEvent:] + 357
24 UIKit 0x314abf3b _UIApplicationHandleEvent + 5827
25 GraphicsServices 0x33eee22b PurpleEventCallback + 883
26 CoreFoundation 0x377ac523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 39
27 CoreFoundation 0x377ac4c5 __CFRunLoopDoSource1 + 141
28 CoreFoundation 0x377ab313 __CFRunLoopRun + 1371
29 CoreFoundation 0x3772e4a5 CFRunLoopRunSpecific + 301
30 CoreFoundation 0x3772e36d CFRunLoopRunInMode + 105
31 GraphicsServices 0x33eed439 GSEventRunModal + 137
32 UIKit 0x314dacd5 UIApplicationMain + 1081
33 Evader 0x00171029 main (main.m:14)
34 Evader 0x000dec68 start + 40
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x3198f32c __pthread_kill + 8
1 libsystem_c.dylib 0x3408c208 pthread_kill + 48
2 libsystem_c.dylib 0x34085298 abort + 88
3 libc++abi.dylib 0x36f12f64 abort_message + 40
4 libc++abi.dylib 0x36f10346 _ZL17default_terminatev + 18
5 libobjc.A.dylib 0x354dd350 _objc_terminate + 140
6 libc++abi.dylib 0x36f103be _ZL19safe_handler_callerPFvvE + 70
7 libc++abi.dylib 0x36f1044a std::terminate() + 14
8 libc++abi.dylib 0x36f1181e __cxa_rethrow + 82
9 libobjc.A.dylib 0x354dd2a2 objc_exception_rethrow + 6
10 CoreFoundation 0x3772e506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x3772e366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x33eed432 GSEventRunModal + 130
13 UIKit 0x314dacce UIApplicationMain + 1074
14 Evader 0x00171022 main (main.m:14)
15 Evader 0x000dec60 start + 32
I have tried to look for the error, but I do not know what to look for. Can someone help solve this problem?
CCSprite initWithTexture: raises the exception that causes your app to exit. I'm not entirely up on Cocos2d but a quick check in the documentation suggests it raises exceptions on failure to find named files.
That being the case, I'd guess the problem is simply one of filename case. Macs are by default case insensitive. So if you have FunnyImage.png then the simulator will succeed if you attempt to load funnyimage.png.
iOS devices are case sensitive. So it will fail if you attempt to load funnyimage.png.
So probably what you want to do is check that all the filenames you've used in code exactly match the case of the actual files.
Here's the issue. I have the .xarchive with all the DSYMs but for whatever reason using symbolicatecrash or xcode is only converting some of the symbols to lines while leaving other ones unconverted. Any ideas? I'm using xCode 4.3.2 on OS X Lion.
For example, from a crash log from the appstore
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x37f0e628 _semwait_signal + 24
1 libsystem_c.dylib 0x33d66b1a nanosleep
2 libsystem_c.dylib 0x33d71608 sleep
3 AudioToolbox 0x362b7abc AudioQueueNew(bool, AudioStreamBasicDescription const*, TCACallback const&, CACallbackTarget const&, unsigned long, OpaqueAudioQueue*)
4 AudioToolbox 0x362b77da AudioQueueNewOutput
5 AVFoundation 0x359b718e allocAudioQueue(AVAudioPlayer*, AudioPlayerImpl*)
6 AVFoundation 0x359b54b4 prepareToPlayQueue(AVAudioPlayer*, AudioPlayerImpl*)
7 AVFoundation 0x359b5a3c playQueue(AVAudioPlayer*, AudioPlayerImpl*, AudioTimeStamp const*)
8 AVFoundation 0x359b58d2 -[AVAudioPlayer play]
9 APP_ 0x00049ffe 0x00049ffe
10 APP_ 0x0004fbfe 0x0004fbfe
11 APP_ 0x00051b9a 0x00051b9a
12 APP_ 0x00016462 0x00016462
13 Foundation 0x3704f92c _NSFireDelayedPerform
14 CoreFoundation 0x3156aa2c _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
15 CoreFoundation 0x3156a692 _CFRunLoopDoTimer
16 CoreFoundation 0x31569268 CFRunLoopRun + 1200
17 CoreFoundation 0x314ec49e CFRunLoopRunSpecific
18 CoreFoundation 0x314ec366 CFRunLoopRunInMode
19 GraphicsServices 0x329c5432 GSEventRunModal
20 UIKit 0x317f1cce UIApplicationMain
21 APP 0x000032c0 0x000032c0
22 APP_ 0x00003270 0x00003270
Symbolicated:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x37f0e628 _semwait_signal + 24
1 libsystem_c.dylib 0x33d66b1a nanosleep + 138
2 libsystem_c.dylib 0x33d71608 sleep + 40
3 AudioToolbox 0x362b7abc _ZL13AudioQueueNewbPK27AudioStreamBasicDescriptionRK11TCACallbackIPvS3_ERK16CACallbackTargetmPP16OpaqueAudioQueue + 680
4 AudioToolbox 0x362b77da AudioQueueNewOutput + 126
5 AVFoundation 0x359b718e _ZL15allocAudioQueueP13AVAudioPlayerP15AudioPlayerImpl + 86
6 AVFoundation 0x359b54b4 _ZL18prepareToPlayQueueP13AVAudioPlayerP15AudioPlayerImpl + 20
7 AVFoundation 0x359b5a3c ZL9playQueueP13AVAudioPlayerP15AudioPlayerImplPK14AudioTimeStamp + 184
8 AVFoundation 0x359b58d2 -[AVAudioPlayer play] + 162
9 APP 0x00049ffe 0x00049ffe
10 APP_ 0x0004fbfe 0x0004fbfe
11 APP_ 0x00051b9a 0x00051b9a
12 APP_ 0x00016462 -[BackpackSetupViewController scenario] (BackpackSetupViewController.m:167)
13 Foundation 0x3704f92c _NSFireDelayedPerform + 408
14 CoreFoundation 0x3156aa2c _CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION_ + 8
15 CoreFoundation 0x3156a692 _CFRunLoopDoTimer + 358
16 CoreFoundation 0x31569268 CFRunLoopRun + 1200
17 CoreFoundation 0x314ec49e CFRunLoopRunSpecific + 294
18 CoreFoundation 0x314ec366 CFRunLoopRunInMode + 98
19 GraphicsServices 0x329c5432 GSEventRunModal + 130
20 UIKit 0x317f1cce UIApplicationMain + 1074
21 APP 0x000032c0 main (main.m:14)
22 APP_ 0x00003270 0x00003270