This bug was fixed in the package bash - 4.4.18-2ubuntu1

bash (4.4.18-2ubuntu1) bionic; urgency=medium

  * Merge with Debian; remaining changes:
    - skel.bashrc:
      - Run lesspipe.
      - Enable ls aliases.
      - Set options in ll alias to -alF.
      - Define an alert alias.
      - Enabled colored grep aliases.
    - etc.bash.bashrc:
      - Add sudo hint.

bash (4.4.18-2) unstable; urgency=medium

  * Revert the changes from the last upload.
  * Configure the normal build --without-bash-malloc as well.
    for the qemu fix.  Closes: #865599. LP: #1751011.
  * Apply upstream patch 019.

bash (4.4.18-1.1) unstable; urgency=high

  * Non-maintainer upload.
  * Build again with -no-pie as dropping it broke bash when run under
    qemu-user (with the same symptoms as #842037). Closes: #889869
    Re-opens: #865599

 -- Matthias Klose <>  Wed, 04 Apr 2018 20:30:26 +0200

** Changed in: bash (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.

  bash crashes in qemu-user environments (bionic)

Status in bash package in Ubuntu:
  Fix Released
Status in qemu package in Ubuntu:
Status in bash source package in Bionic:
  Fix Released
Status in qemu source package in Bionic:
Status in bash package in Debian:
  Fix Released

Bug description:
  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

  This causes any qemu/chroot based bootstrapping to fail as many
  packages invoke bash during postinst.

  Version: bash_4.4.18-1ubuntu1_arm64
  Release: 18.04 pre-release

  QEMU: 2.8.0

  This appears to have been reported and fixed in the corresponding
  Debian package (

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to