From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvCya-0006Eu-Hj for qemu-devel@nongnu.org; Wed, 29 Oct 2008 11:28:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvCyR-0006Bq-MP for qemu-devel@nongnu.org; Wed, 29 Oct 2008 11:28:52 -0400 Received: from [199.232.76.173] (port=41746 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvCyR-0006Bk-9w for qemu-devel@nongnu.org; Wed, 29 Oct 2008 11:28:43 -0400 Received: from mailout.artfiles.de ([80.252.97.80]:37086) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KvCyQ-0005z1-NZ for qemu-devel@nongnu.org; Wed, 29 Oct 2008 11:28:43 -0400 Received: from [87.185.160.157] (helo=[192.168.0.106]) auth=rr@bttr-software.de by mailout.artfiles.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) id 1KvCxQ-0006qm-PH for qemu-devel@nongnu.org; Wed, 29 Oct 2008 16:27:41 +0100 Message-ID: <490880EC.7030200@bttr-software.de> Date: Wed, 29 Oct 2008 16:27:40 +0100 From: Robert Riebisch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Bug in VVFAT crashes QEMU on Win32 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 Hi all! There's a problem with file-time handling for VVAT. I found this when expanding HIMEM.SYS from a Windows 98 ISO file. HIMEM.SYS gets a creation time of "1607-01-19 20:38:32", which is obviously wrong, but that's not a QEMU problem. If I put this file to "temp/" and use option "-hdb fat:temp/", QEMU dumps with 0xc0000005 (access violation) immediately. I'm not very familiar with GDB, but at least I got this description. *** Program received signal SIGSEGV, Segmentation fault. fat_datetime (time=-1, return_time=1) at bswap.h:123 123 CPU_CONVERT(le, 16, uint16_t) *** This has been tested with QEMU 0.9.1 and trunk. Johannes? Robert Riebisch -- BTTR Software http://www.bttr-software.de/