Xcode 5在验证期间崩溃[重复]

Posted

技术标签:

【中文标题】Xcode 5在验证期间崩溃[重复]【英文标题】:Xcode 5 crashing during validation [duplicate] 【发布时间】:2013-10-30 09:22:42 【问题描述】:

我有一个用 Xcode 开发的应用程序,并在开发设备上进行了测试,因此我知道它工作正常。

在管理器中的验证存档期间收到 Xcode 的以下错误

进程:Xcode [2220] 路径: /Applications/Xcode.app/Contents/MacOS/Xcode 标识符: com.apple.dt.Xcode 版本:5.0 (3332.25) 构建信息: IDEApplication-3332025000000000~2 代码类型:X86-64(本机) 父进程:launchd [135] 用户 ID:501

日期/时间:2013-10-30 14:39:31.055 +0530 操作系统版本:Mac OS X 10.8.5 (12F37) 报告版本:10

自上次报告以来的间隔:自上次报告以来的 4524 秒崩溃 报告:4 自上次报告以来的每个应用程序间隔:4475 秒 自上次报告以来的每个应用程序崩溃:4 个匿名 UUID: A5C3ABA8-1834-EF2E-9C44-418AD4CC9A3E

崩溃的线程:0 调度队列:com.apple.main-thread

异常类型:EXC_BAD_ACCESS (SIGSEGV) 异常代码: EXC_I386_GPFLT

应用程序特定信息:objc_msgSend() 选择器名称: 响应选择器:ProductBuildVersion:5A1413

线程 0 崩溃::调度队列:com.apple.main-thread 0 libobjc.A.dylib 0x00007fff8f3db510 objc_msgSend_vtable5 + 16 1 com.apple.AppKit 0x00007fff889913b2 +[NSTextInputContext currentInputContext] + 128 2 com.apple.AppKit 0x00007fff88990b81 -[NSApplication updateWindows] + 94 3 com.apple.AppKit 0x00007fff88bdbd9f 38-[NSApplication setWindowsNeedUpdate:]_block_invoke_02349 + 76 4 com.apple.CoreFoundation 0x00007fff8af5f417 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION + 23 5 com.apple.CoreFoundation 0x00007fff8af5f381 __CFRunLoopDoObservers + 369 6 com.apple.CoreFoundation 0x00007fff8af3a7b8 __CFRunLoopRun + 728 7 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 8 com.apple.HIToolbox 0x00007fff8ddfceb4 RunCurrentEventLoopInMode + 209 9 com.apple.HIToolbox 0x00007fff8ddfcb94 ReceiveNextEventCommon + 166 10 com.apple.HIToolbox 0x00007fff8ddfcae3 BlockUntilNextEventMatchingListInMode + 62 11 com.apple.AppKit 0x00007fff8898f533 _DPSNextEvent + 685 12 com.apple.AppKit 0x00007fff8898edf2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 13 com.apple.AppKit 0x00007fff889861a3 -[NSApplication 运行] + 517 14 com.apple.AppKit 0x00007fff8892abd6 NSApplicationMain + 869 15 libdyld.dylib 0x00007fff9425d7e1 开始 + 1

线程 1:: 调度队列:com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff878eed16 kevent + 10 1 libdispatch.dylib 0x00007fff8aeeedea _dispatch_mgr_invoke + 883 2 libdispatch.dylib 0x00007fff8aeee9ee _dispatch_mgr_thread + 54

线程 2:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x00007fff878ec686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff878ebc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff8af35233 CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff8af3a916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 5 com.apple.Foundation 0x00007fff8a7d5546 +[NSURLConnection(Loader)_resourceLoadLoop:] + 356 6 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 7 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 8 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 3:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x00007fff878ee322 __select + 10 1 com.apple.CoreFoundation 0x00007fff8af79f46 __CFSocketManager + 1302 2 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 3 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 4:0 libsystem_kernel.dylib 0x00007fff878ec686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff878ebc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff8af35233 CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff8af3a916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 5 com.apple.DTDeviceKitBase 0x000000010fff075a -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 164 6 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 7 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 8 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 5::DYMobileDeviceManager 0 libsystem_kernel.dylib 0x00007fff878ec686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff878ebc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff8af35233 CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff8af3a916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 5 com.apple.Foundation 0x00007fff8a8387ee -[NSRunLoop(NSRunLoop) 运行模式:beforeDate:] + 268 6 com.apple.Foundation 0x00007fff8a7d11aa -[NSRunLoop(NSRunLoop) 运行] + 74 7 com.apple.GPUToolsMobileFoundation 0x00000001152189bb -[DYMobileDeviceManager _deviceNotificationThread:] + 132 8 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 9 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 10 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 6:: CVDisplayLink 0 libsystem_kernel.dylib 0x00007fff878ee0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.CoreVideo 0x00007fff916b02a1 CVDisplayLink::runIOThread() + 689 3 com.apple.CoreVideo 0x00007fff916affd7 startIOThread(void*) + 148 4 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 5 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 7:: javascriptCore::BlockFree 0 libsystem_kernel.dylib 0x00007fff878ee0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff91e96b66 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 118 3 com.apple.JavaScriptCore 0x00007fff920b9bfa JSC::BlockAllocator::blockFreeingThreadMain() + 90 4 com.apple.JavaScriptCore 0x00007fff920cf25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 8:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff878ee0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff9201c9d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212 3 com.apple.JavaScriptCore 0x00007fff9201c8b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214 4 com.apple.JavaScriptCore 0x00007fff920cf25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 9:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff878ee0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff9201c9d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212 3 com.apple.JavaScriptCore 0x00007fff9201c8b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214 4 com.apple.JavaScriptCore 0x00007fff920cf25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 10:: JavaScriptCore::Marking 0 libsystem_kernel.dylib 0x00007fff878ee0fa __psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.JavaScriptCore 0x00007fff9201c9d4 JSC::SlotVisitor::drainFromShared(JSC::SlotVisitor::SharedDrainMode) + 212 3 com.apple.JavaScriptCore 0x00007fff9201c8b6 JSC::MarkStackThreadSharedData::markingThreadMain() + 214 4 com.apple.JavaScriptCore 0x00007fff920cf25f WTF::wtfThreadEntryPoint(void*) + 15 5 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 11:0 libsystem_kernel.dylib 0x00007fff878ee0fa psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.Xcode.DevToolsCore 0x000000010f394006 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 506 3 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 4 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 5 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 12:0 libsystem_kernel.dylib 0x00007fff878ee0fa psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.Xcode.DevToolsCore 0x000000010f394006 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 506 3 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 4 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 5 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 13:0 libsystem_kernel.dylib 0x00007fff878ee0fa psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64fb9 _pthread_cond_wait + 869 2 com.apple.Xcode.DevToolsCore 0x000000010f394006 -[XCBlockQueue _processBlocksInThreadSlotNumber:] + 506 3 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 4 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 5 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 14:0 libsystem_kernel.dylib 0x00007fff878ec686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff878ebc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff8af35233 __CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff8af3a916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 5 com.apple.DebugSymbols 0x00007fff90cfd590 SpotlightQueryThread(void*) + 356 6 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 7 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 15:0 libsystem_kernel.dylib 0x00007fff878ee0fa psynch_cvwait + 10 1 libsystem_c.dylib 0x00007fff8fa64ff3 _pthread_cond_wait + 927 2 com.apple.Foundation 0x00007fff8a85e883 -[NSCondition waitUntilDate:] + 357 3 com.apple.Foundation 0x00007fff8a85e6d9 -[NSConditionLock lockWhenCondition:beforeDate:] + 235 4 com.apple.CSServiceClient 0x000000010c8faf79 -[CSLogger loggerThread:] + 257 5 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 6 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 7 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 16:: 调度队列:com.apple.root.default-priority 0 libsystem_kernel.dylib 0x00007fff878ec686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff878ebc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff8af35233 __CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff8af3a916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 5 com.apple.CFNetwork 0x00007fff8985bd9f CFURLConnectionSendSynchronousRequest + 463 6 com.apple.Foundation 0x00007fff8a7bb536 +[NSURLConnection 发送同步请求:返回响应:错误:] + 281 7 com.apple.Foundation 0x00007fff8a93189d __67+[NSURLConnection sendAsynchronousRequest:queue:completionHandler:]_block_invoke_0 + 70 8 libdispatch.dylib 0x00007fff8aeeff01 _dispatch_call_block_and_release + 15 9 libdispatch.dylib 0x00007fff8aeec0b6 _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff8aeed1fa _dispatch_worker_thread2 + 304 11 libsystem_c.dylib 0x00007fff8fa62cdb _pthread_wqthread + 404 12 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 17:: 调度队列:com.apple.root.default-priority 0 libsystem_kernel.dylib 0x00007fff878ec686 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff878ebc42 mach_msg + 70 2 com.apple.CoreFoundation 0x00007fff8af35233 __CFRunLoopServiceMachPort + 195 3 com.apple.CoreFoundation 0x00007fff8af3a916 __CFRunLoopRun + 1078 4 com.apple.CoreFoundation 0x00007fff8af3a0e2 CFRunLoopRunSpecific + 290 5 com.apple.CFNetwork 0x00007fff8985bd9f CFURLConnectionSendSynchronousRequest + 463 6 com.apple.Foundation 0x00007fff8a7bb536 +[NSURLConnection 发送同步请求:返回响应:错误:] + 281 7 com.apple.Foundation 0x00007fff8a93189d __67+[NSURLConnection sendAsynchronousRequest:queue:completionHandler:]_block_invoke_0 + 70 8 libdispatch.dylib 0x00007fff8aeeff01 _dispatch_call_block_and_release + 15 9 libdispatch.dylib 0x00007fff8aeec0b6 _dispatch_client_callout + 8 10 libdispatch.dylib 0x00007fff8aeed1fa _dispatch_worker_thread2 + 304 11 libsystem_c.dylib 0x00007fff8fa62cdb _pthread_wqthread + 404 12 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 18:0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 19:0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 20:0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 21:0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 22:: com.apple.appkit-heartbeat 0 libsystem_kernel.dylib 0x00007fff878ee386 semwait_signal + 10 1 libsystem_c.dylib 0x00007fff8faea7c8 nanosleep + 163 2 libsystem_c.dylib 0x00007fff8faea6df 睡眠 + 54 3 com.apple.AppKit 0x00007fff88b74838 -[NSUIHeartBeat _heartBeatThread:] + 543 4 com.apple.Foundation 0x00007fff8a833562 _NSThread_main + 1345 5 libsystem_c.dylib 0x00007fff8fa60772 _pthread_start + 327 6 libsystem_c.dylib 0x00007fff8fa4d1a1 thread_start + 13

线程 23:0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 24: 0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 25:0 libsystem_kernel.dylib 0x00007fff878ee6d6 __workq_kernreturn + 10 1 libsystem_c.dylib 0x00007fff8fa62f1c _pthread_workq_return + 25 2 libsystem_c.dylib 0x00007fff8fa62ce3 _pthread_wqthread + 412 3 libsystem_c.dylib 0x00007fff8fa4d191 start_wqthread + 13

线程 0 因 X86 线程状态(64 位)而崩溃:rax: 0xd00007f9f02bd29f rbx:0x0000000000000000 rcx:0x7031b9c2f7283401 rdx:0x00007fff891f9814 rdi:0x00007f9f02070b30 rsi: 0x00007fff77c10ae0 rbp:0x00007fff56518540 rsp:0x00007fff56518518 r8:0x0000000000000007 r9:0x00000000afd3bb8e r10: 0x000000011352fc40 r11:0x00007fff77b82b70 r12:0x00007fff565185b0 r13:0x00007f9efc84bb88 r14:0x00007f9f02070b30 r15: 0x00007f9f0760cdf0 翻录:0x00007fff8f3db510 rfl:0x0000000000000246 cr2: 0x000000010c86d2e0 逻辑 CPU: 0

【问题讨论】:

***.com/questions/18913964/… 在我的情况下该链接不起作用 【参考方案1】:

这是 Xcode 崩溃,与您的应用程序代码无关。更新到 xcode 5.0.1 以查看它是否解决了您的问题。如果没有,请将 xcode 移至回收站并从 Mac App Store 重新安装。

【讨论】:

以上是关于Xcode 5在验证期间崩溃[重复]的主要内容,如果未能解决你的问题,请参考以下文章

如何在项目期间使用 xcode 导入新字体 [重复]

自Xcode 10以来,UIImageView setImage在后台线程上崩溃[重复]

Xcode 9.3 使用 URL 方案(深度链接)调用时构建崩溃 [重复]

XCode 9 在打开所有情节提要文件时崩溃 [重复]

iOS 6 在设备旋转时崩溃 [重复]

Objective-C Mapview在IPA上崩溃(appstore版本)Xcode 9运行良好[重复]