• 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
Problem with thread/autorelease pool .
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Problem with thread/autorelease pool .
      • From: "Philip Q" <email@hidden>
  • Prev by Date: Re: Better printed documentation? (wish list)
  • Next by Date: Re: Problem with thread/autorelease pool .
  • Previous by thread: Re: IB question
  • Next by thread: Re: Problem with thread/autorelease pool .
  • Index(es):
    • Date
    • Thread