http://bugs.winehq.org/show_bug.cgi?id=35122
Bug ID: 35122 Summary: NVIDIA CUDA Toolkit v5.5 installer fails, claiming "An unknown error has occurred." (failure to return 'url' property from DOMDocument) Product: Wine Version: 1.7.8 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msxml3 Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Classification: Unclassified
Hello folks,
as the summary says ...
The installer is wrapped. Let it unpack first and then CTRL+C when the error dialog box is shown for easier reproducing. Run the extracted main installer.
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/NVIDIA/CUDA
$ WINEDEBUG=+tid,+seh,+relay,+msxml wine ./setup.exe >>log2.txt 2>&1
... 002f:trace:msxml:domdoc_load (0x13b250)->({VT_BSTR: L"C:\NVIDIA\CUDA\setup.CFG"}) ... 002f:trace:msxml:create_moniker_from_url L"C:\NVIDIA\CUDA\setup.CFG" ... 002f:trace:msxml:domdoc_load ret (0) ... 002f:trace:msxml:domdoc_setProperty (0x13b250)->(L"SelectionLanguage" {VT_BSTR: L"XPath"}) ... 002f:trace:msxml:domdoc_get_documentElement (0x13b250)->(0x33f814) ... <unrelated domdoc stuff> ... 002f:trace:msxml:domelem_get_ownerDocument (0x143c10)->(0x33f394) 002f:Call ntdll.RtlAllocateHeap(00110000,00000000,000000b8) ret=7e21f12f 002f:Ret ntdll.RtlAllocateHeap() retval=00145a00 ret=7e21f12f 002f:trace:msxml:xmldoc_add_refs (0x7cadb248)->(12) 002f:trace:msxml:get_domdoc_from_xmldoc returning iface 0x145a1c 002f:trace:msxml:domdoc_get_url (0x145a00)->(0x33f390) 002f:Call ntdll.RtlAllocateHeap(00110000,00000000,00000028) ret=101e2d58 002f:Ret ntdll.RtlAllocateHeap() retval=00145ac0 ret=101e2d58 002f:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0033f33c) ret=101e6a02 002f:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83a8ef ip=7b83a8ef tid=002f 002f:trace:seh:raise_exception info[0]=19930520 002f:trace:seh:raise_exception info[1]=0033f358 002f:trace:seh:raise_exception info[2]=102bc340 002f:trace:seh:raise_exception eax=7b826921 ebx=7b8ba000 ecx=19930520 edx=0033f284 esi=0033f328 edi=0033f2f0 002f:trace:seh:raise_exception ebp=0033f2c8 esp=0033f264 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000283 ... 002f:Call user32.MessageBoxW(00000000,00135288 L"An unknown error has occurred.",001297e8 L"NVIDIA Install",00010010) ret=004015e9 --- snip ---
The problem seems to be that Wine's msxml fails to return 'url' property for the DOMDocument. It returns S_FALSE, leaving the out parameter with NULL. The installer checks the out param != NULL and throws exception.
I'd expect something like 'file:///C:/NVIDIA/CUDA/setup.CFG' (see create_moniker_from_url).
'winetricks msxml3' obviously works around (until the installer runs into next Wine bug).
Regards
http://bugs.winehq.org/show_bug.cgi?id=35122
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://developer.download.n | |vidia.com/compute/cuda/5_5/ | |rel/installers/cuda_5.5.20_ | |winxp_general_32.exe
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
filling fields ...
$ sha1sum cuda_5.5.20_winxp_general_32.exe 19003fc955795e1a0d01d3e72b2df91c109d1e43 cuda_5.5.20_winxp_general_32.exe
$ du -sh cuda_5.5.20_winxp_general_32.exe 460M cuda_5.5.20_winxp_general_32.exe
$ wine --version wine-1.7.8-220-g0bef543
Regards
http://bugs.winehq.org/show_bug.cgi?id=35122
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |40c8d6aa0a01632d19769a6409d | |43ef04ad9aa47 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/40c8d6aa0a01632d19769a6409d...
Thanks Nikolay
Regards
https://bugs.winehq.org/show_bug.cgi?id=35122
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.9.
https://bugs.winehq.org/show_bug.cgi?id=35122
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://developer.download.n |https://web.archive.org/web |vidia.com/compute/cuda/5_5/ |/20140410205945/http://deve |rel/installers/cuda_5.5.20_ |loper.download.nvidia.com/c |winxp_general_32.exe |ompute/cuda/5_5/rel/install | |ers/cuda_5.5.20_winxp_gener | |al_32.exe