Comment 24 for bug 906922

Revision history for this message
Loïc Minier (lool) wrote :

In my case, I'm using qemu-arm-static from precise against an unstable Debian armel chroot and that used to work fine but now I get:
bash: xmalloc: ../bash/variables.c:1969: cannot allocate 28 bytes (24576 bytes allocated)
when starting bash; if I run "sh" (which is dash) I don't have the problem.

From sh, I can reproduce the issue:
# bash
bash: xmalloc: ../bash/variables.c:1969: cannot allocate 28 bytes (24576 bytes allocated)
# QEMU_RESERVED_VA=0 bash
(unstable-armel)root@bee:~# exit
# QEMU_RESERVED_VA=0xf7000000 bash
bash: xmalloc: ../bash/variables.c:2159: cannot allocate 26 bytes (24576 bytes allocated)