[Aptitude-devel] Bug#744090: aptitude: Crashes occassionally in TUI if /sys is not mounted: Uncaught exception: Unable to read from stdin: No such file or directory
Axel Beckert
abe at debian.org
Sat Apr 5 17:43:21 UTC 2014
Package: aptitude
Version: 0.6.10-1
Severity: normal
Control: found -1 0.6.8.2-1.2
Hi,
To demo the aptitude TUI, I occassionally run it in a fresh chroot
(without my individual settings), usually with "cowbuilder
--login". cowbuilder/pbuilder mounts /proc and /dev/pts, but doesn't
seem to mount /sys.
In such an environment, aptitude crashes occassionally during
interactive usage as follows:
root at nemo2:/# aptitude -u
Uncaught exception: Unable to read from stdin: No such file or directory
root at nemo2:/#
Some more details:
* Does not crash immediately, but within minutes of normal interactive
usage.
* "-u" seems not relevant.
* Not sure what exactly triggers it. Seems to also happen when I don't
touch any keys, but I'm not 100% sure.
* Does not happen if I mount /sys inside the chroot with "mount -t sysfs
none /sys" beforehand.
* Already happenend with 0.6.8.2-1.2 back in November, but I'm not sure
if it crashed with the same error message. IIRC it segfaulted back
then. Didn't have time to investigate back then as it initially
happened during a presentation.
-- 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/20140405/90ec59c8/attachment.ksh>
-------------- next part --------------
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (900, 'testing'), (899, 'testing-proposed-updates'), (600, 'stable'), (500, 'proposed-updates'), (200, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.14-rc7-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii aptitude-common 0.6.10-1
ii libapt-pkg4.12 1.0
ii libboost-iostreams1.54.0 1.54.0-5
ii libc6 2.18-4
ii libcwidget3 0.5.17-1
ii libept1.4.12 1.0.12
ii libgcc1 1:4.8.2-18
ii libncursesw5 5.9+20140118-1
ii libsigc++-2.0-0c2a 2.2.11-3
ii libsqlite3-0 3.8.4.1-1
ii libstdc++6 4.8.2-18
ii libtinfo5 5.9+20140118-1
ii libxapian22 1.2.17-1
ii zlib1g 1:1.2.8.dfsg-1
Versions of packages aptitude recommends:
pn apt-xapian-index <none>
ii aptitude-doc-en [aptitude-doc] 0.6.10-1
ii libparse-debianchangelog-perl 1.2.0-1
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
ii debtags 1.12
ii tasksel 3.20
-- no debconf information
More information about the Aptitude-devel
mailing list