Re: [PROBLEM] Machine Freezes while Running Crossover Office

Kyle Moffett
2005-05-29T23:07:22Z

On May 29, 2005, at 18:59:03, Linus Torvalds wrote:
> On Sun, 29 May 2005, Pekka Enberg wrote:
>> The mouse cursor does not move and the screen does not refresh. The
>> machine locks up completely for few seconds (actually more like
>> 5-10 s)
>> and then the system comes back up (after which it can be used
>> normally).
>> I cannot even switch virtual consoles. Please note that I can
>> immediately reproduce the problem again as many times as I want by
>> doing
>> the test scenario.
>
> However, I don't understand how wine can block the X server from doing
> even cursor updates. It might be a scheduler bug, of course. The
> one thing
> a bigger pipe buffer does is end up changing scheduling behaviour.
>
> (On the other hand, I would not be surprised if Wine does something
> that
> makes X pause, like use DGA or whatever and tells X not to update the
> screen, including cursors).

If the application captured the mouse/keyboard and did not pass them
on to
X for some period of time, then X would appear to not respond to VT-
switch
requests, because those keys go through the same handler loop
(depending on
the way your X is configured, of course).

I've had incidents where a user forkbomb was able to hang X (and
therefore
the console) while our SCHED_RR rate-limited SSH daemon was running fine
and able to successfully kill the process.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$
r !y?(-)
------END GEEK CODE BLOCK------