Package: bash Source: bash (4.3-14) Version: 4.3-14+b1 This is a crummy bug report. I've been having some trouble with Bash in some QEMU/Chroot environments. I'm guessing the Bash maintainers don't know about the issues.
I use quite a few Debian Ports (https://www.debian.org/ports/) because Debian carries our package, and our package maintainer, László Böszörményi, manages to find issues despite our sincerest efforts. **************************************** First issue: in a Sparc64 QEMU/Chroot guest, the lightweight VM fails to start. The corresponding Debian bug report is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828041: # chroot debian-sparc64 *** longjmp causes uninitialized stack frame ***: /bin/bash terminated Unhandled trap: 0x34 pc: 0000000000163860 npc: 0000000000163864 %g0-3: 0000000000000000 0000000000008004 0000000000000000 0000000000000000 %g4-7: 0000000000000002 0000000000000008 4765744346410000 0000004000ee2700 ... %f48: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 %f56: 0000000000000001 0000000000000000 0000000000000000 0000000000000000 pstate: 00000092 ccr: 44 (icc: -Z-- xcc: -Z--) asi: f0 tl: 0 pil: 0 cansave: 5 canrestore: 1 otherwin: 0 wstate: 0 cleanwin: 7 cwp: 2 fsr: 0000000000000000 y: 0000000000000000 fprs: 0000000000000004 **************************************** Second issue: in a S/390x QEMU/Chroot guest, bash crashes when attempting to run Emacs self tests (Emacs 24.5 built from sources): # make ... make[2]: Leaving directory '/root/emacs-24.5/lisp' if test "no" = "yes"; then \ rm -f bootstrap-emacs; \ ln temacs bootstrap-emacs; \ else \ ./temacs --batch --load loadup bootstrap || exit 1; \ test "X" = X || -zex emacs; \ mv -f emacs bootstrap-emacs; \ fi Loading loadup.el (source)... Using load-path (/root/emacs-24.5/lisp /root/emacs-24.5/lisp/emacs-lisp /root/emacs-24.5/lisp/language /root/emacs-24.5/lisp/international /root/emacs-24.5/lisp/textmodes /root/emacs-24.5/lisp/vc) Loading emacs-lisp/byte-run... /bin/bash: line 7: 17256 Segmentation fault ./temacs --batch --load loadup bootstrap Makefile:815: recipe for target 'bootstrap-emacs' failed make[1]: *** [bootstrap-emacs] Error 1 make[1]: Leaving directory '/root/emacs-24.5/src' Makefile:387: recipe for target 'src' failed make: *** [src] Error 2 **************************************** The following was taken from the S/390x machine: # /bin/bash --version GNU bash, version 4.3.46(1)-release (s390x-ibm-linux-gnu) Copyright (C) 2013 Free Software Foundation, Inc. # apt-cache show bash Package: bash Essential: yes Status: install ok installed Priority: required Section: shells Installed-Size: 5283 Maintainer: Matthias Klose <d...@debian.org> Architecture: s390x Multi-Arch: foreign Version: 4.3-15 Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1) Depends: base-files (>= 2.1.12), debianutils (>= 2.15) Pre-Depends: dash (>= 0.5.5.1-2.2), libc6 (>= 2.15), libncurses5 (>= 6), libtinfo5 (>= 6) Recommends: bash-completion (>= 20060301-0) Suggests: bash-doc Conflicts: bash-completion (<< 20060301-0) Conffiles: /etc/bash.bashrc 87b895cef45b8090d628a1d9a0f4bfb8 /etc/skel/.bash_logout 22bfb8c1dd94b5f3813a2b25da67463f /etc/skel/.bashrc ee35a240758f374832e809ae0ea4883a /etc/skel/.profile 905f748ceda81747600e9a593b42f3e4 Description-en: GNU Bourne Again SHell Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh). . Bash is ultimately intended to be a conformant implementation of the IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2). . The Programmable Completion Code, by Ian Macdonald, is now found in the bash-completion package. Description-md5: 3522aa7b4374048d6450e348a5bb45d9 Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html Package: bash Source: bash (4.3-14) Version: 4.3-14+b1 Essential: yes Installed-Size: 5280 Maintainer: Matthias Klose <d...@debian.org> Architecture: s390x Replaces: bash-completion (<< 20060301-0), bash-doc (<= 2.05-1) Depends: base-files (>= 2.1.12), debianutils (>= 2.15) Pre-Depends: dash (>= 0.5.5.1-2.2), libc6 (>= 2.15), libncurses5 (>= 6), libtinfo5 (>= 6) Recommends: bash-completion (>= 20060301-0) Suggests: bash-doc Conflicts: bash-completion (<< 20060301-0) Description-en: GNU Bourne Again SHell Bash is an sh-compatible command language interpreter that executes commands read from the standard input or from a file. Bash also incorporates useful features from the Korn and C shells (ksh and csh). . Bash is ultimately intended to be a conformant implementation of the IEEE POSIX Shell and Tools specification (IEEE Working Group 1003.2). . The Programmable Completion Code, by Ian Macdonald, is now found in the bash-completion package. Description-md5: 3522aa7b4374048d6450e348a5bb45d9 Multi-Arch: foreign Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html Tag: implemented-in::c, interface::shell, role::program, scope::utility, suite::gnu, uitoolkit::ncurses Section: shells Priority: required Filename: pool/main/b/bash/bash_4.3-14+b1_s390x.deb Size: 1159686 MD5sum: f64ee6b60943c03b5a8ac0e4ad73ba80 SHA1: 7cdc6c3ee9a27d5c5f60e365bdd8ab2eb206d702 SHA256: 9dcad1c89fb689be06fb69fd4801e2056aa0febc5c743eb6afb6a2c7a8d71291