Re: Crashes with NSOpenPanel and garbage collection
Re: Crashes with NSOpenPanel and garbage collection
- Subject: Re: Crashes with NSOpenPanel and garbage collection
- From: Antonio Nunes <email@hidden>
- Date: Fri, 9 May 2008 06:09:56 +0100
On May 9, 2008, at 3:12 AM, Daniel Parnell wrote:
I'm having an interesting problem. I'm trying to use NSOpenPanel
to select some files (as one usually does), however if I compile
with garbage collection on and then try to use the Music, Photos or
Movies areas in the open panel I get very strange crashes. If I've
previously opened a file from one of these areas and the open panel
is now defaulting to them then simply using Command-O will also
cause the same crash.
This is a known bug in 10.5.2, which a.f.a.i.k. affects all garbage
collected apps. To solve your immediate issue where just bringing up
the open panel will crash your app simply remove its preferences file
(or the pertinent entry in the file that remembers the state of the
panel).
António
-----------------------------------------------------------
Some things have to be believed to be seen.
--Ralph Hodgson
-----------------------------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden