Source: transmission-daemon
Version: 2.82-1.1
Severity: normal

When issuing `transmission-remote --exit` to ask the daemon to terminate
and exit, the transmission-daemon process gets stuck at 100% CPU
consumption and never actually terminates. This only happens if

        "speed-limit-down-enabled": true

in the settings. If speed-limit-down-enabled is false, the daemon
terminates regularly.

If the process is stuck, hooking up gdb shows:

(gdb) bt
#0  0x00007f23b382213d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f23b4f40606 in tr_wait_msec (msec=msec@entry=100) at utils.c:663
#2  0x00007f23b4f481ba in tr_webClose (session=session@entry=0x7f23b5cfe0a0, 
close_mode=close_mode@entry=TR_WEB_CLOSE_NOW) at web.c:542
#3  0x00007f23b4f32caa in tr_sessionClose (session=0x7f23b5cfe0a0) at 
session.c:1892
#4  0x00007f23b4f2df1e in main (argc=<optimized out>, argv=<optimized out>) at 
daemon.c:609

for the main thread,

(gdb) bt
#0  0x00007f23b4f541a7 in tr_list_append (list=list@entry=0x7f23b519d880 
<paused_easy_handles>, data=0x7f239c5ad010) at list.c:98
#1  0x00007f23b4f47805 in writeFunc (ptr=0x7f239c1ecc80, size=<optimized out>, 
nmemb=1430, vtask=0x7f23aefc8e70) at web.c:130
#2  0x00007f23b4252a70 in ?? () from 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#3  0x00007f23b4268999 in curl_easy_pause () from 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#4  0x00007f23b4f47d22 in tr_webThreadFunc (vsession=0x7f23b5cfe0a0) at 
web.c:451
#5  0x00007f23b4f2f72a in ThreadFunc (_t=0x7f23af4aa210) at platform.c:108
#6  0x00007f23b381b062 in start_thread (arg=0x7f23ab5fb700) at 
pthread_create.c:312
#7  0x00007f23b354fa3d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

for thread 2 and

(gdb) bt
#0  0x00007f23b3550013 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f23b44cb313 in ?? () from /usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
#2  0x00007f23b44b6e90 in event_base_loop () from 
/usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
#3  0x00007f23b4f3f318 in libeventThreadFunc (veh=0x7f23b5cfe610) at 
trevent.c:249
#4  0x00007f23b4f2f72a in ThreadFunc (_t=0x7f23b5cfe690) at platform.c:108
#5  0x00007f23b381b062 in start_thread (arg=0x7f23b085f700) at 
pthread_create.c:312
#6  0x00007f23b354fa3d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

for thread 3.



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to