qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] segfault in current cvs


From: Michael Torrie
Subject: Re: [Qemu-devel] segfault in current cvs
Date: Tue, 06 Jan 2004 19:53:44 -0700

On Tue, 2004-01-06 at 18:13, Michael L Torrie wrote:

> This is the same segfault I get when running ordinary x86 linux binaries
> on my ppc yellowdog box.  I hope we can find a solution to this problem.

I was mistaken.  My segfault is in cpu-all.h, in the inline function
ldub_raw.  The ptr passed to the inline function is null for some
reason.

The call trace is:
#0  disas_insn (s=0x7ffff448, pc_start=0x0) at cpu-all.h:61
#1  0x6003179c in gen_intermediate_code_internal (env=0x1,
tb=0x601ab4d0,
    search_pc=-1) at
/home/torriem/qemu-0.5.1/target-i386/translate.c:4554
#2  0x6002e5d8 in gen_intermediate_code (env=0x7ffff448, tb=0x0)
    at /home/torriem/qemu-0.5.1/target-i386/translate.c:4616
#3  0x60025e98 in cpu_x86_gen_code (env=0x7ffff448, tb=0x601ab4d0,
    max_code_size=0, gen_code_size_ptr=0x7ffff52c)
    at /home/torriem/qemu-0.5.1/translate-all.c:101
#4  0x60010bd8 in cpu_x86_exec (env1=0x7ffff448)
    at /home/torriem/qemu-0.5.1/cpu-exec.c:282
#5  0x60004cb4 in cpu_loop (env=0x601ab4d0)
    at /home/torriem/qemu-0.5.1/main.c:141
#6  0x60005404 in main (argc=1, argv=0x0)
    at /home/torriem/qemu-0.5.1/main.c:763
#7  0x0fe8c314 in __libc_start_main () from /lib/libc.so.6

This is probably an issue with the new x86 glibc which doesn't always
seem to be compatible with the qemu synthetic virtual x86 processor.

> 
> Michael
> 
> 
> > which looks odd, given the !tb check just a few lines up. I'm using:
> > 
> > address@hidden:/home/axboe $ gcc --version
> > gcc (GCC) 3.3.3 20031229 (prerelease) (Debian)
-- 
Michael Torrie <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]