From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPdxc-0005Vn-S3 for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:21:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPdxa-0005Uu-TU for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:21:39 -0500 Received: from [199.232.76.173] (port=53928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPdxa-0005Ud-9A for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:21:38 -0500 Received: from mx2.redhat.com ([66.187.237.31]:33942) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPdxZ-0001wF-Ty for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:21:38 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n0LELarS028021 for ; Wed, 21 Jan 2009 09:21:36 -0500 Message-ID: <49772F6D.4060406@redhat.com> Date: Wed, 21 Jan 2009 16:21:33 +0200 From: Uri Lublin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [BUG REPORT] screendump monitor command results in segmentation fault 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 Cc: Uri Lublin SVN: 6374 To reproduce: from the monitor: "screendump /tmp/screen.ppm" Arch: x86_64 From gdb: Program terminated with signal 11, Segmentation fault. #0 qemu_console_resize (ds=0x7fff3b576210, width=720, height=400) at console.c:1424 1424 s->g_width = width; (gdb) bt 6 #0 qemu_console_resize (ds=0x7fff3b576210, width=720, height=400) at console.c:1424 #1 0x000000000042fda9 in vga_update_display (opaque=) at /home/uri/QEMU/git/qemu/hw/vga.c:1310 #2 0x0000000000430e06 in vga_screen_dump_common (s=0x17f01238, filename=0x179e2510 "/tmp/AAA.ppm", w=720, h=400) at /home/uri/QEMU/git/qemu/hw/vga.c:2627 #3 0x0000000000430ee7 in vga_screen_dump (opaque=0x17f01238, filename=0x179e2510 "/tmp/AAA.ppm") at /home/uri/QEMU/git/qemu/hw/vga.c:2648 #4 0x0000000000460e6b in vga_hw_screen_dump (filename=0x4
) at console.c:183 #5 0x000000000040db93 in monitor_handle_command1 (opaque=, cmdline=) at /home/uri/QEMU/git/qemu/monitor.c:2526 (More stack frames follow...) Regards, Uri