Xcode 3.2 crashes when opening/creating a project. Log really explains the rest (OS version etc.)
LOG:
Process: Xcode [7718]
Path: /Xcode3.2/*/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: 3.2 (1610)
Build Info: DevToolsIDE-16100000~6
Code Type: X86-64 (Native)
Parent Process: launchd [224]
Date/Time: 2011-11-23 22:00:45.656 +0000
OS Version: Mac OS X 10.7.2 (11C74)
Report Version: 9
Interval Since Last Report: 172469 sec
Crashes Since Last Report: 8
Per-App Interval Since Last Report: 19398 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: 5085CBA9-0FEA-4928-84A9-B5802B0A1903
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
Performing #selector(overwriteSelectedAction:) from sender NSButton 0x401ab2520
objc[7718]: garbage collection is ON
Dyld Error Message:
Symbol not found: _dispatch_queue_attr_create
Referenced from: /Xcode3.2/*/Xcode.app/Contents/MacOS/../../../../Library/PrivateFrameworks//DevToolsCore.framework/Versions/A/DevToolsCore
Expected in: /usr/lib/libSystem.B.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x00007fff68fd906d dyld_fatal_error + 1
1 dyld 0x00007fff68fdc918 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 128
2 libdyld.dylib 0x00007fff9281d716 dyld_stub_binder_ + 13
3 ??? 0x0000000100550010 0 + 4300537872
4 com.apple.Xcode.DevToolsCore 0x00000001001167a7 -[PBXProjectIndex initWithProject:] + 87
5 com.apple.Xcode.DevToolsCore 0x0000000100116479 -[PBXProject loadIndex] + 137
6 com.apple.Xcode.DevToolsCore 0x0000000100116304 -[PBXProject beginIndexing] + 52
7 com.apple.Xcode.DevToolsCore 0x00000001001162cb -[PBXProject openIndex] + 43
8 com.apple.Xcode.DevToolsInterface 0x0000000100870b7f -[PBXProjectDocument initWithProject:] + 367
9 com.apple.Xcode.DevToolsInterface 0x000000010096db80 +[PBXProjectDocument documentWithProject:] + 48
10 com.apple.Xcode.DevToolsInterface 0x00000001009d2bff -[PBXProjectWizard _finishTemplateInstantiationAfterFileCopying:instantiationResult:] + 351
11 com.apple.Xcode.DevToolsInterface 0x0000000100a765eb -[PBXFileCopyingWizard _finishCopyingTemplate:filesToPreserve:] + 219
12 com.apple.Xcode.DevToolsInterface 0x0000000100a9b780 -[PBXWizardOverwritingFilesModule sheetDidEnd:returnCode:contextInfo:] + 368
13 com.apple.AppKit 0x00007fff91d317d7 -[NSApplication endSheet:returnCode:] + 275
14 com.apple.Xcode.DevToolsInterface 0x0000000100a9b84e -[PBXWizardOverwritingFilesModule overwriteSelectedAction:] + 78
15 com.apple.CoreFoundation 0x00007fff9129fa1d -[NSObject performSelector:withObject:] + 61
16 com.apple.AppKit 0x00007fff91b80710 -[NSApplication sendAction:to:from:] + 139
17 com.apple.AppKit 0x00007fff91b80642 -[NSControl sendAction:to:] + 88
18 com.apple.AppKit 0x00007fff91b8056d -[NSCell _sendActionFrom:] + 137
19 com.apple.AppKit 0x00007fff91b7fa30 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2014
20 com.apple.AppKit 0x00007fff91bff8e0 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 489
21 com.apple.AppKit 0x00007fff91b7e63a -[NSControl mouseDown:] + 786
22 com.apple.AppKit 0x00007fff91b490e0 -[NSWindow sendEvent:] + 6306
23 com.apple.AppKit 0x00007fff91ae168f -[NSApplication sendEvent:] + 5593
24 com.apple.Xcode.DevToolsInterface 0x0000000100869bdd -[PBXExtendedApplication sendEvent:] + 301
25 com.apple.AppKit 0x00007fff91a77682 -[NSApplication run] + 555
26 com.apple.AppKit 0x00007fff91cf680c NSApplicationMain + 867
27 com.apple.Xcode 0x000000010000e97e 0x100000000 + 59774
28 com.apple.Xcode 0x0000000100001844 0x100000000 + 6212
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bcbf7e6 kevent + 10
1 libdispatch.dylib 0x00007fff8bc205be _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff8bc1f14e _dispatch_mgr_thread + 54
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bcbd67a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff8bcbcd71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff9123cb6c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff912452d4 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff91244ae6 CFRunLoopRunSpecific + 230
5 com.apple.DTDeviceKit 0x00000001094da094 -[DTDKRemoteDeviceDataListener listenerThreadImplementation] + 229
6 com.apple.Foundation 0x00007fff942fe7fe -[NSThread main] + 68
7 com.apple.Foundation 0x00007fff942fe776 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff8d0798bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff8d07cb75 thread_start + 13
Thread 3:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff8bcbedf2 __select + 10
1 com.apple.CoreFoundation 0x00007fff9128df9b __CFSocketManager + 1355
2 libsystem_c.dylib 0x00007fff8d0798bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8d07cb75 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bcbf192 __workq_kernreturn + 10
1 libsystem_c.dylib 0x00007fff8d07b594 _pthread_wqthread + 758
2 libsystem_c.dylib 0x00007fff8d07cb85 start_wqthread + 13
...*snip* - Rest at http://pastebin.com/BLsUxEkz
(Sorry, the log is LONG and putting 4 spaces at the begging of over 450 lines is too much! The rest of the log is at: http://pastebin.com/BLsUxEkz)
Thanks in advance.
EDIT: The only reason I wanted to use Xcode 3 (I usually use 4) is that I want to test my iOS app on iOS 3.x.
Xcode 3 is not officially supported on Mac OS X Lion.
Either upgrade to Xcode 4 (you can still target Mac OS X versions older than 10.7), or stick to Snow Leopard.
Otherwise, if you really want to use Lion and Xcode 3, I think you should install a 10.6 virtual machine, so you can run Xcode 3.
I heard some people said they couldn't run xcode3 on lion,so I think snow leopard well be chosen if you want use xcode3. Best regard.
Upgrading to Xcode 3.2.6 seemed to do the trick.
Related
I have had this crash that occurs rather rarely for ages. Unfortunately, I'm not able to get much hints from this received crashlog as it doesn't show any code line from my app. I believe this is related to bad memory management, but I have never managed to generate this crash in my debugger. I have tried enabling NSZombies and run this in Zombies-instruments but they have not shown the cause of the problem. Are there any other tricks I could try to find the cause for this kind of crash? Does the crashlog tell anything? Could it related to storyboard, timers or anything like that? Any hints are greatly appreciated!
Exception Type: SIGABRT
Exception Codes: #0 at 0x7fff93796d42
Crashed Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00007fff93796d42 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff936fc420 abort + 129
2 libc++abi.dylib 0x00007fff9225094a __cxa_bad_cast + 0
3 libc++abi.dylib 0x00007fff92275c2f _ZL26default_unexpected_handlerv + 0
4 libobjc.A.dylib 0x00007fff92d846fe _ZL15_objc_terminatev + 103
5 libc++abi.dylib 0x00007fff92272d49 _ZSt11__terminatePFvvE + 8
6 libc++abi.dylib 0x00007fff92272dc3 _ZSt9terminatev + 51
7 libdispatch.dylib 0x00007fff93632910 _dispatch_client_callout + 28
8 libdispatch.dylib 0x00007fff9363faac _dispatch_main_queue_callback_4CF + 925
9 com.apple.CoreFoundation 0x00007fff7df20bc9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10 com.apple.CoreFoundation 0x00007fff7dee1c0d __CFRunLoopRun + 2205
11 com.apple.CoreFoundation 0x00007fff7dee1114 CFRunLoopRunSpecific + 420
12 com.apple.HIToolbox 0x00007fff7d441ebc RunCurrentEventLoopInMode + 240
13 com.apple.HIToolbox 0x00007fff7d441cf1 ReceiveNextEventCommon + 432
14 com.apple.HIToolbox 0x00007fff7d441b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
15 com.apple.AppKit 0x00007fff7b9d8a54 _DPSNextEvent + 1120
16 com.apple.AppKit 0x00007fff7c1547ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
17 com.apple.AppKit 0x00007fff7b9cd3db -[NSApplication run] + 926
18 com.apple.AppKit 0x00007fff7b997e0e NSApplicationMain + 1237
19 libdyld.dylib 0x00007fff93668235 start + 1
I distribute an app through the Mac App Store. With the upgrade to macOS Sierra (10.12 & 10.12.1), a lot of my users see the app crashing at seemingly random times.
I've not been able to reproduce this myself, but it is affecting a lot of users. I suspect that a change in macOS Sierra is causing this, because the app works fine on older versions of Mac OS X.
How can I go about debugging this when the crash is deep in AppKit?
Here's what I have/know:
Document-based Mac app built on Mac OS X 10.11 (Xcode 7.2)
Works fine on 10.11 and before, crashes at random times on 10.12 and 10.12.1
It uses an embedded WebView
Cause is each time: objc_msgSend() selector name: retain at -[_NSCGSWindowBuffer colorSpace]
All crash logs show references to com.apple.JavaScriptCore in stack traces of other threads
Some users said they used the app in full-screen or split-view mode when it crashed
Looking at the stack trace, could this be an issue in WebKit or is this a coincidence, because my app happens to include an embedded WebView?
I thought about adding more logging statements to the app and give a special debug version to a few users. Is there something I could log or watch out for to figure out what is causing this?
At this point, I'm thankful for any and all suggestions...
EDIT:
One other developer running into the same issue got in touch with me. If you are seeing the same problem, please let me know so that we can compare notes and hopefully spot a pattern.
Crash log (excerpt):
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00002a955ae2bec0
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0x2a955ae2bec0:
JS JIT generated code 000026d481e01000-000026d481e02000 [ 4K] ---/rwx SM=NUL
-->
MALLOC_NANO 0000600000000000-0000600002400000 [ 36.0M] rw-/rwx SM=PRV
Application Specific Information:
objc_msgSend() selector name: retain
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x00007fffa66d8b5d objc_msgSend + 29
1 com.apple.AppKit 0x00007fff8fc86b71 -[_NSCGSWindowBuffer colorSpace] + 33
2 com.apple.AppKit 0x00007fff8fc5b5ad __NSCGSWindowBackingStoreMark__block_invoke + 997
3 com.apple.AppKit 0x00007fff8fc1eba3 NSCGSTransactionRunPreCommitActionsForOrder_ + 289
4 com.apple.AppKit 0x00007fff8fc1ea6f NSCGSTransactionRunPreCommitActions_ + 31
5 com.apple.AppKit 0x00007fff8fc1ea44 __39+[_NSCGSTransaction currentTransaction]_block_invoke + 34
6 com.apple.QuartzCore 0x00007fff979921ba CA::Transaction::run_commit_handlers(CATransactionPhase) + 46
7 com.apple.QuartzCore 0x00007fff97a9a12f CA::Context::commit_transaction(CA::Transaction*) + 959
8 com.apple.QuartzCore 0x00007fff97990d55 CA::Transaction::commit() + 475
9 com.apple.AppKit 0x00007fff8ff00c69 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.31 + 323
10 com.apple.CoreFoundation 0x00007fff91e75ec7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
11 com.apple.CoreFoundation 0x00007fff91e75e37 __CFRunLoopDoObservers + 391
12 com.apple.CoreFoundation 0x00007fff91e56d79 __CFRunLoopRun + 873
13 com.apple.CoreFoundation 0x00007fff91e567b4 CFRunLoopRunSpecific + 420
14 com.apple.HIToolbox 0x00007fff913f2fbc RunCurrentEventLoopInMode + 240
15 com.apple.HIToolbox 0x00007fff913f2cf9 ReceiveNextEventCommon + 184
16 com.apple.HIToolbox 0x00007fff913f2c26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
17 com.apple.AppKit 0x00007fff8fadcb79 _DPSNextEvent + 1093
18 com.apple.AppKit 0x00007fff901f21c3 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1637
19 com.apple.AppKit 0x00007fff8fad153d -[NSApplication run] + 926
20 com.apple.AppKit 0x00007fff8fa9c1ad NSApplicationMain + 1237
21 libdyld.dylib 0x00007fffa6fc3255 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fffa70f1fde __semwait_signal + 10
1 libsystem_c.dylib 0x00007fffa7078b72 nanosleep + 199
2 libc++.1.dylib 0x00007fffa5ba865b std::__1::this_thread::sleep_for(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > const&) + 80
3 com.apple.JavaScriptCore 0x00007fff94ccb3df void std::__1::this_thread::sleep_for<long long, std::__1::ratio<1l, 1000l> >(std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> > const&) + 63
4 com.apple.JavaScriptCore 0x00007fff94cca3d1 bmalloc::waitUntilFalse(std::__1::unique_lock<bmalloc::StaticMutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >, bool&) + 113
5 com.apple.JavaScriptCore 0x00007fff94cca220 bmalloc::Heap::scavenge(std::__1::unique_lock<bmalloc::StaticMutex>&, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000l> >) + 48
6 com.apple.JavaScriptCore 0x00007fff94cca0b4 bmalloc::Heap::concurrentScavenge() + 68
7 com.apple.JavaScriptCore 0x00007fff94ccb621 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 97
8 com.apple.JavaScriptCore 0x00007fff94ccb529 bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadEntryPoint(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*) + 9
9 com.apple.JavaScriptCore 0x00007fff94ccb7dd void* std::__1::__thread_proxy<std::__1::tuple<void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 93
10 libsystem_pthread.dylib 0x00007fffa71daaab _pthread_body + 180
11 libsystem_pthread.dylib 0x00007fffa71da9f7 _pthread_start + 286
12 libsystem_pthread.dylib 0x00007fffa71da221 thread_start + 13
[...]
EDIT: new description after transitioning to swift 2.0.
I'm working with an existing Swift 2.0 app on OSX 10.10, built with XCode 7.1. It's an interactive kiosk application running on a Mac Mini - a spritekit app that is doing some lower-level serial comms to accept input from a button and a few potentiometers (though that aspect is not causing any issues).
I've had issues with random crashing in deployment that never showed up in development or testing, often 6-8 hours into run time. I've gone back and more carefully unwrapped all optionals, which has helped the stability somewhat. But I am still getting daily crashes of this application.
Below is the latest symbolicated crash log:
Time Awake Since Boot: 7100 seconds
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000000000007c
VM Regions Near 0x7c:
-->
__TEXT 0000000100fee000-000000010100e000 [ 128K] r-x/rwx SM=COW /Users/USER/Documents/Volcano13.app/Contents/MacOS/Volcano
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.SpriteKit 0x000000010109fbe3 SKCSprite::removeSubsprite(SKCSprite*) + 131
1 com.apple.SpriteKit 0x00000001010a962d SKCEmitterSprite::~SKCEmitterSprite() + 79
2 com.apple.SpriteKit 0x00000001010a9224 SKCEmitterSprite::~SKCEmitterSprite() + 14
3 com.apple.SpriteKit 0x00000001010cdec6 -[SKNode dealloc] + 34
4 libobjc.A.dylib 0x00007fff85f8b89c objc_object::sidetable_release(bool) + 236
5 com.apple.CoreFoundation 0x00007fff897d5db0 CFRelease + 304
6 com.apple.CoreFoundation 0x00007fff897ea39d -[__NSArrayM dealloc] + 205
7 libobjc.A.dylib 0x00007fff85f8b89c objc_object::sidetable_release(bool) + 236
8 com.apple.SpriteKit 0x00000001010ce024 -[SKNode .cxx_destruct] + 179
9 libobjc.A.dylib 0x00007fff85f76ae8 object_cxxDestructFromClass(objc_object*, objc_class*) + 127
10 libobjc.A.dylib 0x00007fff85f71637 objc_destructInstance + 119
11 libobjc.A.dylib 0x00007fff85f71595 object_dispose + 22
12 com.apple.AppKit 0x00007fff908f1cec -[NSResponder dealloc] + 139
13 com.apple.SpriteKit 0x00000001010cdee5 -[SKNode dealloc] + 65
14 com.apple.SpriteKit 0x00000001010be1b2 -[SKEffectNode dealloc] + 99
15 libobjc.A.dylib 0x00007fff85f8b89c objc_object::sidetable_release(bool) + 236
16 com.apple.SpriteKit 0x0000000101069d52 -[SKView renderCallback:shouldBlock:] + 635
17 com.apple.SpriteKit 0x00000001010675ff __29-[SKView setUpRenderCallback]_block_invoke + 56
18 com.apple.SpriteKit 0x00000001010befbf __39-[SKDisplayLink _callbackForNextFrame:]_block_invoke33 + 32
19 libdispatch.dylib 0x00007fff86e79c13 _dispatch_client_callout + 8
20 libdispatch.dylib 0x00007fff86e8704e _dispatch_barrier_sync_f_slow_invoke + 412
21 libdispatch.dylib 0x00007fff86e79c13 _dispatch_client_callout + 8
22 libdispatch.dylib 0x00007fff86e85cbf _dispatch_main_queue_callback_4CF + 861
23 com.apple.CoreFoundation 0x00007fff898743f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
24 com.apple.CoreFoundation 0x00007fff8982f68f __CFRunLoopRun + 2159
25 com.apple.CoreFoundation 0x00007fff8982ebd8 CFRunLoopRunSpecific + 296
26 com.apple.HIToolbox 0x00007fff8c67956f RunCurrentEventLoopInMode + 235
27 com.apple.HIToolbox 0x00007fff8c6792ea ReceiveNextEventCommon + 431
28 com.apple.HIToolbox 0x00007fff8c67912b _BlockUntilNextEventMatchingListInModeWithFilter + 71
29 com.apple.AppKit 0x00007fff908fd8ab _DPSNextEvent + 978
30 com.apple.AppKit 0x00007fff908fce58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
31 com.apple.AppKit 0x00007fff908f2af3 -[NSApplication run] + 594
32 com.apple.AppKit 0x00007fff9086f244 NSApplicationMain + 1832
33 cmnh.Volcano 0x00000001010092b9 main (in Volcano) (AppDelegate.swift:23)
34 libdyld.dylib 0x00007fff8dd315c9 start + 1
This seems to me to indicate a problem with removing an SKEmitter sprite after one of my scenes ended, but does not point me to anything more specific than that.
I do have two SKEmitter sprites that I added using the scene editor in XCode, both stationary with no target nodes. I pause and unpause them within my scene controller, but otherwise do no other operations with them. In fact, I am not adding or removing any nodes within the controller - everything that I need in the scene is the same as what is contained in the scene's SKS file.
Any suggestions?
There is a consistently reproducible crash when toggling 'mirror display' on while a Swing application is running on a dual monitor machine, then immediately overing over something that has a tooltip.
I only see this on OS X 10.8. I could not reproduce it on 10.7.
Compile and run the sample code against Java 7 on a Mac with OS X 10.8 (with dual monitor) in a 'display mirroring' off state.
Hover over the JLabel to see a tooltip
Toggle display mirroring on.
Hover over the JLabel again and you should get a crash.
public class TestToolTip {
public static void main(String[] args) {
JFrame frame = new JFrame();
JLabel label = new JLabel("hover");
label.setToolTipText("tooltip text");
frame.add(label);
frame.setVisible(true);
frame.pack();
}
}
I've also seen this when closing a laptop on a running application instead of the 'mirror on' step.
PlugIn Path: /Library/Java/JavaVirtualMachines/jdk1.7.0_11.jdk/Contents/Home/jre/lib/lwawt/liblwawt.dylib
PlugIn Identifier: liblwawt.dylib
PlugIn Version: ??? (1)
Date/Time: 2013-07-04 12:09:43.467 -0400
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10
Interval Since Last Report: 6164497 sec
Crashes Since Last Report: 67
Per-App Interval Since Last Report: 23880 sec
Per-App Crashes Since Last Report: 2
Crashed Thread: 0 AppKit Thread Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Application Specific Information:
*** CFRelease() called with NULL ***
Thread 0 Crashed:: AppKit Thread Dispatch queue: com.apple.main-thread
0 com.apple.CoreFoundation 0x00007fff8513e7d8 CFRelease + 40
1 liblwawt.dylib 0x0000000168eae647 __Java_sun_lwawt_macosx_CWrapper_00024NSObject_release_block_invoke_1 + 91
2 JavaNativeFoundation 0x00000001682d55f5 +[JNFRunLoop _performCopiedBlock:] + 20
3 com.apple.Foundation 0x00007fff88d31677 __NSThreadPerformPerform + 225
4 com.apple.CoreFoundation 0x00007fff85148101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
5 com.apple.CoreFoundation 0x00007fff85147a25 __CFRunLoopDoSources0 + 245
6 com.apple.CoreFoundation 0x00007fff8516adc5 __CFRunLoopRun + 789
7 com.apple.CoreFoundation 0x00007fff8516a6b2 CFRunLoopRunSpecific + 290
8 com.apple.HIToolbox 0x00007fff901410a4 RunCurrentEventLoopInMode + 209
9 com.apple.HIToolbox 0x00007fff90140e42 ReceiveNextEventCommon + 356
10 com.apple.HIToolbox 0x00007fff90140cd3 BlockUntilNextEventMatchingListInMode + 62
11 com.apple.AppKit 0x00007fff8dc19613 _DPSNextEvent + 685
12 com.apple.AppKit 0x00007fff8dc18ed2 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
13 libosxapp.dylib 0x0000000168f2fb56 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
14 com.apple.AppKit 0x00007fff8dc10283 -[NSApplication run] + 517
15 libosxapp.dylib 0x0000000168f2f9b9 +[NSApplicationAWT runAWTLoopWithApp:] + 156
16 liblwawt.dylib 0x0000000168e8981a -[AWTStarter starter:] + 1591
17 com.apple.Foundation 0x00007fff88d31677 __NSThreadPerformPerform + 225
18 com.apple.CoreFoundation 0x00007fff85148101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
19 com.apple.CoreFoundation 0x00007fff85147a25 __CFRunLoopDoSources0 + 245
20 com.apple.CoreFoundation 0x00007fff8516adc5 __CFRunLoopRun + 789
21 com.apple.CoreFoundation 0x00007fff8516a6b2 CFRunLoopRunSpecific + 290
22 java 0x0000000102a8842d CreateExecutionEnvironment + 871
23 java 0x0000000102a82bdc JLI_Launch + 1952
24 java 0x0000000102a8878a main + 101
25 java 0x0000000102a82434 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff8bf70386 __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff884eacbd pthread_join + 847
2 java 0x0000000102a87a2d ContinueInNewThread0 + 102
3 java 0x0000000102a83847 ContinueInNewThread + 201
4 java 0x0000000102a87790 JVMInit + 251
5 java 0x0000000102a835c5 JLI_Launch + 4489
6 java 0x0000000102a8878a main + 101
7 java 0x0000000102a880bf apple_main + 92
8 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
9 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4018a Monitor::wait(bool, long, bool) + 246
6 libjvm.dylib 0x0000000103023168 Threads::destroy_vm() + 80
7 libjvm.dylib 0x0000000102e4e2ba jni_DestroyJavaVM + 223
8 java 0x0000000102a83b86 JavaMain + 805
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 3:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff8bf70d16 kevent + 10
1 libdispatch.dylib 0x00007fff84e84dea _dispatch_mgr_invoke + 883
2 libdispatch.dylib 0x00007fff84e849ee _dispatch_mgr_thread + 54
Thread 4:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
6 libjvm.dylib 0x0000000102dcd516 GCTaskManager::get_task(unsigned int) + 56
7 libjvm.dylib 0x0000000102dce34e GCTaskThread::run() + 338
8 libjvm.dylib 0x0000000102f601b5 java_start(Thread*) + 173
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5c547 os::PlatformEvent::park() + 173
3 libjvm.dylib 0x0000000102f3f7bc ParkCommon(ParkEvent*, long long) + 42
4 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
5 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
6 libjvm.dylib 0x0000000102dcd516 GCTaskManager::get_task(unsigned int) + 56
7 libjvm.dylib 0x0000000102dce34e GCTaskThread::run() + 338
8 libjvm.dylib 0x0000000102f601b5 java_start(Thread*) + 173
9 libsystem_c.dylib 0x00007fff88460742 _pthread_start + 327
10 libsystem_c.dylib 0x00007fff8844d181 thread_start + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff8bf700fa __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff88464f89 _pthread_cond_wait + 869
2 libjvm.dylib 0x0000000102f5d6b3 os::PlatformEvent::park(long long) + 385
3 libjvm.dylib 0x0000000102f3ffae Monitor::IWait(Thread*, long long) + 160
4 libjvm.dylib 0x0000000102f4020b Monitor::wait(bool, long, bool) + 375
5 libjvm.dylib 0x0000000103053f2c VMThread::loop() + 444
I have uninstalled it via the devtools uninstall command and reinstalled 3 times to no avail. This all started when I downloaded iphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard__10m2003a.dmg from the DEV portal and installed.
I've trashed my com.apple.xcode.plist file, uninstalled all xcode plugins as well as Growlcode and I still can't solve this.
Here is the error information:
Process: Xcode [1096]
Path: /Developer/Developer Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: 3.1.2 (1149)
Build Info: DevToolsIDE-11490000~1
Code Type: X86 (Native)
Parent Process: launchd [196]
Date/Time: 2010-02-22 21:03:05.858 -0700
OS Version: Mac OS X 10.6.2 (10C540)
Report Version: 6
Interval Since Last Report: 373328 sec
Crashes Since Last Report: 17
Per-App Interval Since Last Report: 305 sec
Per-App Crashes Since Last Report: 17
Anonymous UUID: 2F82DA63-66A6-4C25-9C69-C2D02627B388
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information:
objc[1096]: garbage collection is ON
objc[1096]: layout_bitmap_or: layout bitmap too short: PBXJavaParentDV
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 libobjc.A.dylib 0x96a5d43e _objc_fatal + 95
1 libobjc.A.dylib 0x96a5dacf layout_bitmap_or + 91
2 libobjc.A.dylib 0x96a5158c really_connect_class + 243
3 libobjc.A.dylib 0x96a5137a connect_class + 254
4 libobjc.A.dylib 0x96a5131f connect_class + 163
5 libobjc.A.dylib 0x96a4fd67 _read_images + 1303
6 libobjc.A.dylib 0x96a65933 map_images_nolock + 1545
7 libobjc.A.dylib 0x96a4f0d9 map_images + 72
8 dyld 0x8fe03f2d dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 795
9 dyld 0x8fe0decd ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, ImageLoader::RPathChain const&) + 251
10 dyld 0x8fe056af dyld::link(ImageLoader*, bool, ImageLoader::RPathChain const&) + 137
11 dyld 0x8fe0b242 dlopen + 471
12 libSystem.B.dylib 0x92b3f048 dlopen + 66
13 com.apple.CoreFoundation 0x94937109 _CFBundleDlfcnLoadBundle + 233
14 com.apple.CoreFoundation 0x94936c7a _CFBundleLoadExecutableAndReturnError + 1370
15 com.apple.Foundation 0x90c342df _NSBundleLoadCode + 995
16 com.apple.Foundation 0x90c33a67 -[NSBundle loadAndReturnError:] + 820
17 com.apple.Foundation 0x90c3372d -[NSBundle load] + 42
18 com.apple.Xcode.DevToolsCore 0x000976e4 -[XCPluginManager loadPluginBundle:] + 516
19 com.apple.Xcode.DevToolsCore 0x00092ad2 -[XCPluginManager findAndLoadPluginsInDomain:] + 1522
20 com.apple.Xcode.DevToolsCore 0x000924cd -[XCPluginManager findAndLoadPlugins] + 45
21 com.apple.Xcode.DevToolsCore 0x0008c6b9 XCInitializeCoreIfNeeded + 4441
22 com.apple.Xcode 0x00003252 0x1000 + 8786
23 com.apple.Foundation 0x90c031c7 _nsnote_callback + 176
24 com.apple.CoreFoundation 0x949309a9 __CFXNotificationPost + 905
25 com.apple.CoreFoundation 0x949303da _CFXNotificationPostNotification + 186
26 com.apple.Foundation 0x90bf8094 -[NSNotificationCenter postNotificationName:object:userInfo:] + 128
27 com.apple.Foundation 0x90c05471 -[NSNotificationCenter postNotificationName:object:] + 56
28 com.apple.AppKit 0x95cc87bd -[NSApplication finishLaunching] + 493
29 com.apple.AppKit 0x95cc81b9 -[NSApplication run] + 79
30 com.apple.AppKit 0x95cc0535 NSApplicationMain + 574
31 com.apple.Xcode 0x00002bca 0x1000 + 7114
Get the first argument to dlopen. This probably points to a corrupted file. You can do this with gdb.
$ gdb /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
(gdb) run
... program will hopefully crash ...
(gdb) bt
(gdb) f N [where N is the highest numbered 'dlopen' frame]
(gdb) p (char *)*($esp) [I think... can't test now, I'm on PPC]