Re: Force wine to exit on deadlock?

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

 



brad@xxxxxxxxxxxxx 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@xxxxxxxxxx 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".

Daniel
-- 
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?
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux