qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Segmentation fault booting arm-test-0.2.tar.gz


From: Blue Swirl
Subject: Re: [Qemu-devel] Segmentation fault booting arm-test-0.2.tar.gz
Date: Sat, 19 Apr 2008 19:13:10 +0300

On 4/19/08, Lars Munch <address@hidden> wrote:
> Hi
>
>  With latest svn I get segmentation fault while booting the testimage 
> arm-test-0.2.tar.gz:
>
>  qemu-system-arm -kernel zImage.integrator -initrd arm_root.img -nographic 
> -append "console=ttyAMA0"
>  Uncompressing Linux................Segmentation fault
>
>  Reverting to svn version 4137 (just before the arm convertion to TCG)
>  everything works fine.
>
>  I am building with gcc-3.4 (GCC) 3.4.6 (Debian 3.4.6-7)
>
>  Attached is a full backtrace.
>
>  Regards
>  Lars Munch
>
>  (gdb) bt
>  #0  tb_reset_jump_recursive (tb=0x12fe14) at 
> /home/lmc/Projects/qemu/qemu-rHEAD/exec.c:1024
>  #1  0x08105431 in cpu_interrupt (env=0x9c68100, mask=1) at 
> /home/lmc/Projects/qemu/qemu-rHEAD/exec.c:1230
>  #2  0x0804d806 in host_alarm_handler (host_signum=14) at 
> /home/lmc/Projects/qemu/qemu-rHEAD/vl.c:1203
>  #3  <signal handler called>
>  #4  0x08108bff in cpu_arm_exec (env1=0x1) at 
> /home/lmc/Projects/qemu/qemu-rHEAD/cpu-exec.c:223
>  #5  0x08058a3d in main (argc=15172, argv=0x5f60) at 
> /home/lmc/Projects/qemu/qemu-rHEAD/vl.c:7549

I guess you are on i386 host. Because of exactly the same symptoms, I
have not committed the final pieces of Sparc TCG conversion. I suspect
the problem is that one of ESI/EDI/EBX is not saved when they should.
Adding function prologue/epilogue to TCG should help, Fabrice said
he's working on it.




reply via email to

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