I'm trying to decipher a crash report from an app in the app store; but it isn't very meaningful.
The crash file has been emailed to us, and we have tried symbolicating with the dSYM file from the original app build for the store; but none of the symbols resolve correctly; so we have reverted to using atos and running it over the binary submited to the app store along with the memory addresses in the crash file.
When we resolve the symbols using atos.
Thread 0 Crashed:
0 libSystem.B.dylib 0x33b5d268 0x33b5c000 + 4712
1 libSystem.B.dylib 0x33b5f354 0x33b5c000 + 13140
2 CoreFoundation 0x33a48648 0x33a20000 + 165448
3 CoreFoundation 0x33a47ed2 0x33a20000 + 163538
4 CoreFoundation 0x33a47c80 0x33a20000 + 162944
5 CoreFoundation 0x33a47b88 0x33a20000 + 162696
6 GraphicsServices 0x33b0e4a4 0x33b0a000 + 17572
7 GraphicsServices 0x33b0e550 0x33b0a000 + 17744
8 UIKit 0x32099322 0x32062000 + 226082
9 UIKit 0x32096e8c 0x32062000 + 216716
10 MyApp 0x00002b6c 0x1000 + 7020
11 MyApp 0x00002b20 0x1000 + 6944
After we run atos over the memory addresses: 0x00002b6c & 0x00002b20
atos -o MyApp -arch armv7 0x00002b6c 0x00002b20
and it resolves to the following:
main (in MyApp) (main.m:14)
start (in MyApp) + 32
What could cause an app to crash in start/main ? We don't know the use case here; and are unable to resolve the symbols further up the stack.
Any help would be greatly appreciated.
Cheers
UPDATE: I did manage to symbolicate.
Incident Identifier: xxx
CrashReporter Key: yyy
Hardware Model: iPhone3,1
Process: MyApp [343]
Path: /var/mobile/Applications/1DACD08C-ECFA-4B24-913A-65E8F594AF7F/MyApp.app/MyApp
Identifier: MyApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-03-03 10:28:38.346 +1000
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Thread 0 Crashed:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 GraphicsServices 0x33b0e4a4 GSEventRunModal + 108
7 GraphicsServices 0x33b0e550 GSEventRun + 56
8 UIKit 0x32099322 -[UIApplication _run] + 406
9 UIKit 0x32096e8c UIApplicationMain + 664
10 MyApp 0x00002b6c main (main.m:14)
11 MyApp 0x00002b20 start + 32
Thread 1:
0 libSystem.B.dylib 0x33b89974 kevent + 24
1 libSystem.B.dylib 0x33c33704 _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x33c33174 _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x33c32b98 _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x33bd724a _pthread_wqthread + 258
5 libSystem.B.dylib 0x33bcf970 start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 WebCore 0x304df124 RunWebThread(void*) + 332
7 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
8 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 3:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 Foundation 0x336465f6 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 206
7 Foundation 0x33624192 -[NSThread main] + 38
8 Foundation 0x3361d242 __NSThread__main__ + 966
9 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
10 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 4:
0 libSystem.B.dylib 0x33b8168c select$DARWIN_EXTSN + 20
1 CoreFoundation 0x33a7f662 __CFSocketManager + 582
2 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
3 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 5:
0 libSystem.B.dylib 0x33bd3d94 __semwait_signal_nocancel + 24
1 libSystem.B.dylib 0x33bd3944 nanosleep$NOCANCEL + 108
2 libSystem.B.dylib 0x33bcba50 usleep$NOCANCEL + 36
3 libSystem.B.dylib 0x33be9d78 abort + 56
4 libstdc++.6.dylib 0x31bdba20 __gnu_cxx::__verbose_terminate_handler() + 376
5 libobjc.A.dylib 0x3347c594 _objc_terminate + 104
6 libstdc++.6.dylib 0x31bd9df2 __cxxabiv1::__terminate(void (*)()) + 46
7 libstdc++.6.dylib 0x31bd9e46 std::terminate() + 10
8 libstdc++.6.dylib 0x31bd9f16 __cxa_throw + 78
9 libobjc.A.dylib 0x3347b4c4 objc_exception_throw + 64
10 CoreFoundation 0x33ac0304 __NSFastEnumerationMutationHandler + 208
11 libobjc.A.dylib 0x33481486 objc_enumerationMutation + 18
12 MyApp 0x00016a32 -[Library downloadImages] (Library.m:202)
13 Foundation 0x33624192 -[NSThread main] + 38
14 Foundation 0x3361d242 __NSThread__main__ + 966
15 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
16 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 6:
0 libSystem.B.dylib 0x33bd79e0 __workq_kernreturn + 8
1 libSystem.B.dylib 0x33bd7364 _pthread_wqthread + 540
2 libSystem.B.dylib 0x33bcf970 start_wqthread + 0
Thread 7:
0 libSystem.B.dylib 0x33bd79e0 __workq_kernreturn + 8
1 libSystem.B.dylib 0x33bd7364 _pthread_wqthread + 540
2 libSystem.B.dylib 0x33bcf970 start_wqthread + 0
Thread 8:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 AudioToolbox 0x316504ba GenericRunLoopThread::RunLoop() + 30
7 AudioToolbox 0x31663306 TRunLoop<AQClient>::Entry(void*) + 90
8 AudioToolbox 0x316501d2 CAPThread::Entry(CAPThread*) + 138
9 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
10 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 9:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 CFNetwork 0x30cffb24 CFURLConnectionSendSynchronousRequest + 244
7 Foundation 0x336c7cfc +[NSURLConnection sendSynchronousRequest:returningResponse:error:] + 76
8 Foundation 0x33665952 -[NSData(NSData) initWithContentsOfURL:] + 134
9 Foundation 0x33665b74 +[NSData(NSData) dataWithContentsOfURL:] + 24
10 MyApp 0x0001448c -[Song retrieveImage] (Song.m:69)
11 MyApp 0x00016a58 -[Library downloadImages] (Library.m:204)
12 Foundation 0x33624192 -[NSThread main] + 38
13 Foundation 0x3361d242 __NSThread__main__ + 966
14 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
15 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 0 crashed with ARM Thread State:
r0: 0x10004005 r1: 0x07000006 r2: 0x00000000 r3: 0x00000c00
r4: 0x00001303 r5: 0xffffffff r6: 0x00000000 r7: 0x2fdfecf4
r8: 0x00000000 r9: 0x050fc098 r10: 0x00000000 r11: 0xffffffff
ip: 0xffffffe1 sp: 0x2fdfecbc lr: 0x33b5f35b pc: 0x33b5d268
cpsr: 0x600f0010
Did you check some object released, which send message ? My English is not good, I give some example as following.
NSString *aReleasedStr = [[NSString stringWithString:#"test"] release]; //< released
int aIntVal = [aReleasedStr intValue]; ///< crash
I encountered such crash report before, when I send a message with a released object. Maybe you can check such cases.
Related
I'm using Xcode 5 to make my app. When I run it on the simulator using IOS 6.1 everything works perfectly, but when I run the app on IOS 7 it crashes! Here is the crash log I'm getting from the webview:
`Incident Identifier: 01BCFB4C-E85B-488D-9855-4188D27566B1
CrashReporter Key: cc047dce10a1cd20b4718dbf73ddc413162841fe
Hardware Model: iPhone5,1
Process: Widgets iphone [420]
Path: /var/mobile/Applications/0D552E90-FF2C-4561-B012-0901359ED7A0/Widgets iphone.app/Widgets iphone
Identifier: jeardev.Widgets-iphone
Version: 1.1 (1.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-08-27 20:49:46.578 -0500
OS Version: iOS 7.0 (11A4449d)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000f0
Triggered by Thread: 7
Thread 0:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccacc2 __CFRunLoopRun + 858
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 GraphicsServices 0x326c933e GSEventRunModal + 134
7 UIKit 0x3024e7b0 UIApplicationMain + 1132
8 Widgets iphone 0x00071fa2 main (main.m:16)
9 libdyld.dylib 0x3823fab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 3 name: gputools.smt_poll.0x16580fd0
Thread 3:
0 libsystem_kernel.dylib 0x382f6550 __semwait_signal + 24
1 libsystem_c.dylib 0x382674e8 nanosleep + 168
2 libsystem_c.dylib 0x38267438 usleep + 48
3 GPUToolsCore 0x0062b0bc smt_poll_thread_entry(void*) + 120
4 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
5 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
6 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x382e3838 kevent64 + 24
1 libdispatch.dylib 0x382320d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3822c63e _dispatch_mgr_thread + 34
Thread 5:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 7 name: WebThread
Thread 7 Crashed:
0 WebCore 0x35ac9de8 WebCore::ApplicationCacheGroup::selectCache(WebCore::Frame*, WebCore::KURL const&) + 544
1 WebCore 0x358d12b6 WebCore::HTMLHtmlElement::insertedByParser() + 90
2 WebCore 0x358c9936 WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML(WebCore::AtomicHTMLToken*) + 318
3 WebCore 0x3589f1b4 WebCore::HTMLTreeBuilder::processStartTag(WebCore::AtomicHTMLToken*) + 2472
4 WebCore 0x3589e76e WebCore::HTMLTreeBuilder::processToken(WebCore::AtomicHTMLToken*) + 86
5 WebCore 0x3589e552 WebCore::HTMLTreeBuilder::constructTree(WebCore::AtomicHTMLToken*) + 30
6 WebCore 0x3589e038 WebCore::HTMLDocumentParser::constructTreeFromHTMLToken(WebCore::HTMLToken&) + 96
7 WebCore 0x358910f0 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) + 248
8 WebCore 0x3590234e WebCore::HTMLDocumentParser::append(WTF::PassRefPtr<WTF::StringImpl>) + 290
9 WebCore 0x35901872 WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter*, char const*, unsigned long) + 70
10 WebCore 0x358bdae4 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 32
11 WebKit 0x362c366e -[WebHTMLRepresentation receivedData:withDataSource:] + 178
12 WebKit 0x362c3508 -[WebDataSource(WebInternal) _receivedData:] + 132
13 WebKit 0x362c3464 WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 96
14 WebCore 0x358f9240 WebCore::DocumentLoader::commitLoad(char const*, int) + 96
15 WebCore 0x358f9198 WebCore::DocumentLoader::dataReceived(WebCore::CachedResource*, char const*, int) + 492
16 WebCore 0x358f79b0 WebCore::DocumentLoader::continueAfterContentPolicy(WebCore::PolicyAction) + 760
17 WebCore 0x358f6fde WebCore::DocumentLoader::responseReceived(WebCore::CachedResource*, WebCore::ResourceResponse const&) + 650
18 WebCore 0x35b73a1a WebCore::DocumentLoader::handleSubstituteDataLoadNow(WebCore::Timer<WebCore::DocumentLoader>*) + 322
19 WebCore 0x3581d2d4 WebCore::ThreadTimers::sharedTimerFiredInternal() + 132
20 WebCore 0x3581d226 WebCore::timerFired(__CFRunLoopTimer*, void*) + 22
21 CoreFoundation 0x2dccce84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
22 CoreFoundation 0x2dccca9e __CFRunLoopDoTimer + 790
23 CoreFoundation 0x2dccae26 __CFRunLoopRun + 1214
24 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
25 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
26 WebCore 0x358abf68 RunWebThread(void*) + 416
27 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
28 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
29 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccac7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 Foundation 0x2e6519bc +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2e6c72b2 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
9 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
10 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccac7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2cc125ae GenericRunLoopThread::Entry(void*) + 126
7 libAVFAudio.dylib 0x2cc05f44 CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
9 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
10 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x382f6440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dcd045a __CFSocketManager + 478
2 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
3 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
4 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 11 name: JavaScriptCore::BlockFree
Thread 11:
0 libsystem_kernel.dylib 0x382f5f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3835c262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3835d03c pthread_cond_wait + 36
3 JavaScriptCore 0x2ec3a408 JSC::BlockAllocator::blockFreeingThreadMain() + 204
4 JavaScriptCore 0x2ec37a70 WTF::wtfThreadEntryPoint(void*) + 12
5 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
6 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
7 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 12 name: JavaScriptCore::Marking
Thread 12:
0 libsystem_kernel.dylib 0x382f5f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3835c262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3835d03c pthread_cond_wait + 36
3 JavaScriptCore 0x2edd8af2 JSC::GCThread::waitForNextPhase() + 74
4 JavaScriptCore 0x2edd8b4c JSC::GCThread::gcThreadMain() + 48
5 JavaScriptCore 0x2ec37a70 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
7 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
8 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 13 name: WebCore: CFNetwork Loader
Thread 13:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccac7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 WebCore 0x358f512a WebCore::runLoaderThread(void*) + 250
7 JavaScriptCore 0x2ec37a70 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
9 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
10 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 14:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 7 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000008 r2: 0x9b81ac40 r3: 0x00000021
r4: 0x00000000 r5: 0x0367daf0 r6: 0x04cf6750 r7: 0x031b4818
r8: 0x0309f040 r9: 0x00000035 r10: 0x0309f000 r11: 0x04b2d000
ip: 0x39d5d5cc sp: 0x031b477c lr: 0x35ac9de5 pc: 0x35ac9de8
cpsr: 0x00000030
`
It is particularly crashing "Thread 5 Webthread" Sometimes Thread 8
Any feedback is appreciated :)
I figured out the problem, #Jake Lin's suggestion was right it was the link. I was trying to connect to twitter and I was using the URL: http://mobile.twitter.com/account and I tried changing it to: https://mobile.twitter.com/account where I added the "s" in the http. Very strange problem but that seemed to fix it.
Does anyone have any insight on why this crash log is happening? The app records the locations where the user goes. So it has the UIBackgroundModes's Location is set in Info.plist to continue getting location updates in background. According to the log, something seems to crash after 10 minutes.
Incident Identifier: 4BA294E8-0DDF-4EC2-812A-20394F758A7F
CrashReporter Key: 59997a4e160853691bc673802439c8c4b9ca7ba3
Hardware Model: iPhone3,1
Process: MyMapApp [1234]
Path: /var/mobile/Applications/826E35FE-F6B7-477E-943E-CE18D0D03145/MyMapApp.app/MyMapApp
Identifier: MyMapApp
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2011-03-02 13:25:05.228 -0600
OS Version: iPhone OS 4.2.1 (8C148)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x8badf00d
Highlighted Thread: 0
Application Specific Information:
MyMapApp[1234] has active assertions beyond permitted time:
{(
<SBProcessAssertion: 0x63a07a0> identifier: CoreLocationRegistration process: MyMapApp[1234] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:1234 preventSuspend preventIdleSleep ,
<SBProcessAssertion: 0xa095050> identifier: CoreLocationBackgroundClient process: MyMapApp[1234] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:1234 preventSuspend preventIdleSleep
)}
Elapsed total CPU time (seconds): 43.660 (user 17.920, system 25.740), 7% CPU
Elapsed application CPU time (seconds): 1.500, 0% CPU
Thread 0:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 GraphicsServices 0x33b0e4a4 GSEventRunModal + 108
7 GraphicsServices 0x33b0e550 GSEventRun + 56
8 UIKit 0x32099322 -[UIApplication _run] + 406
9 UIKit 0x32096e8c UIApplicationMain + 664
10 MyMapApp 0x00105546 main (main.m:50)
11 MyMapApp 0x00003f4c start + 44
Thread 1:
0 libSystem.B.dylib 0x33b89974 kevent + 24
1 libSystem.B.dylib 0x33c33704 _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x33c33174 _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x33c32b98 _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x33bd724a _pthread_wqthread + 258
5 libSystem.B.dylib 0x33bcf970 start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 WebCore 0x304df124 RunWebThread(void*) + 332
7 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
8 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 3:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 Foundation 0x336465f6 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 206
7 Foundation 0x33624192 -[NSThread main] + 38
8 Foundation 0x3361d242 __NSThread__main__ + 966
9 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
10 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 4:
0 libSystem.B.dylib 0x33bd59f0 __semwait_signal + 24
1 libSystem.B.dylib 0x33b8a7ec _pthread_cond_wait + 748
2 libSystem.B.dylib 0x33b8a3d2 pthread_cond_wait + 26
3 CoreMedia 0x31a41b14 WaitOnCondition + 4
4 CoreMedia 0x31a41a5a FigSemaphoreWaitRelative + 66
5 MediaToolbox 0x300c0c9c fpa_AsyncMovieControlThread + 48
6 CoreMedia 0x31a5df76 figThreadMain + 166
7 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
8 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 5:
0 libSystem.B.dylib 0x33b8168c select$DARWIN_EXTSN + 20
1 CoreFoundation 0x33a7f662 __CFSocketManager + 582
2 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
3 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 6:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 MapKit 0x31be8906 TileCachePrivate::runCacheThread() + 274
7 MapKit 0x31be87ea _runCacheThread(void*) + 2
8 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
9 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 7:
0 libSystem.B.dylib 0x33bd59f0 __semwait_signal + 24
1 libSystem.B.dylib 0x33b8a7ec _pthread_cond_wait + 748
2 libSystem.B.dylib 0x33b8a3d2 pthread_cond_wait + 26
3 QuartzCore 0x3412e5dc CA::DispatchGroup::thread(void*) + 84
4 QuartzCore 0x340fb01a thread_fun + 10
5 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
6 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 8:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 MapKit 0x31bf327e +[NSThread(MKAdditions) _mapkit_runThread:] + 334
7 Foundation 0x33624192 -[NSThread main] + 38
8 Foundation 0x3361d242 __NSThread__main__ + 966
9 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
10 libSystem.B.dylib 0x33bcba88 thread_start + 0
Thread 9:
0 libSystem.B.dylib 0x33b5d268 mach_msg_trap + 20
1 libSystem.B.dylib 0x33b5f354 mach_msg + 44
2 CoreFoundation 0x33a48648 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x33a47ed2 __CFRunLoopRun + 350
4 CoreFoundation 0x33a47c80 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x33a47b88 CFRunLoopRunInMode + 52
6 AudioToolbox 0x316504ba GenericRunLoopThread::RunLoop() + 30
7 AudioToolbox 0x31663306 TRunLoop<AQClient>::Entry(void*) + 90
8 AudioToolbox 0x316501d2 CAPThread::Entry(CAPThread*) + 138
9 libSystem.B.dylib 0x33bd6886 _pthread_start + 242
10 libSystem.B.dylib 0x33bcba88 thread_start + 0
Unknown thread crashed with unknown flavor: 5, state_count: 1
Are you by any chance calling beginBackgroundTaskWithExpirationHandler: without calling a corresponding endBackgroundTask:?
http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/BackgroundExecution/BackgroundExecution.html
one of my app user is getting a wearied crash and he send me the report can any one help me in finding the error. The app is already in use so needed to fix it soon.
He said that he is getting the crash when he is navigating in a particular parten. its not happening when in general but if we go in a particular manner the its crashing.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x65436572
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x3388f5b6 objc_msgSend + 22
1 UIKit 0x3a380ecc __53-[UITableView _configureCellForDisplay:forIndexPath:]_block_invoke_0 + 220
2 UIKit 0x3a1d209e +[UIView(Animation) _performWithoutAnimation:] + 70
3 UIKit 0x3a1d2050 -[UITableView _configureCellForDisplay:forIndexPath:] + 96
4 UIKit 0x3a1cf558 -[UITableView(UITableViewInternal) _createPreparedCellForGlobalRow:withIndexPath:] + 432
5 UIKit 0x3a1b4306 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1306
6 UIKit 0x3a1cb7c2 -[UITableView layoutSubviews] + 202
7 UIKit 0x3a1877fe -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 254
8 QuartzCore 0x397b2d5e -[CALayer layoutSublayers] + 210
9 QuartzCore 0x397b28fc CA::Layer::layout_if_needed(CA::Transaction*) + 456
10 QuartzCore 0x397b3830 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 12
11 QuartzCore 0x397b3216 CA::Context::commit_transaction(CA::Transaction*) + 234
12 QuartzCore 0x397b3024 CA::Transaction::commit() + 312
13 UIKit 0x3a18d8e6 _afterCACommitHandler + 122
14 CoreFoundation 0x329ab6ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
15 CoreFoundation 0x329a99bc __CFRunLoopDoObservers + 272
16 CoreFoundation 0x329a9d12 __CFRunLoopRun + 738
17 CoreFoundation 0x3291ceb8 CFRunLoopRunSpecific + 352
18 CoreFoundation 0x3291cd44 CFRunLoopRunInMode + 100
19 GraphicsServices 0x3a71a2e6 GSEventRunModal + 70
20 UIKit 0x3a1d82f4 UIApplicationMain + 1116
21 APP 0x00103f64 main (main.m:15)
22 APP 0x000fe88c start + 36
Thread 1:
0 libsystem_kernel.dylib 0x31bc4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35004cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x35004a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x350048a0 start_wqthread + 4
Thread 2 name: Dispatch queue: com.apple.libdispatch-manager
Thread 2:
0 libsystem_kernel.dylib 0x31bb4648 kevent64 + 24
1 libdispatch.dylib 0x34fd54ec _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x34fc7df4 _dispatch_mgr_thread$VARIANT$up + 32
Thread 3:
0 libsystem_kernel.dylib 0x31bc4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35004cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x35004a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x350048a0 start_wqthread + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x31bb3eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31bb4048 mach_msg + 36
2 CoreFoundation 0x329ab040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329a9d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3291ceb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3291cd44 CFRunLoopRunInMode + 100
6 WebCore 0x36c78a40 _ZL12RunWebThreadPv + 440
7 libsystem_c.dylib 0x3500f30e _pthread_start + 306
8 libsystem_c.dylib 0x3500f1d4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x31bb3eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31bb4048 mach_msg + 36
2 CoreFoundation 0x329ab040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329a9d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3291ceb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3291cd44 CFRunLoopRunInMode + 100
6 Foundation 0x3451378a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x345b7058 -[NSRunLoop(NSRunLoop) run] + 76
8 APP 0x0013ee96 +[AFURLConnectionOperation networkRequestThreadEntryPoint:] (AFURLConnectionOperation.m:127)
9 Foundation 0x345c0678 __NSThread__main__ + 968
10 libsystem_c.dylib 0x3500f30e _pthread_start + 306
11 libsystem_c.dylib 0x3500f1d4 thread_start + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x31bb3eb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x31bb4048 mach_msg + 36
2 CoreFoundation 0x329ab040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x329a9d9e __CFRunLoopRun + 878
4 CoreFoundation 0x3291ceb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x3291cd44 CFRunLoopRunInMode + 100
6 Foundation 0x3453cbc8 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x345c0678 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3500f30e _pthread_start + 306
9 libsystem_c.dylib 0x3500f1d4 thread_start + 4
Thread 7 name: com.apple.CFSocket.private
Thread 7:
0 libsystem_kernel.dylib 0x31bc4594 __select + 20
1 CoreFoundation 0x329af1f2 __CFSocketManager + 674
2 libsystem_c.dylib 0x3500f30e _pthread_start + 306
3 libsystem_c.dylib 0x3500f1d4 thread_start + 4
Thread 8:
0 libsystem_kernel.dylib 0x31bc4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35004cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x35004a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x350048a0 start_wqthread + 4
Thread 9:
0 libsystem_kernel.dylib 0x31bc4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35004cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x35004a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x350048a0 start_wqthread + 4
Thread 10:
0 libsystem_kernel.dylib 0x31bc4d98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35004cf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x35004a12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x350048a0 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x2fd029f0 r1: 0x3a60c4ec r2: 0x00000000 r3: 0x6543657a
r4: 0x3a60dbc7 r5: 0x00000001 r6: 0x3a60109d r7: 0x2fd029b0
r8: 0x00000000 r9: 0x0e98313b r10: 0x000002f4 r11: 0x2fd029d0
ip: 0x3c399d64 sp: 0x2fd02908 lr: 0x3a380ed1 pc: 0x3388f5b6
cpsr: 0x00000030
it seems you are using multiThreading for network operations.
in case you calling your thread from UIViewContoller please look at the Deallocation problem:
deallocation problem
search for the paragraph deallocation problem.
thats happens when calling threads from UIViewControoler and navigating before thread finish works.
look at the link for full description of the problem.
I am having a big problem figuring out where my app crash is being caused, and I'm not sure how to interpret the crash report.
The crash clearly occurs in Thread 0, but at what step might it actually be crashing in? I certainly am not manipulating CALayers in my code at all. In anyone experience, does this happen for any particular reason?
Incident Identifier: 23D06670-4C44-49F4-A0CB-01CF95D558D2
CrashReporter Key: 1d7775167d5336b2369c148ce37405638a6abe74
Hardware Model: iPhone3,1
Process: CrazyTimes [3169]
Path: /var/mobile/Applications/41DF0A05-710D-48BB-A468-73B7B224F5A3/CrazyTimes.app/CrazyTimes
Identifier: CrazyTimes
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-02-09 18:22:36.422 -0500
OS Version: iPhone OS 5.0 (9A334)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00600ad0
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x383a7fca objc_msgSend + 30
1 CrazyTimes 0x00114460 0x1000 + 1127520
2 CrazyTimes 0x000c2f10 0x1000 + 794384
3 UIKit 0x331b0f72 -[UIView(CALayerDelegate) drawLayer:inContext:] + 270
4 QuartzCore 0x328c0e16 -[CALayer drawInContext:] + 110
5 QuartzCore 0x328c0418 CABackingStoreUpdate_ + 1776
6 QuartzCore 0x328bfc16 CA::Layer::display_() + 966
7 QuartzCore 0x328bf832 CA::Layer::display() + 122
8 QuartzCore 0x328bf774 CA::Layer::display_if_needed(CA::Transaction*) + 168
9 QuartzCore 0x328bf11c CA::Context::commit_transaction(CA::Transaction*) + 228
10 QuartzCore 0x328bee50 CA::Transaction::commit() + 308
11 QuartzCore 0x328b6d7e CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 50
12 CoreFoundation 0x311dcb44 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 12
13 CoreFoundation 0x311dad80 __CFRunLoopDoObservers + 252
14 CoreFoundation 0x311db0da __CFRunLoopRun + 754
15 CoreFoundation 0x3115e4d6 CFRunLoopRunSpecific + 294
16 CoreFoundation 0x3115e39e CFRunLoopRunInMode + 98
17 GraphicsServices 0x33d8cfe6 GSEventRunModal + 150
18 UIKit 0x331d073c UIApplicationMain + 1084
19 CrazyTimes 0x00004084 0x1000 + 12420
20 CrazyTimes 0x00003af8 0x1000 + 11000
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x324dd3b4 kevent + 24
1 libdispatch.dylib 0x32c31e78 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x32c31b96 _dispatch_mgr_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x324dd010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x324dd206 mach_msg + 50
2 CoreFoundation 0x311dc41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311db154 __CFRunLoopRun + 876
4 CoreFoundation 0x3115e4d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3115e39e CFRunLoopRunInMode + 98
6 WebCore 0x379f2128 _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
8 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x324edcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x369a030a _pthread_wqthread + 610
2 libsystem_c.dylib 0x369a009c start_wqthread + 0
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x324dd010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x324dd206 mach_msg + 50
2 CoreFoundation 0x311dc41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311db154 __CFRunLoopRun + 876
4 CoreFoundation 0x3115e4d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3115e39e CFRunLoopRunInMode + 98
6 Foundation 0x3821abc2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x3821aa8a -[NSThread main] + 66
8 Foundation 0x382ae59a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
10 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 5 name: com.apple.CFSocket.private
Thread 5:
0 libsystem_kernel.dylib 0x324ed570 __select + 20
1 CoreFoundation 0x311e066a __CFSocketManager + 726
2 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
3 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x324edcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x369a030a _pthread_wqthread + 610
2 libsystem_c.dylib 0x369a009c start_wqthread + 0
Thread 7 name: WebCore: CFNetwork Loader
Thread 7:
0 libsystem_kernel.dylib 0x324dd010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x324dd206 mach_msg + 50
2 CoreFoundation 0x311dc41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311db154 __CFRunLoopRun + 876
4 CoreFoundation 0x3115e4d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3115e39e CFRunLoopRunInMode + 98
6 WebCore 0x37a1b69e _ZN7WebCoreL15runLoaderThreadEPv + 122
7 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
8 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 8 name: WebCore: LocalStorage
Thread 8:
0 libsystem_kernel.dylib 0x324ed068 __psynch_cvwait + 24
1 libsystem_c.dylib 0x369a5f2e _pthread_cond_wait + 634
2 libsystem_c.dylib 0x369a5caa pthread_cond_wait + 34
3 JavaScriptCore 0x3768940e WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 54
4 WebCore 0x37b51494 WTF::PassOwnPtr<WebCore::LocalStorageTask> WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessageFilteredWithTimeout<bool ()(WebCore::LocalStorageTask*)>(WTF::MessageQueueWaitResult&, bool (&)(WebCore::LocalStorageTask*), double) + 52
5 WebCore 0x37b5144a WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 106
6 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
7 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 9:
0 libsystem_kernel.dylib 0x324dd010 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x324dd206 mach_msg + 50
2 CoreFoundation 0x311dc41c __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x311db154 __CFRunLoopRun + 876
4 CoreFoundation 0x3115e4d6 CFRunLoopRunSpecific + 294
5 CoreFoundation 0x311db474 CFRunLoopRun + 92
6 CrazyTimes 0x00039ee4 0x1000 + 233188
7 Foundation 0x3821aa8a -[NSThread main] + 66
8 Foundation 0x382ae59a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
10 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 10 name: com.apple.coremedia.player.async
Thread 10:
0 libsystem_kernel.dylib 0x324ed068 __psynch_cvwait + 24
1 libsystem_c.dylib 0x369a5f2e _pthread_cond_wait + 634
2 libsystem_c.dylib 0x369a5caa pthread_cond_wait + 34
3 CoreMedia 0x3255d000 FigSemaphoreWaitRelative + 212
4 MediaToolbox 0x3261afca fpa_AsyncMovieControlThread + 18
5 CoreMedia 0x3257cbc6 figThreadMain + 146
6 libsystem_c.dylib 0x369a5c16 _pthread_start + 314
7 libsystem_c.dylib 0x369a5ad0 thread_start + 0
Thread 11:
0 libsystem_kernel.dylib 0x324edcd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x369a030a _pthread_wqthread + 610
2 libsystem_c.dylib 0x369a009c start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x09b99000 r1: 0x345621e3 r2: 0x0019e7dc r3: 0x0019e910
r4: 0x0019e800 r5: 0x09b99000 r6: 0x00199f3c r7: 0x2fdfdb00
r8: 0x00196f94 r9: 0x00118870 r10: 0x00196bdc r11: 0x0019789c
ip: 0x0019e8f4 sp: 0x2fdfdae0 lr: 0x00114467 pc: 0x383a7fca
cpsr: 0x20080030
UIViews are implemented with CALayers, so if you are using UIKit, you are using layers. My guess is that an already released object is receiving messages. Maybe you released an object more times than you should. Try recompiling with NSZombieEnabled.
3 UIKit 0x331b0f72 -[UIView(CALayerDelegate) drawLayer:inContext:] + 270
By any chance, did you release an objectA which is a delegate to objectB without removing the delegate assignment first, i.e. objectB.delegate = nil; [objectA release];?
I am using AdWhirl in my app and got a suspicious crash mid-game.
It appears to crash in the animationDidStop:finished: function which I didn't create.
Could this be a bug in AdWhirl?
I can't find this file referenced in the log:
(MMHTMLAdView.m:123)
This is the log:
Date/Time: 2010-10-21 09:54:14.861 +0200
OS Version: iPhone OS 4.1 (8B117)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000015
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x000027d8 objc_msgSend + 16
1 LoopMaster Lite 0x000b7e38 -[MMHTMLAdView animationDidStop:finished:] (MMHTMLAdView.m:123)
2 QuartzCore 0x0002d8c2 run_animation_callbacks(double, void*) + 286
3 QuartzCore 0x0002d764 CA::timer_callback(__CFRunLoopTimer*, void*) + 116
4 CoreFoundation 0x000567f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 8
5 CoreFoundation 0x000562a6 __CFRunLoopDoTimer + 854
6 CoreFoundation 0x0002779e __CFRunLoopRun + 1082
7 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
8 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
9 GraphicsServices 0x000045ec GSEventRunModal + 108
10 GraphicsServices 0x00004698 GSEventRun + 56
11 UIKit 0x0000411c -[UIApplication _run] + 396
12 UIKit 0x00002128 UIApplicationMain + 664
13 LoopMaster Lite 0x000022b0 main (main.m:14)
14 LoopMaster Lite 0x00002280 start + 32
Thread 1:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000d6b6c _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x000d65bc _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x000d675c _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0007a67a _pthread_wqthread + 258
5 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x000791d4 __semwait_signal + 24
1 libSystem.B.dylib 0x0002e1a2 _pthread_cond_wait + 742
2 libSystem.B.dylib 0x000346c2 pthread_cond_timedwait + 30
3 WebCore 0x00057ca0 SendDelegateMessage(NSInvocation*) + 412
4 WebCore 0x00057af8 WebThreadCallDelegate + 12
5 WebKit 0x00024c54 CallFrameLoadDelegate(objc_object* (*)(objc_object*, objc_selector*, ...), WebView*, objc_selector*, objc_object*) + 292
6 WebKit 0x0000bff0 WebFrameLoaderClient::dispatchDidFinishLoad() + 108
7 WebCore 0x00080aa4 WebCore::FrameLoader::checkLoadCompleteForThisFrame() + 684
8 WebCore 0x0008078e WebCore::FrameLoader::recursiveCheckLoadComplete() + 238
9 WebCore 0x000b1632 WebCore::FrameLoader::checkLoadComplete() + 26
10 WebCore 0x000b12d0 WebCore::DocumentLoader::removeSubresourceLoader(WebCore::ResourceLoader*) + 184
11 WebCore 0x00494838 WebCore::SubresourceLoader::didFail(WebCore::ResourceError const&) + 84
12 WebCore 0x001a6106 WebCore::ResourceLoader::didFail(WebCore::ResourceHandle*, WebCore::ResourceError const&) + 30
13 WebCore 0x001a5f6c -[WebCoreResourceHandleAsDelegate connection:didFailWithError:] + 476
14 Foundation 0x0003855e -[NSURLConnectionDelegateProxy connection:didFailWithError:] + 34
15 Foundation 0x000381fe -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFail:] + 130
16 Foundation 0x00038138 _NSURLConnectionDidFail + 80
17 CFNetwork 0x000999bc URLConnectionClient::_clientDidFailWithError(__CFError*, URLConnectionClient::ClientConnectionEventQueue*) + 416
18 CFNetwork 0x00004b44 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 208
19 CFNetwork 0x00004dc6 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 850
20 CFNetwork 0x000049c4 URLConnectionClient::processEvents() + 64
21 CFNetwork 0x00004976 URLConnection::multiplexerClientPerform(RunLoopMultiplexer*) + 30
22 CFNetwork 0x000048f4 MultiplexerSource::perform() + 120
23 CFNetwork 0x00004872 MultiplexerSource::_perform(void*) + 2
24 CoreFoundation 0x00055f1e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 6
25 CoreFoundation 0x00027ba0 __CFRunLoopDoSources0 + 376
26 CoreFoundation 0x00027444 __CFRunLoopRun + 224
27 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
28 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
29 WebCore 0x000024e2 RunWebThread(void*) + 362
30 libSystem.B.dylib 0x0007a27e _pthread_start + 242
31 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 3:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 Foundation 0x0002d686 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 206
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 4:
0 libSystem.B.dylib 0x00025060 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x0005edfc __CFSocketManager + 540
2 libSystem.B.dylib 0x0007a27e _pthread_start + 242
3 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 5:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 LoopMaster Lite 0x00048592 -[GSAsyncCommandManager gsCommandExecThreadMain:] (GSAsyncCommandManager.m:106)
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 6:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 LoopMaster Lite 0x00048592 -[GSAsyncCommandManager gsCommandExecThreadMain:] (GSAsyncCommandManager.m:106)
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 7:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5be8 _mdns_search + 996
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 8:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5be8 _mdns_search + 996
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 9:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5be8 _mdns_search + 996
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 10:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5b24 _mdns_search + 800
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 11:
0 libSystem.B.dylib 0x0007b19c __workq_kernreturn + 8
1 libSystem.B.dylib 0x0007a790 _pthread_wqthread + 536
2 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x0987c1a0 r1: 0x000ce940 r2: 0x09897d10 r3: 0x0000002c
r4: 0x0000000d r5: 0x00000001 r6: 0x0030a490 r7: 0x2fffeac8
r8: 0x0030a550 r9: 0x00000000 r10: 0x098891a0 r11: 0x00000000
ip: 0x000b9f21 sp: 0x2fffeab4 lr: 0x000b7e3f pc: 0x3002d7d8
cpsr: 0x200f0030
I also had many problems with AdWhirl. My last version was ok, the Millennial ad was displayed fine but did not work well when transitioning to iAd. When I tried to make a new version then whenever a new Millennial ad is received the app crashes. After struggling for a while I dumped AdWhirl and wrote my own interface to put a couple of ad networks together and it works without a hitch. So the problem is in the Adwhirl api, not the ad network API.
Not the answer I was looking for, but decided to dump AdWhirl in favor of AdMob.
All the roads to errors were going through uncharted AdWhirl territory so decided to let them figure it out...