From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S22K0-0000Mj-Ms for qemu-devel@nongnu.org; Mon, 27 Feb 2012 10:17:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S22Jy-0006Mq-V2 for qemu-devel@nongnu.org; Mon, 27 Feb 2012 10:17:04 -0500 Received: from cantor2.suse.de ([195.135.220.15]:51352 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S22Jy-0006Mf-P0 for qemu-devel@nongnu.org; Mon, 27 Feb 2012 10:17:02 -0500 Message-ID: <4F4B9E6B.2020405@suse.de> Date: Mon, 27 Feb 2012 16:16:59 +0100 From: "Bernhard M. Wiedemann" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] ARM brk bug List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, riku.voipio@iki.fi, paul@codesourcery.com, Alexander Graf -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I found that running a debian arm5 bash with qemu runs into varying problems with -R but works without. Also works fine on both armv5 and armv7hf hardware. This happened with both master and 1.0 builds: curl www.zq1.de/~bernhard/temp/debian-bash-bug-nss-minimal.tar.gz |\ tar xz cd debian-bash-bug-nss-minimal path/to/qemu/arm-linux-user/qemu-arm -R 500M -L . bin/bash qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault with chroot and our openSUSE qemu-arm-binfmt (which only does some argv[0] magic) I saw it working after rm lib/libnss* but otherwise it failed with messages like bash: xmalloc: ../bash/variables.c:1971: cannot allocate 2 bytes (8192 bytes allocated) Ciao Bernhard M. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9LnmsACgkQSTYLOx37oWT6FgCdEgIriKRVmwkaMQU6jBGN/ABP s/EAn1cZj4KytK9iC3i6EqqfIXFyEUVX =DCV8 -----END PGP SIGNATURE-----