https://bugs.winehq.org/show_bug.cgi?id=47051
Bug ID: 47051 Summary: Excel (from Microsoft Office 365) crashes inside CreateActCtxW Product: Wine Version: 4.6 Hardware: x86 OS: Linux Status: NEW Keywords: patch Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: xerox.xerox2000x@gmail.com Distribution: ---
Created attachment 64219 --> https://bugs.winehq.org/attachment.cgi?id=64219 crashlog
Winword and Powerpoint start fine in current git, yet Excel still crashes. Crashlog attached. The patch below fixes the crash and makes Excel start fine for me. Will send later to wine-devel
diff --git a/dlls/kernel32/actctx.c b/dlls/kernel32/actctx.c index 17067ed1b4..1148ecebf0 100644 --- a/dlls/kernel32/actctx.c +++ b/dlls/kernel32/actctx.c @@ -114,7 +114,7 @@ done: * * Create an activation context. */ -HANDLE WINAPI CreateActCtxW(PCACTCTXW pActCtx) +HANDLE WINAPI DECLSPEC_HOTPATCH CreateActCtxW(PCACTCTXW pActCtx) { NTSTATUS status; HANDLE hActCtx;
louis@debian:~/.winemsoffice2/drive_c/Program Files/Microsoft Office/root/Office16$ sha1sum EXCEL.EXE da63eeba536534ae774bad192221218959f4f793 EXCEL.EXE