Hi Gregor! On Sun, Jan 07, 2024 at 03:40:49PM +0100, Gregor Riepl wrote: > I can reproduce that, although I should mention that the segfault happens > during teardown, not when the module is loaded: > > >>> import sip > >>> print(sip) > <module 'sip' from > '/usr/lib/python3/dist-packages/sip.cpython-312-x86_64-linux-gnu.so'> > >>> <Ctrl-D> > > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000513a8d in PyMem_Free () > (gdb) bt > #0 0x0000000000513a8d in PyMem_Free () > #1 0x00007f73de6feaf9 in sip_api_free (mem=<optimized out>) at > ./siplib/siplib.c:2241 > #2 0x00007f73de710c6d in sipOMFinalise (om=<optimized out>) at > ./siplib/objmap.c:69 > #3 0x00007f73de6febaf in finalise () at ./siplib/siplib.c:2143 > #4 0x00000000004591ab in ?? () > #5 0x0000000000662d77 in Py_RunMain () > #6 0x00000000006232eb in Py_BytesMain () > #7 0x00007f73deba66ca in __libc_start_call_main (main=main@entry=0x623240, > argc=argc@entry=1, argv=argv@entry=0x7ffd043a59b8) at > ../sysdeps/nptl/libc_start_call_main.h:58 > #8 0x00007f73deba6785 in __libc_start_main_impl (main=0x623240, argc=1, > argv=0x7ffd043a59b8, init=<optimized out>, fini=<optimized out>, > rtld_fini=<optimized out>, stack_end=0x7ffd043a59a8) > at ../csu/libc-start.c:360 > #9 0x0000000000623171 in _start ()
Yes, I saw the same. In SIP 6, there were 3 commits to add support for Python 3.12, but the code diverged a lot so it's not trivial to backport them to SIP 4. > I'd also like to point out that SIP4 is no longer supported upstream. The > current version is 6.8.1, which is already packaged for Debian. > https://www.riverbankcomputing.com/software/sip/download > > > SIP v4 is no longer supported. This is the last release. > > sip-4.19.25.tar.gz > > Cura was made fit for PyQt6 and SIP6 in April 2022, and I think 5.0 has all > the needed changes. I will investigate if we can drop the dependency on > python3-sip-dev. As far as I can see, there are no other users of SIP4 in > Debian, so maybe it can be dropped completely after fixing Cura. Unfortunately there are other users: $ reverse-depends src:sip4 -r sid Reverse-Recommends ================== * krita [amd64 arm64 armel armhf i386 mips64el ppc64el s390x] Reverse-Depends =============== * gnuradio [amd64 arm64 armel armhf i386 mips64el ppc64el s390x] * meteo-qt [amd64 arm64 armel armhf i386 mips64el ppc64el s390x] * python3-pykdl [amd64 arm64 armel armhf i386 mips64el ppc64el s390x] * python3-python-qt-binding (for python3-sip-dev) * python3-python-qt-binding (for sip-dev) * qutebrowser (for python3-sip) * tulip [amd64 arm64 i386 mips64el ppc64el s390x] * vistrails (for python3-sip) $ reverse-depends -b src:sip4 -r sid Reverse-Testsuite-Triggers ========================== * geophar (for python3-sip) Reverse-Build-Depends ===================== * ball (for python3-sip-dev) * geophar (for python3-sip) * guidata (for python3-sip) * krita (for python3-sip-dev) * libarcus (for python3-sip-dev) * libsavitar (for python3-sip-dev) * openstructure (for sip-dev) * orocos-kdl (for python3-sip-dev) * pynest2d (for python3-sip-dev) * pyqwt3d (for python3-sip-dev) * stimfit (for python3-sip-dev) * tulip (for python3-sip-dev) Reverse-Build-Depends-Indep =========================== * eric (for python3-sip-dev) krita and pyqwt3d have open bugs to move to sip6, but I will need to file bugs for the other packages too. -- Dmitry Shachnev
signature.asc
Description: PGP signature