[issue3999] Real segmentation fault handler

STINNER Victor report at bugs.python.org
Wed Dec 10 03:54:19 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Oh, another change in segfault-3.patch:
 - disable signal handler before the first call to segfault_enter() 
and the last call to segfault_exit()

About the memory footprint: it would be possible to use variable size 
buffer using malloc() and then realloc(). But static buffers are 
easier to use, and I don't want to play with malloc() while I'm 
handling a segmentation fault or stack overflow :-)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3999>
_______________________________________


More information about the Python-bugs-list mailing list