From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPh9e-0002HP-6D for qemu-devel@nongnu.org; Wed, 21 Jan 2009 12:46:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPh9a-0002Di-RW for qemu-devel@nongnu.org; Wed, 21 Jan 2009 12:46:17 -0500 Received: from [199.232.76.173] (port=41547 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPh9a-0002DT-Lo for qemu-devel@nongnu.org; Wed, 21 Jan 2009 12:46:14 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:60147) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPh9a-0008Vg-4E for qemu-devel@nongnu.org; Wed, 21 Jan 2009 12:46:14 -0500 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.69) (envelope-from ) id 1LPh9X-0004BW-VQ for qemu-devel@nongnu.org; Wed, 21 Jan 2009 18:46:11 +0100 Message-ID: <49775F63.9020009@mail.berlios.de> Date: Wed, 21 Jan 2009 18:46:11 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: More displaystate fallout? References: <20090118231436.GA9565@saturn.kn-bremen.de> <20090120231248.GA13951@saturn.kn-bremen.de> <437083beafc472e92354fb05f211b149@iem.pw.edu.pl> <497714E4.5050206@eu.citrix.com> In-Reply-To: <497714E4.5050206@eu.citrix.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Stefano Stabellini schrieb: > Jędrzej Kalinowski wrote: > > >> Thanks for your tip - I get this trace: >> >> #0 0x000000080121179c in free () from /lib/libc.so.7 >> #1 0x0000000801082d1e in _nc_freewin () from /lib/libncurses.so.7 >> #2 0x000000000048219a in curses_calc_pad () at curses.c:72 >> #3 0x0000000000463c16 in console_select (index=Variable "index" is not >> available. >> ) at console.h:162 >> #4 0x00000000004828e9 in curses_refresh (ds=0x80220e140) at curses.c:227 >> #5 0x00000000004081e6 in gui_update (opaque=0x80d254300) at console.h:180 >> #6 0x00000000004072ac in qemu_run_timers (ptimer_head=0xa591b0, >> current_time=330803229) at >> /tmp/ports/qemu-devel/qemu-snapshot-2009-01-18_18/vl.c:1222 >> #7 0x0000000000409547 in main_loop_wait (timeout=Variable "timeout" is not >> available. >> ) at /tmp/ports/qemu-devel/qemu-snapshot-2009-01-18_18/vl.c:3702 >> #8 0x000000000040cb3f in main (argc=5, argv=0x7fffffffeaa8, envp=Variable >> "envp" is not available. >> ) at /tmp/ports/qemu-devel/qemu-snapshot-2009-01-18_18/vl.c:3851 >> >> So it's somewhat related to ncurses - but my older snapshot still works >> fine, and doesn't crash in monitor/serial view. >> >> > > I am able to reproce this bug, I am on it. > > > > Hi, maybe the bug is related to a similar one I got: Emulation of a system without VGA will crash while switching from serial console to monitor. I got this crash with SDL and VNC displays. The crash is caused by a surface which is too small: your patch for dumb terminals assumes 640 x 480 pixels, but the monitor is much larger. So the allocated display data is too small. Regards Stefan