Re: A malloc error in C++
Re: A malloc error in C++
- Subject: Re: A malloc error in C++
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 29 Aug 2007 11:06:54 -0700
On 8/29/07, Giacomo Monari <email@hidden> wrote:
>
> Lyndsey Ferguson ha scritto:
>
> Try this:
>
> 1. Turn off "Start executable after starting debugger" in the executable (in
> your Xcode project -- see attached image).
> 2. Click debug, the debugger will load your app.
> 3. Type "b szone_error".
> 4. Type "run"
> 5. When your application runs, it should break when memory is about to be
> corrupted. Look at the stack crawl. This should lead you to a solution.
>
> Good luck,
> Lyndsey
>
>
> Well, I don't know if I correctly understood... But I tried to do:
> 1. Was already turned off.
> 2. Done
> 3. I typed it in the console.
> 4. I typed run in the console.
> At this point the debugger points the line:
>
> *__first = __tmp;
Type "bt" to get a backtrace of the thread stack.
-Shawn
_______________________________________________
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