On Wed Nov22'23 09:49:49PM, Barry Scott wrote: > From: Barry Scott <ba...@barrys-emacs.org> > Date: Wed, 22 Nov 2023 21:49:49 +0000 > To: Community support for Fedora users <users@lists.fedoraproject.org> > CC: Ranjan Maitra <mlmai...@gmx.com> > Reply-To: Community support for Fedora users <users@lists.fedoraproject.org> > Subject: Re: Python code error in F39, but not in F38 > > > > > On 22 Nov 2023, at 21:32, Barry Scott <ba...@barrys-emacs.org> wrote: > > > >> 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 > Doh... > > thread apply all bt > > I always type: > t a a bt > > and typo'ed the expansion.
Thanks, here is what comes out: (gdb) p tstate->interp value has been optimized out (gdb) thread apply all bt Thread 1 (Thread 0x7ffff7ec7740 (LWP 387946) "python"): #0 0x00007ffff79e4b5b in _PyInterpreterState_GET () at /usr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Include/internal/pycore_pystate.h:118 #1 get_state () at /usr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Objects/obmalloc.c:866 #2 _PyObject_Free (ctx=<optimized out>, p=0x555556d898a0) at /usr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Objects/obmalloc.c:1850 #3 0x00007fff9e5e292f in sip_api_free (mem=<optimized out>) at /usr/src/debug/sip-4.19.25-9.fc39.x86_64/siplib/siplib.c:2239 #4 sipOMFinalise (om=0x7fff9e5ff9a0 <cppPyMap.lto_priv.0>) at /usr/src/debug/sip-4.19.25-9.fc39.x86_64/susr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Python/pylifecycle.c:1977 #8 0x00007ffff7ab6337 in Py_RunMain () at /usr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Modules/main.c:691 #9 0x00007ffff7a7185c in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/python3.12-3.12.0-1.fc39.x86_64/Modules/main.c:743 #10 0x00007ffff764614a in __libc_start_call_main (main=main@entry=0x555555555160 --Type <RET> for more, q to quit, c to continue without paging-- <main>, argc=argc@entry=4, argv=argv@entry=0x7fffffffdfd8) at ../sysdeps/nptl/libc_start_call_main.h:58 #11 0x00007ffff764620b in __libc_start_main_impl (main=0x555555555160 <main>, argc=4, argv=0x7fffffffdfd8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfc8) at ../csu/libc-start.c:360 #12 0x0000555555555095 in _start () (gdb) Many thanks and best wishes, Ranjan -- _______________________________________________ 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