[Aptitude-devel] Bug#865346: aptitude segfaults in strlen()
Juergen Kosel
juergen.kosel at gmx.de
Tue Jun 20 16:11:26 UTC 2017
Package: aptitude
Version: 0.8.7-1
Severity: important
Dear Maintainer,
aptitude crashes very shortly after start.
This is the gdb output:
Thread 1 "aptitude" received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x00007ffff5567d78 in _IO_vfprintf_internal (s=s at entry=0x7fffffffbe80, format=<optimized out>,
format at entry=0x5555558ae600 "Package %s had been marked to reinstall, but the file for the current installed version %s is not available", ap=ap at entry=0x7fffffffc0b0) at vfprintf.c:1637
#2 0x00007ffff5615ae6 in ___vsnprintf_chk (
s=0x555555cc23b0 "Package vdr-plugin-xineliboutput had been marked to reinstall, but the file for the current installed version ", maxlen=<optimized out>, flags=1, slen=<optimized out>,
format=0x5555558ae600 "Package %s had been marked to reinstall, but the file for the current installed version %s is not available", args=0x7fffffffc0b0) at vsnprintf_chk.c:63
#3 0x00007ffff7a6d226 in GlobalError::Insert(GlobalError::MsgType, char const*, __va_list_tag (&) [1], unsigned long&) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
#4 0x00007ffff7a6dd4d in GlobalError::Warning(char const*, ...) () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
#5 0x00005555557295ee in ?? ()
#6 0x000055555572c725 in ?? ()
#7 0x0000555555739c4a in ?? ()
#8 0x0000555555779683 in ?? ()
#9 0x0000555555698684 in ?? ()
#10 0x00005555555ffc9c in ?? ()
#11 0x0000555555604363 in ?? ()
#12 0x0000555555695a0a in ?? ()
#13 0x00007ffff71176b5 in cwidget::toplevel::mainloop(int) () from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#14 0x0000555555691bca in ?? ()
#15 0x00005555555b463d in ?? ()
#16 0x00007ffff553f2b1 in __libc_start_main (main=0x5555555b2f30, argc=2, argv=0x7fffffffe198,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe188)
at ../csu/libc-start.c:291
#17 0x00005555555bdafa in ?? ()
(gdb)
-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.8.7
Compiler: g++ 6.3.0 20170406
Compiled against:
apt version 5.0.1
NCurses version 6.0
libsigc++ version: 2.10.0
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20161126
cwidget version: 0.5.17
Apt version: 5.0.1
aptitude linkage:
linux-vdso.so.1 (0x00007ffe9bd80000)
libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007fa8a33f2000)
libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fa8a31c2000)
libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa8a2f98000)
libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007fa8a2d91000)
libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007fa8a2a94000)
libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fa8a278a000)
libboost_iostreams.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.62.0 (0x00007fa8a2572000)
libboost_filesystem.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.62.0 (0x00007fa8a2359000)
libboost_system.so.1.62.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0 (0x00007fa8a2155000)
libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007fa8a1d41000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa8a1b24000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa8a17a0000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa8a149c000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa8a1285000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa8a0ee6000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa8a0ce2000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fa8a0acb000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa8a08af000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fa8a069f000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fa8a0479000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fa8a0267000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa8a005f000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fa89fe58000)
/lib64/ld-linux-x86-64.so.2 (0x000055f9b85c9000)
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15), LANGUAGE=de_DE:de:en_GB:en (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages aptitude depends on:
ii aptitude-common 0.8.7-1
ii libapt-pkg5.0 1.4.6
ii libboost-filesystem1.62.0 1.62.0+dfsg-4
ii libboost-iostreams1.62.0 1.62.0+dfsg-4
ii libboost-system1.62.0 1.62.0+dfsg-4
ii libc6 2.24-11+deb9u1
ii libcwidget3v5 0.5.17-4+b1
ii libgcc1 1:6.3.0-18
ii libncursesw5 6.0+20161126-1
ii libsigc++-2.0-0v5 2.10.0-1
ii libsqlite3-0 3.16.2-5
ii libstdc++6 6.3.0-18
ii libtinfo5 6.0+20161126-1
ii libxapian30 1.4.3-2
Versions of packages aptitude recommends:
ii libparse-debianchangelog-perl 1.2.0-12
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
ii apt-xapian-index 0.49
ii aptitude-doc-en [aptitude-doc] 0.8.7-1
pn debtags <none>
ii tasksel 3.39
-- no debconf information
More information about the Aptitude-devel
mailing list