Public bug reported: Dear Ubuntu Maintainers,
I've just started to build some packages for ubuntu 26.04 and I've noticed the ubuntu team does provide neither taurus nor sardana packages. Indeed, straightforward build of those packages results in Segmentation Fault during building documentation with sphinx-build. A similar error I get in a few other cases e.g. pytest, unittest or python3 setup.py clean when in setup.py I import tango. When I run the sphinx-build for taurus with gdb I got the bt attached bellow where I've noticed (in #2) it is coming from /usr/lib/python3/dist-packages/tango/_tango.cpython-314-x86_64-linux- gnu.so The error quite annoying because some debian package cannot be built because of it. It probably related to GIL in python 3.14. A similar bug I found at https://inbox.sourceware.org/gdb- prs/[email protected]%2Fbugzilla%2F/t/ Is there any patch for the bug ? The tango developers claim that python3-tango 10.0.2 does not support python 3.14 https://gitlab.com/tango-controls/pytango/-/work_items/760 Best regards, Jan Description: Ubuntu 26.04 LTS Release: 26.04 python3-tango: Installed: 10.0.2-3build2 Candidate: 10.0.2-3build2 Version table: *** 10.0.2-3build2 500 500 http://archive.ubuntu.com/ubuntu resolute/universe amd64 Packages 100 /var/lib/dpkg/status ``` Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00000000005133bc in _Py_RecursionLimit_GetMargin (tstate=0x0) at ../Include/internal/pycore_pystate.h:330 ⚠️ warning: 330 ../Include/internal/pycore_pystate.h: No such file or directory (gdb) bt #0 0x00000000005133bc in _Py_RecursionLimit_GetMargin (tstate=0x0) at ../Include/internal/pycore_pystate.h:330 #1 _Py_Dealloc (op=<Boost.Python.function at remote 0x28b6cb0>) at ../Objects/object.c:3183 #2 0x00007fffeb041bd1 in ?? () from /usr/lib/python3/dist-packages/tango/_tango.cpython-314-x86_64-linux-gnu.so #3 0x00007ffff7c485e1 in __run_exit_handlers (status=0, listp=0x7ffff7e12680 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at ./stdlib/exit.c:118 #4 0x00007ffff7c486be in __GI_exit (status=<optimized out>) at ./stdlib/exit.c:148 #5 0x00000000006ec956 in Py_Exit (sts=<optimized out>) at ../Python/pylifecycle.c:3523 #6 0x00000000006d5b6d in handle_system_exit () at ../Python/pythonrun.c:688 #7 0x00000000006d5956 in _PyErr_PrintEx (tstate=0xb21788 <_PyRuntime+315656>, set_sys_last_vars=1) at ../Python/pythonrun.c:697 #8 0x00000000006c799f in PyErr_PrintEx (set_sys_last_vars=1) at ../Python/pythonrun.c:777 #9 PyErr_Print () at ../Python/pythonrun.c:783 #10 _PyRun_SimpleFileObject (fp=fp@entry=0xb96a00, filename=filename@entry='/usr/bin/sphinx-build', closeit=closeit@entry=1, flags=flags@entry=0x7fffffffe028) at ../Python/pythonrun.c:527 #11 0x00000000006c7429 in _PyRun_AnyFileObject (fp=fp@entry=0xb96a00, filename=filename@entry='/usr/bin/sphinx-build', closeit=closeit@entry=1, flags=flags@entry=0x7fffffffe028) at ../Python/pythonrun.c:81 #12 0x00000000006c50e9 in pymain_run_file_obj (program_name='/usr/bin/python3', filename='/usr/bin/sphinx-build', skip_source_first_line=0) at ../Modules/main.c:410 #13 pymain_run_file (config=0xaec848 <_PyRuntime+98760>) at ../Modules/main.c:429 #14 pymain_run_python (exitcode=0x7fffffffe01c) at ../Modules/main.c:696 #15 Py_RunMain () at ../Modules/main.c:777 #16 0x00000000006744b4 in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at ../Modules/main.c:831 #17 0x00007ffff7c2a601 in __libc_start_call_main (main=main@entry=0x674470 <main>, argc=argc@entry=6, argv=argv@entry=0x7fffffffe278) at ../sysdeps/nptl/libc_start_call_main.h:59 #18 0x00007ffff7c2a718 in __libc_start_main_impl (main=0x674470 <main>, argc=6, argv=0x7fffffffe278, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe268) at ../csu/libc-start.c:360 #19 0x00000000006738b5 in _start () ``` ** Affects: pytango (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2152717 Title: pytango on ubuntu 26.04 (python 3.14) causes Segmentation Faults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pytango/+bug/2152717/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
