[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-08-19 Thread STINNER Victor
STINNER Victor added the comment: Bennet Fauber: > It would appear that jshelly was correct and this is resolved by fixing the > problem isolated in issue 21131, which was closed and a patch was committed. Great! I close this issue as a duplicate of bpo-21131. -- resolution: -> dupl

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-08-17 Thread Bennet Fauber
Bennet Fauber added the comment: It would appear that jshelly was correct and this is resolved by fixing the problem isolated in issue 21131, which was closed and a patch was committed. https://github.com/python/cpython/pull/15276 -- nosy: +justbennet ___

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-07-16 Thread Michelle Johnson
Michelle Johnson added the comment: Is the problem I'm seeing possibly related to this issue: https://bugs.python.org/issue21131 It seems to share a lot of similarities. -- ___ Python tracker _

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-07-15 Thread Michelle Johnson
Michelle Johnson added the comment: Oh, ok. So, it doesn't seem like trying to get the contents of op was successful: (gdb) print *op $1 = {ob_refcnt = 0, ob_type = 0x0} (gdb) print *op->ob_type Cannot access memory at address 0x0 (gdb) I then followed your instructions to recompile in deb

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-07-15 Thread STINNER Victor
STINNER Victor added the comment: Oh. So Py_FinalizeEx() does get a SIGSEGV when triggering a garbage collection: the test doesn't crash, it's Python which crash at exit. > Program received signal SIGSEGV, Segmentation fault. > 0x2ae88924 in visit_decref (op=0x2acd3468, data=0x0)

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-07-15 Thread STINNER Victor
STINNER Victor added the comment: My notes to debug a crash on a GC collection: https://pythondev.readthedocs.io/debug_tools.html#debug-crash-in-garbage-collection-visit-decref -- ___ Python tracker

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-07-15 Thread Michelle Johnson
Michelle Johnson added the comment: 1. Here is the output of the signal.getsignal test: [jshelly@gl-build bin]$ ./python3 Python 3.7.4 (default, Jul 15 2019, 10:08:37) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> signal.gets

[issue37565] test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset

2019-07-15 Thread STINNER Victor
Change by STINNER Victor : -- title: test_faulthandler: test_register_chain() crash on Skylake chipset -> test_faulthandler: test_register_chain() crash with SIGSEGV (signal 11) on Skylake chipset ___ Python tracker