From: Santino Mazza <smazza@codeweavers.com> If assert is called when error mode is set to _OUT_TO_STDERR and abort behavior is set to _WRITE_ABORT_MSG the abort message box is still showed in Windows. Some applications do this and don't trigger a break point in Wine because abort is never called. --- dlls/msvcrt/exit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/msvcrt/exit.c b/dlls/msvcrt/exit.c index e451f879fbd..9fb8e63d758 100644 --- a/dlls/msvcrt/exit.c +++ b/dlls/msvcrt/exit.c @@ -310,8 +310,7 @@ void DECLSPEC_NORETURN CDECL _wassert(const wchar_t* str, const wchar_t* file, u else fwprintf(stderr, L"Assertion failed: %ls, file %ls, line %d\n\n", str, file, line); - raise(SIGABRT); - _exit(3); + abort(); } /********************************************************************* -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10250