Fix for Xcode 5.1 Crash every time
sumitmundra opened this issue · 7 comments
Download the app, run, quit Xcode and restart. Instant crash. Every time.
Could you please attach a crash log?
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000018
VM Regions Near 0x18:
-->
__TEXT 0000000102c13000-0000000102c14000 [ 4K] r-x/rwx SM=COW /Applications/Xcode.app/Contents/MacOS/Xcode
Application Specific Information:
ProductBuildVersion: 5B130a
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fff941b4498 objc_msgSend_vtable3 + 24
1 com.apple.Foundation 0x00007fff8ec17307 -[NSBundle loadAndReturnError:] + 646
2 com.apple.Foundation 0x00007fff8ec1707c -[NSBundle load] + 19
3 com.apple.Xcode.DevToolsCore 0x0000000108b12410 -[XCPluginManager loadPluginBundle:] + 479
4 com.apple.Xcode.DevToolsCore 0x0000000108b11e17 -[XCPluginManager findAndLoadPluginsInDomain:] + 4302
5 com.apple.Xcode.DevToolsCore 0x0000000108ad5288 XCInitializeCoreIfNeeded + 4247
6 com.apple.dt.IDE.Xcode3Core 0x0000000106edc270 +[Xcode3CoreInitializer ide_initializeWithOptions:error:] + 16
7 com.apple.dt.IDEFoundation 0x00000001037c7c49 _IDEInitializeOnePlugInAndPrerequisites + 1359
8 com.apple.dt.IDEFoundation 0x00000001037c786b _IDEInitializeOnePlugInAndPrerequisites + 369
9 com.apple.dt.IDEFoundation 0x00000001037c7326 _IDEInitializePlugIns + 980
10 com.apple.dt.IDEFoundation 0x00000001037c6e15 __IDEInitialize_block_invoke + 42
11 com.apple.dt.IDEFoundation 0x00000001037c7530 IDESetSafeToLoadMobileDevice + 203
12 com.apple.dt.IDEKit 0x0000000103d50d34 -[IDEWelcomeWindowController _showFirstLaunchExperienceIfAppropriate] + 316
13 com.apple.dt.IDEKit 0x0000000103e76e64 -[IDEWelcomeWindowController showFirstLaunchExperienceIfAppropriate] + 22
14 com.apple.dt.IDEKit 0x0000000103e7692c -[IDEApplicationController _openFiles:] + 164
15 com.apple.dt.IDEKit 0x0000000103e76872 -[IDEApplicationController application:openFiles:] + 61
16 com.apple.AppKit 0x00007fff8f71c777 __69-[NSApplication(NSAppleEventHandling) _handleAEOpenDocumentsForURLs:]_block_invoke_0 + 1674
17 com.apple.AppKit 0x00007fff8f8116c1 __78-[NSDocumentController(NSInternal) _autoreopenDocumentsWithCompletionHandler:]_block_invoke_01437 + 143
18 com.apple.AppKit 0x00007fff8f4cf17b -[NSDocumentController(NSInternal) _autoreopenDocumentsWithCompletionHandler:] + 760
19 com.apple.AppKit 0x00007fff8f4cd66e -[NSApplication reopenWindowsAsNecessaryIncludingRestorableState:registeringAsReady:completionHandler:] + 298
20 com.apple.AppKit 0x00007fff8f71c064 -[NSApplication(NSAppleEventHandling) handleAEOpenDocumentsForURLs:] + 306
21 com.apple.AppKit 0x00007fff8f4cd034 -[NSApplication(NSAppleEventHandling) handleCoreEvent:withReplyEvent:] + 327
22 com.apple.Foundation 0x00007fff8ec0507b -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 308
23 com.apple.Foundation 0x00007fff8ec04edd NSAppleEventManagerGenericHandler + 106
24 com.apple.dt.IDEKit 0x0000000103f8eeee HandleOpenDocAE + 60
25 com.apple.AE 0x00007fff9af87078 aeDispatchAppleEvent(AEDesc const, AEDesc, unsigned int, unsigned char) + 307
26 com.apple.AE 0x00007fff9af86ed9 dispatchEventAndSendReply(AEDesc const, AEDesc*) + 37
27 com.apple.AE 0x00007fff9af86d99 aeProcessAppleEvent + 318
28 com.apple.HIToolbox 0x00007fff98776709 AEProcessAppleEvent + 100
29 com.apple.AppKit 0x00007fff8f4c9836 _DPSNextEvent + 1456
30 com.apple.AppKit 0x00007fff8f4c8df2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
31 com.apple.dt.DVTKit 0x0000000103313e31 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 84
32 com.apple.AppKit 0x00007fff8f4c01a3 -[NSApplication run] + 517
33 com.apple.AppKit 0x00007fff8f464bd6 NSApplicationMain + 869
34 libdyld.dylib 0x00007fff93db47e1 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8f36a6d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff94877f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff94877ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff94862191 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8f36ad16 kevent + 10
1 libdispatch.dylib 0x00007fff9861fdea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff9861f9ee _dispatch_mgr_thread + 54
Thread 3:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff8f3686c2 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff98621c32 _dispatch_thread_semaphore_wait + 16
2 libdispatch.dylib 0x00007fff98621a92 _dispatch_barrier_sync_f_slow + 188
3 com.apple.CoreData 0x00007fff94ad2457 -[NSManagedObjectContext performBlockAndWait:] + 183
4 com.apple.CoreData 0x00007fff94a89a09 -[NSManagedObjectContext setUndoManager:] + 137
5 com.apple.DTDeviceKitBase 0x000000010a6f6945 __37+[DTDKCrashLogDatabase mainThreadMoc]_block_invoke + 142
6 libdispatch.dylib 0x00007fff9861d0b6 _dispatch_client_callout + 8
7 libdispatch.dylib 0x00007fff9861d041 dispatch_once_f + 50
8 com.apple.DTDeviceKitBase 0x000000010a6f68b5 +[DTDKCrashLogDatabase mainThreadMoc] + 102
9 com.apple.DTDeviceKitBase 0x000000010a6f6b43 +[DTDKCrashLogDatabase temporaryMoc] + 61
10 com.apple.DTDeviceKitBase 0x000000010a6f6f6d __38+[DTDKCrashLogDatabase startMigration]_block_invoke_2 + 85
11 libdispatch.dylib 0x00007fff98620f01 _dispatch_call_block_and_release + 15
12 libdispatch.dylib 0x00007fff9861d0b6 _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff9861e1fa _dispatch_worker_thread2 + 304
14 libsystem_c.dylib 0x00007fff94877cdb _pthread_wqthread + 404
15 libsystem_c.dylib 0x00007fff94862191 start_wqthread + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8f36a6d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff94877f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff94877ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff94862191 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8f36a6d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff94877f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff94877ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff94862191 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8f36a6d6 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff94877f1c _pthread_workq_return + 25
2 libsystem_c.dylib 0x00007fff94877ce3 _pthread_wqthread + 412
3 libsystem_c.dylib 0x00007fff94862191 start_wqthread + 13
Thread 7:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff8f368686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f367c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff974f5233 CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff974fa916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff974fa0e2 CFRunLoopRunSpecific + 290
5 com.apple.Foundation 0x00007fff8ebda546 +[NSURLConnection(Loader) _resourceLoadLoop:] + 356
6 com.apple.Foundation 0x00007fff8ec38562 __NSThread__main + 1345
7 libsystem_c.dylib 0x00007fff94875772 _pthread_start + 327
8 libsystem_c.dylib 0x00007fff948621a1 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff8f368686 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8f367c42 mach_msg + 70
2 com.apple.CoreFoundation 0x00007fff974f5233 CFRunLoopServiceMachPort + 195
3 com.apple.CoreFoundation 0x00007fff974fa916 __CFRunLoopRun + 1078
4 com.apple.CoreFoundation 0x00007fff974fa0e2 CFRunLoopRunSpecific + 290
5 com.apple.DTDeviceKitBase 0x000000010a6f140e -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 162
6 com.apple.Foundation 0x00007fff8ec38562 __NSThread__main + 1345
7 libsystem_c.dylib 0x00007fff94875772 _pthread_start + 327
8 libsystem_c.dylib 0x00007fff948621a1 thread_start + 13
Thread 9:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8f36a322 __select + 10
1 com.apple.CoreFoundation 0x00007fff97539f46 __CFSocketManager + 1302
2 libsystem_c.dylib 0x00007fff94875772 _pthread_start + 327
3 libsystem_c.dylib 0x00007fff948621a1 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000001 rcx: 0x00a7650300a76501 rdx: 0x00007fff7f1dfd48
rdi: 0x000000010525e5c8 rsi: 0x00007fff8fcf325d rbp: 0x00007fff5cfeac40 rsp: 0x00007fff5cfeab18
r8: 0x0000000000000001 r9: 0x00007fff7f1d8ae0 r10: 0x00007ffb5adf2800 r11: 0x0000000000000000
r12: 0x00007ffb5a90da80 r13: 0x00007ffb5a90da80 r14: 0x00007ffb5998e438 r15: 0x00007ffb5a9a9901
rip: 0x00007fff941b4498 rfl: 0x0000000000010246 cr2: 0x0000000000000018
Logical CPU: 0
Thanks!
Seems like this is the same issue describe in neonichu/BBUFullIssueNavigator#1, making it a general issue with plugins for some users, apparently.
Its crash on 10.8. I think you set deployment target of the plugin is 10.9. please set it to 10.8.
@sumitmundra Good catch! 👍
I set it to 10.8
now, could you please try if that works for you?
I already check it then i told you.
Thanks!