• 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
Re: NSAutoreleasePool Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAutoreleasePool Problem


  • Subject: Re: NSAutoreleasePool Problem
  • From: Shawn Erickson <email@hidden>
  • Date: Sun, 29 Jan 2006 13:36:50 -0800


On Jan 29, 2006, at 1:17 PM, Matthew Miller wrote:

I'm having trouble with another program that involves retrieving data from a MySQL database using the MySQL C API and I'm trying to wrap those functions in a class that returns an instance of a custom class (really just an NSArray with some ints for rows and cols). The program logic works fine but when I run the test program, it gives me a SIGTRAP on a call to [pool release] (in the method NSPopAutorelease). I thought this would probably has to do with releasing an item that is then undefined when the NSAutoreleasePool is cleaning up. So I looked at the data coming back and the code.
...
Any thoughts? I'm stuck and I don't want to just let the NSAutoreleasePool crash every time I run the program.
'
I cannot fully follow what you are doing... but look up and enable NSZombie (may also have to enable that for CoreFoundation) support to understand which object is getting over released.


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


References: 
 >NSAutoreleasePool Problem (From: Matthew Miller <email@hidden>)

  • Prev by Date: Re: NSAutoreleasePool Problem
  • Next by Date: NSTreeController - setEntityName only settable once??
  • Previous by thread: Re: NSAutoreleasePool Problem
  • Next by thread: Re: NSAutoreleasePool Problem
  • Index(es):
    • Date
    • Thread