qemu-system-arm segfaults without KVM on ARM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm running on Odroid-XU, Debian Jessie armhf
qemu built from today's head d7d3d6092cb7edc
sudo qemu-system-arm -M vexpress-a15 -drive if=none,
audio: Could not init `oss' audio driver
Uncompressing Linux... done, booting the kernel.
Segmentation fault
If I run under GDB, the linux guest instance panics or hangs -- the behaviour is variable run to run.
If I do:
sudo qemu-system-arm --enable-kvm -M vexpress-a15 -drive if=none,
then the guest boots as expected.
I tried to get a backtrace by allowinghte SEGV to dump core, and using gdb to inspect it:
Core was generated by `qemu-system-arm -M vexpress-a15 -drive if=none,
Program terminated with signal 11, Segmentation fault.
#0 0xb53399c0 in ?? ()
(gdb) bt
#0 0xb53399c0 in ?? ()
Cannot access memory at address 0x28
#1 0x0016d87e in cpu_tb_exec (
tb_
at /mnt/qemu/
#2 cpu_arm_exec (env=<optimized out>) at /mnt/qemu/
#3 0x00000000 in ?? ()
This is a two year old bug which doesn't have an attached repro case and I haven't seen QEMU segfault like this, so I'm going to assume we've fixed this bug. Please reopen if you still have a problem with a newer QEMU, and provide a link to the guest binary that demonstrates the crash.