Cocoa Save Problems
As soon as I choose save in any Cocoa Application the program hangs. So my computer is pretty useless as it is now.
I checked with gdb in the terminal when trying to save a document in textedit. This is the errorcodes I got.
"^C
Program received signal SIGINT, Interrupt.
0x933eb74c in dyld_stub_CFStorageGetValueAtIndex ()
(gdb) bt
#0 0x933eb74c in dyld_stub_CFStorageGetValueAtIndex ()
#1 0x931e9a24 in -[NSLayoutManager(NSPrivate) _glyphIndexForCharacterIndex:startOfRange
kToFillHoles:] ()
#2 0x931e9ba4 in -[NSLayoutManager(NSPrivate) _glyphRangeForCharacterRange:actualCharacterRange
kToFillHoles:] ()
#3 0x931e1390 in -[NSLayoutManager glyphRangeForCharacterRange:actualCharacterRange:] ()
#4 0x931e855c in -[NSLayoutManager(NSPrivate) _fillLayoutHoleAtIndex
esiredNumberOfLines:] ()
#5 0x931f7990 in _NSFastFillAllLayoutHolesUpToEndOfContainerForGlyp hIndex ()
#6 0x931e07ac in -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:] ()
#7 0x931e1c90 in -[NSLayoutManager glyphRangeForTextContainer:] ()
#8 0x93112d18 in textContainerForTextCell ()
#9 0x93112d9c in _NSTextCellSize ()
#10 0x93111cf4 in -[NSCell cellSizeForBounds:] ()
#11 0x93111914 in -[NSCell cellSize] ()
#12 0x930ec8b8 in fromBoundsRect ()
#13 0x930ecdd8 in -[NSBox _tile:] ()
#14 0x930ed3fc in -[NSBox setFrameSize:] ()
#15 0x9329aaac in -[NSSavePanelBox setFrameSize:] ()
#16 0x93355b80 in -[NSView resizeWithOldSuperviewSize:] ()
#17 0x93355a08 in -[NSView resizeSubviewsWithOldSize:] ()
#18 0x9335612c in -[NSView setFrameSize:] ()
#19 0x93368bf4 in -[NSWindow _oldPlaceWindow:] ()
#20 0x93368f10 in -[NSWindow _setFrameCommon
isplay:stashSize:] ()
#21 0x93376fb4 in -[NSWindow _setFrameFromString:force:] ()
#22 0x93377070 in -[NSWindow _setFrameUsingName
omain:force:] ()
#23 0x933770b0 in -[NSWindow _setFrameUsingName
omain:] ()
#24 0x93290760 in -[NSSavePanel initWithContentRect:styleMask:backing
efer:] ()
#25 0x93243de0 in -[NSPanel init] ()
#26 0x932905a4 in +[NSSavePanel savePanel] ()
#27 0x00009a4c in ?? ()
#28 0x930cfe2c in -[NSApplication sendAction:to:from:] ()
#29 0x9320fd18 in -[NSMenu performActionForItemAtIndex:] ()
#30 0x9310a164 in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] ()
#31 0x9320f0c8 in -[NSMenu performKeyEquivalent:] ()
#32 0x930cdd7c in -[NSApplication sendEvent:] ()
#33 0x930ca524 in -[NSApplication run] ()
#34 0x930d2598 in NSApplicationMain ()
#35 0x00003bb8 in ?? ()
#36 0x00003a38 in ?? ()
(gdb)"
Somebody with any idea?
Thanks
/F
[ 11-18-2002: Message edited by: F ]</p>
I checked with gdb in the terminal when trying to save a document in textedit. This is the errorcodes I got.
"^C
Program received signal SIGINT, Interrupt.
0x933eb74c in dyld_stub_CFStorageGetValueAtIndex ()
(gdb) bt
#0 0x933eb74c in dyld_stub_CFStorageGetValueAtIndex ()
#1 0x931e9a24 in -[NSLayoutManager(NSPrivate) _glyphIndexForCharacterIndex:startOfRange

#2 0x931e9ba4 in -[NSLayoutManager(NSPrivate) _glyphRangeForCharacterRange:actualCharacterRange

#3 0x931e1390 in -[NSLayoutManager glyphRangeForCharacterRange:actualCharacterRange:] ()
#4 0x931e855c in -[NSLayoutManager(NSPrivate) _fillLayoutHoleAtIndex

#5 0x931f7990 in _NSFastFillAllLayoutHolesUpToEndOfContainerForGlyp hIndex ()
#6 0x931e07ac in -[NSLayoutManager textContainerForGlyphAtIndex:effectiveRange:] ()
#7 0x931e1c90 in -[NSLayoutManager glyphRangeForTextContainer:] ()
#8 0x93112d18 in textContainerForTextCell ()
#9 0x93112d9c in _NSTextCellSize ()
#10 0x93111cf4 in -[NSCell cellSizeForBounds:] ()
#11 0x93111914 in -[NSCell cellSize] ()
#12 0x930ec8b8 in fromBoundsRect ()
#13 0x930ecdd8 in -[NSBox _tile:] ()
#14 0x930ed3fc in -[NSBox setFrameSize:] ()
#15 0x9329aaac in -[NSSavePanelBox setFrameSize:] ()
#16 0x93355b80 in -[NSView resizeWithOldSuperviewSize:] ()
#17 0x93355a08 in -[NSView resizeSubviewsWithOldSize:] ()
#18 0x9335612c in -[NSView setFrameSize:] ()
#19 0x93368bf4 in -[NSWindow _oldPlaceWindow:] ()
#20 0x93368f10 in -[NSWindow _setFrameCommon

#21 0x93376fb4 in -[NSWindow _setFrameFromString:force:] ()
#22 0x93377070 in -[NSWindow _setFrameUsingName

#23 0x933770b0 in -[NSWindow _setFrameUsingName

#24 0x93290760 in -[NSSavePanel initWithContentRect:styleMask:backing

#25 0x93243de0 in -[NSPanel init] ()
#26 0x932905a4 in +[NSSavePanel savePanel] ()
#27 0x00009a4c in ?? ()
#28 0x930cfe2c in -[NSApplication sendAction:to:from:] ()
#29 0x9320fd18 in -[NSMenu performActionForItemAtIndex:] ()
#30 0x9310a164 in -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] ()
#31 0x9320f0c8 in -[NSMenu performKeyEquivalent:] ()
#32 0x930cdd7c in -[NSApplication sendEvent:] ()
#33 0x930ca524 in -[NSApplication run] ()
#34 0x930d2598 in NSApplicationMain ()
#35 0x00003bb8 in ?? ()
#36 0x00003a38 in ?? ()
(gdb)"
Somebody with any idea?
Thanks
/F
[ 11-18-2002: Message edited by: F ]</p>
Comments
Hmmm. Yes, yes, this is very bad. Very bad, indeed.
Have you tried repairing the disk and its permissions yet? Do that.
<strong>Scary stuff. <img src="graemlins/hmmm.gif" border="0" alt="[Hmmm]" /> No real ideas here.
Have you tried repairing the disk and its permissions yet? Do that.</strong><hr></blockquote>
I have tried almost everything but reinstalling. Tried checking the disk, repairing permissions.
Someone said that it could have with some font to do.
/F
I'd recommend creating a new 'dummy' user to see if the problem is system-level. Then either trash your prefs and fonts or try re-installing at least the latest system update.
I hope it helps.
But I tried everything and it was some sort of fault in system-level. Tried with new users but I ended up just reinstalling the system and now it is fixed.
/F