From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZUui-0004EK-Sw for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:20:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZUuh-0004Da-CA for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:20:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZUuh-0004DW-9V for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:20:43 -0400 Received: from [193.252.22.22] (helo=mwinf0902.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZUtf-00088r-3a for qemu-devel@nongnu.org; Sun, 13 Jun 2004 09:19:39 -0400 Received: from bellard.org (ATuileries-112-1-2-252.w80-14.abo.wanadoo.fr [80.14.188.252]) by mwinf0902.wanadoo.fr (SMTP Server) with ESMTP id A341B18000ED for ; Sun, 13 Jun 2004 15:19:37 +0200 (CEST) Message-ID: <40CC5500.6010801@bellard.org> Date: Sun, 13 Jun 2004 15:22:08 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] Wrong Exception - should have GPF instead of PF for NULL selector References: <1087050882.597.6.camel@pcgem.rdg.cyberkinetica.com> In-Reply-To: <1087050882.597.6.camel@pcgem.rdg.cyberkinetica.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Antony T Curtis wrote: > I have been looking at why OS/2 Warp Connect fails to start Presentation > Manager under QEMU and I have found the following... > > We get a Page Fault when QEMU encounters the following instruction > > 0xfe0a9971: mov %es:(%si),%ebx > > Where ES=0x0000 and ESI=0xabde0000 > > This should generate a General Protection exception as we are accessing > memory using a NULL selector > > I don't know if it would fix OS/2 but it is definitely behaviour which > is 'not correct'. OK, it is not correct, but it is not the cause of the problem: I tried to generate a GPF and I have the same bug. Moreover, I looked at the code before and %es is really set to zero... Fabrice.