Getting "qemu: uncaught target signal 11 (Segmentation fault)" when the installing "libc-bin" which "wget" depends on.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
the QEMU release version where the bug was found.
apt list --installed | grep qemu
qemu-user-
The installing "libc-bin" which "wget" depends on crashes as below when we execute docker image of Debian GNU/Linux bullseye for ARM64 on Ubuntu 20.04 for AMD64.
This problem also occurs on CI(GitHub Actions)(https:/
Probably, The cause of this crash is https:/
This bug has already been fixed in qemu-user-static pacakge for Ubuntu 20.10.
However, this fix is not included in qemu-user-static pacakge for Ubuntu 20.04.
Currently, GitHub Actions does not support Ubuntu 20.10.
Therefore, this problem is still happening in CI.
Would it be possible for you to backport this fix into Ubuntu 20.04?
How to reproduce:
sudo apt install -y qemu-user-static docker.io
sudo docker run --rm arm64v8/
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 8311 kB in 4s (2001 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
ca-certificates libpsl5 openssl publicsuffix
The following NEW packages will be installed:
ca-certificates libpsl5 openssl publicsuffix wget
0 upgraded, 5 newly installed, 0 to remove and 2 not upgraded.
Need to get 2111 kB of archives.
After this operation, 5844 kB of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
debconf: delaying package configuration, since apt-utils is not installed
Fetched 2111 kB in 0s (12.9 MB/s)
Selecting previously unselected package openssl.
(Reading database ... 6640 files and directories currently installed.)
Preparing to unpack .../openssl_
Unpacking openssl (1.1.1k-1) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../ca-
Unpacking ca-certificates (20210119) ...
Selecting previously unselected package libpsl5:arm64.
Preparing to unpack .../libpsl5_
Unpacking libpsl5:arm64 (0.21.0-1.2) ...
Selecting previously unselected package wget.
Preparing to unpack .../archives/
Unpacking wget (1.21-1) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../publicsuffi
Unpacking publicsuffix (20210108.1309-1) ...
Setting up libpsl5:arm64 (0.21.0-1.2) ...
Setting up wget (1.21-1) ...
Setting up openssl (1.1.1k-1) ...
Setting up publicsuffix (20210108.1309-1) ...
Setting up ca-certificates (20210119) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
129 added, 0 removed; done.
Processing triggers for libc-bin (2.31-11) ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 139
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-
done.
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is the bug tracker for upstream QEMU. If you'd like to request Ubuntu to backport some fix into their packages of QEMU, you'll need to file it against the Ubuntu QEMU package bug tracker. Since those bugs are also tracked in Launchpad, I'll try re-componenting this bug report to the Ubuntu QEMU package...