WineHQ
Bug Tracking Database – Bug 35122

 Bugzilla

 

Last modified: 2021-07-25 14:40:27 UTC  

NVIDIA CUDA Toolkit v5.5 installer fails, claiming "An unknown error has occurred." (failure to return 'url' property from DOMDocument)

Bug 35122 - NVIDIA CUDA Toolkit v5.5 installer fails, claiming "An unknown error has occurred." (failure to return 'url' property from DOMDocument)
NVIDIA CUDA Toolkit v5.5 installer fails, claiming "An unknown error has occu...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: msxml3
1.7.8
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
https://web.archive.org/web/201404102...
: download, Installer
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-12-14 07:02 UTC by Anastasius Focht
Modified: 2021-07-25 14:40 UTC (History)
0 users

See Also:
Regression SHA1:
Fixed by SHA1: 40c8d6aa0a01632d19769a6409d43ef04ad9aa47
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anastasius Focht 2013-12-14 07:02:01 UTC
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
Comment 1 Anastasius Focht 2013-12-14 07:03:35 UTC
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
Comment 2 Anastasius Focht 2013-12-16 13:37:24 UTC
Hello folks,

this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/40c8d6aa0a01632d19769a6409d43ef04ad9aa47

Thanks Nikolay

Regards
Comment 3 Alexandre Julliard 2013-12-20 12:43:18 UTC
Closing bugs fixed in 1.7.9.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers