* [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs
@ 2007-05-07 19:51 Samuel Bronson
2007-05-08 16:30 ` Paul Brook
2007-05-08 16:38 ` Andreas Schwab
0 siblings, 2 replies; 5+ messages in thread
From: Samuel Bronson @ 2007-05-07 19:51 UTC (permalink / raw)
To: qemu-devel
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs
2007-05-07 19:51 [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs Samuel Bronson
@ 2007-05-08 16:30 ` Paul Brook
2007-05-13 19:59 ` Samuel Bronson
2007-05-08 16:38 ` Andreas Schwab
1 sibling, 1 reply; 5+ messages in thread
From: Paul Brook @ 2007-05-08 16:30 UTC (permalink / raw)
To: qemu-devel; +Cc: Samuel Bronson
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.
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs
2007-05-08 16:30 ` Paul Brook
@ 2007-05-13 19:59 ` Samuel Bronson
0 siblings, 0 replies; 5+ messages in thread
From: Samuel Bronson @ 2007-05-13 19:59 UTC (permalink / raw)
To: Paul Brook; +Cc: qemu-devel
On 5/8/07, Paul Brook <paul@codesourcery.com> 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs
2007-05-07 19:51 [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs Samuel Bronson
2007-05-08 16:30 ` Paul Brook
@ 2007-05-08 16:38 ` Andreas Schwab
2007-05-08 16:46 ` Philip Boulain
1 sibling, 1 reply; 5+ messages in thread
From: Andreas Schwab @ 2007-05-08 16:38 UTC (permalink / raw)
To: qemu-devel
Samuel Bronson <naesten@gmail.com> writes:
> 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).
Not if you have XF86_Ungrab bound to a key.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs
2007-05-08 16:38 ` Andreas Schwab
@ 2007-05-08 16:46 ` Philip Boulain
0 siblings, 0 replies; 5+ messages in thread
From: Philip Boulain @ 2007-05-08 16:46 UTC (permalink / raw)
To: qemu-devel
On Tue, 2007-05-08 at 18:38 +0200, Andreas Schwab wrote:
> Samuel Bronson <naesten@gmail.com> writes:
> > 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).
> Not if you have XF86_Ungrab bound to a key.
That's a workaround, not a fix.
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-13 20:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07 19:51 [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs Samuel Bronson
2007-05-08 16:30 ` Paul Brook
2007-05-13 19:59 ` Samuel Bronson
2007-05-08 16:38 ` Andreas Schwab
2007-05-08 16:46 ` Philip Boulain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).