[Bug c/60857] segmentation fault after called exit () with a large stack frame.
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 16 03:20:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60857
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is invalid as what is happening is you get a push of the old pc when a
call happens and that is crashing. In the return 0 case, it just does an add
and subtract so you don't actually use the stack. You need to increase the
stack limit via ulimit.
More information about the Gcc-bugs
mailing list