qemu s390x on focal - applications breaking
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Expired
|
Undecided
|
Unassigned | ||
| Ubuntu on IBM z Systems |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Running qemu-system-s390x (1:4.0+
sudo apt-get update && sudo apt-get dist-upgrade
...
...
Unpacking debianutils (4.9) over (4.8.6.3) ...
Setting up debianutils (4.9) ...
Use of uninitialized value $ARGV[0] in string ne at /usr/sbin/
(Reading database ... 83640 files and directories currently installed.)
Preparing to unpack .../bash_
Unpacking bash (5.0-5ubuntu1) over (5.0-4ubuntu1) ...
Setting up bash (5.0-5ubuntu1) ...
[12124.788618] User process fault: interruption code 0007 ilc:3 in bash[2aa3d78000
dpkg: error processing package bash (--configure):
installed bash package post-installation script subprocess was killed by signal (Floating point exception), core du
mped
Errors were encountered while processing:
bash
E: Sub-process /usr/bin/dpkg returned an error code (1)
And now bash is completely broken:
cking@eoan-s390x:~$ bash
[12676.204389] User process fault: interruption code 0007 ilc:3 in bash[2aa1478000
Floating point exception (core dumped)
The upgrade works OK on a s390x, so I'm assuming it's something to do with the qemu emulation.
| tags: | added: s390x |
| Changed in ubuntu-z-systems: | |
| status: | New → Incomplete |
| tags: | added: qemu-20.04 |

I've also seen in the dmesg log:
[ 287.624414] User process fault: interruption code 0007 ilc:3 in libstdc+ +.so.6. 0.28[3ffb3e0000 0+21d000] +.so.6. 0.28[3ff9008000 0+21d000]
[ 288.991706] User process fault: interruption code 0007 ilc:3 in libstdc+