[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a recursion bug

From: Chet Ramey
Subject: Re: a recursion bug
Date: Thu, 04 Oct 2012 09:34:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

On 10/3/12 5:32 PM, Bob Proulx wrote:
> Chet Ramey wrote:
>>> Pid 4466 received a SIGSEGV for stack growth failure.
>>> Possible causes: insufficient memory or swap space,
>>> or stack size exceeded maxssiz.
>> There's not actually anything you can do about that except use ulimit to
>> get as much stack space as you can.
> Well...  There is the gnulib c-stack module:
>   http://www.gnu.org/software/gnulib/MODULES.html
>   c-stack     Stack overflow handling, causing program exit.

Which, at the end of the day, basically provides a way to print a message
and exit.  The message above is better than most.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]