Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been using linux now for the last 8 years, and recently ran into a situation where I am stumped. It looks like wine (and other programs at random times) deadlocks. The symptoms are:
The wine process does not finish execution.
ps will hang (on a read( ) of /proc/<deadlocked process>/stat)
system cannot be shut down cleanly
wine process cannot be killed
This is with yesterday's (29 June 2004) wine CVS. Same thing happens with CVS from 5 May 04, and 1 other prior version (have not checked others).
There is no output to /var/log describing the event. The rest of the system continues to function normally.
This does not seem to be a hardware problem. There are no hardware related symptoms in Linux, and Win2K operates 'as expected.'
My questions are:
Is this deadlock or something else?
What steps should I take to start troubleshooting?
If you have experienced ps hanging, why did it happen and what did you do to fix it?
By the way, this is in Mandrake 10, with:
Mandrake kernel 2.4.25-5mdk
gcc 3.3.2
wine CVS 20040615 (and other programs)
Latest Mandrake updates
and so on
One of the first things I do when confronted by this is to punch the NumLock key and see if the LED on the keyboard changes state. If it's stuck, I cry 'hardware foul'
If something in wine is killing your X session then things are gonna be a bit greasy. What's your load when this happens - can you get a console and get the results from 'uptime' or see what's running in 'top'?
The computer continues to operate normally (except for the ps thing). Numlock flashes, the X session still works, I can even start different programs. It's only 1 process that hangs. The rest of the hardware functions normally.
top, ps, ktop, even an ls of /proc/2177 (example PID) hang. So I can't get a complete list, but I will recreate the error, and post the process list just before the hang. But anything that tries to read("/proc/2177/stat") will hang. strace of the PID before execution shows this.
I can ^C out of strace, but the process cannot be killed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.