> 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
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue