Re: [PROBLEM] Machine Freezes while Running Crossover Office

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, 29 May 2005, Pekka Enberg wrote:
> 
> Looking at output of lsof, I can see that Crossover is using pipes. I
> am not very familiar with wine internals but there seems to be two
> processes, wine_preloader and wine, that talk to each other through
> pipes. Unfortunately, stracing either one of the processes masks the
> problem. That is, I cannot reproduce the hang while doing strace.

Ahh.

I suspect that the _real_ change is that the pipe can now fill up with
sixteen times more data (ie 64kB of data in one read() or write()  
operation rather than 4kB), and that as a result Crossover may be doing a
lot bigger requests to the X server too.

Alternatively, it's possible that Crossover has taken mouse focus (does 
the mouse move around while the machine is "frozen"?) and Crossover itself 
is confused by the bigger buffers and pauses due to some bug while it is 
holding on to the mouse focus - making the system unusable. It's probably 
some race that triggers this (getting data at the right speed), and 
tracing it just changes timing enough that you won't see it.

(Btw, if you didn't already, I'd suggest forcing strace output to a file,
not the screen, since that at least changes timings and X interactions
_less_)

The pipe_poll() thing was possibly true even before - if the two main
processes are communicating over a pipe, it's quite possible that
pipe_poll() ends up being the most common op by far. See if the poll 
timeout changes (or is zero).

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux