[issue14854] faulthandler: fatal error with "SystemError: null argument to internal routine"

Zbyszek Jędrzejewski-Szmek report at bugs.python.org
Sat May 19 20:47:30 CEST 2012


Zbyszek Jędrzejewski-Szmek <zbyszek at in.waw.pl> added the comment:

% PYTHONFAULTHANDLER=1 ./python -E -c 'import faulthandler; faulthandler._sigsegv()'
[3]    14516 segmentation fault (core dumped)

Unless I'm missing something, the env. var. is not working as documented.

Patch with two tests is attached: the first does 'python -X faulthandler ...' and passes after Antoine's patch, the second does 'PYTHONFAULTHANDLER=YesPlease python ...' and does not pass.

----------
keywords: +patch
Added file: http://bugs.python.org/file25640/issue14854_faulthandler_tests.diff

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


More information about the Python-bugs-list mailing list