Bug#740950: segmentation fault in libcurl-gnutls.so.4 if download speed limiting is enabled

2015-04-03 Thread Giuseppe Bilotta
On Wed, Apr 1, 2015 at 12:10 AM, Sandro Tosi  wrote:
> Hello,
> are you still able to replicate these frequent crashes with 2.84
> uploaded in sid? If so, please run again gdb executing

I haven't seen this issue in sid recently, I think we can close the issue.

-- 
Giuseppe "Oblomov" Bilotta


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



Bug#740950: segmentation fault in libcurl-gnutls.so.4 if download speed limiting is enabled

2015-03-31 Thread Sandro Tosi
Hello,
are you still able to replicate these frequent crashes with 2.84
uploaded in sid? If so, please run again gdb executing

bt
bt full
thread apply all bt

when it crashes, so that I'll be able to forward this info upstream

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


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



Bug#740950: segmentation fault in libcurl-gnutls.so.4 if download speed limiting is enabled

2014-03-06 Thread Giuseppe Bilotta
Source: transmission-daemon
Version: 2.82-1.1
Severity: important

I often get random segmentation faults in libcurl-gnutls.so.4, but only
if

"speed-limit-down-enabled": true

in the configuration file. (Could not reproduce with speed limiting set
to false).

When speed limiting is enabled, segmentation faults are rather frequent,
as shown by this grep in my dmesg for a span of 12 hours:

[Tue Mar  4 09:16:41 2014] transmission-da[8914]: segfault at 1e4 ip 
7fc7a92d sp 7fc761a6fc00 error 4 in 
libcurl-gnutls.so.4.3.0[7fc766656000+66000]
[Tue Mar  4 09:17:39 2014] transmission-da[12169]: segfault at 1e4 ip 
7fb3a740692d sp 7fb3a280bc00 error 4 in 
libcurl-gnutls.so.4.3.0[7fb3a73f2000+66000]
[Tue Mar  4 13:12:38 2014] transmission-da[19725]: segfault at 1e4 ip 
7f0e2bb3292d sp 7f0e26f37c00 error 4 in 
libcurl-gnutls.so.4.3.0[7f0e2bb1e000+66000]
[Tue Mar  4 13:24:20 2014] traps: transmission-da[22263] general protection 
ip:7f51f6bd4426 sp:7f51f1fc0c20 error:0 in 
libcurl-gnutls.so.4.3.0[7f51f6ba7000+66000]
[Tue Mar  4 13:26:24 2014] transmission-da[22631]: segfault at 1e4 ip 
7fd88658692d sp 7fd88198bc00 error 4 in 
libcurl-gnutls.so.4.3.0[7fd886572000+66000]
[Tue Mar  4 13:28:19 2014] transmission-da[23927]: segfault at 747381 ip 
7fb54d8a29de sp 7fb548c8cc00 error 4 in 
libcurl-gnutls.so.4.3.0[7fb54d873000+66000]
[Tue Mar  4 13:56:03 2014] transmission-da[24932]: segfault at 1e4 ip 
7f94e22ed92d sp 7f94dd6f2c00 error 4 in 
libcurl-gnutls.so.4.3.0[7f94e22d9000+66000]
[Tue Mar  4 16:26:25 2014] transmission-da[32144]: segfault at 1e4 ip 
7fbae50ef92d sp 7fbadbffec00 error 4 in 
libcurl-gnutls.so.4.3.0[7fbae50db000+66000]
[Tue Mar  4 16:42:53 2014] transmission-da[3004]: segfault at 0 ip 
7f88969172fe sp 7f8891d00bd0 error 4 in 
libcurl-gnutls.so.4.3.0[7f88968e7000+66000]
[Tue Mar  4 16:43:41 2014] transmission-da[3268]: segfault at 18 ip 
7f5f541b3a30 sp 7f5f4f59dbc8 error 4 in 
libcurl-gnutls.so.4.3.0[7f5f54184000+66000]
[Tue Mar  4 16:45:39 2014] transmission-da[3785]: segfault at cbb1 ip 
7f3dd1452c83 sp 7f3dcc83bc20 error 4 in 
libcurl-gnutls.so.4.3.0[7f3dd1422000+66000]
[Tue Mar  4 18:18:35 2014] transmission-da[1053]: segfault at 1e4 ip 
7f53d015e92d sp 7f53cb563c00 error 4 in 
libcurl-gnutls.so.4.3.0[7f53d014a000+66000]

Hooking up gdb before a segfault manages to produce the following backtrace:

#0  0x7fe82c848c83 in curl_multi_fdset () from 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
#1  0x7fe82d521db1 in tr_webThreadFunc (vsession=0x7fe82dea7270) at 
web.c:472
#2  0x7fe82d50972a in ThreadFunc (_t=0x7fe8273cd430) at platform.c:108
#3  0x7fe82bdf5062 in start_thread (arg=0x7fe8237fe700) at 
pthread_create.c:312
#4  0x7fe82bb29a3d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

#0  0x7fe82c848c83 in curl_multi_fdset () from 
/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
No symbol table info available.
#1  0x7fe82d521db1 in tr_webThreadFunc (vsession=0x7fe82dea7270) at 
web.c:472
r_fd_set = {__fds_bits = {4503599627632640, 0 }}
max_fd = 0
t = {tv_sec = 0, tv_usec = 0}
w_fd_set = {__fds_bits = {3605150193407754240, 0 }}
c_fd_set = {__fds_bits = {0 }}
msec = 1
unused = 0
msg = 
mcode = 
str = 
multi = 0x7fe8140460d0
web = 0x7fe814045e70
taskCount = 
task = 
session = 0x7fe82dea7270
#2  0x7fe82d50972a in ThreadFunc (_t=0x7fe8273cd430) at platform.c:108
t = 0x7fe8273cd430
#3  0x7fe82bdf5062 in start_thread (arg=0x7fe8237fe700) at 
pthread_create.c:312
__res = 
pd = 0x7fe8237fe700
now = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140635004724992, 
-2704228457315761955, 0, 140635169341536, 0, 
140635004724992, 2713665564520284381, 2713683985735287005}, 
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
  0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 
pagesize_m1 = 
sp = 
freesize = 
__PRETTY_FUNCTION__ = "start_thread"
#4  0x7fe82bb29a3d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

and info thread gives me

  Id   Target Id Frame 
  13   Thread 0x7fe828e39700 (LWP 29618) "transmission-da" __strcmp_ssse3 () at 
../sysdeps/x86_64/multiarch/../strcmp.S:271
  12   Thread 0x7fe823fff700 (LWP 29622) "transmission-da" 0x7fe82bdfc13d 
in nanosleep ()
at ../sysdeps/unix/syscall-template.S:81
* 11   Thread 0x7fe8237fe700 (LWP 29669) "transmission-da" 0x7fe82c848c83 
in curl_multi_fdset ()
   from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
  5Thread 0x7fe7cb7fe700 (LWP 29696) "transmission-da" 0x7fe82bb1e72d 
in poll ()
at ../sysdeps/unix/syscall-template.S:81
  4Thread 0x7fe7caffd700 (LWP 29697) "transmission-da" 0x7fe82bb1e72d 
in p