Public bug reported:
Attempts to launch bash in an arm64 qemu-user environment in bionic
results in the following error message:
bash: xmalloc: .././shell.c:1709: cannot allocate 10 bytes (0 bytes
allocated)
This causes any qemu/chroot based bootstrapping to fail as many packages
invoke bash dur
Could we over-allocate the data segment by
QEMU_DATA_SIZE/getrlimit(RLIMIT_DATA)/128 MB depending on what's set -
similar to how the stack size is managed?
My current workaround for aarch64 on x86-64 is to mmap a dynamic main
executable in some far-away part of the address space but I'm not sure
h