http://bugs.winehq.org/show_bug.cgi?id=27291
--- Comment #14 from 7WCbywQg3N2H@dyweni.com 2011-09-17 22:55:54 CDT --- Just to help things along, I just ran a simple test... 1. I've confirmed that the problem has been triggered. 2. I shutdown all problems (except window manager and did not restart X). 3. I fired up Chrome to compose this comment. 4. I fired up two accounts. 5. I verified that both accounts are responding normally. 6. Using a second computer SSH'd into this computer, I took an strace sample of the first wine account. Here's the strace command I ran: strace -f -p 14714 -c & sleep 5; kill %1 Here's the strace output: System call usage summary for 32 bit mode: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 55.88 3.795426 2564 1480 select 42.44 2.882666 460 6269 1416 read 1.66 0.112983 112983 1 restart_syscall 0.02 0.001132 0 175056 gettimeofday 0.00 0.000103 0 9542 rt_sigprocmask 0.00 0.000076 0 3621 write 0.00 0.000042 0 3675 sched_yield 0.00 0.000031 0 1117 writev 0.00 0.000006 0 33 dup 0.00 0.000000 0 33 close 0.00 0.000000 0 236 getpid 0.00 0.000000 0 28 poll 0.00 0.000000 0 511 clock_gettime 0.00 0.000000 0 3 1 recvmsg ------ ----------- ----------- --------- --------- ---------------- 100.00 6.792465 201605 1417 total 7. I pointed and clicked several times between the two accounts to get WINE/EVE to "freeze". 8. I ran a second trace using the same command on the first wine instance. Here's the strace output for that trace: System call usage summary for 32 bit mode: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 56.14 6.779976 4587 1478 select 43.78 5.287284 4170 1268 read 0.08 0.009797 0 202804 sched_yield 0.00 0.000301 0 6375 gettimeofday 0.00 0.000126 0 2368 rt_sigprocmask 0.00 0.000124 0 508 write 0.00 0.000083 0 645 writev 0.00 0.000009 0 31 dup 0.00 0.000000 0 31 close 0.00 0.000000 0 28 poll 0.00 0.000000 0 3 1 recvmsg ------ ----------- ----------- --------- --------- ---------------- 100.00 12.077700 215539 1 total 9. I clicked back on the Chrome window to "unfreeze" both wine instances.
Notice that I did not press Alt+TAB once during the whole sequence.
It appears that when the wine instances are "frozen", there is a massive increase of sched_yield calls, a massive decrease of gettimeofday calls, and no restart_syscall calls present.
Thanks, Dyweni