From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lj7RW-0002xY-3a for qemu-devel@nongnu.org; Mon, 16 Mar 2009 03:41:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lj7RV-0002x5-7j for qemu-devel@nongnu.org; Mon, 16 Mar 2009 03:41:01 -0400 Received: from [199.232.76.173] (port=41350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lj7RV-0002ww-1U for qemu-devel@nongnu.org; Mon, 16 Mar 2009 03:41:01 -0400 Received: from yw-out-1718.google.com ([74.125.46.158]:32875) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lj7RU-0004pG-OF for qemu-devel@nongnu.org; Mon, 16 Mar 2009 03:41:00 -0400 Received: by yw-out-1718.google.com with SMTP id 6so591073ywa.82 for ; Mon, 16 Mar 2009 00:40:59 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 16 Mar 2009 16:40:59 +0900 Message-ID: From: b a Content-Type: multipart/alternative; boundary=0016e6434aea55d8a10465379282 Subject: [Qemu-devel] display mode 04h, 05h, and 0dh 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 --0016e6434aea55d8a10465379282 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, current svn version of qemu crashes with a segmentation fault if changing the display mode to 04h, 05h, or 0dh. Adding if (width == 320 && height == 400) width = 640; to line 95 of sdl.c fixes this crash. But of course this fix is very ugly and tentative. Any idea? --0016e6434aea55d8a10465379282 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
current svn version of qemu crashes with a segmentation fault
if = changing the display mode to 04h, 05h, or 0dh.
Adding

=A0 if (wid= th =3D=3D 320 && height =3D=3D 400) width =3D 640;

to line 9= 5 of sdl.c fixes this crash.
But of course this fix is very ugly and tentative.
Any idea?
--0016e6434aea55d8a10465379282--