qemu-system-arm Crashes on startup on OS X 10.8.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned |
Bug Description
On startup qemu-system-arm crashes on this line 9373 of target-arm
if (unlikely(
if (bp->pc == dc->pc) { // <-- CRASH !!!!
}
}
What appears to be happening is env is
(gdb) print env->breakpoints
$4 = {
tqh_first = 0x1f001f001f001f,
tqh_last = 0x1f001f001f001f
}
which leads to bp being set to
(gdb) print bp
$1 = (CPUBreakpoint *) 0x1f001f001f001f
This looks like a bad address and causes the following statement
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
I am wondering if the env structure is not getting setup correctly?
I am running the 1.2.0 version of qemu on
Darwin localhost 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-
Changed in qemu: | |
status: | New → Invalid |
It appears that the problem might be the value of env has changed.
All the values in env look bad and when I run
(gdb) print env
$12 = (CPUARMState *) 0x102064680
It appears env has moved. If I dump the memory at the old env location
(gdb) print *(CPUARMState *) 0x102064038
stuff looks pretty reasonable. Not sure why env would be moving?
Oliver