{{{
deluged 2.0.5
libtorrent: 1.2.9.0
Python: 3.9.2
OS: Linux Raspbian GNU/Linux 11 bullseye
}}}
{{{
uname -a
Linux raspberrypi 5.15.41-v7+ #1557 SMP Mon May 23 16:46:23 BST 2022
armv7l GNU/Linux
}}}
{{{
/usr/bin/python3 /usr/bin/deluged -d -L debug
Segmentation fault
}}}
{{{
gdb --args python /usr/bin/deluged -d
GNU gdb (Raspbian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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 "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
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/deluged -d
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-
gnueabihf/libthread_db.so.1".
[Detaching after fork from child process 4502]
[Detaching after fork from child process 4503]
Program received signal SIGSEGV, Segmentation fault.
0x76fdb34c in _dl_map_object_deps (map=map@entry=0x8740b0,
preloads=preloads@entry=0x0, npreloads=npreloads@entry=0,
trace_mode=trace_mode@entry=0, open_mode=<optimized out>,
open_mode@entry=-2147483648) at dl-deps.c:226
226 dl-deps.c: No such file or directory.
(gdb) thread apply all backtrace
Thread 1 (Thread 0x76ff7980 (LWP 4497) "python"):
#0 0x76fdb34c in _dl_map_object_deps (map=map@entry=0x8740b0,
preloads=preloads@entry=0x0, npreloads=npreloads@entry=0,
trace_mode=trace_mode@entry=0, open_mode=<optimized out>,
open_mode@entry=-2147483648) at dl-deps.c:226
#1 0x76fe1260 in dl_open_worker (a=0x7effc91c) at dl-open.c:571
#2 0x76e4e9a8 in __GI__dl_catch_exception (exception=0x749b5d90,
operate=0x7effc910, args=0x7effc990) at dl-error-skeleton.c:208
#3 0x76fe0d3c in _dl_open (file=0x749bcce8 "/usr/lib/python3/dist-
packages/GeoIP.cpython-39-arm-linux-gnueabihf.so", mode=-2147483646,
caller_dlopen=0x1f1948, nsid=-2, argc=3, argv=0x7efff734, env=0x7efff744)
at dl-open.c:837
#4 0x76f64d98 in dlopen_doit (a=0x7effcb7c) at dlopen.c:66
#5 0x76e4e9a8 in __GI__dl_catch_exception (exception=0x58,
exception@entry=0x7effcb30, operate=0x7effcb38, args=0x0,
args@entry=0x76f77000) at dl-error-skeleton.c:208
#6 0x76e4ea90 in __GI__dl_catch_error (objname=0x50513c,
errstring=0x505140, mallocedp=0x505138, operate=<optimized out>,
args=0x7effcb7c) at dl-error-skeleton.c:227
#7 0x76f6587c in _dlerror_run (operate=<optimized out>, args=0x7effcb7c,
args@entry=0x7effcb74) at dlerror.c:170
#8 0x76f64e5c in __dlopen (file=<optimized out>, mode=<optimized out>) at
dlopen.c:87
#9 0x001f1948 in ?? ()
}}}
{{{
git status
On branch 2.0.x
nothing to commit, working tree clean
}}}
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3522>
Deluge <https://deluge-torrent.org/>
Deluge Project
Comment (by Cas):
This is likely a libtorrent related issue, how are you installing
libtorrent?
Can you attach the full backtrace from gdb?
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3522#comment:1>
* component: Core => Unknown
* milestone: needs verified => not applicable
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3522#comment:2>