[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

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Wed Jan 27 16:41:43 UTC 2016


Control: tags -1 + moreinfo


Hi both,

2014-04-05 18:43 Axel Beckert:
>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.


2014-11-10 20:14 Hendrik Sattler:
>Package: aptitude
>Version: 0.6.11-1
>Followup-For: Bug #744090
>
>Dear Maintainer,
>
>Sadly, I cannot remount sysfs in a vserver instance, so the work-around in the
>initial report do not work.
>
>This is a very annoying problem and usually happens when scrolling through the list of update items.


Did you experience this problem lately, esp. with more recent versions?

If so, have you found a way to reproduce it?

I am a bit baffled about this because /sys shouldn't affect the
behaviour of stdin.

-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list