[Wine] Re: Force wine to exit on deadlock?
skorka at gmx.net
Mon Mar 19 00:51:35 CDT 2007
brad at speakeasy.net wrote:
> I'm running a daemon under wine, and after some hours of runtime (long
> enough that it's really inconvenient to try to attach a debugger) I get
> something along the lines of:
> err:ntdll:RtlpWaitForCriticalSection section 0x7bc90d7c "?" wait timed
> out in thread 0111, blocked by 011f, retrying
> Can I convince wine to give up and exit once this has happened. If it
> could just die, it would be respawned and all would be well with the
> world. Hanging out forever in a known busted state isn't right.
I don't think there's a mechanism for this. You could contact the
developers on wine-devel at winehq.org to see if they think it would be a
good idea to have this.
There is also the possibility of just watching the daemon (i.e. poll it
once a minute) and to kill it if it doesn't respond.
Or you could watch the wine output (redirect, grep etc.) and kill the
daemon if you find the string "wait timed out".
Before you post:
Read the Wine User Guide http://winehq.org/site/docs/wineusr-guide/index
When you post:
Which wine version? Self compiled or prepackaged?
More information about the wine-users