Re: double free and gdb problem
Re: double free and gdb problem
- Subject: Re: double free and gdb problem
- From: David Dunham <email@hidden>
- Date: Fri, 20 Oct 2006 09:47:58 -0700
On 20 Oct 2006, at 09:16, Camille GOUREAU-SUIGNARD wrote:
I'm still stuck with my double free location problem.
Many thanks to Shawn for pointing me in the right direction.
I had a look at this fabulous web page: http://www.cocoadev.com/
index.pl?DebuggingAutorelease
I set the environment variables, but I nver get the message giving
me the memory address (the one I'll use in Malloc_history) in the
console:
What I should get:
2003-03-18 13:01:38.644 autoreleasebug[3939] *** *** Selector
'release'
sent to dealloced instance 0xa4e10 of class NSConcreteData.
What I get:
2006-10-20 18:12:14.159 Caisse enregistreuse[18291] ticket a change
Program received signal: "EXC_BAD_ACCESS".
Any idea on how to get that message ?
So maybe you're not releasing an autoreleased object? Maybe set a
breakpoint at malloc_printf if you're actually getting a message
about double-free.
And, what's the stack trace of the crash?
------------
David Dunham email@hidden http://www.pensee.com/dunham/
"No matter how far you have gone on a wrong road, turn back." -
Turkish proverb
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden