qemu-aarch64-static docker arm64v8/openjdk coredump
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I am using qemu-aarch64-static to run the arm64v8/openjdk official image on my x86 machine. Using QEMU master, I immediately hit a bug which hangs the container. With Ubuntu default version qemu-aarch64 version 2.5.0 (Debian 1:2.5+dfsg-
To reproduce (and get to the core dump):
$ /tmp/tmptgyg3nv
qemu-aarch64 version 2.11.91 (v2.12.
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
$ docker run -it -v /tmp/tmptgyg3nv
root@bf75cf45d3
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
<...snip...>
@<filename> Read options and filenames from file
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
...TERMINAL HANGS...
To get the core dump, In a separate terminal:
# snapshot the file system of the hung image
$ docker commit $(docker ps -aqf "name=latest_qemu") qemu_coredump
# connect with known working qemu
$ docker run -t -v /usr/bin/
$$ ls -lat
total 10608
<snip>
-rw-r--r-- 1 root root 10792960 Mar 29 18:02 qemu_bash_
drwxrwxrwt 5 root root 4096 Mar 29 18:02 tmp
<snip>
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Could you provide a binary that we can use to reproduce, please? (preferably a setup that doesn't require me to figure out how to install and use docker...)