From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnKLS-0000uL-Nw for qemu-devel@nongnu.org; Sun, 13 May 2007 16:07:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnKLR-0000u9-50 for qemu-devel@nongnu.org; Sun, 13 May 2007 16:07:06 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnKLR-0000u6-0s for qemu-devel@nongnu.org; Sun, 13 May 2007 16:07:05 -0400 Received: from nz-out-0506.google.com ([64.233.162.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HnKDk-0000Fs-Cu for qemu-devel@nongnu.org; Sun, 13 May 2007 15:59:08 -0400 Received: by nz-out-0506.google.com with SMTP id i11so23444nzi for ; Sun, 13 May 2007 12:59:07 -0700 (PDT) Message-ID: Date: Sun, 13 May 2007 15:59:07 -0400 From: "Samuel Bronson" Subject: Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs In-Reply-To: <200705081730.23478.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200705081730.23478.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On 5/8/07, Paul Brook wrote: > On Monday 07 May 2007, Samuel Bronson wrote: > > So, if the guest system has a triple-fault, and I had had my mouse grabbed, > > it stays grabbed, so that X has to be restarted (as far as I know). > > > > This happens because abort() doesn't run functions registered with > > atexit(). Suggest use of exit() instead. > > Sounds like an X server bug to me. Possibly. Certainly it is not a desirable behaviour. But atexit() handlers are there for a reason... It might also be an SDL bug. actually. Sorry I took so long to reply.