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
https://bugs.winehq.org/show_bug.cgi?id=39509
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://support.microsoft.co | |m/kb/2903984
https://bugs.winehq.org/show_bug.cgi?id=39509
--- Comment #1 from Austin English austinenglish@gmail.com --- Created attachment 52657 --> https://bugs.winehq.org/attachment.cgi?id=52657 stub
Does this help? The installer fails for me in wine-1.7.53-183-g12111d8
https://bugs.winehq.org/show_bug.cgi?id=39509
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=39509
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Austin English from comment #1)
Created attachment 52657 [details] stub
Does this help? The installer fails for me in wine-1.7.53-183-g12111d8
It's better to ignore tolerance and always set a timer.
https://bugs.winehq.org/show_bug.cgi?id=39509
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52657|0 |1 is obsolete| |
--- Comment #3 from Austin English austinenglish@gmail.com --- Comment on attachment 52657 --> https://bugs.winehq.org/attachment.cgi?id=52657 stub
From d34255d7384d1a25668e3bbbc8dd9b61bc2f1b49 Mon Sep 17 00:00:00 2001 From: Austin English austinenglish@gmail.com Date: Tue, 27 Oct 2015 11:51:39 -0500 Subject: [PATCH] user32: add SetCoalescableTimer stub
Signed-off-by: Austin English austinenglish@gmail.com
dlls/user32/message.c | 17 +++++++++++++++++ dlls/user32/user32.spec | 1 + 2 files changed, 18 insertions(+)
diff --git a/dlls/user32/message.c b/dlls/user32/message.c index d122980..cf83be0 100644 --- a/dlls/user32/message.c +++ b/dlls/user32/message.c @@ -4620,3 +4620,20 @@ BOOL WINAPI ChangeWindowMessageFilterEx( HWND hwnd, UINT message, DWORD action, FIXME( "%p %x %d %p\n", hwnd, message, action, changefilter ); return TRUE; }
+/******************************************************************
SetCoalescableTimer (USER32.@)
- */
+UINT_PTR WINAPI SetCoalescableTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC proc, ULONG delay ) +{
- if(delay == 0) {
FIXME("%p %lx %d %p %u semi-stub\n", hwnd, id, timeout, proc, delay );
return SetTimer(hwnd, id, timeout, proc);
- }
- else {
FIXME("%p %lx %d %p %u: stub\n", hwnd, id, timeout, proc, delay );
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
- }
+} diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 9b409df..163ae46 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -620,6 +620,7 @@ @ stdcall SetClassWord(long long long) @ stdcall SetClipboardData(long long) @ stdcall SetClipboardViewer(long) +@ stdcall SetCoalescableTimer(long long long ptr long) # @ stub SetConsoleReserveKeys @ stdcall SetCursor(long) @ stub SetCursorContents -- 2.6.1
https://bugs.winehq.org/show_bug.cgi?id=39509
--- Comment #4 from Austin English austinenglish@gmail.com --- Created attachment 52658 --> https://bugs.winehq.org/attachment.cgi?id=52658 stub (try 2)
https://bugs.winehq.org/show_bug.cgi?id=39509
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/user32-SetCoal | |escableTimer
https://bugs.winehq.org/show_bug.cgi?id=39509
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=39509
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |57b7a9937deb3f01960fc426f6c | |edf2b79fd7885 Resolution|--- |FIXED
--- Comment #5 from Sebastian Lackner sebastian@fds-team.de --- Fixed with http://source.winehq.org/git/wine.git/commit/57b7a9937deb3f01960fc426f6cedf2....
https://bugs.winehq.org/show_bug.cgi?id=39509
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.10.
https://bugs.winehq.org/show_bug.cgi?id=39509
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=39509
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #7 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.7.
https://bugs.winehq.org/show_bug.cgi?id=39509
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jamesmfox@live.com
--- Comment #8 from Anastasius Focht focht@gmx.net --- *** Bug 39254 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39509
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://support.microsoft.co |https://web.archive.org/web |m/kb/2903984 |/20141013151000/https://c2r | |setup.officeapps.live.com/c | |2r/download.aspx?Productrel | |easeID=GrooveRetail&languag | |e=en-us&platform=x86&token= | |3V9N8-W93CC-FQPB8-Y9WVF-TVG | |J3&TaxRegion=PR&Source=OLSF | |CRequest&version=O15GA