Re: Crash in NSFileManager
Re: Crash in NSFileManager
- Subject: Re: Crash in NSFileManager
- From: "Adam R. Maxwell" <email@hidden>
- Date: Sat, 08 Nov 2008 13:01:30 -0800
On Nov 8, 2008, at 11:57 AM, David wrote:
My application is invoking NSFileManager copyPath:toPath:handler:
It is possible that the user picked some weird value for toPath but it
must exist because they picked it using NSOpenPanel.
How or why can this be causing a crash? Especially inside
NSFIleManager dealing with retain in a GC application?
I notice you're crashing on thread 10. Do you instantiate a new
NSFileManager instance with alloc/init per thread? Using +
[NSFileManager defaultManager] from a background thread will cause
problems (and note that NSFileManager alloc/init doesn't work properly
on 10.4 and earlier).
--
Adam
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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