https://bugs.winehq.org/show_bug.cgi?id=37980
Bug ID: 37980 Summary: Error when opening *.docx files with wordview_en-us.exe Product: Wine Version: 1.7.34 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: yajo@openaliasbox.org Distribution: ---
Created attachment 50603 --> https://bugs.winehq.org/attachment.cgi?id=50603 Relevant logs
I'll use Spanish version instructions, but I tested with en-US and happens exactly the same.
1. Download and install wordview_es-es.exe from http://www.microsoft.com/es-ES/download/details.aspx?id=4
2. Download and install FileFormatConverters.exe from http://www.microsoft.com/es-ES/download/details.aspx?id=3
3. Try to open any *.docx file.
4. A dialog appears saying: "Error when opening file." See the logs.
https://bugs.winehq.org/show_bug.cgi?id=37980
Yajo yajo@openaliasbox.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Error when opening *.docx |Error when opening *.docx |files with |files with |wordview_en-us.exe |wordview_es-es.exe
https://bugs.winehq.org/show_bug.cgi?id=37980
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://download.microsoft.c | |om/download/4/4/c/44c2d552- | |8b40-464f-8470-b4976d7ba60b | |/wordview_es-es.exe Summary|Error when opening *.docx |Error when opening *.docx |files with |files with Word Viewer 2007 |wordview_es-es.exe |
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Does it work on Windows?
https://bugs.winehq.org/show_bug.cgi?id=37980
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Error when opening *.docx |Error opening *.docx files |files with Word Viewer 2007 |with Word Viewer 2007 when | |Windows version is Vista or | |later Ever confirmed|0 |1 Severity|normal |minor
--- Comment #2 from Rosanne DiMesio dimesio@earthlink.net --- Of course it works on Windows; both Word Viewer and FileFormatConverters.exe are from Microsoft.
It also works in Wine 1.7.46 so long as the Windows version is left at XP. The error only occurs in Wine when the Windows version is set to Vista or later.
Confirming, and setting severity to minor.
Yajo: you should have mentioned that you had changed the Windows version when you filed this bug. The default is still XP for a reason.
https://bugs.winehq.org/show_bug.cgi?id=37980
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |http://download.microsoft.c |om/download/4/4/c/44c2d552- |om/download/6/a/6/6a689355- |8b40-464f-8470-b4976d7ba60b |b155-4fa7-ad8a-dfe150fe7ac6 |/wordview_es-es.exe |/wordview_en-us.exe CC| |focht@gmx.net Summary|Error opening *.docx files |Word Viewer 2007 fails to |with Word Viewer 2007 when |ope *.docx files with |Windows version is Vista or |Windows version Vista or |later |later (Word Converter local | |COM server requires WebDAV | |client API 'DavClnt.dll')
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Always provide links to the English version of the download(s) if reproducible. Although there might be a number of Spanish speakers here, several developers are not.
http://download.microsoft.com/download/6/a/6/6a689355-b155-4fa7-ad8a-dfe150f...
http://download.microsoft.com/download/9/2/2/9222D67F-7630-4F49-BD26-476B515...
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Microsoft Office/OFFICE11
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./WORDVIEW.EXE >>log3txt 2>&1 ... 003b:trace:ole:create_server activating local server L"C:\Program Files\Microsoft Office\Office12\Wordconv.exe -Embedding" for {bc7adc2b-cc8c-48d2-a820-1bc605b0d3c7} 003b:Call KERNEL32.CreateProcessW(00000000,00326eb0 L"C:\Program Files\Microsoft Office\Office12\Wordconv.exe -Embedding",00000000,00000000,00000000,00000008,00000000,00000000,00326e68,00326e58) ret=7ead98bb ... 0040:Call KERNEL32.__wine_kernel_init() ret=7bc6b2b9 003b:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7ead98bb ... 0040:Call KERNEL32.LoadLibraryExW(32a8d258 L"DavClnt.DLL",00000000,00000000) ret=32607e99 0040:Ret KERNEL32.LoadLibraryExW() retval=00000000 ret=32607e99 0040:trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000 tid=0040 0040:trace:seh:raise_exception info[0]=00000000 0040:trace:seh:raise_exception info[1]=00000000 0040:trace:seh:raise_exception eax=335230e8 ebx=00000000 ecx=0000004c edx=00110064 esi=0033e338 edi=00400000 0040:trace:seh:raise_exception ebp=0033e15c esp=0033e150 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010246 0040:trace:seh:call_stack_handlers calling handler at 0x7e8a3be3 code=c0000005 flags=0 0040:Call ntdll.RtlUnwind(0033f508,7e8a3b74,0033e0f8,00000000) ret=7e8a3b5d 0040: eax=7e85fb1d ebx=7e8a3b74 ecx=0033e0f8 edx=0033e0f8 esi=0033f508 edi=7e8a3b74 ebp=0033dbe8 esp=0033dbb8 ds=002b es=002b fs=0063 gs=006b flags=00000206 0040:trace:seh:__regs_RtlUnwind code=c0000005 flags=2 0040:trace:seh:__regs_RtlUnwind calling handler at 0x7bc91085 code=c0000005 flags=2 0040:trace:seh:__regs_RtlUnwind handler at 0x7bc91085 returned 1 0040:Ret ntdll.RtlUnwind() retval=00000000 ret=7e8a3b5d 0040: eax=00000000 ebx=7e8a3b74 ecx=0033e0f8 edx=0033e0f8 esi=0033f508 edi=7e8a3b74 ebp=0033dbe8 esp=0033dbb8 ds=002b es=002b fs=0063 gs=006b flags=00000206 0040:warn:ole:CStdStubBuffer_Invoke a stub call failed with exception 0xc0000005 (-1073741819) 0040:Ret rpcrt4.CStdStubBuffer_Invoke() retval=c0000005 ret=7e95bc6b ... 0047:Call rpcrt4.RpcRaiseException(c0000005) ret=7e95c188 0047:Call KERNEL32.RaiseException(c0000005,00000000,00000000,00000000) ret=7e89f58a 0047:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7b845ccd ip=7b845ccd tid=0047 0047:trace:seh:raise_exception eax=7b832afd ebx=00146418 ecx=00a1e660 edx=00000000 esi=00a1e6b0 edi=00a1e670 0047:trace:seh:raise_exception ebp=00a1e648 esp=00a1e5e4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000246 0047:trace:seh:call_stack_handlers calling handler at 0x7e8a3c94 code=c0000005 flags=0 ... 003b:trace:ole:CoWaitForMultipleHandles -- 0x00000000 003b:trace:ole:ClientRpcChannelBuffer_SendReceive RPC call status: 0x3e6 003b:trace:ole:ClientRpcChannelBuffer_SendReceive hrFault = 0x00000000 003b:trace:ole:ClientRpcChannelBuffer_SendReceive -- 0x800703e6 003b:Call KERNEL32.RaiseException(800703e6,00000000,00000000,00000000) ret=7e89f58a 003b:trace:seh:raise_exception code=800703e6 flags=0 addr=0x7b845ccd ip=7b845ccd tid=003b 003b:trace:seh:raise_exception eax=7b832afd ebx=00326e80 ecx=00326d90 edx=00000000 esi=00326de0 edi=00326da0 003b:trace:seh:raise_exception ebp=00326d78 esp=00326d14 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000246 003b:trace:seh:call_stack_handlers calling handler at 0x7e8a3c94 code=800703e6 flags=0 ... 003b:warn:ole:NdrProxyErrorHandler (0x800703e6): a proxy call failed ... 003b:Call gdi32.GetTextExtentPoint32W(003400a0,00ce369c L"There was an error opening the file.",00000024,00327804) ret=30cc7587 ... --- snip ---
It seems the Word Converter which is started as local COM server requires MS WebDAV client API when being run in 'Windows Vista' mode or higher.
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/dd408159%28v=vs.85%...
You need to provide a stub 'DavClnt.dll' along with some stubs.
$ sha1sum * 455b076bc8c805225f65c8935378d2c3906c4ec2 FileFormatConverters.exe e6dfdc8a1545d45ef5840ba513a5c4036bf154bc wordview_en-us.exe
$ du -sh * 38M FileFormatConverters.exe 25M wordview_en-us.exe
$ wine --version wine-1.7.46-227-gf6653a9
Regards
https://bugs.winehq.org/show_bug.cgi?id=37980
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Word Viewer 2007 fails to |Word Viewer 2007 fails to |ope *.docx files with |open *.docx files with |Windows version Vista or |Windows version set to |later (Word Converter local |Vista or later (Word |COM server requires WebDAV |Converter local COM server |client API 'DavClnt.dll') |requires WebDAV client API | |'DavClnt.dll')
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #4 from Yajo yajo@openaliasbox.org --- (In reply to Rosanne DiMesio from comment #2)
Yajo: you should have mentioned that you had changed the Windows version when you filed this bug. The default is still XP for a reason.
(In reply to Anastasius Focht from comment #3)
Always provide links to the English version of the download(s) if reproducible. Although there might be a number of Spanish speakers here, several developers are not.
Sorry for all that. I'll keep that in mind. Not a perfect bug report, but I hope it helped somehow. :)
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #5 from Austin English austinenglish@gmail.com --- Stub dll was committed here: http://source.winehq.org/git/wine.git/commitdiff/b8fc901d5c970a8441cea981261...
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #6 from Rosanne DiMesio dimesio@earthlink.net --- In 1.7.47 it now crashes in unimplemented function davclnt.dll.DavRegisterAuthCallback when the Windows version is set to Vista.
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #7 from Rosanne DiMesio dimesio@earthlink.net --- Filed bug 38897 for the crash that now occurs in XP mode. It's a separate issue; just noting it here in case anyone is searching for it.
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- In 1.7.47 it now crashes in unimplemented function davclnt.dll.DavRegisterAuthCallback when the Windows version is set to Vista. --- quote ---
This was expected after the stub dll became available.
--- snip --- ... 0029:Call KERNEL32.LoadLibraryExW(32a8d258 L"DavClnt.DLL",00000000,00000000) ret=32607e99 ... 0029:Ret KERNEL32.LoadLibraryExW() retval=7d980000 ret=32607e99 0029:Call KERNEL32.GetProcAddress(7d980000,32a89dec "DavGetTheLockOwnerOfTheFile") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d9867b4 ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89dd8 "DavInvalidateCache") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d9867e0 ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89db8 "DavCancelConnectionsToServer") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d986730 ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89da0 "DavRegisterAuthCallback") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d986acc ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89d84 "DavUnregisterAuthCallback") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d98680c ret=3261330b 0029:Call davclnt.DavRegisterAuthCallback(32eafec4,00000001) ret=32bed227 0029:fixme:davclnt:DavRegisterAuthCallback stub (0x32eafec4,1) 0029:Ret davclnt.DavRegisterAuthCallback() retval=00000000 ret=32bed227 ... --- snip ---
With 'DavRegisterAuthCallback' stub in place it runs into bug 38897 in Vista mode.
Regards
https://bugs.winehq.org/show_bug.cgi?id=37980
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f0dee09c52387c3c6dffc13f2e4 | |2574218363eb9 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com --- (In reply to Anastasius Focht from comment #8)
Hello folks,
--- quote --- In 1.7.47 it now crashes in unimplemented function davclnt.dll.DavRegisterAuthCallback when the Windows version is set to Vista. --- quote ---
This was expected after the stub dll became available.
--- snip --- ... 0029:Call KERNEL32.LoadLibraryExW(32a8d258 L"DavClnt.DLL",00000000,00000000) ret=32607e99 ... 0029:Ret KERNEL32.LoadLibraryExW() retval=7d980000 ret=32607e99 0029:Call KERNEL32.GetProcAddress(7d980000,32a89dec "DavGetTheLockOwnerOfTheFile") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d9867b4 ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89dd8 "DavInvalidateCache") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d9867e0 ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89db8 "DavCancelConnectionsToServer") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d986730 ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89da0 "DavRegisterAuthCallback") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d986acc ret=3261330b 0029:Call KERNEL32.GetProcAddress(7d980000,32a89d84 "DavUnregisterAuthCallback") ret=3261330b 0029:Ret KERNEL32.GetProcAddress() retval=7d98680c ret=3261330b 0029:Call davclnt.DavRegisterAuthCallback(32eafec4,00000001) ret=32bed227 0029:fixme:davclnt:DavRegisterAuthCallback stub (0x32eafec4,1) 0029:Ret davclnt.DavRegisterAuthCallback() retval=00000000 ret=32bed227 ... --- snip ---
With 'DavRegisterAuthCallback' stub in place it runs into bug 38897 in Vista mode.
Regards
https://source.winehq.org/git/wine.git/commit/f0dee09c52387c3c6dffc13f2e4257...
(though this should've been a new bug ;) )
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #10 from Yajo yajo@openaliasbox.org --- In which WINE version is it fixed?
https://bugs.winehq.org/show_bug.cgi?id=37980
--- Comment #11 from Austin English austinenglish@gmail.com --- (In reply to Yajo from comment #10)
In which WINE version is it fixed?
austin@debian-laptop:~/wine-git$ git describe f0dee09c52387c3c6dffc13f2e42574218363eb9 wine-1.7.47-168-gf0dee09
wine-1.7.48
https://bugs.winehq.org/show_bug.cgi?id=37980
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.54.
https://bugs.winehq.org/show_bug.cgi?id=37980
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://download.microsoft.c |https://web.archive.org/web |om/download/6/a/6/6a689355- |/20140212100036/http://down |b155-4fa7-ad8a-dfe150fe7ac6 |load.microsoft.com/download |/wordview_en-us.exe |/6/a/6/6a689355-b155-4fa7-a | |d8a-dfe150fe7ac6/wordview_e | |n-us.exe Summary|Word Viewer 2007 fails to |Word Viewer 2003/2007 fails |open *.docx files with |to open *.docx files with |Windows version set to |Windows version set to |Vista or later (Word |Vista or later (Word |Converter local COM server |Converter local COM server |requires WebDAV client API |requires WebDAV client API |'DavClnt.dll') |'DavClnt.dll')