Re: _stack_chk_fail
Re: _stack_chk_fail
- Subject: Re: _stack_chk_fail
- From: koko <email@hidden>
- Date: Thu, 09 Jun 2011 11:57:53 -0600
I did and got no break.
So, I added -fno-stack-protector to the Other C compile flags and now I get EXEC_BAD_ACCESSwhic I think I candeal with.
Thanks.
On Jun 9, 2011, at 11:40 AM, Jens Alfke wrote:
>
> On Jun 9, 2011, at 10:22 AM, koko wrote:
>
>> Is there a break point to set that will break on this _stack_chk_fail ?
>
> Add a symbolic breakpoint with that name? Choose Run > Show > Breakpoints, then in the breakpoint list add a new item and put that symbol name in.
>
> Alternatively, at the gdb prompt while the app is stopped in the debugger you can type “b _stack_chk_fail”.
>
> —Jens
_______________________________________________
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