Can anyone tell me what is this crash about since there's no stack trace and cannot be symbolicated?
I'll paste here only the relevant part of the crash. My project is written in Swift.
NO_CRASH_STACK + 0
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000102445424
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [18568]
Triggered by Thread: 7
Thread 7 name: Dispatch queue: NSOperationQueue 0x282ced140 (QOS: UNSPECIFIED)
Thread 7 Crashed:
0 ------------ 0x0000000102445424 0x102304000 + 1315876
1 ------------ 0x0000000102444a9c 0x102304000 + 1313436
2 ------------ 0x000000010232e408 0x102304000 + 173064
3 ------------ 0x000000010232b320 0x102304000 + 160544
4 CFNetwork 0x0000000208b5b228 __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
5 CFNetwork 0x0000000208b6f9c8 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 176
6 Foundation 0x000000020900e82c __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
7 Foundation 0x0000000208f16a28 -[NSBlockOperation main] + 72
8 Foundation 0x0000000208f15efc -[__NSOperationInternal _start:] + 740
9 Foundation 0x0000000209010700 __NSOQSchedule_f + 272
10 libdispatch.dylib 0x0000000207fb96c8 _dispatch_call_block_and_release + 24
11 libdispatch.dylib 0x0000000207fba484 _dispatch_client_callout + 16
12 libdispatch.dylib 0x0000000207f5d83c _dispatch_continuation_pop$VARIANT$mp + 412
13 libdispatch.dylib 0x0000000207f5cf04 _dispatch_async_redirect_invoke + 600
14 libdispatch.dylib 0x0000000207f69a28 _dispatch_root_queue_drain + 376
15 libdispatch.dylib 0x0000000207f6a2d0 _dispatch_worker_thread2 + 128
16 libsystem_pthread.dylib 0x000000020819c17c _pthread_wqthread + 472
17 libsystem_pthread.dylib 0x000000020819ecec start_wqthread + 4
I solved the problem myself just by downloading the dSYM files from App Store Connect and Xcode automatically symbolicated the crash.
Related
Upgraded to MacOS Ventura and since then, the tvOS Simulator always crashes just after launching with the following message:
rosetta error: unable to get state for thread the runtime suspended
Processor : M1
Xcode Version : 14.0 & 14.1(Both displays same error)
Detailed Error Report is as follows:
Incident Identifier: C6F292AE-17D3-4DCA-9F5A-E3159044E994
CrashReporter Key: C2CA0298-286B-1698-1DF3-EBF4DDE98FEE
Hardware Model: MacBookPro18,1
Process: **** [78553]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/D4D254F8-517E-4466-9245-******/data/Containers/Bundle/Application/************
Identifier: com.***.***.***
Version: 1.0.0 (1)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [78465]
Coalition: com.apple.CoreSimulator.SimDevice.D4D254F8-517E-4466-9245-61B515B5E11C [10286]
Responsible Process: SimulatorTrampoline [5643]
Date/Time: 2022-11-03 17:52:57.5440 +0530
Launch Time: 2022-11-03 17:51:56.6992 +0530
OS Version: macOS 13.0 (22A380)
Release Type: User
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00007ff7ffd4a9a0
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [78553]
Triggered by Thread: 2
Thread 0:: Dispatch queue: com.apple.main-thread
0 ??? 0x7ff7ffd4f6b8 ???
1 ??? 0x10583a874 ???
2 libsystem_platform.dylib 0x114848c33 _sigtramp + 51
Thread 1:: com.apple.rosetta.exceptionserver
0 ??? 0x7ff7ffd4310c ???
1 ??? 0x7ff7ffd3c764 ???
Thread 2 Crashed:: com.apple.rosetta.debugserver
0 ??? 0x7ff7ffd4a9a0 ???
1 ??? 0x7ff7ffd4a998 ???
Thread 3:
0 ??? 0x7ff7ffd4f87c ???
Thread 4:: com.apple.uikit.eventfetch-thread
0 ??? 0x1057489a8 ???
1 ??? 0x10583a874 ???
2 libsystem_kernel.dylib 0x1147d667d mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x1147cf71a mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x1147c8989 mach_msg + 19
5 CoreFoundation 0x10ffffac1 __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x10fffa380 __CFRunLoopRun + 1371
7 CoreFoundation 0x10fff9a6d CFRunLoopRunSpecific + 560
8 Foundation 0x11320f13a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 213
9 Foundation 0x11320f3b3 -[NSRunLoop(NSRunLoop) runUntilDate:] + 72
10 UIKitCore 0x126b11b38 -[UIEventFetcher threadMain] + 364
11 Foundation 0x1132383c2 __NSThread__start__ + 1009
12 libsystem_pthread.dylib 0x114914259 _pthread_start + 125
13 libsystem_pthread.dylib 0x11490fc7b thread_start + 15
Thread 5:
0 ??? 0x1057489a8 ???
1 ??? 0x10599edac ???
2 libsystem_pthread.dylib 0x114915a05 _pthread_join + 358
3 **** 0x10445c1b9 _****_timer_handler_thread + 313 (astb_config.c:1159)
4 libsystem_pthread.dylib 0x114914259 _pthread_start + 125
5 libsystem_pthread.dylib 0x11490fc7b thread_start + 15
Thread 6:: com.apple.NSURLConnectionLoader
0 ??? 0x1057489a8 ???
1 ??? 0x10583a874 ???
2 libsystem_kernel.dylib 0x1147d667d mach_msg2_internal + 82
3 libsystem_kernel.dylib 0x1147cf71a mach_msg_overwrite + 723
4 libsystem_kernel.dylib 0x1147c8989 mach_msg + 19
5 CoreFoundation 0x10ffffac1 __CFRunLoopServiceMachPort + 145
6 CoreFoundation 0x10fffa380 __CFRunLoopRun + 1371
7 CoreFoundation 0x10fff9a6d CFRunLoopRunSpecific + 560
8 CFNetwork 0x110aeeeac 0x1108c4000 + 2272940
9 Foundation 0x1132383c2 __NSThread__start__ + 1009
10 libsystem_pthread.dylib 0x114914259 _pthread_start + 125
11 libsystem_pthread.dylib 0x11490fc7b thread_start + 15
Thread 7:: com.apple.coremedia.imagequeue.coreanimation.common
0 ??? 0x1057489a8 ???
1 ??? 0x107f21294 ???
2 libsystem_pthread.dylib 0x1149147e1 _pthread_cond_wait + 1243
3 CoreMedia 0x10e5853d6 WaitOnCondition + 11
4 CoreMedia 0x10e5850e1 FigSemaphoreWaitRelative + 145
5 MediaToolbox 0x115e22032 piqca_SharedPollingThread + 191
6 CoreMedia 0x10e585c5e figThreadMain + 276
7 libsystem_pthread.dylib 0x114914259 _pthread_start + 125
8 libsystem_pthread.dylib 0x11490fc7b thread_start + 15
Thread 8:: com.apple.coremedia.videomediaconverter
...
...
Thread 9:: com.apple.coremedia.videomentor
...
...
Thread 10:: com.apple.coremedia.JVTlib
...
...
Thread 11:: com.apple.coremedia.JVTlib
....
...
Thread 12:: com.apple.coremedia.JVTlib
0 ??? 0x1057489a8 ???
1 ??? 0x1077ffa14 ???
2 libdispatch.dylib 0x11170143a _dispatch_sema4_wait + 16
3 libdispatch.dylib 0x111701944 _dispatch_semaphore_wait_slow + 98
4 H264SW.videocodec 0x135b268d9 0x13597e000 + 1738969
5 libsystem_pthread.dylib 0x114914259 _pthread_start + 125
6 libsystem_pthread.dylib 0x11490fc7b thread_start + 15
Thread 13:
0 ??? 0x7ff7ffd3163c ???
1 ??? 0x7ff7ffd4a1d8 ???
Thread 2 crashed with X86 Thread State (64-bit):
The error report says it is crashed by Thread2(com.apple.rosetta.debugserver), but couldn't find much on that.
Tried with a newly created tvOS app and it ran well. Also, other team members don't have this issue(they are on Macs with Intel Processor).
From Applications --> Xcode --> Get Info --> Launch using Rosetta is unchecked(also tried with checked)
If I pause the debugger on launch and resume it through every function's flow point of the app, it somehow reaches home page. But, then it freezes, crashes and displays error message:
rosetta error: unable to get state for thread the runtime suspended
In Xcode Build Settings and podfile, I have excluded the arm64 tvos simulator sdk
When I'm trying to run apple watch standalone app on physical device its throwing this error:
Error:
Details
Unable to install "TinyRage WatchKit App"
Domain: com.apple.dtdevicekit
Code: -402620394
--
The executable was signed with invalid entitlements.
Domain: com.apple.dtdevicekit
Code: -402620394
Failure Reason: The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).
User Info: {
DVTRadarComponentKey = 487927;
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011e6e16e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x000000011e6e1de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x000000011e72156a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164
3 DVTFoundation 0x0000000103851156 DVTInvokeWithStrongOwnership + 73
4 DTDeviceKitBase 0x000000011e721301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589
5 IDEiOSSupportCore 0x000000011e5baa25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523
6 DVTFoundation 0x00000001039823ba __DVT_CALLING_CLIENT_BLOCK__ + 7
7 DVTFoundation 0x0000000103983a92 __DVTDispatchAsync_block_invoke + 809
8 libdispatch.dylib 0x00007fff7306d5f8 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fff7306e63d _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff730748e0 _dispatch_lane_serial_drain + 602
11 libdispatch.dylib 0x00007fff73075396 _dispatch_lane_invoke + 385
12 libdispatch.dylib 0x00007fff7307d6ed _dispatch_workloop_worker_thread + 598
13 libsystem_pthread.dylib 0x00007fff732ae611 _pthread_wqthread + 421
14 libsystem_pthread.dylib 0x00007fff732ae3fd start_wqthread + 13
);
}
--
However with another app everything works correctly without any issues.
I get this crash every time my FinderSync extension starts up:
Process: My Finder Sync [8364]
Path: /Applications/Company/Container.app/Contents/PlugIns/My Finder Sync.appex/Contents/MacOS/My Finder Sync
Identifier: com.company.Container.My-Finder-Sync
Version: [Set on build machine] ([Set on build machine])
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: My Finder Sync [8364]
User ID: 1129915948
Date/Time: 2019-01-04 11:31:34.146 -0500
OS Version: Mac OS X 10.13.6 (17G4015)
Report Version: 12
Anonymous UUID: 013E2942-CED9-22FA-438A-E3D0BA89EB5C
Sleep/Wake UUID: D21EDE9D-237A-412A-8456-B96453886BAD
Time Awake Since Boot: 3200 seconds
Time Since Wake: 2600 seconds
System Integrity Protection: disabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSDictionaryM setObject:forKey:]: object cannot be nil (key: 37990439-1DFE-4F0B-9865-6FC1D34A3BE4)'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff31eb523b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff59147c76 objc_exception_throw + 48
2 CoreFoundation 0x00007fff31ef64c4 _CFThrowFormattedException + 202
3 CoreFoundation 0x00007fff31db87cc -[__NSDictionaryM setObject:forKey:] + 1020
4 Foundation 0x00007fff3408b348 -[_NSExtensionContextVendor _setPrincipalObject:forUUID:] + 106
5 Foundation 0x00007fff3408ab04 __105-[_NSExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 804
6 libdispatch.dylib 0x00007fff59d2f5fa _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x00007fff59d27db8 _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007fff59d33395 _dispatch_main_queue_callback_4CF + 1148
9 CoreFoundation 0x00007fff31e6db39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10 CoreFoundation 0x00007fff31e2fcda __CFRunLoopRun + 2586
11 CoreFoundation 0x00007fff31e2f033 CFRunLoopRunSpecific + 483
12 HIToolbox 0x00007fff31119d96 RunCurrentEventLoopInMode + 286
13 HIToolbox 0x00007fff31119b06 ReceiveNextEventCommon + 613
14 HIToolbox 0x00007fff31119884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
15 AppKit 0x00007fff2f3c9a73 _DPSNextEvent + 2085
16 AppKit 0x00007fff2fb5fe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
17 AppKit 0x00007fff2f3be885 -[NSApplication run] + 764
18 AppKit 0x00007fff2f38da72 NSApplicationMain + 804
19 libxpc.dylib 0x00007fff5a0bbd77 _xpc_objc_main + 580
20 libxpc.dylib 0x00007fff5a0ba9ca xpc_main + 433
21 Foundation 0x00007fff33f825f5 +[NSXPCListener serviceListener] + 0
22 PlugInKit 0x00007fff50ddbf8d -[PKService run] + 704
23 PlugInKit 0x00007fff50ddbb99 +[PKService main] + 55
24 PlugInKit 0x00007fff50ddbfb1 +[PKService _defaultRun:arguments:] + 17
25 Foundation 0x00007fff34130229 NSExtensionMain + 51
26 libdyld.dylib 0x00007fff59d61015 start + 1
27 ??? 0x0000000000000001 0x0 + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff59eb1b66 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff5a07c080 pthread_kill + 333
2 libsystem_c.dylib 0x00007fff59e0d1ae abort + 127
3 libc++abi.dylib 0x00007fff57d07f8f abort_message + 245
4 libc++abi.dylib 0x00007fff57d0812b default_terminate_handler() + 265
5 libobjc.A.dylib 0x00007fff59149ea3 _objc_terminate() + 97
6 libc++abi.dylib 0x00007fff57d237c9 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fff57d23843 std::terminate() + 51
8 libdispatch.dylib 0x00007fff59d27dcc _dispatch_client_callout + 28
9 libdispatch.dylib 0x00007fff59d33395 _dispatch_main_queue_callback_4CF + 1148
10 com.apple.CoreFoundation 0x00007fff31e6db39 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
11 com.apple.CoreFoundation 0x00007fff31e2fcda __CFRunLoopRun + 2586
12 com.apple.CoreFoundation 0x00007fff31e2f033 CFRunLoopRunSpecific + 483
13 com.apple.HIToolbox 0x00007fff31119d96 RunCurrentEventLoopInMode + 286
14 com.apple.HIToolbox 0x00007fff31119b06 ReceiveNextEventCommon + 613
15 com.apple.HIToolbox 0x00007fff31119884 _BlockUntilNextEventMatchingListInModeWithFilter + 64
16 com.apple.AppKit 0x00007fff2f3c9a73 _DPSNextEvent + 2085
17 com.apple.AppKit 0x00007fff2fb5fe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
18 com.apple.AppKit 0x00007fff2f3be885 -[NSApplication run] + 764
19 com.apple.AppKit 0x00007fff2f38da72 NSApplicationMain + 804
20 libxpc.dylib 0x00007fff5a0bbd77 _xpc_objc_main + 580
21 libxpc.dylib 0x00007fff5a0ba9ca xpc_main + 433
22 com.apple.Foundation 0x00007fff33f825f5 -[NSXPCListener resume] + 165
23 com.apple.pluginkit.framework 0x00007fff50ddbf8d -[PKService run] + 704
24 com.apple.pluginkit.framework 0x00007fff50ddbb99 +[PKService main] + 55
25 com.apple.pluginkit.framework 0x00007fff50ddbfb1 +[PKService _defaultRun:arguments:] + 17
26 com.apple.Foundation 0x00007fff34130229 NSExtensionMain + 51
27 libdyld.dylib 0x00007fff59d61015 start + 1
Thread 1:
0 libsystem_kernel.dylib 0x00007fff59eb228a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff5a079009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff5a078be9 start_wqthread + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fff59eb228a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff5a079009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff5a078be9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff59eb228a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff5a079009 _pthread_wqthread + 1035
2 libsystem_pthread.dylib 0x00007fff5a078be9 start_wqthread + 13
Thread 4:
0 libsystem_pthread.dylib 0x00007fff5a078bdc start_wqthread + 0
1 ??? 0x0004000200000006 0 + 1125908496777222
Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff59ea820a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff59ea7724 mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff31e30665 __CFRunLoopServiceMachPort + 341
3 com.apple.CoreFoundation 0x00007fff31e2f9b7 __CFRunLoopRun + 1783
4 com.apple.CoreFoundation 0x00007fff31e2f033 CFRunLoopRunSpecific + 483
5 com.apple.AppKit 0x00007fff2f506fc4 _NSEventThread + 184
6 libsystem_pthread.dylib 0x00007fff5a079661 _pthread_body + 340
7 libsystem_pthread.dylib 0x00007fff5a07950d _pthread_start + 377
8 libsystem_pthread.dylib 0x00007fff5a078bf9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff927a7380 rcx: 0x00007ffee31a6c68 rdx: 0x0000000000000000
rdi: 0x0000000000000307 rsi: 0x0000000000000006 rbp: 0x00007ffee31a6ca0 rsp: 0x00007ffee31a6c68
r8: 0x00007ffee31a6b30 r9: 0x00007ffee31a6d00 r10: 0x0000000000000000 r11: 0x0000000000000206
r12: 0x0000000000000307 r13: 0x0000000000000030 r14: 0x0000000000000006 r15: 0x000000000000002d
rip: 0x00007fff59eb1b66 rfl: 0x0000000000000206 cr2: 0x00007fff92784168
As you can see there's only Apple platform stuff in there. Even worse, is that this happens before any of my code is called! At least, it never hits my breakpoint in my FIFinderSync class' init.
So what's going on here? Why is it crashing with something about a UUID key and nil value in some dictionary? I've gone through all my code and ensured that can't happen (I do have some dictionaries like that, but all are in Swift code and the values are not optional so can never be nil; nevermind that their breakpoints aren't hit either).
Swift does some name mangling, even when it doesn't seem like it. When you do something like reference a class name via a string, like in a FinderSync extension's info.plist, that doesn't always work as intended in Swift.
For instance, if you have a class like:
#objc
class MyFinderSyncPrinicpalClass: FIFinderSync {
// ...
}
try compiling that and looking at the generated Obj-C header. It probably looks something like this:
SWIFT_CLASS("_TtC17My_Finder_Sync10MyFinderSyncPrinicpalClass")
#interface MyFinderSyncPrinicpalClass : FIFinderSync
// ...
#end
This means that Swift and Objective-C code can both simply refer to it as MyFinderSyncPrinicpalClass, but anything that wants to refer to its compiled form via a string, such as in reflection or that info.plist, sees that mangled name _TtC17My_Finder_Sync10MyFinderSyncPrinicpalClass. To fix this, simply specify the name explicitly in the #objc annotation:
#objc(MyFinderSyncPrinicpalClass)
class MyFinderSyncPrinicpalClass: FIFinderSync {
// ...
}
Now if you compare that to the newly-generated Obj-C header, you'll see what I mean:
SWIFT_CLASS("MyFinderSyncPrinicpalClass")
#interface MyFinderSyncPrinicpalClass : FIFinderSync
// ...
#end
Now you may refer to it by its actual name in info.plist, and it'll be started up as intended!
My guess is that something in the Info.plist of your extension is wrong. Perhaps there's a missing value there and when the OS attempts to get its value, it gets back nil. It may then attempt to put that value into another dictionary when the exception occurs. Judging from the names of the functions involved, it might be your Principal Class or similar entry from the Info.plist file that's missing.
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
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.