Moving from python 3.10 to 3.11, required to rebuild deluge and the following bug started to manifest: https://dev.deluge-torrent.org/ticket/3593. I can't tell if the reason is python 3.11 or something else, but previous build (also with python 3.10) worked fine. The solution to start it successfully is in the upstream bug report above: "Setting "show_piecesbar" to false in ~/.config/deluge/gtk3ui.conf solved the issue."
Could you build it with debugging symbols please (see https://wiki.gentoo.org/wiki/Debugging#Per-package) and try to run it under gdb?
(In reply to Sam James from comment #1) > Could you build it with debugging symbols please (see > https://wiki.gentoo.org/wiki/Debugging#Per-package) and try to run it under > gdb? to be clear: the backtrace in the bug linked isn't very useful as the reporter truncated it. Dying in any of the vectorised operations in glibc doesn't really tell us much, it almost always means junk got passed in.
I don't have debug symbols, but I get a similar trace. gdb --args python /usr/bin/deluge-gtk GNU gdb (Gentoo 13.1.90_p20230325 vanilla) 13.1.90.20230325-git Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://bugs.gentoo.org/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from python... (No debugging symbols found in python) (gdb) run Starting program: /usr/bin/python /usr/bin/deluge-gtk [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". process 694865 is executing new program: /usr/bin/python3.11 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [Detaching after vfork from child process 694868] [Detaching after vfork from child process 694869] [Detaching after vfork from child process 694875] [New Thread 0x7fffe3be06c0 (LWP 694876)] [New Thread 0x7fffdbfff6c0 (LWP 694877)] [New Thread 0x7fffe33df6c0 (LWP 694878)] [New Thread 0x7fffe2aab6c0 (LWP 694882)] [New Thread 0x7fffe22aa6c0 (LWP 694883)] [New Thread 0x7fffe09926c0 (LWP 694884)] [Thread 0x7fffe09926c0 (LWP 694884) exited] [New Thread 0x7fffe09926c0 (LWP 694885)] [New Thread 0x7fffda9ff6c0 (LWP 694886)] [Thread 0x7fffe09926c0 (LWP 694885) exited] [New Thread 0x7fffe09926c0 (LWP 694887)] [New Thread 0x7fffda0e26c0 (LWP 694888)] [Thread 0x7fffe09926c0 (LWP 694887) exited] [Thread 0x7fffda9ff6c0 (LWP 694886) exited] [Thread 0x7fffda0e26c0 (LWP 694888) exited] [New Thread 0x7fffda0e26c0 (LWP 694889)] [New Thread 0x7fffda9ff6c0 (LWP 694890)] [New Thread 0x7fffe09926c0 (LWP 694891)] [New Thread 0x7fffd98626c0 (LWP 694892)] [Thread 0x7fffe09926c0 (LWP 694891) exited] [Thread 0x7fffd98626c0 (LWP 694892) exited] Thread 1 "deluge-gtk" received signal SIGSEGV, Segmentation fault. 0x00007ffff7986658 in ?? () from /lib64/libc.so.6
It seems similar to older: https://dev.deluge-torrent.org/ticket/3405 That points to enabling debug as another workaround for this
Please rebuild glibc with debugging symbols.
The upstream suggests https://dev.deluge-torrent.org/changeset/18dca700846. ( https://dev.deluge-torrent.org/ticket/3593#comment:7 )