Re: Bad free() before any of my code
Re: Bad free() before any of my code
- Subject: Re: Bad free() before any of my code
- From: Matt Gough <email@hidden>
- Date: Wed, 26 Nov 2003 08:28:45 +0000
> Just wondering if anybody has seen this or knows a way to track it down.
>
> I'm getting 8 of these in the console:
>
> *** malloc[4362]: Deallocation of a pointer not malloced: 0x1ad6e00;
> This could be a double free(), or free() called with the middle of an
> allocated block; Try setting environment variable MallocHelp to see
> tools to help debug
>
> They happen before the first line of my code executes, so I'm not sure
> where they could be coming from. Is there a way to trace what's
> happening when my app starts up?
Brian,
I too started seeing these yesterday after updating to the latest ADC XCode
seed. I spent a couple of hours trying to track it down until I found that
every sample project I tried did the same thing. The usual things about
turning on the malloc environment variables and trying to 'fb malloc_printf'
in gdb didn't work.
Matt
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.