Comment 0 for bug 1254672

Revision history for this message
Ken Sharp (kennybobs) wrote : ps segfaults with qemu-arm-static

Host: Ubuntu Precise AMD64
Guest: Debian Testing armhf

After running a debootstrap for Debian testing/armhf and entering the chroot, simply running "ps" causes a segmentation fault.

$ sudo qemu-debootstrap --arch=armhf testing armhf http://ftp.uk.debian.org/debian/
[...]
$ sudo chroot armhf
# ps
Signal 11 (SEGV) caught by ps (procps-ng version 3.3.4).
/bin/ps:display.c:59: please report this bug

I couldn't find a bug report for procps, which would be unusual if such a bug existed, so I'm assuming the bug is in qemu.

Unfortunately trying to run debootstrap for an Ubuntu variant fails to find the release file.

ps is used a lot, as you can imagine, but specifically it fails when trying to install some packages via "apt-get install" and no attempt is made to recover.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: qemu-user-static 1.0.50-2012.03-0ubuntu2.1
ProcVersionSignature: Ubuntu 3.8.0-33.48~precise1-generic 3.8.13.11
Uname: Linux 3.8.0-33-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Nov 25 10:43:12 2013
Dependencies:

InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: qemu-linaro
UpgradeStatus: No upgrade log present (probably fresh install)