Author zbysz
Recipients vstinner, zbysz
Date 2012-05-19.08:53:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337417592.83.0.722972299314.issue14854@psf.upfronthosting.co.za>
In-reply-to
Content
Simply running './python -X faulthandler' in the source directory gives me this:

% ./python -X faulthandler
Fatal Python error: Py_Initialize: can't initialize faulthandler
SystemError: null argument to internal routine
[1]    25118 abort (core dumped)  ./python -X faulthandler

% gdb ./python core
Core was generated by `./python -X faulthandler'.
Program terminated with signal 6, Aborted.
#0  0x00007f52d7ff9475 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f52d7ff9475 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f52d7ffc6f0 in *__GI_abort () at abort.c:92
#2  0x00000000004bc984 in Py_FatalError (msg=0x5b3750 "Py_Initialize: can't initialize faulthandler")
    at Python/pythonrun.c:2283
#3  0x00000000004b85ed in Py_InitializeEx (install_sigs=1) at Python/pythonrun.c:361
#4  0x00000000004b86ea in Py_Initialize () at Python/pythonrun.c:398
#5  0x00000000004d55a6 in Py_Main (argc=3, argv=0x1b8f010) at Modules/main.c:624
#6  0x000000000041b120 in main (argc=3, argv=0x7fffc1ebb558) at ./Modules/python.c:65
(gdb) 
#0  0x00007f52d7ff9475 in *__GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f52d7ffc6f0 in *__GI_abort () at abort.c:92
#2  0x00000000004bc984 in Py_FatalError (msg=0x5b3750 "Py_Initialize: can't initialize faulthandler")
    at Python/pythonrun.c:2283
#3  0x00000000004b85ed in Py_InitializeEx (install_sigs=1) at Python/pythonrun.c:361
#4  0x00000000004b86ea in Py_Initialize () at Python/pythonrun.c:398
#5  0x00000000004d55a6 in Py_Main (argc=3, argv=0x1b8f010) at Modules/main.c:624
#6  0x000000000041b120 in main (argc=3, argv=0x7fffc1ebb558) at ./Modules/python.c:65
History
Date User Action Args
2012-05-19 08:53:12zbyszsetrecipients: + zbysz, vstinner
2012-05-19 08:53:12zbyszsetmessageid: <1337417592.83.0.722972299314.issue14854@psf.upfronthosting.co.za>
2012-05-19 08:53:12zbyszlinkissue14854 messages
2012-05-19 08:53:11zbyszcreate