Package: lftp
Version: 4.6.0-1+deb8u1
Severity: important

Dear Maintainer,

After upgrading to Debian jessie, the packaged version of lftp seems to
occasionally crash with segmentation faults or assertion failures.

My use of lftp is invoked by a script and run without a terminal, with the
following sequence of commands passed via lftp -f

get http://url/1/1mb.ts &
get http://url/2/1mb.ts &
get http://url/3/1mb.ts &
(repeated around 15 times with different URLs)
wait all
exit

The URLs are to MPEG TS (HLS) segments which do not last more than a
minute, so I cannot include them here. It is possible that the HLS
segments are being deleted mid-transfer if this aids in reproduction.

Under Debian wheezy, lftp when invoked with the same script never once
segfaulted or otherwise failed.

GDB output:

Program terminated with signal SIGABRT, Aborted.
#0  0x00007f5ee3fac107 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  0x00007f5ee3fac107 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 32713
        selftid = 32713
#1  0x00007f5ee3fad4e8 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x7ffeef59ef88, sa_sigaction 
= 0x7ffeef59ef88}, sa_mask = {__val = {140045529743777, 4922730, 57, 4, 
140732914060560, 47244640260, 4539428, 47244640256, 0, 0, 0, 21474836480, 
140045529743303, 140732914060712,
              140045559533568, 140045529758952}}, sa_flags = 4922738, 
sa_restorer = 0x4bfd20}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f5ee3fa5226 in __assert_fail_base (fmt=0x7f5ee40dbce8 "%s%s%s:%u: 
%s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x4b1d72 
"!node->next && !node->prev", file=file@entry=0x4b1d6a "xlist.h", 
line=line@entry=57,
    function=function@entry=0x4bfd20 "void xlist<T>::add_tail(xlist<T>*) [with 
T = SMTask]") at assert.c:92
        str = 0x1b84cf0 ""
        total = 4096
#3  0x00007f5ee3fa52d2 in __GI___assert_fail (assertion=0x4b1d72 "!node->next 
&& !node->prev", file=0x4b1d6a "xlist.h", line=57, function=0x4bfd20 "void 
xlist<T>::add_tail(xlist<T>*) [with T = SMTask]") at assert.c:101
No locals.
#4  0x0000000000406c4e in ?? ()
No symbol table info available.
#5  0x000000000044bc6b in ?? ()
No symbol table info available.
#6  0x000000000044ca85 in ?? ()
No symbol table info available.
#7  0x000000000040745f in ?? ()
No symbol table info available.
#8  0x00007f5ee3f98b45 in __libc_start_main (main=0x4070e0, argc=3, 
argv=0x7ffeef59cfb8, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=0x7ffeef59cfa8) at libc-start.c:287
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -5202948944221747259, 
4229244, 140732914061232, 0, 0, 5203547853287016389, 5293610223092713413}, 
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x4b0f80, 0x7ffeef59cfb8}, data 
= {prev = 0x0, cleanup = 0x0,
              canceltype = 4919168}}}
        not_first_call = <optimized out>
#9  0x00000000004088a5 in ?? ()


kernel output:

[22926.831617] traps: lftp[13181] general protection ip:44bc4a
sp:7ffe344bb580 error:0 in lftp[400000+f4000]
[45663.956232] lftp[4601]: segfault at a0d312e ip 000000000a0d312e sp
00007ffd28760e98 error 14
[328140.795951] traps: lftp[25217] general protection ip:44bc4a
sp:7ffdb4db7470 error:0 in lftp[400000+f4000]
[470967.846053] lftp[21342]: segfault at 1307de8 ip 0000000001307de8 sp
00007ffcf1d57468 error 15

I was unable to find a debug symbol package to get better debugging
information. If you could advise on how to improve the debug output I
can perform any necessary steps.

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (900, 'stable'), (150, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages lftp depends on:
ii  libc6              2.19-18
ii  libgcc1            1:4.9.2-10
ii  libgnutls-deb0-28  3.3.8-6
ii  libidn11           1.29-1+b2
ii  libreadline6       6.3-8+b3
ii  libstdc++6         4.9.2-10
ii  libtinfo5          5.9+20140913-1+b1
ii  netbase            5.3
ii  zlib1g             1:1.2.8.dfsg-2+b1

lftp recommends no packages.

lftp suggests no packages.

-- no debconf information


-- 
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