Help with Memory leak
Help with Memory leak
- Subject: Help with Memory leak
- From: Vince Ackerman <email@hidden>
- Date: Tue, 30 Mar 2004 18:10:01 -0800
I hope someone can help with a memory leak that is flagged during
runtime by the gdb debugger. I am monitoring a USB device that makes a
callback to my code when I push a button. It passes a boolean value to
my callback and my object copies it and sends an NSNotification that
the value has changed. My main controller object receives the
notification and changes a text string in my main window to reflect the
current value. Somewhere in this process I get the following leak,
repeated 4 times after each button press:
2004-03-30 10:22:45.604 MoConX[4835] *** _NSAutoreleaseNoPool(): Object
0x58cea0 of class NSCFNumber autoreleased with no pool in place - just
leaking
2004-03-30 10:22:46.003 MoConX[4835] *** _NSAutoreleaseNoPool(): Object
0x58cea0 of class NSCFNumber autoreleased with no pool in place - just
leaking
2004-03-30 10:22:46.004 MoConX[4835] *** _NSAutoreleaseNoPool(): Object
0x58cea0 of class NSCFNumber autoreleased with no pool in place - just
leaking
2004-03-30 10:22:46.004 MoConX[4835] *** _NSAutoreleaseNoPool(): Object
0x54c1c0 of class NSCFNumber autoreleased with no pool in place - just
leaking
[Switching to process 4835 thread 0x290b]
I'm not assigning the boolean to any of my objects variables, just
copying it. Also, I'm not using a NSCFNumber, and I can't find it in
the documentation. I can't find any object that has that address,
either. Where do I start looking for this leak?
Hope someone can help.
Thanks in advance
Vince
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.