qemu mac segfault

Bug #821289 reported by lp-void
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

qemu-0.14.1
./configure --target-list=i386-softmmu,x86_64-softmmu,arm-softmmu
qemu(-system-(x86_64|arm))
> Segmentation fault: 11

Revision history for this message
Joe Pintozzi (joseph-pintozzi) wrote :

I can reproduce this reliably when running

> qemu-system-arm -L . -kernel vmlinuz-2.6.32-5-versatile -initrd initrd.gz -hda hda.img -m 256 -M versatilepb -append "desktop=lxde"

Revision history for this message
Joe Pintozzi (joseph-pintozzi) wrote :

Ironically I just figured out how to fix this issue. It only segfaults when built with LLVM. If you installed with homebrew, run

>brew install qemu --use-gcc --force

To get a working version.

Revision history for this message
Peter Maydell (pmaydell) wrote :

> It only segfaults when built with LLVM.

This was because of QEMU's use of a global-fixed-register variable. This usage has now been removed and QEMU builds and runs fine with LLVM as well as pure gcc.

Changed in qemu:
status: New → 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.