Re: Still can't figure out this overrelease bug
Re: Still can't figure out this overrelease bug
- Subject: Re: Still can't figure out this overrelease bug
- From: "Theodore H. Smith" <email@hidden>
- Date: Fri, 10 Jun 2005 20:18:42 +0100
On 10 Jun 2005, at 19:39, Frederick Cheung wrote:
On 10 Jun 2005, at 19:00, Theodore H. Smith wrote:
So how do I pin this overrelease bug down? Someone said these
zombies will help me figure out the class type being overreleased,
but I didn't get that class information.
In my executable pane in Xcode, I have the environment variable
"NSZombieEnabled" enabled with a value of "1".
You need to set it to YES, not 1.
OK. I tried that just now. I get this:
[Session started at 2005-06-10 20:16:33 +0100.]
GNU gdb 6.1-20040303 (Apple version gdb-384) (Mon Mar 21 00:05:26 GMT
2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "powerpc-apple-darwin".
Loading program into debugger…
tty /dev/ttyp1
Program loaded.
Function "-[NSException raise]" not defined.
Function "-[_NSZombie methodSignatureForSelector:]" not defined.
run
[Switching to process 1221 local thread 0xf03]
Running…
=resolve-pending-breakpoint,new_bp="34",pended_bp="34"
Pending breakpoint 34 - "-[NSException raise]" resolved
=resolve-pending-breakpoint,new_bp="35",pended_bp="35"
Pending breakpoint 35 - "-[_NSZombie methodSignatureForSelector:]"
resolved
Program received signal: "EXC_BAD_ACCESS".
Unable to disassemble objc_msgSend_rtp.
(gdb)
I'm not sure why it's saying that these functions are not defined.
Also, I don't see any class type displayed. Any further clues?
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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