qemu-aarch64-static: java dies with SIGILL

Bug #1289527 reported by dann frazier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned
qemu (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

qemu-aarch64-static from qemu-user-static 1.7.0+dfsg-3ubuntu5
(I haven't tried reproducing w/ upstream git yet)

In an arm64 trusty chroot on an amd64 system:

dannf@server-75e0210e-4f99-4c86-9277-3201ab7b6afd:~$ java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGILL (0x4) at pc=0x00000040098e8070, pid=15034, tid=274902467056
#
# JRE version: (7.0_51-b31) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.0-b59 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# v ~BufferBlob::flush_icache_stub
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/dannf/hs_err_pid15034.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted (core dumped)
dannf@server-75e0210e-4f99-4c86-9277-3201ab7b6afd:~$

Changed in qemu (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Alex Bennée (ajbennee) wrote :

For SIGILL's it's useful to have the qemu log with -d unimp output.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Hi Dann, would you be able to provide the information requested in comment #1?

Changed in qemu (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
dann frazier (dannf) wrote :

Using 2.1+dfsg-2ubuntu2 from utopic within a trusty ubuntu core:

# /usr/bin/qemu-aarch64-static -d unimp /usr/bin/java
host mmap_min_addr=0x10000
Reserved 0x12000 bytes of guest address space
Relocating guest address space from 0x0000000000400000 to 0x400000
guest_base 0x0
start end size prot
0000000000400000-0000000000401000 0000000000001000 r-x
0000000000410000-0000000000412000 0000000000002000 rw-
0000004000000000-0000004000001000 0000000000001000 ---
0000004000001000-0000004000801000 0000000000800000 rw-
0000004000801000-000000400081c000 000000000001b000 r-x
000000400081c000-000000400082c000 0000000000010000 ---
000000400082c000-000000400082f000 0000000000003000 rw-
start_brk 0x0000000000000000
end_code 0x0000000000400834
start_code 0x0000000000400000
start_data 0x0000000000410db0
end_data 0x0000000000411030
start_stack 0x00000040008007b0
brk 0x0000000000411038
entry 0x0000004000801f80
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)

Revision history for this message
dann frazier (dannf) wrote :

I'm also seeing a SEGV (not a SIGILL) when testing the version of QEMU that shipped in trusty. So, we might just consider this bug fixed and track this segfault issue separately.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Hi Dann,

yeah, thanks - let's mark this fixed and open a new one.

Changed in qemu:
status: New → Fix Released
Changed in qemu (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.