Re: NSAutoreleasePool Problem
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