我无法理解我的问题在哪里。使用此崩溃日志,我的应用程序在启动时崩溃。
iOS 7.0.2(11A501)报告版本:104
异常类型:00000020异常代码:0x000000008badf00d 突出显示的主题:0
特定应用信息:com.myapps失败 及时发布
经过的总CPU时间(秒):4.420(用户4.420,系统0.000), 10%CPU经过的应用程序CPU时间(秒):0.714,2%CPU
线程0:0 libsystem_kernel.dylib 0x3878ead4 semaphore_wait_trap + 8 1 libdispatch.dylib 0x386dbdec _dispatch_semaphore_wait_slow + 172 2 CFNetwork 0x2dabab16 CFURLConnectionSendSynchronousRequest + 266 3基础 0x2e883a4e + [NSURLConnection sendSynchronousRequest:returningResponse:error:] + 110 4 Foundation 0x2e8d8c80 - [NSString initWithContentsOfURL:encoding:error:] + 188 5 QuizPatente! 0x0004d980 0x3e000 + 63872 6
QuizPatente! 0x00048820 0x3e000 + 43040 7
QuizPatente! 0x00048644 0x3e000 + 42564 8 UIKit
0x306fc020 - [UIApplication _stopDeactivatingForReason:] + 376 9
UIKit 0x306e762c - [UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 1092 10 UIKit 0x30681be2 - [UIApplication handleEvent:withNewEvent:] + 3138 11 UIKit
0x30680ed8 - [UIApplication sendEvent:] + 68 12 UIKit
0x306e6c9c _UIApplicationHandleEvent + 660 13 GraphicsServices
0x32b6276a _PurpleEventCallback + 606 14 GraphicsServices
0x32b62352 PurpleEventCallback + 30 15 CoreFoundation
0x2dec177c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 32 16 CoreFoundation 0x2dec1716 __CFRunLoopDoSource1 + 342 17 CoreFoundation 0x2debfee2 __CFRunLoopRun + 1402 18 CoreFoundation
0x2de2a53c CFRunLoopRunSpecific + 520 19 CoreFoundation
0x2de2a31e CFRunLoopRunInMode + 102 20 UIKit
0x306e5f3e - [UIApplication _run] + 758 21 UIKit
0x306e11e0 UIApplicationMain + 1132 22 QuizPatente!
0x00045a28 0x3e000 + 31272 23 libdyld.dylib
0x386eaab4 start + 0线程1:0 libsystem_kernel.dylib 0x3878e838 kevent64 + 24 1 libdispatch.dylib 0x386dd0d0 _dispatch_mgr_invoke + 228 2 libdispatch.dylib 0x386d763e _dispatch_mgr_thread + 34
线程2:0 libsystem_kernel.dylib 0x3878ead4 semaphore_wait_trap + 8 1 libdispatch.dylib 0x386dbf90 _dispatch_group_wait_slow + 168 2 GameCenterFoundation 0x2ea86dc4 __35- [GKDaemonProxy buildServiceLookup] _block_invoke + 628 3 libdispatch.dylib 0x386d6100 _dispatch_call_block_and_release + 8 4 libdispatch.dylib 0x386dae72 _dispatch_queue_drain + 370 5 libdispatch.dylib
0x386d7f96 _dispatch_queue_invoke + 38 6 libdispatch.dylib
0x386db74e _dispatch_root_queue_drain + 74 7 libdispatch.dylib
0x386db9cc _dispatch_worker_thread2 + 52 8 libsystem_pthread.dylib 0x38805dfc _pthread_wqthread + 296 9 libsystem_pthread.dylib
0x38805cc0 start_wqthread + 4线程3:0 libsystem_kernel.dylib 0x387a1c7c __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x38805e06 _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x38805cc0 start_wqthread + 4
线程4:0 libsystem_kernel.dylib 0x387a1c7c __workq_kernreturn + 8 1 libsystem_pthread.dylib 0x38805e06 _pthread_wqthread + 306 2 libsystem_pthread.dylib 0x38805cc0 start_wqthread + 4
线程5:0 libsystem_kernel.dylib 0x387a0f38 psynch_cvwait + 24 1 libsystem_pthread.dylib 0x38807262 _pthread_cond_wait + 538 2 libsystem_pthread.dylib 0x3880803c pthread_cond_wait + 36 3 Foundation 0x2e86574a - [NSCondition等待] + 190 4 QuizPatente! 0x0026c5b0 0x3e000 + 2287024 5基础
0x2e8dadc2 _ NSThread _main + 1058 6 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 7 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 8 libsystem_pthread.dylib
0x38805ccc thread_start + 4线程6:0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788 4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific + 520 5 CoreFoundation 0x2de6e1a6 CFRunLoopRun + 94 6 QuizPatente! 0x001ec3b4 0x3e000 + 1762228 7
基础0x2e8dadc2 _ NSThread _main + 1058 8 libsystem_pthread.dylib 0x38807c5a _pthread_body + 138 9
libsystem_pthread.dylib 0x38807bca _pthread_start + 98 10 libsystem_pthread.dylib 0x38805ccc thread_start + 4线程7名称:com.apple.NSURLConnectionLoader线程7:0
libsystem_kernel.dylib 0x3878ea84 mach_msg_trap + 20 1
libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2
CoreFoundation 0x2dec155c CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788 4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific + 520 5 CoreFoundation 0x2de2a31e CFRunLoopRunInMode + 102 6基金会0x2e86564c + [NSURLConnection(Loader)_resourceLoadLoop:] + 316 7 Foundation 0x2e8dadc2 _ NSThread _main + 1058 8 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 9 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 10 libsystem_pthread.dylib
0x38805ccc thread_start + 4线程8:0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x2debfc7c __CFRunLoopRun + 788 4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific + 520 5 CoreFoundation 0x2de2a31e CFRunLoopRunInMode + 102 6基金会0x2e818822 - [NSRunLoop(NSRunLoop)runMode:beforeDate:] + 250 7 Foundation 0x2e869664 - [NSRunLoop(NSRunLoop)run] + 76 8 QuizPatente!
0x000e9fd4 0x3e000 + 704468 9基金会 0x2e8dadc2 _ NSThread _main + 1058 10 libsystem_pthread.dylib
0x38807c5a _pthread_body + 138 11 libsystem_pthread.dylib
0x38807bca _pthread_start + 98 12 libsystem_pthread.dylib
0x38805ccc thread_start + 4线程9:0 libsystem_kernel.dylib 0x3878ea84 mach_msg_trap + 20 1 libsystem_kernel.dylib 0x3878e87c mach_msg + 36 2 CoreFoundation 0x2dec155c __CFRunLoopServiceMachPort + 152 3 CoreFoundation 0x2debfc7c _ CFRunLoopRun + 788 4 CoreFoundation 0x2de2a53c CFRunLoopRunSpecific + 520 5 CoreFoundation 0x2de6e1a6 CFRunLoopRun + 94 6 CoreMotion 0x2e4e2394 _ _lldb_unnamed_function1407 $$ CoreMotion + 724 7 libsystem_pthread.dylib 0x38807c5a _pthread_body + 138 8
libsystem_pthread.dylib 0x38807bca _pthread_start + 98 9
libsystem_pthread.dylib 0x38805ccc thread_start + 4
我今天更新了我的应用。只有在应用程序更新时才会出现奇怪的行为。如果用户重新安装该应用程序,它可以正常工作。
答案 0 :(得分:5)
基于:
特定应用信息:com.myapps无法及时发布
经过的总CPU时间(秒):4.420(用户4.420,系统0.000), 10%CPU经过的应用程序CPU时间(秒):0.714,2%CPU
您的应用似乎未及时从application:didFinishLaunchingWithOptions:
返回。
您可能正在使用该方法阻止线程并阻止其返回。