On Tue Nov21'23 05:25:35PM, Samuel Sieb wrote: > From: Samuel Sieb <samuel@xxxxxxxx> > Date: Tue, 21 Nov 2023 17:25:35 -0800 > To: users@xxxxxxxxxxxxxxxxxxxxxxx > Reply-To: Community support for Fedora users <users@xxxxxxxxxxxxxxxxxxxxxxx> > Subject: Re: Python code error in F39, but not in F38 > > On 11/19/23 10:01, Ranjan Maitra via users wrote: > > I tried: > > > > $ gdb python "./test.py ultadanga.tiff ultadanga-64-rgb.png 1 7" > > (gdb) > > $ gdb python > (gdb) run ./test.py ultadanga.tiff ultadanga-64-rgb.png 1 7 > -- 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? Many thanks and best wishes, Ranjan > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue