[Aptitude-devel] Bug#800408: aptitude: aptitude segfaulted when pressing "q" at the end of the downloads inside the TUI

Axel Beckert abe at debian.org
Mon Sep 28 22:15:56 UTC 2015


Package: aptitude
Version: 0.7.2-1

"Screenshot":

[… many downloads …]
http://ftp.ch.debian.org/debian/ sid/main pbuilder all 0.217 [Downloaded]
[… many blank lines …]
Total Progress:  [ 100% ] (stalled)                                                                                                                           Segmentation fault (core dumped)
[… shell prompt …]

Backtrace:

Reading symbols from /usr/bin/aptitude-curses...Reading symbols from /usr/lib/debug/.build-id/f5/adcb5cfe1d3c77739460bfb8a457d156cee0b5.debug...done.
done.
Illegal process-id: 8088-0-0-11-1443478081-c-cactus2--usr-bin-aptitude-curses.core.

warning: core file may not match specified executable file.
[New LWP 8089]
[New LWP 8091]
[New LWP 12085]
[New LWP 8088]
[New LWP 8090]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `aptitude -u'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fe03ee78288 in _xend () at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
33      ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: No such file or directory.
[Current thread is 1 (Thread 0x7fe03c897700 (LWP 8089))]
(gdb) bt
#0  0x00007fe03ee78288 in _xend () at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:33
#1  __lll_unlock_elision (lock=0x7fe03fc6a3c0 <cwidget::toplevel::input_thread::input_event_mutex>, private=0)
    at ../nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c:29
#2  0x00007fe03f9c2bda in cwidget::toplevel::input_thread::operator()() () from /usr/lib/x86_64-linux-gnu/libcwidget.so.3
#3  0x00007fe03f9c2c01 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  0x00007fe03ee6f0a4 in start_thread (arg=0x7fe03c897700) at pthread_create.c:309
#5  0x00007fe03e31206d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb) 

It seems to only happen when "q" is being pressed _after_ all downloads
have been made, but before aptitude gives the terminal to dpkg.

-- 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/20150929/8e4a9447/attachment.ksh>
-------------- next part --------------

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

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

Versions of packages aptitude depends on:
ii  aptitude-common           0.7.2-1
ii  libapt-pkg4.16            1.0.10.2
ii  libboost-iostreams1.58.0  1.58.0+dfsg-3+b1
ii  libc6                     2.19-22
ii  libcwidget3v5             0.5.17-4
ii  libgcc1                   1:5.2.1-17
ii  libncursesw5              6.0+20150810-1
ii  libsigc++-2.0-0v5         2.6.1-1
ii  libsqlite3-0              3.8.11.1-1
ii  libstdc++6                5.2.1-17
ii  libtinfo5                 6.0+20150810-1
ii  libxapian22v5             1.2.21-1.2

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc]  0.7.2-1
ii  libparse-debianchangelog-perl   1.2.0-8
ii  sensible-utils                  0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index  0.47
ii  debtags           2.0.1
ii  tasksel           3.33

-- no debconf information


More information about the Aptitude-devel mailing list