Skip navigation.
 
mlRe: Crashes with NSOpenPanel and garbage collection
FROM : Antonio Nunes
DATE : Fri May 09 07:09:56 2008

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
-----------------------------------------------------------

Related mailsAuthorDate
mlCrashes with NSOpenPanel and garbage collection Daniel Parnell May 9, 04:12
mlRe: Crashes with NSOpenPanel and garbage collection Antonio Nunes May 9, 07:09
mlRe: Crashes with NSOpenPanel and garbage collection Daniel Parnell May 9, 14:17
mlRe: Crashes with NSOpenPanel and garbage collection Michael Ash May 9, 17:27
mlRe: Crashes with NSOpenPanel and garbage collection John Stiles May 9, 18:09
mlRe: Crashes with NSOpenPanel and garbage collection Corbin Dunn May 9, 18:46
mlRe: Crashes with NSOpenPanel and garbage collection Daniel Parnell May 12, 01:55
mlRe: Crashes with NSOpenPanel and garbage collection j o a r May 12, 05:42