https://bugs.winehq.org/show_bug.cgi?id=39509
Bug ID: 39509 Summary: OneDrive for Business installer crashes in Win8 mode (user32.dll 'SetCoalescableTimer' stub missing) Product: Wine Version: 1.7.53 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as the summary says.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Microsoft Office 15/ClientX86
$ WINEDEBUG=+tid,+seh,+relay wine ./officeclicktorun.exe >>log.txt 2>&1 ... 0029:Call KERNEL32.GetVersionExW(009fe7b4) ret=0052f494 0029:Ret KERNEL32.GetVersionExW() retval=00000001 ret=0052f494 0029:Call KERNEL32.GetProcAddress(7ea30000,005636fc "SetCoalescableTimer") ret=0051ae4c 0029:Ret KERNEL32.GetProcAddress() retval=00000000 ret=0051ae4c 0029:Call KERNEL32.GetLastError() ret=0051ae58 0029:Ret KERNEL32.GetLastError() retval=0000007f ret=0051ae58 0029:Call KERNEL32.RaiseException(c06d007f,00000000,00000001,009fe8d8) ret=0051ae8b 0029:trace:seh:raise_exception code=c06d007f flags=0 addr=0x7b845f21 ip=7b845f21 tid=0029 0029:trace:seh:raise_exception info[0]=009fe88c 0029:trace:seh:raise_exception eax=7b832cbd ebx=00000000 ecx=00000004 edx=009fe7d4 esi=009fe880 edi=009fe840 0029:trace:seh:raise_exception ebp=009fe818 esp=009fe7b4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000202 0029:trace:seh:call_stack_handlers calling handler at 0x5331b6 code=c06d007f flags=0 0029:trace:seh:call_stack_handlers handler at 0x5331b6 returned 1 0029:trace:seh:call_stack_handlers calling handler at 0x532e73 code=c06d007f flags=0 0029:trace:seh:call_stack_handlers handler at 0x532e73 returned 1 0029:trace:seh:call_stack_handlers calling handler at 0x7bcb49a3 code=c06d007f flags=0 0029:Call KERNEL32.UnhandledExceptionFilter(009fe294) ret=7bcb49dd wine: Unhandled exception 0xc06d007f in thread 29 at address 0x7b845f21 (thread 0029), starting debugger... 0029:trace:seh:start_debugger Starting debugger "winedbg --auto 12 80" 0029:Ret KERNEL32.UnhandledExceptionFilter() retval=00000000 ret=7bcb49dd 0029:trace:seh:call_stack_handlers handler at 0x7bcb49a3 returned 1 Unhandled exception: 0xc06d007f in 32-bit code (0x7b845f21). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7b845f21 ESP:009fe7b4 EBP:009fe818 EFLAGS:00000202( - -- I - - - ) EAX:7b832cbd EBX:00000000 ECX:00000004 EDX:009fe7d4 ESI:009fe880 EDI:009fe840 ... Backtrace: =>0 0x7b845f21 RaiseException+0x81(code=<couldn't compute location>, flags=<couldn't compute location>, nbargs=<couldn't compute location>, args=<couldn't compute location>) [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/except.c:84] in kernel32 (0x009fe818) 1 0x7bc7fbb2 relay_call+0x39() in ntdll (0x009fe858) 2 0x7b830af1 in kernel32 (+0x10af0) (0x009fe8d0) 3 0x0051ae8b in officeclicktorun (+0x11ae8a) (0x009fe8d0) 4 0x0051af25 in officeclicktorun (+0x11af24) (0x009fe900) 5 0x004b00ba in officeclicktorun (+0xb00b9) (0x009fe988) 6 0x004af53c in officeclicktorun (+0xaf53b) (0x009fe990) 7 0x004abb9b in officeclicktorun (+0xabb9a) (0x009fea18) 8 0x7bc9745c call_thread_func_wrapper+0xb() in ntdll (0x009fea28) ... 0x7b845f21 RaiseException+0x81 [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/except.c:84] in kernel32: subl $4,%esp 84 RtlRaiseException( &record ); Modules: Module Address Debug info Name (78 modules) PE 350000- 365000 Deferred apiclient PE 400000- 5ce000 Export officeclicktorun PE 10000000-100aa000 Deferred c2rui ELF 42771000-4278f000 Deferred libgcc_s.so.1 ... Threads: process tid prio (all id:s are in hex) ... 0000000c (D) C:\Program Files\Microsoft Office 15\ClientX86\officeclicktorun.exe 00000036 0 00000029 0 <== 00000022 0 --- snip ---
MSDN: https://msdn.microsoft.com/de-de/library/windows/desktop/hh405404%28v=vs.85%...
A forward/semi-stub could be implemented based on this comment:
--- quote --- When uToleranceDelay is set to 0, the system default timer coalescing is used and SetCoalescableTimer behaves the same as SetTimer. --- quote ---
$ sha1sum Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe ddf02801b54227849886ef9a2767a1155f87a9ef Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
$ du -sh Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe 1.1M Setup.x86.en-us_GrooveRetail_3V9N8-W93CC-FQPB8-Y9WVF-TVGJ3_TX_PR_.exe
$ wine --version wine-1.7.53-156-gf8d78b0
Regards