summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_i386/host_missing/accel_TCG/2302
blob: b77301c24b97a8e538279834b9358069e7e297a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
qemu-x86_64 crashes with "Illegal Instruction" on SPECCPU2017 Benchmarks
Description of problem:
I am running qemu-x86_64 with SPEC CPU 2017 benchmarks, and the compiled benchmarks such as Perlbench will crash unexpectedly. I have changed to three other machines to run it and still get crashes on two of them, I don't know what's the problem and want some help.
Steps to reproduce:
1. Compile SPEC CPU 2017 basic Perlbench binary. 
2. Use the above command line to run it.
Additional information:
I have added some debugging flags to qemu-x86_64 to test it. The "-d in_asm" flag gives me the instructions before the crash like this:
```
----------------
IN: Perl_lex_start
0x555555678a79:  48 89 83 a8 00 00 00     movq     %rax, 0xa8(%rbx)
0x555555678a80:  e9 01 ff ff ff           jmp      0x555555678986

----------------
IN: Perl_lex_start
0x555555678986:  48 8b 50 10              movq     0x10(%rax), %rdx
0x55555567898a:  41 83 e4 16              andl     $0x16, %r12d
0x55555567898e:  48 89 93 d0 00 00 00     movq     %rdx, 0xd0(%rbx)
0x555555678995:  48 89 93 c0 00 00 00     movq     %rdx, 0xc0(%rbx)
0x55555567899c:  62                       .byte    0x62

qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction (core dumped)
```