Stop winelib programs on fault instead of endless faultlooping.
This commit is contained in:
parent
b199b1951e
commit
013d08805a
|
@ -282,6 +282,10 @@ static HANDLER_DEF(SIGNAL_fault)
|
|||
|
||||
if (fnWINE_Debugger)
|
||||
fnWINE_Debugger( signal, HANDLER_CONTEXT );
|
||||
else {
|
||||
MSG("stopping pid %d due to unhandled %s.\n",getpid(),fault);
|
||||
kill(getpid(),SIGSTOP);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue