On 22 Nov 2023, at 20:16, Ranjan Maitra via users users@lists.fedoraproject.org wrote:
Thanks very much for this for explaining how to run gdb on a python script! On Python 3.12 (Fedora 39), I get, at the very end:
Thread 1 "python" received signal SIGSEGV, Segmentation fault. 0x00007ffff79e4b5b in _PyInterpreterState_GET () at /usr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Include/internal/pycore_pystate.h:118 118 return tstate->interp; (gdb)
On Python 3.11 (Fedora 38), I get, at the very end:
[Inferior 1 (process 199650) exited normally] (gdb)
Any suggestions as to what is going wrong here?
At this point you need get more information.
What do the folllowing GDB commands print?
p tstate p tstate->interp thread allow all bt
Barry