Help, Cocoa Apps no longer run
Help, Cocoa Apps no longer run
- Subject: Help, Cocoa Apps no longer run
- From: Jeff Sickel <email@hidden>
- Date: Sat, 26 May 2001 10:49:47 -0500
Okay, I don't know what happened to my system other than that I
installed XFree86 and the GIMP to test it out... everything was working
fine until I rebooted the next morning. Now I can log in, but I can't
start any Cocoa Applications -- all I get is the extremely unhelpful
"The application Terminal has unexpectedly quit. The system and other
applications have not been affected." (is there any way to turn off
that annoying message?)
So, using ssh to log in (Terminal.app won't launch either).. I do the
following to find out at least a little more information (while still
logged in from the console - otherwise you can't get a CGSNewConnection):
[codex:~] jas% gdb /Applications/TextEdit.app/Contents/MacOS/TextEdit
(gdb) run
Starting program: /Applications/TextEdit.app/Contents/MacOS/TextEdit
[Switching to thread 1 (process 916 thread 0x1903)]
Reading symbols for shared
libraries .................................... done
May 26 10:38:42 TextEdit[916] Lookup in pbs of server "RulebookServer"
failed.
May 26 10:38:42 TextEdit[916] Can't connect to pbs object
"RulebookServer"
May 26 10:38:42 TextEdit[916] Lookup in pbs of server "RulebookServer"
failed.
May 26 10:38:42 TextEdit[916] Can't connect to pbs object
"RulebookServer"
May 26 10:38:42 TextEdit[916] Lookup in pbs of server "services" failed.
Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
0x70e38124 in -[NSCGSFont _defaultGlyphForChar:] ()
(gdb) info symbol 0x70e38124
-[NSCGSFont _defaultGlyphForChar:] + 44 in section
LC_SEGMENT.__TEXT.__text of
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
pbs is running so what gives?
Now that's all interesting, but how do I repair my system to no longer
have this problem? A reinstall is not acceptable because the system
will start, and if this really is "Unix" underneath then I should be
able to fix everything needed from single-user mode or something like
that.
jas