Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JnFgj-0007UX-Cu for qemu-devel@nongnu.org; Sat, 19 Apr 2008 12:13:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JnFgh-0007UF-Vt for qemu-devel@nongnu.org; Sat, 19 Apr 2008 12:13:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JnFgh-0007UC-S6 for qemu-devel@nongnu.org; Sat, 19 Apr 2008 12:13:15 -0400 Received: from nf-out-0910.google.com ([64.233.182.190]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JnFgi-0006E5-FG for qemu-devel@nongnu.org; Sat, 19 Apr 2008 12:13:16 -0400 Received: by nf-out-0910.google.com with SMTP id 30so404504nfu.12 for ; Sat, 19 Apr 2008 09:13:12 -0700 (PDT) Message-ID: Date: Sat, 19 Apr 2008 19:13:10 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] Segmentation fault booting arm-test-0.2.tar.gz In-Reply-To: <20080419155248.GA3953@firewall> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080419155248.GA3953@firewall> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 4/19/08, Lars Munch 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 > #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.