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