From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K25VK-0006cy-E0 for qemu-devel@nongnu.org; Fri, 30 May 2008 10:22:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K25VI-0006cl-RA for qemu-devel@nongnu.org; Fri, 30 May 2008 10:22:49 -0400 Received: from [199.232.76.173] (port=54374 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K25VI-0006cg-K7 for qemu-devel@nongnu.org; Fri, 30 May 2008 10:22:48 -0400 Received: from wasp.net.au ([203.190.192.17]:38998) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K25VH-0008Ne-S8 for qemu-devel@nongnu.org; Fri, 30 May 2008 10:22:48 -0400 Message-ID: <48400DB0.2080407@wasp.net.au> Date: Fri, 30 May 2008 18:22:40 +0400 From: Brad Campbell MIME-Version: 1.0 Subject: Re: [Qemu-devel] Segfault installing Windows XP 32 Bit guest on Linux 64Bit host References: <483FF110.7020604@wasp.net.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 andrzej zaborowski wrote: > On 30/05/2008, Brad Campbell wrote: >> (gdb) run >> Starting program: /home/brad/bin/qemu -fda /tmp/fd.img -hda >> /home/brad/qemu/xptest.img -cdrom /raid3/isos/XP-corp-sp2.iso -localtime -m >> 256 -usb -usbdevice tablet -std-vga -no-acpi -vnc :2 -boot d -no-reboot >> -no-kqemu >> Failed to read a valid object file image from memory. >> [Thread debugging using libthread_db enabled] >> [New Thread 139849118447312 (LWP 9558)] >> [New Thread 1098533216 (LWP 9561)] >> >> Program received signal SIGUSR2, User defined signal 2. > > I'm afraid this is not the backtrace you want. You need to ignore > SIGUSR2 and continue until the SIGSEGV: > > (gdb) handle SIGUSR2 nostop noprint pass > (gdb) c > (gdb) bt > > HTH Thanks Paul, that helped greatly! Program received signal SIGUSR2, User defined signal 2. [Switching to Thread 140040879920848 (LWP 15924)] 0x00007f5dce73cffd in __lll_mutex_unlock_wake () from /lib/libpthread.so.0 (gdb) handle SIGUSR2 nostop noprint pass Signal Stop Print Pass to program Description SIGUSR2 No No Yes User defined signal 2 (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x000000000046d5a5 in vnc_update_client (opaque=0x7f5db8e99000) at vnc.c:536 536 if (memcmp(old_ptr, ptr, 16 * vs->depth) == 0) { (gdb) bt #0 0x000000000046d5a5 in vnc_update_client (opaque=0x7f5db8e99000) at vnc.c:536 #1 0x000000000040668c in qemu_run_timers (ptimer_head=0x688cc0, current_time=9750412) at /home/brad/src/qemu/vl.c:1077 #2 0x000000000040ca0c in main_loop_wait (timeout=0) at /home/brad/src/qemu/vl.c:7043 #3 0x000000000040fa15 in main (argc=21, argv=0x0) at /home/brad/src/qemu/vl.c:7133 I'm running this on a headless machine and don't have libSDL installed (compiled with --disable-gfx-check) and I'll lay odds it's something weird here.. I'm getting this with Ubuntu guest also now, so it's easier for me to track down! Regards, Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams