mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 12:03:45 +00:00
Stop winelib programs on fault instead of endless faultlooping.
This commit is contained in:
parent
b199b1951e
commit
013d08805a
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue