blob: 4742f146bed2aea1be118dfc13d3255a7277b504 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
qemu-system-m68k segfaults on opcode 0x4848
Description of problem:
Running an m68k executable with opcode 0x4848 will segfault qemu-system-m68k
Steps to reproduce:
1. Boot m68k debian
2. Compile program (see above for the oops.c source) that executes opcode 0x4848
3. Run program
4. QEMU segfaults:
```
./debian-m68k.sh: line 10: 4420 Segmentation fault (core dumped) qemu-system-m68k -boot c -M q800 -serial none -serial mon:stdio -m 1000M -net nic,model=dp83932,addr=08:00:07:12:34:89 -net user -append "root=/dev/sda2 rw console=ttyS0 console=tty" -kernel virt/vmlinux-4.16.0-1-m68k -initrd virt/initrd.img-4.16.0-1-m68k -drive file=virt/debian-m68k-deb10.qcow2,format=qcow2 -nographic
```
Additional information:
|