https://bugs.winehq.org/show_bug.cgi?id=48665
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Andrew Wesie from comment #3)
Created attachment 66571 [details] Fix using ntdll-WRITECOPY staging patchset.
+static void segv_handler_early( int signal, siginfo_t *siginfo, void *sigcontext ) +{ + ucontext_t *ucontext = sigcontext; + + switch(TRAP_sig(ucontext)) + { + case TRAP_x86_PAGEFLT: /* Page fault */ + if (!virtual_handle_fault( siginfo->si_addr, (ERROR_sig(ucontext) >> 1) & 0x09, TRUE )) + return; + break; + /* fall-through */ + default: + WINE_ERR( "Got unexpected trap %lld during process initialization\n", TRAP_sig(ucontext) ); + abort_thread(1); + break; + } +}
Looks like a typo and /* fall-through */ is never true due to 'break;'.