Xcode crash

rdizz

Registered
Hello, I'm new to programming, I was working on a project yesterday and Xcode was running fine with IB. Today I installed all my software updates to current and tried installing Safari 4.0 Beta and then when I opened Xcode it crashed repeatedly. Then I uninstalled Safari 4.0 Beta and Xcode continued to crash. I don't know enough to interpret the error messages. My only inclination is to reinstall Xcode, would this work? Has anyone encountered a problem like this?
 
Even if you can't understand the error messages, it's still a good idea to post them here verbatim so that others who can understand error messages have something to go off of.

Lots of people are encountering problems using the Safari 4.0 beta -- but that's nothing out of the ordinary. It's beta software, meaning it's not ready for prime-time use and still contains bugs that may crash your entire system, erase all your data, and send offensive emails to all your loved ones.

Precisely the reason that Apple, in no unclear terms, instructs you not to install Safari 4 beta on any machine that you don't want completely trashed.
 
Thanks for the advice, I had to learn this lesson the hard way. Guidance to help me resolve this problem is appreciated.
Here is the problem detail minus the binary image:


Process: Xcode [325]
Path: /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.Xcode
Version: ??? (???)
Build Info: DevToolsIDE-9210000~1
Code Type: X86 (Native)
Parent Process: launchd [116]

Date/Time: 2009-02-25 12:45:01.539 -0800
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6

Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Crashed Thread: 0

Application Specific Information:
objc[325]: '/System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols' was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC
objc[325]: *** GC capability of application and some libraries did not match

Thread 0 Crashed:
0 libobjc.A.dylib 0x91861b19 _objc_fatal + 95
1 libobjc.A.dylib 0x91863913 verify_gc_readiness + 276
2 libobjc.A.dylib 0x91865143 map_images + 6184
3 dyld 0x8fe049af dyld::notifyBatchPartial(dyld_image_states, bool, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 415
4 dyld 0x8fe04dd5 dyld::registerImageStateBatchChangeHandler(dyld_image_states, char const* (*)(dyld_image_states, unsigned int, dyld_image_info const*)) + 453
5 libSystem.B.dylib 0x929cf216 dyld_register_image_state_change_handler + 98
6 libobjc.A.dylib 0x91863116 _objc_init + 57
7 dyld 0x8fe12f36 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 246
8 dyld 0x8fe0e7e3 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 307
9 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
10 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
11 dyld 0x8fe0e775 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int) + 197
12 dyld 0x8fe0e8c9 ImageLoader::runInitializers(ImageLoader::LinkContext const&) + 57
13 dyld 0x8fe04102 dyld::initializeMainExecutable() + 146
14 dyld 0x8fe07bcf dyld::_main(mach_header const*, unsigned long, int, char const**, char const**, char const**) + 3087
15 dyld 0x8fe01872 dyldbootstrap::start(mach_header const*, int, char const**, long) + 818
16 dyld 0x8fe01037 _dyld_start + 39

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x02401b90 ebx: 0x91861ac7 ecx: 0x00000000 edx: 0x00333000
edi: 0x02401970 esi: 0x02401a10 ebp: 0xbfffd828 esp: 0xbfffd800
ss: 0x0000001f efl: 0x00010286 eip: 0x91861b19 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xa02ac4e0
 
Last edited:
If you kept the DMG image of the Safari 4 download handy, the DMG image should contain an uninstaller for Safari 4. Have you uninstalled Safari 4 using this uninstaller, or did you do the old "drag to trash" uninstall routine?

I would think that the uninstaller would replace any libraries that came with Safari 4 with their older, original counterparts, perhaps getting your XCode up and running again.
 
I also have had a crash on attempting to start up xcode.
Dashboard is OK, but when I tried to start help on isync plugion maker crash occurred in xcode...

... still looking for answer
 
I had the exact same problem; installed then uninstalled the safari 4 beta, then xcode crashes with the error:

Code:
objc[325]: '/System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols' was not compiled with -fobjc-gc or -fobjc-gc-only, but the application requires GC
objc[325]: *** GC capability of application and some libraries did not match

downloaded and installed the upgrade to xcode 3.1.2, and now everything seems normal.

its pretty irritating that xcode and the dev tools are not upgraded with the "software update" utility, and also that the safari beta just leaves random libraries laying around the system..
 
Back
Top