• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSOpenPanel problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel problem


  • Subject: NSOpenPanel problem
  • From: James Spencer <email@hidden>
  • Date: Sat, 12 Nov 2005 14:09:53 -0600

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


Spence

James P. Spencer
Rochester, MN

email@hidden

"Badges??  We don't need no stinkin badges!"

_______________________________________________
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


  • Follow-Ups:
    • Re: NSOpenPanel problem
      • From: Corbin Dunn <email@hidden>
  • Prev by Date: Re: Linking error with C++ framework and GCC 4.0.1
  • Next by Date: Re: NSTableView and dragging cursor
  • Previous by thread: Re: Linking error with C++ framework and GCC 4.0.1
  • Next by thread: Re: NSOpenPanel problem
  • Index(es):
    • Date
    • Thread