Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906531 - net-p2p/deluge: segmentation fault
Summary: net-p2p/deluge: segmentation fault
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paolo Pedroni
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-16 08:37 UTC by msdobrescu
Modified: 2024-03-22 12:13 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description msdobrescu 2023-05-16 08:37:13 UTC
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."
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-16 08:41:40 UTC
Could you build it with debugging symbols please (see https://wiki.gentoo.org/wiki/Debugging#Per-package) and try to run it under gdb?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-16 08:43:45 UTC
(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.
Comment 3 msdobrescu 2023-05-16 10:32:22 UTC
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
Comment 4 Pacho Ramos gentoo-dev 2023-05-16 15:48:02 UTC
It seems similar to older:
https://dev.deluge-torrent.org/ticket/3405

That points to enabling debug as another workaround for this
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-16 20:47:14 UTC
Please rebuild glibc with debugging symbols.