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
Related
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.
New Information: I have replicated the crash while the phone is connected to my computer with an exception breakpoint enabled, and the application is paused at the moment. If anyone wants to help me with what I should do to get the relevant information before I stop the app, that would be great. It stopped me on a line that was creating a sound which I haven't had a problem with for weeks, so that's confusing.
I recently implemented NSUserDefaults in my game, and it's been causing crashes. The problem is, it never crashes when it'c connected to my computer so I can't actualluy catch the crash - I'm only assuming it has to do with NSUserDefaults.
As of right now I've only stored Ints in my NSUserDefaults. I have realized this morning that I haven't been using the synchronize call, could this be causing the crashes?
Also, how do you check for a key that doesn't exist?
The crash occurs when I tap to switch from the game menu into actually playing the game. One of the first lines of code in the game scene's initWithSize is a call to check and NSLog some default values.
New information: After looking at the crash logs it appears that this crash has two parts. First, a KERN_PROTECTION_FAILURE which crashes the app when I'm using it, and actually another "crash" is being reported a few minutes later, at times which I am sure I am not using the app.
EDIT: CRASH LOG 1:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28505]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:34:03.272 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000018516aefa
Triggered by Thread: 0
Thread 0 Crashed:
0 SpriteKit 0x00000001873ac364 SKCSprite::removeSubsprite(SKCSprite*) + 152
1 SpriteKit 0x00000001873a0d04 -[SKShapeNode dealloc] + 52
2 libobjc.A.dylib 0x0000000190a1d470 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 520
3 CoreFoundation 0x00000001843f9b34 _CFAutoreleasePoolPop + 24
4 UIKit 0x00000001874b6540 _wrapRunLoopWithAutoreleasePoolHandler + 72
5 CoreFoundation 0x00000001844bb854 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 28
6 CoreFoundation 0x00000001844b8adc __CFRunLoopDoObservers + 368
7 CoreFoundation 0x00000001844b8e68 __CFRunLoopRun + 760
8 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
9 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
10 UIKit 0x000000018752afc0 UIApplicationMain + 1152
11 Pixel Pilot 0x000000010009034c main (main.m:16)
12 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 7:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 8:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x000000012cd11870 x1: 0x000000012cd116d0 x2: 0x0000000000000008 x3: 0x000000019112bcdc
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x000000018516aee6 x9: 0x00000001915e4ec8 x10: 0x0000000000000067 x11: 0x00000000002c2a00
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x00000000c1fb8c17 x15: 0x0000000016ed1586
x16: 0x000000019116d42c x17: 0x00000001873a0cd0 x18: 0x0000000000000000 x19: 0x000000012cd11500
x20: 0x000000012cd11870 x21: 0x0000000193ec4380 x22: 0x0000000193ec4380 x23: 0x00000000a1a1a1a1
x24: 0x0000000193eb0098 x25: 0x000000010012c048 x26: 0xa3a3a3a3a3a3a3a3 x27: 0x000000016fda6cd0
x28: 0x0000000000000001 fp: 0x000000016fda6780 lr: 0x00000001873ac344
sp: 0x000000016fda6760 pc: 0x00000001873ac364 cpsr: 0x60000000
CRASH LOG 2:
Hardware Model: iPhone6,1
Process: Pixel Pilot [28606]
Path: /var/mobile/Applications/0DD06667-D5BA-4FAA-A5B1-2747054A79A0/Pixel Pilot.app/Pixel Pilot
Identifier: com.pixelstewdio.Pixel-Pilot
Version: 1.0 (1.0)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
Date/Time: 2014-11-12 07:43:50.305 -0500
OS Version: iOS 7.1.2 (11D257)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000001
Triggered by Thread: 0
Thread 0 Crashed:
0 libGPUSupportMercury.dylib 0x0000000189cb46f8 gpus_ReturnNotPermittedKillClient + 12
1 AGXGLDriver 0x00000001830d3248 SubmitPackets + 196
2 GLEngine 0x0000000186e3fa78 gliPresentViewES_Exec + 236
3 GLEngine 0x0000000186e3f908 gliPresentViewES + 192
4 OpenGLES 0x0000000186e4cc98 -[EAGLContext presentRenderbuffer:] + 76
5 SpriteKit 0x0000000187389fb8 -[SKView _renderContent] + 1080
6 libdispatch.dylib 0x0000000190fdbfd0 _dispatch_client_callout + 12
7 libdispatch.dylib 0x0000000190fe1c80 _dispatch_barrier_sync_f_invoke + 44
8 SpriteKit 0x0000000187389b40 -[SKView renderContent] + 96
9 SpriteKit 0x0000000187387790 __29-[SKView setUpRenderCallback]_block_invoke + 72
10 SpriteKit 0x00000001873a6a8c -[SKDisplayLink _callbackForNextFrame:] + 284
11 QuartzCore 0x0000000187100cb8 CA::Display::DisplayLinkItem::dispatch() + 32
12 QuartzCore 0x0000000187100ac4 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 296
13 IOKit 0x00000001853fbe70 IODispatchCalloutFromCFMessage + 360
14 CoreFoundation 0x00000001844aca8c __CFMachPortPerform + 188
15 CoreFoundation 0x00000001844bb03c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 52
16 CoreFoundation 0x00000001844baf9c __CFRunLoopDoSource1 + 440
17 CoreFoundation 0x00000001844b91c0 __CFRunLoopRun + 1616
18 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
19 GraphicsServices 0x000000018a0e1c08 GSEventRunModal + 164
20 UIKit 0x000000018752afc0 UIApplicationMain + 1152
21 Pixel Pilot 0x000000010011834c main (main.m:16)
22 libdyld.dylib 0x0000000190ff7a9c start + 0
Thread 1:
0 libsystem_kernel.dylib 0x00000001910d9aa8 kevent64 + 8
1 libdispatch.dylib 0x0000000190fdd998 _dispatch_mgr_thread + 48
Thread 2:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 3:
0 libsystem_kernel.dylib 0x00000001910f2e74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000191171548 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 CoreFoundation 0x000000018444f454 CFRunLoopRun + 108
5 CoreMotion 0x0000000184bb2538 ___lldb_unnamed_function1441$$CoreMotion + 632
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 5:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 AudioToolbox 0x0000000183d37040 AURemoteIO::IOThread::Run() + 108
2 AudioToolbox 0x0000000183d3a234 AURemoteIO::IOThread::Entry(void*) + 8
3 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
4 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
5 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
6 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 6:
0 libsystem_kernel.dylib 0x00000001910d9ca0 mach_msg_trap + 8
1 CoreFoundation 0x00000001844bad20 __CFRunLoopServiceMachPort + 180
2 CoreFoundation 0x00000001844b8eb0 __CFRunLoopRun + 832
3 CoreFoundation 0x00000001843f9dcc CFRunLoopRunSpecific + 448
4 AudioToolbox 0x0000000183c79abc GenericRunLoopThread::Entry(void*) + 156
5 AudioToolbox 0x0000000183c6a278 CAPThread::Entry(CAPThread*) + 136
6 libsystem_pthread.dylib 0x0000000191173e18 _pthread_body + 164
7 libsystem_pthread.dylib 0x0000000191173d70 _pthread_start + 136
8 libsystem_pthread.dylib 0x0000000191171550 thread_start + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x00000000e00002e2 x2: 0x000000012cd58950 x3: 0x0000000000000030
x4: 0x0000000000000333 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000001 x9: 0x00000000deadbeef x10: 0x0000000000003fff x11: 0x000000012cd5c000
x12: 0x000000012cd58000 x13: 0x00000000a190c48e x14: 0x000000008beb8f17 x15: 0x00000000e6b617dd
x16: 0x000000019116c3fc x17: 0x0015a535773a04d9 x18: 0x0000000000000000 x19: 0x000000012f000000
x20: 0x00000000e00002e2 x21: 0x000000012f00085c x22: 0x000000010310e043 x23: 0x0000000000000001
x24: 0x000000000000a050 x25: 0x0000000000000000 x26: 0x0000000000000668 x27: 0x000000000000a6a0
x28: 0x0000000193eb0098 fp: 0x000000016fd1d890 lr: 0x0000000189cb56ac
sp: 0x000000016fd1d840 pc: 0x0000000189cb46f8 cpsr: 0x60000000
to check if NSUserDefault object is null do this:
NSUserDefaults *example = [NSUserDefaults standardUserDefaults];
NSObject * object = [example objectForKey:#"test"];
if(object == nil)
{
//object is nil
}
else
{
//object isn't nil
}
then you need to call the when you do something inside NSUserDefault
[example synchronize];
I have submitted a new version of my app for review and it was rejected because the app crashed. I got a screenshot showing the button that was clicked before the crash and the crashlog. However I was not able to reproducte the problem and have no idea what the source could be.
The button triggers a disconnection from iCloud which actually just releases some resources. Nothing that should make any trouble. I tried to interpret the crashlog but had no success. I studied several resources from the web but was not able to find any clue what might be the source of the problem.
I managed to symbolicate the crashlog. However this does not change a lot since only the two first entries in the crashed thread belong to my own code. The Exception Codes are not helpfull to me either.
Can anyone see more details from the log or give me a hint were to start with my search? Thank you very much!
Process: MyApp [69811]
Path: /Applications/MyApp.app/Contents/MacOS/MyApp
Identifier: com.example.MyApp
Version: 1.2 (1.2)
App Item ID: 0
App External ID: 0
Code Type: X86-64 (Native)
Parent Process: launchd [184]
Responsible: MyApp [69811]
User ID: 201
Date/Time: 2014-01-29 13:20:22.910 -0800
OS Version: Mac OS X 10.9.1 (13B42)
Report Version: 11
Anonymous UUID: FE66701D-3E78-131A-A6CA-844122FA6616
Sleep/Wake UUID: DF88CF2B-42D1-40BD-BAC7-4C433EC11A34
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9266ea52 __semwait_signal_nocancel + 10
1 libsystem_c.dylib 0x00007fff8ca39a7c nanosleep$NOCANCEL + 189
2 libsystem_c.dylib 0x00007fff8ca635fe usleep$NOCANCEL + 54
3 libsystem_c.dylib 0x00007fff8ca8fbc4 abort + 135
4 coop.plausible.CrashReporter 0x000000010343030e uncaught_exception_handler + 27
5 com.apple.CoreFoundation 0x00007fff8bc0f8c2 __handleUncaughtException + 706
6 libobjc.A.dylib 0x00007fff8a805304 _objc_terminate() + 94
7 libc++abi.dylib 0x00007fff8e6623e1 std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff8e662456 std::terminate() + 54
9 libobjc.A.dylib 0x00007fff8a8050b0 objc_terminate + 9
10 libdispatch.dylib 0x00007fff91e912c1 _dispatch_client_callout + 28
11 libdispatch.dylib 0x00007fff91e98f03 _dispatch_main_queue_callback_4CF + 333
12 com.apple.CoreFoundation 0x00007fff8bb76839 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
13 com.apple.CoreFoundation 0x00007fff8bb31b14 __CFRunLoopRun + 1636
14 com.apple.CoreFoundation 0x00007fff8bb31275 CFRunLoopRunSpecific + 309
15 com.apple.HIToolbox 0x00007fff93622f0d RunCurrentEventLoopInMode + 226
16 com.apple.HIToolbox 0x00007fff93622cb7 ReceiveNextEventCommon + 479
17 com.apple.HIToolbox 0x00007fff93622abc _BlockUntilNextEventMatchingListInModeWithFilter + 65
18 com.apple.AppKit 0x00007fff875e928e _DPSNextEvent + 1434
19 com.apple.AppKit 0x00007fff875e88db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
20 com.apple.AppKit 0x00007fff875dc9cc -[NSApplication run] + 553
21 com.apple.AppKit 0x00007fff875c7803 NSApplicationMain + 940
22 com.example.MyApp 0x0000000102f92242 main (receipt.h:4115)
23 com.example.MyApp 0x0000000102f8adb4 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff9266f662 kevent64 + 10
1 libdispatch.dylib 0x00007fff91e9343d _dispatch_mgr_invoke + 239
2 libdispatch.dylib 0x00007fff91e93152 _dispatch_mgr_thread + 52
Thread 2:: Dispatch queue: com.apple.coredata.ubiquity.entry.pq
0 libsystem_kernel.dylib 0x00007fff9266aa56 semaphore_wait_trap + 10
1 libdispatch.dylib 0x00007fff91e95a15 _dispatch_semaphore_wait_slow + 206
2 com.apple.CoreServicesInternal 0x00007fff931587a0 Dispatch_to_LBGetAttributeValueForItem(__CFURL const*, __CFString const*, void const**, __CFError**) + 450
3 com.apple.CoreServicesInternal 0x00007fff931588e8 ExternalProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 97
4 com.apple.CoreServicesInternal 0x00007fff9314517f prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 227
5 com.apple.CoreServicesInternal 0x00007fff93142e6b _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 213
6 com.apple.CoreServicesInternal 0x00007fff93142d91 _FSURLCopyResourcePropertyForKey + 15
7 com.apple.CoreFoundation 0x00007fff8bb1d6bb CFURLCopyResourcePropertyForKey + 123
8 com.apple.CoreFoundation 0x00007fff8bb247e8 -[NSURL getResourceValue:forKey:error:] + 72
9 com.apple.CoreData 0x00007fff8e8a5cab -[PFUbiquityLocationStatus getBoolResourceFromURL:forKey:] + 59
10 com.apple.CoreData 0x00007fff8e8a5989 -[PFUbiquityLocationStatus checkFileURLState] + 217
11 com.apple.CoreData 0x00007fff8e96141d -[PFUbiquityFilePresenter processPendingURLs] + 1453
12 libdispatch.dylib 0x00007fff91e941d7 _dispatch_call_block_and_release + 12
13 libdispatch.dylib 0x00007fff91e912ad _dispatch_client_callout + 8
14 libdispatch.dylib 0x00007fff91e9368f _dispatch_queue_drain + 451
15 libdispatch.dylib 0x00007fff91e949dd _dispatch_queue_invoke + 110
16 libdispatch.dylib 0x00007fff91e92fa3 _dispatch_root_queue_drain + 75
17 libdispatch.dylib 0x00007fff91e94193 _dispatch_worker_thread2 + 40
18 libsystem_pthread.dylib 0x00007fff8d170ef8 _pthread_wqthread + 314
19 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 4:: Dispatch queue: com.apple.root.default-priority
0 libsystem_kernel.dylib 0x00007fff9266dfe2 __fcntl + 10
1 libsystem_kernel.dylib 0x00007fff9266ca4d fcntl + 240
2 libsqlite3.dylib 0x00007fff88c3885d unixSync + 45
3 libsqlite3.dylib 0x00007fff88c4c4f6 sqlite3WalCheckpoint + 1990
4 libsqlite3.dylib 0x00007fff88c3e926 sqlite3WalClose + 134
5 libsqlite3.dylib 0x00007fff88c3e701 sqlite3PagerClose + 49
6 libsqlite3.dylib 0x00007fff88c3e19c sqlite3BtreeClose + 316
7 libsqlite3.dylib 0x00007fff88c4a673 sqlite3_close + 771
8 com.apple.CoreData 0x00007fff8e868de4 -[NSSQLiteConnection disconnect] + 164
9 com.apple.CoreData 0x00007fff8e868cb2 -[NSSQLCore _disconnect] + 34
10 com.apple.CoreData 0x00007fff8e868a54 -[NSSQLCore willRemoveFromPersistentStoreCoordinator:] + 132
11 com.apple.CoreData 0x00007fff8e887d21 -[NSPersistentStoreCoordinator dealloc] + 1041
12 com.apple.CoreData 0x00007fff8e9cfb3e -[PFUbiquityMetadataFactoryEntry dealloc] + 158
13 com.apple.CoreFoundation 0x00007fff8bada86f CFRelease + 591
14 com.apple.CoreData 0x00007fff8e9c9634 -[PFUbiquityMetadataFactory removeCachedCoordinatorsForLocalPeerID:storeName:andUbiquityRootLocation:] + 164
15 com.apple.CoreData 0x00007fff8e96c921 __56-[PFUbiquitySwitchboardEntry unregisterPersistentStore:]_block_invoke + 129
16 libdispatch.dylib 0x00007fff91e941d7 _dispatch_call_block_and_release + 12
17 libdispatch.dylib 0x00007fff91e912ad _dispatch_client_callout + 8
18 libdispatch.dylib 0x00007fff91e9309e _dispatch_root_queue_drain + 326
19 libdispatch.dylib 0x00007fff91e94193 _dispatch_worker_thread2 + 40
20 libsystem_pthread.dylib 0x00007fff8d170ef8 _pthread_wqthread + 314
21 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 5:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 6:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 libclh.dylib 0x00007fff8ffb4dd9 0x7fff8f9a5000 + 6356441
3 libclh.dylib 0x00007fff8fa6ad62 0x7fff8f9a5000 + 810338
4 libclh.dylib 0x00007fff8ffb5c29 0x7fff8f9a5000 + 6360105
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 7:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 libclh.dylib 0x00007fff8ffb4dd9 0x7fff8f9a5000 + 6356441
3 libclh.dylib 0x00007fff8fa6ad62 0x7fff8f9a5000 + 810338
4 libclh.dylib 0x00007fff8ffb5c29 0x7fff8f9a5000 + 6360105
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 8:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 9:
0 libsystem_kernel.dylib 0x00007fff9266ee6a __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff8d170f08 _pthread_wqthread + 330
2 libsystem_pthread.dylib 0x00007fff8d173fb9 start_wqthread + 13
Thread 10:
0 libsystem_kernel.dylib 0x00007fff9266aa1a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff92669d18 mach_msg + 64
2 com.apple.CoreFoundation 0x00007fff8bb32315 __CFRunLoopServiceMachPort + 181
3 com.apple.CoreFoundation 0x00007fff8bb31939 __CFRunLoopRun + 1161
4 com.apple.CoreFoundation 0x00007fff8bb31275 CFRunLoopRunSpecific + 309
5 com.apple.AppKit 0x00007fff877891ce _NSEventThread + 144
6 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
7 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
8 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 11:
0 libsystem_kernel.dylib 0x00007fff9266ea3a __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff8caaee60 nanosleep + 200
2 libsystem_c.dylib 0x00007fff8caaed52 usleep + 54
3 com.example.MyApp 0x0000000103094935 0x102f89000 + 1095989
4 com.apple.Foundation 0x00007fff8ac0f70b __NSThread__main__ + 1318
5 libsystem_pthread.dylib 0x00007fff8d16f899 _pthread_body + 138
6 libsystem_pthread.dylib 0x00007fff8d16f72a _pthread_start + 137
7 libsystem_pthread.dylib 0x00007fff8d173fc9 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000000000000003c rbx: 0x0000000000000000 rcx: 0x00007fff5cc73cc8 rdx: 0x0000000000000001
rdi: 0x0000000000000b03 rsi: 0x0000000000000000 rbp: 0x00007fff5cc73d00 rsp: 0x00007fff5cc73cc8
r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000001 r11: 0x0000000000000246
r12: 0x00007fff77a019d0 r13: 0x0000610000249c60 r14: 0x0000000000000000 r15: 0x00007fff5cc73d10
rip: 0x00007fff9266ea52 rfl: 0x0000000000000247 cr2: 0x000000010b7ea000
Logical CPU: 0
Error Code: 0x02000170
Trap Number: 133
Binary Images:
0x102f89000 - 0x10323bfc7 +com.example.MyApp (1.2 - 1.2) <B83E276E-EE1B-34FC-A2F3-2A2B83B5C9FB> /Applications/MyApp.app/Contents/MacOS/MyApp
0x1032cb000 - 0x1032dbfff com.apple.StoreKit (1.0 - 232.2) <4A239D2B-4D42-399B-B4F5-EA24297F0E0A> /System/Library/Frameworks/StoreKit.framework/Versions/A/StoreKit
0x1032f0000 - 0x103311fff +com.dropbox.DropboxOSX (1.0 - 1) <E049D51A-3D0F-39BF-A6B9-5AE5C2012C4B> /Applications/MyApp.app/Contents/Frameworks/DropboxOSX.framework/Versions/A/DropboxOSX
0x103330000 - 0x10333dfff +net.hockeyapp.sdk.mac (1.0.3 - 13) <EDD42403-6A15-37BD-B07A-0C6A29955477> /Applications/MyApp.app/Contents/Frameworks/HockeySDK.framework/Versions/A/HockeySDK
0x103351000 - 0x1033d3fff +org.coreplot.CorePlot (1.0) <DD903A7E-06AB-39BD-82E2-BB0FD05039F1> /Applications/MyApp.app/Contents/Frameworks/CorePlot.framework/Versions/A/CorePlot
0x10342c000 - 0x103444fff +coop.plausible.CrashReporter (1.2-beta2) <F09BAC64-DB6C-3692-9089-0A631F40D8B6> /Applications/MyApp.app/Contents/Frameworks/HockeySDK.framework/Versions/A/Frameworks/CrashReporter.framework/Versions/A/CrashReporter
0x1098b3000 - 0x1098b3fff +cl_kernels (???) <EEF0C5B5-FBEF-4C91-A93B-63B238713561> cl_kernels
0x109900000 - 0x109901fe4 +cl_kernels (???) <038F9490-12F9-40EF-9EC7-A399B73361D4> cl_kernels
0x10990f000 - 0x109910ff9 +cl_kernels (???) <18DB399D-475A-40A3-871B-1C1F473D917F> cl_kernels
0x109912000 - 0x1099f8fef unorm8_bgra.dylib (2.3.58) <9FF943D1-4EF7-36CA-852D-B61C2E554713> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/ImageFormats/unorm8_bgra.dylib
0x10b468000 - 0x10b468ffd +cl_kernels (???) <AEC6D084-A290-485C-BD7C-8E4F139A79E2> cl_kernels
0x10b6ec000 - 0x10b6effff libspindump.dylib (161) <588EDDE0-B20A-3649-92B7-C2226EB237E8> /usr/lib/libspindump.dylib
0x123440000000 - 0x12344087bff7 com.apple.GeForceGLDriver (8.18.22 - 8.1.8) <CFA88606-8A16-3251-A1AA-4BC5F5D74E1C> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
0x7fff608d3000 - 0x7fff60906817 dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
0x7fff86ffb000 - 0x7fff87005fff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff87006000 - 0x7fff872dafc7 com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff872db000 - 0x7fff87322fff libFontRegistry.dylib (127) <A77A0480-
...Stripped due to the post size limit...
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 296574
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=217.9M resident=113.2M(52%) swapped_out_or_unallocated=104.6M(48%)
Writable regions: Total=194.4M written=23.0M(12%) resident=57.7M(30%) swapped_out=0K(0%) unallocated=136.7M(70%)
REGION TYPE VIRTUAL
=========== =======
CG backing stores 7840K
CG image 184K
CG raster data 292K
CG shared images 204K
CoreAnimation 4756K
CoreData 4K
CoreData Object IDs 4100K
CoreGraphics 4K
CoreImage 8K
Foundation 4K
IOKit 26.6M
IOKit (reserved) 4K reserved VM address space (unallocated)
Image IO 16K
Kernel Alloc Once 8K
MALLOC 118.7M
MALLOC (admin) 32K
Memory Tag 242 12K
Memory Tag 251 24K
OpenCL 40K
SQLite page cache 1024K
STACK GUARD 56.0M
Stack 13.1M
VM_ALLOCATE 21.5M
__DATA 44.7M
__IMAGE 528K
__LINKEDIT 66.5M
__TEXT 151.4M
__UNICODE 544K
mapped file 54.3M
shared memory 68K
=========== =======
TOTAL 572.1M
TOTAL, minus reserved VM space 572.1M
Since this morning I'm not able to open my Project in Xcode 5.
The message received is the following:
Process: Xcode [934] Path:
/Applications/Xcode.app/Contents/MacOS/Xcode Identifier:
com.apple.dt.Xcode Version: 5.0 (3332.22) Build Info:
IDEApplication-3332022000000000~2 Code Type: X86-64 (Native)
Parent Process: launchd [123] User ID: 501
Date/Time: 2013-09-12 09:58:32.024 +0200 OS Version: Mac OS
X 10.8.4 (12E3067) Report Version: 10
Interval Since Last Report: 4855 sec Crashes Since Last
Report: 15 Per-App Interval Since Last Report: 506 sec
Per-App Crashes Since Last Report: 15 Anonymous UUID:
F219D8B3-C23D-E7C1-CAC3-FA51A899F6F1
Crashed Thread: 0 Dispatch queue: IDEContainer - uniquing lock
Exception Type: EXC_CRASH (SIGABRT) Exception Codes:
0x0000000000000000, 0x0000000000000000
Application Specific Information: ProductBuildVersion: 5A1412 [934]
stack overflow
Thread 0 Crashed:: Dispatch queue: IDEContainer - uniquing lock 0
libsystem_kernel.dylib 0x00007fff85c94212 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff907e8704 pthread_kill +
90 2 libsystem_c.dylib 0x00007fff9082cc11 __abort + 159
3 libsystem_c.dylib 0x00007fff9082db77 __stack_chk_fail
195 4 com.apple.dt.DVTFoundation 0x000000010196bf7a DVTMacroExpressionByParsingStringAsList + 3943 5
com.apple.Xcode.DevToolsCore 0x00000001075f4e6d
xc_get_parsedValueForMacroName + 380
Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0
libsystem_kernel.dylib 0x00007fff85c94d16 kevent + 10 1
libdispatch.dylib 0x00007fff8d1a9dea _dispatch_mgr_invoke
883 2 libdispatch.dylib 0x00007fff8d1a99ee _dispatch_mgr_thread + 54
Thread 2:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib
0x00007fff85c92686 mach_msg_trap + 10 1 libsystem_kernel.dylib
0x00007fff85c91c42 mach_msg + 70 2 com.apple.CoreFoundation
0x00007fff88ed5233 __CFRunLoopServiceMachPort + 195 3
com.apple.CoreFoundation 0x00007fff88eda916 __CFRunLoopRun +
1078 4 com.apple.CoreFoundation 0x00007fff88eda0e2
CFRunLoopRunSpecific + 290 5 com.apple.Foundation
0x00007fff86c5a546 +[NSURLConnection(Loader) _resourceLoadLoop:] +
356 6 com.apple.Foundation 0x00007fff86cb8562
NSThread__main + 1345 7 libsystem_c.dylib 0x00007fff907e7352 _pthread_start + 327 8 libsystem_c.dylib
0x00007fff907d3d81 thread_start + 13
Thread 3: 0 libsystem_kernel.dylib 0x00007fff85c92686
mach_msg_trap + 10 1 libsystem_kernel.dylib
0x00007fff85c91c42 mach_msg + 70 2 com.apple.CoreFoundation
0x00007fff88ed5233 __CFRunLoopServiceMachPort + 195 3
com.apple.CoreFoundation 0x00007fff88eda916 __CFRunLoopRun +
1078 4 com.apple.CoreFoundation 0x00007fff88eda0e2
CFRunLoopRunSpecific + 290 5 com.apple.DTDeviceKitBase
0x000000010b06975a -[DTDKRemoteDeviceDataListener
listenerThreadImplementation] + 164 6 com.apple.Foundation
0x00007fff86cb8562 NSThread__main + 1345 7 libsystem_c.dylib
0x00007fff907e7352 _pthread_start + 327 8 libsystem_c.dylib
0x00007fff907d3d81 thread_start + 13
Thread 4:: com.apple.CFSocket.private 0 libsystem_kernel.dylib
0x00007fff85c94322 __select + 10 1 com.apple.CoreFoundation
0x00007fff88f19f46 __CFSocketManager + 1302 2 libsystem_c.dylib
0x00007fff907e7352 _pthread_start + 327 3 libsystem_c.dylib
0x00007fff907d3d81 thread_start + 13
I have no Plug-ins and I've tried to remove the files in .xcodeproj except for project.pbxproj without any result.
Any suggestions?
SOLVED!!
I Found that in project.xcodeproj --> project.pbxproj, there were many backslashes in the LIBRARY_SEARCH_PATHS variable.
Removing those backslashes solved my issue!
Thanks to everyone
Replace below files files from your project file(if you have backup of your project):
pods
projectname.xcworkspace
podfile.lock, podfile
add pods in podfile if any pod missing and install pods
Build your project and run
Please get project backup in zip this will help to solve this error.
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.