qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] ARM brk bug
@ 2012-02-27 15:16 Bernhard M. Wiedemann
  2012-02-27 15:32 ` Peter Maydell
  2012-03-02 17:49 ` Peter Maydell
  0 siblings, 2 replies; 11+ messages in thread
From: Bernhard M. Wiedemann @ 2012-02-27 15:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: peter.maydell, riku.voipio, paul, 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-----

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-03-03 22:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 15:16 [Qemu-devel] ARM brk bug Bernhard M. Wiedemann
2012-02-27 15:32 ` Peter Maydell
2012-02-27 17:03   ` Bernhard M. Wiedemann
2012-02-27 17:04     ` Peter Maydell
2012-03-02 17:49 ` Peter Maydell
2012-03-03  1:42   ` Alexander Graf
2012-03-03 21:02   ` Alexander Graf
2012-03-03 21:05     ` Alexander Graf
2012-03-03 21:17     ` Paul Brook
2012-03-03 22:08       ` Andreas Schwab
2012-03-03 21:23     ` malc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).