[Aptitude-devel] Bug#881422: aptitude changelog hangs waiting on futex

Dominique Brazziel dbrazziel at snet.net
Sat Nov 11 15:04:58 UTC 2017

Package: aptitude
Version: 0.8.9-1
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   aptitude changelog [ package name ]
   * What exactly did you do (or not do) that was effective (or
   * What was the outcome of this action?
   Command hangs, no data download or extracted that I could see
   * What outcome did you expect instead?
   Changelog shown

*** End of the template - remove these template lines ***

strace attached to the hung aptitude process shows:

strace -p 31494
strace: Process 31494 attached
futex(0x860d18, FUTEX_WAIT_PRIVATE, 3, NULL

Workaround is to run 'apt-get changelog [ package name ], which works fine
and shows the complete changelog in PAGER (less in my case).

-- Package-specific info:
Terminal: xterm-256color
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.9
Compiler: g++ 7.1.0
Compiled against:
  apt version 5.0.2
  NCurses version 6.0
  libsigc++ version: 2.10.0
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20170902
  cwidget version: 0.5.17
  Apt version: 5.0.2

aptitude linkage:
	linux-gate.so.1 (0xb7f87000)
	libapt-pkg.so.5.0 => /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0 (0xb7977000)
	libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb7941000)
	libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb791d000)
	libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xb7915000)
	libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xb7808000)
	libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb76ec000)
	libboost_iostreams.so.1.62.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.62.0 (0xb76d4000)
	libboost_filesystem.so.1.62.0 => /usr/lib/i386-linux-gnu/libboost_filesystem.so.1.62.0 (0xb76b9000)
	libboost_system.so.1.62.0 => /usr/lib/i386-linux-gnu/libboost_system.so.1.62.0 (0xb76b2000)
	libxapian.so.30 => /usr/lib/i386-linux-gnu/sse2/libxapian.so.30 (0xb748f000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7472000)
	libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb72f6000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb72a1000)
	libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7284000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb70cd000)
	libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb70b5000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb709a000)
	libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb7088000)
	liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb705c000)
	liblz4.so.1 => /usr/lib/i386-linux-gnu/liblz4.so.1 (0xb7047000)
	libudev.so.1 => /lib/i386-linux-gnu/libudev.so.1 (0xb7027000)
	/lib/ld-linux.so.2 (0xb7f89000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7022000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb7019000)
	libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb7013000)

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.13.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.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.8.9-1
ii  libapt-pkg5.0              1.6~alpha4
ii  libboost-filesystem1.62.0  1.62.0+dfsg-4+b2
ii  libboost-iostreams1.62.0   1.62.0+dfsg-4+b2
ii  libboost-system1.62.0      1.62.0+dfsg-4+b2
ii  libc6                      2.24-17
ii  libcwidget3v5              0.5.17-6
ii  libgcc1                    1:7.2.0-12
ii  libncursesw5               6.0+20170902-1
ii  libsigc++-2.0-0v5          2.10.0-1
ii  libsqlite3-0               3.21.0-1
ii  libstdc++6                 7.2.0-12
ii  libtinfo5                  6.0+20170902-1
ii  libxapian30                1.4.5-1

Versions of packages aptitude recommends:
ii  libparse-debianchangelog-perl  1.2.0-12
ii  sensible-utils                 0.0.10

Versions of packages aptitude suggests:
pn  apt-xapian-index                <none>
pn  aptitude-doc-en | aptitude-doc  <none>
pn  debtags                         <none>
ii  tasksel                         3.42

-- no debconf information

More information about the Aptitude-devel mailing list