From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NohTx-0000XT-BI for qemu-devel@nongnu.org; Mon, 08 Mar 2010 13:15:09 -0500 Received: from [199.232.76.173] (port=36391 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NohTw-0000X7-Tc for qemu-devel@nongnu.org; Mon, 08 Mar 2010 13:15:08 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NohTv-0001SK-AH for qemu-devel@nongnu.org; Mon, 08 Mar 2010 13:15:08 -0500 Received: from alpha.arachsys.com ([91.203.57.7]:39276) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NohTu-0001Rm-Vk for qemu-devel@nongnu.org; Mon, 08 Mar 2010 13:15:07 -0500 Date: Mon, 8 Mar 2010 18:15:03 +0000 From: Chris Webb Subject: Re: [Qemu-devel] [PATCH] Fix SIGFPE for vnc display of width/height = 1 Message-ID: <20100308181503.GC4590@arachsys.com> References: <20100306085332.GF7180@arachsys.com> <20100308143449.GA4084@arachsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100308143449.GA4084@arachsys.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kvm@vger.kernel.org Chris Webb writes: > During boot, the screen gets resized to height 1 and a mouse click at this > point will cause a division by zero when calculating the absolute pointer > position from the pixel (x, y). Return a click in the middle of the screen > instead in this case. I think this probably ought to be a candidate for 0.12-stable too. We're seeing these crashes for real from time-to-time so it's not just a theoretical problem. Cheers, Chris.