On 01/19/2010 05:50 PM, Stefan Reinauer wrote:
On 1/19/10 11:17 PM, Alexander Graf wrote:
On 19.01.2010, at 23:12, Stefan Reinauer wrote
On 1/19/10 10:17 PM, Joseph Smith wrote:
(gdb) bt #0 cpu_register_physical_memory_offset (start_addr=4292345856, size=524288, phys_offset=0, region_offset=0) at /home/joe/qemu-0.11.0/exec.c:2327 #1 0x080715b8 in cpu_register_physical_memory ( phys_offset=<value optimized out>, size=<value optimized out>, start_addr=<value optimized out>) at ../cpu-common.h:33 #2 serialice_register_physical (phys_offset=<value optimized out>, size=<value optimized out>, start_addr=<value optimized out>) at /home/joe/qemu-0.11.0/serialice.c:93
This is almost there...
Can you recompile Qemu and add "-g" to CFLAGS and try again? It does look suspicious that phys_offset and size are optimized out, though..
BTW, I just tried SerialICE on an x86-64 OpenSUSE 11.2 system and it works nicely without a segfault. Maybe Fedora is using a buggy compiler or a specific compiler option that breaks things?
The trace says you're using env before it's initialized.
Thanks for spotting this, you're of course right.
It's caused by some oddness in how KQEMU is initialized.
Joseph: Please add --disable-kqemu to your Qemu configure options and the problem will go away.
In build.sh right?