[Wine] Wine + serial port basically hangs system
Dan Armbrust
daniel.armbrust.list at gmail.com
Sun May 7 18:38:27 CDT 2006
Ok, thanks for the tip on 'lsof' - I alway forget that command. Sorry
about going off list, I hit the wrong link. Still getting used to the
gmail interface.
After I did some hunting with lsof, I discovered that X was using
ttyS0, even though it shouldn't have been. So I commented out the
necessary parts of the config to stop that. Then, I discovered gpm
was also using the serial port. Killed that.
Restarted the machine, ran my app, and boom - it connects up, and pulls in data.
Now, I'm back on-topic for this thread - the machine load still
spirals out of control when it runs.
Here is the last capture from top that I was able to get (this is
after the program had been running for a couple of minutes)
top - 18:28:57 up 12 min, 2 users, load average: 27.42, 14.38, 6.40
Tasks: 98 total, 14 running, 84 sleeping, 0 stopped, 0 zombie
Cpu(s): 27.8% us, 72.2% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 256064k total, 253268k used, 2796k free, 16544k buffers
Swap: 522104k total, 0k used, 522104k free, 113640k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5916 vortex 16 0 1573m 13m 7448 S 55.4 5.5 2:05.46 heavy weather.e
5919 vortex 15 0 25248 21m 748 R 46.4 8.5 1:31.39 wineserver
4687 root 18 0 9340 5192 1896 R 0.2 2.0 0:01.78 perl
4683 root 16 0 9712 4640 1828 S 0.1 1.8 0:01.17 perl
And here is the output that I got from the launch of the app:
wine heavy\ weather.exe
fixme:win:EnumDisplayDevicesW ((null),0,0x7bbbf7f4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x7bbbf7f4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x7bbbf7f4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x7bbbf7f4,0x00000000), stub!
fixme:comm:SetupComm insize 1298 outsize 1298 unimplemented stub
fixme:comm:SetupComm insize 1298 outsize 1298 unimplemented stub
err:ntdll:RtlpWaitForCriticalSection section 0x685f8f58 "?" wait timed
out in thread 0059, blocked by 0009, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x685f8f58 "?" wait timed
out in thread 000c, blocked by 0009, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x685f8f58 "?" wait timed
out in thread 000c, blocked by 0009, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x685f8f58 "?" wait timed
out in thread 000c, blocked by 0009, retrying (60 sec)
The app continued to pull in data intermittently, even as the machine
entered a death spiral - but I couldn't do anything else - even though
top was set to update ever second, it was only coming in with new
numbers about once a minute. As soon as I kill the weather app,
everything returns to normal.
Thanks,
Dan
More information about the wine-users
mailing list