Re: XCode 2.4 crashes (was: debugging Dwarf on Intel iMac)
Re: XCode 2.4 crashes (was: debugging Dwarf on Intel iMac)
- Subject: Re: XCode 2.4 crashes (was: debugging Dwarf on Intel iMac)
- From: Jeremy Sagan <email@hidden>
- Date: Sat, 28 Oct 2006 19:09:24 -0400
Well after many months of utter frustration with this problem I was
able to narrow it down to the debugging data formatters. If I disable
data formatters XCode no longer crashes every time after hitting a
breakpoint and stepping through. There are definitely some serious
XCode problems in the data formatters. It turns out to not be related
to either Dwarf or Stabs as it occurs regardless of that setting.
Jeremy
On Aug 19, 2006, at 10:46 PM, Jeremy Sagan wrote:
These persistent XCode crashes related to debugging apparently have
very little, or nothing, to do with being on Intel. I can pretty
consistently get it to occur on a PPC machine as well. This is a
fresh build after a 'clean'. Xcode crashes after hitting a
breakpoint when I try to step through the code.
Its strange to me that no one at Apple seems to be interested in a
serious bug like this.
The console always says something like:
===== Saturday, August 19, 2006 9:21:36 PM US/Eastern =====
2006-08-19 22:08:50.432 Xcode[16277] Error in CGSAddTrackingRect
(-301)
2006-08-19 22:08:50.434 Xcode[16277] Error in CGSAddTrackingRect
(-301)
2006-08-19 22:08:50.436 Xcode[16277] Error in CGSAddTrackingRect
(-301)
Xcode(16277,0xa000ed98) malloc: *** vm_allocate(size=20480) failed
(error code=-301)
Xcode(16277,0xa000ed98) malloc: *** error: can't allocate region
Xcode(16277,0xa000ed98) malloc: *** set a breakpoint in szone_error
to debug
Aug 19 22:09:05 Powerbook133 crashdump[27541]: Xcode crashed
Aug 19 22:09:09 Powerbook133 crashdump[27541]: crash report written
to: /Users/Jerm/Library/Logs/CrashReporter/Xcode.crash.log
==================================
and here is the crash log:
Host Name: Powerbook133
Date/Time: 2006-08-19 22:08:59.194 -0400
OS Version: 10.4.6 (Build 8I127)
Report Version: 4
Command: Xcode
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Parent: WindowServer [63]
Version: 2.3 (744)
Build Version: 10
Project Name: DevToolsIDE
Source Version: 7440000
PID: 16277
Thread: 0
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001
Code[1]: 0x907d05a0
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x907d05a0 __CFDictionaryGrow +
704
1 com.apple.CoreFoundation 0x907c7e48 CFDictionaryAddValue
+ 208
2 com.apple.Foundation 0x9293a620
NSMapInsertKnownAbsent + 172
3 com.apple.Xcode.DevToolsCore 0x953398c4 -[PBXGlobalID
hexString] + 364
4 com.apple.Xcode.DevToolsCore 0x9539b4c8 -[PBXPListArchiver
_archiveObject:asWeakReference:] + 380
5 com.apple.Xcode.DevToolsCore 0x9539d4c8 -[PBXPListArchiver
_createPListArrayForObjectArray:asWeakReference:] + 636
6 com.apple.Xcode.DevToolsCore 0x9539d208 -[PBXPListArchiver
_encodeObjectArray:forKey:asWeakReference:] + 800
7 com.apple.Xcode.DevToolsCore 0x9539bb60 -[PBXObject
_archiveValuesForArchiveMask:toPListArchiver:] + 224
8 com.apple.Xcode.DevToolsCore 0x9539b660 -[PBXPListArchiver
_archiveObject:asWeakReference:] + 788
9 com.apple.Xcode.DevToolsCore 0x9539d4c8 -[PBXPListArchiver
_createPListArrayForObjectArray:asWeakReference:] + 636
10 com.apple.Xcode.DevToolsCore 0x9539d208 -[PBXPListArchiver
_encodeObjectArray:forKey:asWeakReference:] + 800
11 com.apple.Xcode.DevToolsCore 0x9539bb60 -[PBXObject
_archiveValuesForArchiveMask:toPListArchiver:] + 224
12 com.apple.Xcode.DevToolsCore 0x9539b660 -[PBXPListArchiver
_archiveObject:asWeakReference:] + 788
13 com.apple.Xcode.DevToolsCore 0x9539cc94 -[PBXPListArchiver
_encodeObject:forKey:asWeakReference:] + 592
14 com.apple.Xcode.DevToolsCore 0x9539bb60 -[PBXObject
_archiveValuesForArchiveMask:toPListArchiver:] + 224
15 com.apple.Xcode.DevToolsCore 0x9539df18 -
[PBXTargetDependency writeToPListArchiver:] + 80
16 com.apple.Xcode.DevToolsCore 0x9539b660 -[PBXPListArchiver
_archiveObject:asWeakReference:] + 788
17 com.apple.Xcode.DevToolsCore 0x9539d4c8 -[PBXPListArchiver
_createPListArrayForObjectArray:asWeakReference:] + 636
18 com.apple.Xcode.DevToolsCore 0x9539d208 -[PBXPListArchiver
_encodeObjectArray:forKey:asWeakReference:] + 800
19 com.apple.Xcode.DevToolsCore 0x9539bb60 -[PBXObject
_archiveValuesForArchiveMask:toPListArchiver:] + 224
20 com.apple.Xcode.DevToolsCore 0x9539b660 -[PBXPListArchiver
_archiveObject:asWeakReference:] + 788
21 com.apple.Xcode.DevToolsCore 0x9539d4c8 -[PBXPListArchiver
_createPListArrayForObjectArray:asWeakReference:] + 636
22 com.apple.Xcode.DevToolsCore 0x9539d208 -[PBXPListArchiver
_encodeObjectArray:forKey:asWeakReference:] + 800
23 com.apple.Xcode.DevToolsCore 0x9539bb60 -[PBXObject
_archiveValuesForArchiveMask:toPListArchiver:] + 224
24 com.apple.Xcode.DevToolsCore 0x9539b660 -[PBXPListArchiver
_archiveObject:asWeakReference:] + 788
25 com.apple.Xcode.DevToolsCore 0x9539b14c -[PBXPListArchiver
initWithRootObject:delegate:role:] + 456
26 com.apple.Xcode.DevToolsCore 0x9539aa4c -[PBXProject
writeToFile:projectFile:userFile:] + 564
27 com.apple.Xcode.DevToolsCore 0x9539a768 -[PBXProject
_writeToFileSystemProjectFile:userFile:checkNeedsRevert:] + 184
28 com.apple.Foundation 0x92934f5c __NSFireTimer + 116
29 com.apple.CoreFoundation 0x907efaec __CFRunLoopDoTimer +
184
30 com.apple.CoreFoundation 0x907dc464 __CFRunLoopRun + 1680
31 com.apple.CoreFoundation 0x907dba18 CFRunLoopRunSpecific
+ 268
32 com.apple.HIToolbox 0x931d8980
RunCurrentEventLoopInMode + 264
33 com.apple.HIToolbox 0x931d8014
ReceiveNextEventCommon + 380
34 com.apple.HIToolbox 0x931d7e80
BlockUntilNextEventMatchingListInMode + 96
35 com.apple.AppKit 0x936db104 _DPSNextEvent + 384
36 com.apple.AppKit 0x936dadc8 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
37 com.apple.AppKit 0x936d730c -[NSApplication run]
+ 472
38 com.apple.AppKit 0x937c7e68 NSApplicationMain + 452
39 com.apple.Xcode 0x0000a498 0x1000 + 38040
40 com.apple.Xcode 0x0000a340 0x1000 + 37696
Thread 1:
0 libSystem.B.dylib 0x9002c128
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030bec pthread_cond_wait + 480
2 com.apple.Xcode.DevToolsCore 0x953560d4 -[XCInvocationQueue
_processInvocationsInThreadSlotNumber:] + 288
3 com.apple.Foundation 0x92932194
forkThreadForFunction + 108
4 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 2:
0 libSystem.B.dylib 0x9000b0a8 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000affc mach_msg + 60
2 ...ple.Xcode.DevToolsInterface 0x98e16408 +
[PBXRunSessionModule _startCrashCatchingServiceThread] + 316
3 com.apple.Foundation 0x92932194
forkThreadForFunction + 108
4 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 3:
0 libSystem.B.dylib 0x9002c128
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030bec pthread_cond_wait + 480
2 com.apple.Xcode.DevToolsCore 0x953560d4 -[XCInvocationQueue
_processInvocationsInThreadSlotNumber:] + 288
3 com.apple.Foundation 0x92932194
forkThreadForFunction + 108
4 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 4:
0 libSystem.B.dylib 0x9002c128
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030bec pthread_cond_wait + 480
2 com.apple.Foundation 0x92939300 -[NSConditionLock
lockWhenCondition:] + 68
3 com.apple.AppKit 0x93777d2c -[NSUIHeartBeat
_heartBeatThread:] + 324
4 com.apple.Foundation 0x92932194
forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 5:
0 libSystem.B.dylib 0x9002c128
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x90030bec pthread_cond_wait + 480
2 com.apple.Foundation 0x92939300 -[NSConditionLock
lockWhenCondition:] + 68
3 ...apple.Xcode.DevToolsSupport 0x952b85a4 -[PBXTSTask
_backgroundWriteThread:] + 112
4 com.apple.Foundation 0x92932194
forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 6:
0 libSystem.B.dylib 0x9001f5ec select + 12
1 ...apple.Xcode.DevToolsSupport 0x952b8aac -
[PBXTSPTYDeviceByteStream _watchPTY] + 176
2 com.apple.Foundation 0x92932194
forkThreadForFunction + 108
3 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 7:
0 libSystem.B.dylib 0x900325cc wait4 + 12
1 com.apple.Foundation 0x92920448 _waitForTermination
+ 40
2 libSystem.B.dylib 0x9002ba68 _pthread_body + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000907d05a0 srr1:
0x000000000002d030 vrsave: 0x0000000000000000
cr: 0x24422282 xer: 0x0000000020000004 lr:
0x00000000907d0508 ctr: 0x0000000090014900
r0: 0x000000000000227c r1: 0x00000000bfffc690 r2:
0x0000000000000000 r3: 0x0000000000000000
r4: 0x0000000000000000 r5: 0x000000000000000d r6:
0x00000000ffffffff r7: 0x0000000000000003
r8: 0x0000000064393800 r9: 0x0000000000000000 r10:
0x0000000000000001 r11: 0x0000000024422282
r12: 0x0000000090014900 r13: 0x00000000a533a818 r14:
0x00000000a533af84 r15: 0x00000000a532af84
r16: 0x00000000a532af84 r17: 0x00000000069d7400 r18:
0x00000000a533af84 r19: 0x00000000a532d24c
r20: 0x0000000001e96144 r21: 0x0000000000000551 r22:
0x0000000000000000 r23: 0x0000000001e94c00
r24: 0x00000000a07b9150 r25: 0x0000000000000000 r26:
0x00000000a07b9150 r27: 0x0000000006b3d560
r28: 0x00000000a07b9150 r29: 0x0000000006b3d560 r30:
0x0000000006b3d584 r31: 0x00000000907d02f0
Jeremy Sagan
Sagan Technology
www.sagantech.biz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40verizon.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden