Re: NSOpenPanel problem
Re: NSOpenPanel problem
- Subject: Re: NSOpenPanel problem
- From: Corbin Dunn <email@hidden>
- Date: Tue, 15 Nov 2005 09:57:40 -0800
James -- a few questions.
Is it just your app, or every app?
IE: if you set TextEdit's open panel to be in Browser mode, and
browser to your file, will it also crash?
Can you paste the entire stack here?
Are you doing anything in the open/save panel delegate? if so, what?
-corbin
Am 12.11.2005 um 12:09 schrieb James Spencer:
When my app tries to open an existing file (by calling
[[NSDocumentController sharedDocumentController] openDocument:self];
the app crashes as soon as the user clicks on a file in the open
panel. I'm running out of ideas as to what to even look at to
figure out why. The files can be opened no problem if I drop a
file on my app or by selecting it from the Open Recent menu
choice. The stack trace, a portion of which follows, indicates
that Cocoa is trying to get a thumbnail for the file when it
crashes but otherwise, I'm not seeing anything that even gives a
clue as to what is wrong. I didn't paste the entire stack but
there is nothing from my own code in the stack; it is all Cocoa.
Anyone have any suggestions?
#0 0xfcfcfcfc in ??
#1 0x907b4644 in __CFAllocatorDeallocate
#2 0x9075ac54 in __CFDataDeallocate
#3 0x9073e4f4 in _CFRelease
#4 0x919763bc in _CGImageReadFinalize
#5 0x9073e4f4 in _CFRelease
#6 0x91976244 in _CGImageSourceFinalize
#7 0x9073e4f4 in _CFRelease
#8 0x9382984c in -[NSNavFBENode
_calculatePreviewThumbnailImage:allowComputingFromFullImage:]
#9 0x938294ec in -[NSNavFBENode fastGetPreviewThumbnailImage]
#10 0x9382937c in -[NSNavFBENodePreviewHelper
previewThumbnailImage]
#11 0x93827b84 in -[NSNavBrowserCell
drawPreviewInteriorWithFrame:inView:]
#12 0x93815e90 in -[NSNavBrowserCell
drawInteriorWithFrame:inView:]
#13 0x93814e18 in -[NSBrowserCell drawWithFrame:inView:]
#14 0x938149d4 in -[NSMatrix drawRect:]
#15 0x936b5628 in -[NSView _drawRect:clip:]
#16 0x936b4be8 in -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:]
#17 0x936b7930 in _recursiveDisplayInRect2
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden