Problem with thread/autorelease pool .
Problem with thread/autorelease pool .
- Subject: Problem with thread/autorelease pool .
- From: Sudheer dantuluri <email@hidden>
- Date: Mon, 13 Nov 2006 15:41:49 +0530
Hi All ,
My Application is getting crashed consistently .
I've an action method that imports selected files from the open panel .
Here in the action method , i call a method on a separate thread
using NSApplication's detachDrawingThread:toTarget:withObject:
class method .
This action works fine when ever i import files for the first two
times .
Later if i try to import few more files , the application is getting
crashed with the following message .
#0 0xfffeff20 in objc_msgSend_rtp
#1 0x9293b968 in NSPopAutoreleasePool
#2 0x93704d34 in -[NSApplication run]
#3 0x937f587c in NSApplicationMain
#4 0x00002cdc in _start
#5 0x000029e0 in start
I've also tried with NSTread's
detachNewThreadSelector:toTarget:withObject: method creating
autorelease pool in the method .
Even this results in the same crash .
I also tried enabling Zombie , but of no use .
Please help me out in this issue .
Thanks
Sudheer.
_______________________________________________
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