[Aptitude-devel] Bug#839792: aptitude: Segfaults when typing (into aptitude) during or maybe shortly before package download

Axel Beckert abe at debian.org
Tue Oct 4 23:35:14 UTC 2016


Package: aptitude
Version: 0.8.3-1+b1

Hi,

I can reproducible make aptitude crash with a segmentation fault if I
press "b" during (or maybe shortly before) the package download. I also
tried a few other keys like e.g. "n" or "/". Also crashes. Even pressing
"q" crashes.

Two backtraces, both caused by pressing "b":

Core was generated by `aptitude -u'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fb7f9d97720 in _xend () at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
33      ../sysdeps/unix/sysv/linux/x86/elision-unlock.c: No such file or directory.
[Current thread is 1 (Thread 0x7fb7f7517700 (LWP 14883))]
(gdb) bt
#0  0x00007fb7f9d97720 in _xend () at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
#1  __lll_unlock_elision (lock=0x7fb7fafe2360 <cwidget::toplevel::input_thread::input_event_mutex>, private=0)
    at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
#2  0x00007fb7fad3cb9a in cwidget::toplevel::input_thread::operator()() () from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#3  0x00007fb7fad3cbc1 in void* cwidget::threads::thread::bootstrap<cwidget::threads::bootstrap_proxy<cwidget::toplevel::input_thread> >(void*) ()
   from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#4  0x00007fb7f9d8c464 in start_thread (arg=0x7fb7f7517700) at pthread_create.c:333
#5  0x00007fb7f923397f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
(gdb)

Core was generated by `aptitude'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff988859720 in _xend () at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
33      ../sysdeps/unix/sysv/linux/x86/elision-unlock.c: No such file or directory.
[Current thread is 1 (Thread 0x7ff985fd9700 (LWP 17166))]
(gdb) bt
#0  0x00007ff988859720 in _xend () at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
#1  __lll_unlock_elision (lock=0x7ff989aa4360 <cwidget::toplevel::input_thread::input_event_mutex>, private=0)
    at ../sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
#2  0x00007ff9897feb9a in cwidget::toplevel::input_thread::operator()() () from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#3  0x00007ff9897febc1 in void* cwidget::threads::thread::bootstrap<cwidget::threads::bootstrap_proxy<cwidget::toplevel::input_thread> >(void*) ()
   from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#4  0x00007ff98884e464 in start_thread (arg=0x7ff985fd9700) at pthread_create.c:333
#5  0x00007ff987cf597f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
(gdb) 


-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20161005/da0af891/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages aptitude depends on:
ii  aptitude-common            0.8.3-1
ii  libapt-pkg5.0              1.3.1
ii  libboost-filesystem1.61.0  1.61.0+dfsg-2.1+b1
ii  libboost-iostreams1.61.0   1.61.0+dfsg-2.1+b1
ii  libboost-system1.61.0      1.61.0+dfsg-2.1+b1
ii  libc6                      2.24-3
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:6.2.0-5
ii  libncursesw5               6.0+20160917-1
ii  libsigc++-2.0-0v5          2.10.0-1
ii  libsqlite3-0               3.14.2-1
ii  libstdc++6                 6.2.0-5
ii  libtinfo5                  6.0+20160917-1
ii  libxapian30                1.4.0-2

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-10
ii  sensible-utils                 0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.48
ii  aptitude-doc-en [aptitude-doc]  0.8.3-1
ii  debtags                         2.1.2
pn  tasksel                         <none>

-- no debconf information


More information about the Aptitude-devel mailing list