[Bug 48665] Legends of Runeterra crashes at launch with wine-staging 5.2 (regression)

WineHQ Bugzilla wine-bugs at winehq.org
Mon Mar 2 23:01:37 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48665

--- Comment #4 from Dmitry Timoshkov <dmitry at 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;'.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list