qemu i386-softmmu segfaults on i386 while testing kdbg hardware interrupts
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
I tried to boot a kernel with enabled kgdb and kgdb self checks with qemu emulating i386. It works with amd64, but crashes with i386. Tests were done with 19e65b47f60c68d
Backtrace of i386-softmmu/qemu (19e65b47f60c68
[ 15.398435] kgdbts:RUN singlestep [900/1000]
[ 15.683097] kgdbts:RUN hw breakpoint test
Program received signal SIGSEGV, Segmentation fault.
raise_interrupt (intno=1, is_int=0, error_code=0, next_eip_addend=0) at /home/sven/
1335 env->exception_
(gdb) bt
#0 raise_interrupt (intno=1, is_int=0, error_code=0, next_eip_addend=0) at /home/sven/
#1 0x08182347 in raise_exception (exception_index=1) at /home/sven/
#2 0x08191e9a in breakpoint_handler (env=0x8467fa8) at /home/sven/
#3 0x08125e84 in cpu_handle_
#4 cpu_x86_exec (env1=0x8467fa8) at /home/sven/
#5 0x08052680 in qemu_cpu_exec (argc=0, argv=0x0, envp=0x6461) at /home/sven/
#6 tcg_cpu_exec (argc=0, argv=0x0, envp=0x6461) at /home/sven/
#7 main_loop (argc=0, argv=0x0, envp=0x6461) at /home/sven/
#8 main (argc=0, argv=0x0, envp=0x6461) at /home/sven/
It was run with `/home/

Seems to be fixed in qemu 0.12.5 (Debian 0.12.5+dfsg-2).