On 06/07/2010 02:38 PM, Chet Ramey wrote: > I bet this is the kernel killing bash when the stack size resource limit > is exceeded, not anything bash is doing or can catch.
To the contrary, it is possible to use the GPL libsigsegv to catch stack overflow and exit with a clean error message instead of a SEGV; several other GNU programs, such as guile, gawk, and m4, use this approach. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature