https://bugs.winehq.org/show_bug.cgi?id=39475
Bug ID: 39475 Summary: PhysX-9.15.0428-SystemSoftware.exe installer does not run Product: Wine Version: 1.7.53 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fjfrackiewicz@gmail.com Distribution: ---
Attempting to run "wine PhysX-9.15.0428-SystemSoftware.exe" gives no output in terminal and only returns the user to their command prompt.
I am using Wine 1.7.53 compiled from source on Mint 17.2.
I know that using "winetricks physx" will get me the previous version of PhysX (9.14) but I thought I'd try to get the latest version in case it fixed any potential bugs with a PhysX game I am currently running on Wine.
Steps to reproduce:
1. Download the PhysX 9.15 installer from http://www.nvidia.com/object/physx-9.15.0428-driver.html 2. Open a terminal and type "wine PhysX-9.15.0428-SystemSoftware.exe" or right-click on the file and select "Open with Wine Windows program loader".
https://bugs.winehq.org/show_bug.cgi?id=39475
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.nvidia.com/objec | |t/physx-9.15.0428-driver.ht | |ml Distribution|--- |Mint
https://bugs.winehq.org/show_bug.cgi?id=39475
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer Status|UNCONFIRMED |NEW CC| |austinenglish@gmail.com Ever confirmed|0 |1
--- Comment #1 from Austin English austinenglish@gmail.com --- I get a little output: fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! err:seh:setup_exception_record stack overflow 1424 bytes in thread 0040 eip 7bc45506 esp 01180da0 stack 0x1180000-0x1181000-0x1280000
[austin@localhost ~]$ sha1sum PhysX-9.15.0428-SystemSoftware.exe 6082e7ea65523f258c26850d0b0891522bffe2ea PhysX-9.15.0428-SystemSoftware.exe [austin@localhost ~]$ du -h PhysX-9.15.0428-SystemSoftware.exe 23M PhysX-9.15.0428-SystemSoftware.exe [austin@localhost ~]$ wine --version wine-1.7.53
https://bugs.winehq.org/show_bug.cgi?id=39475
--- Comment #2 from fjfrackiewicz@gmail.com --- (In reply to Austin English from comment #1)
I get a little output: fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! err:seh:setup_exception_record stack overflow 1424 bytes in thread 0040 eip 7bc45506 esp 01180da0 stack 0x1180000-0x1181000-0x1280000
[austin@localhost ~]$ sha1sum PhysX-9.15.0428-SystemSoftware.exe 6082e7ea65523f258c26850d0b0891522bffe2ea PhysX-9.15.0428-SystemSoftware.exe [austin@localhost ~]$ du -h PhysX-9.15.0428-SystemSoftware.exe 23M PhysX-9.15.0428-SystemSoftware.exe [austin@localhost ~]$ wine --version wine-1.7.53
Are you running "wine PhysX-9.15.0428-SystemSoftware.exe" ? Not sure why I am not getting any terminal output at all.
https://bugs.winehq.org/show_bug.cgi?id=39475
--- Comment #3 from Austin English austinenglish@gmail.com --- (In reply to fjfrackiewicz from comment #2)
(In reply to Austin English from comment #1)
I get a little output: fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! err:seh:setup_exception_record stack overflow 1424 bytes in thread 0040 eip 7bc45506 esp 01180da0 stack 0x1180000-0x1181000-0x1280000
[austin@localhost ~]$ sha1sum PhysX-9.15.0428-SystemSoftware.exe 6082e7ea65523f258c26850d0b0891522bffe2ea PhysX-9.15.0428-SystemSoftware.exe [austin@localhost ~]$ du -h PhysX-9.15.0428-SystemSoftware.exe 23M PhysX-9.15.0428-SystemSoftware.exe [austin@localhost ~]$ wine --version wine-1.7.53
Are you running "wine PhysX-9.15.0428-SystemSoftware.exe" ? Not sure why I am not getting any terminal output at all.
Yes.
https://bugs.winehq.org/show_bug.cgi?id=39475
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |advapi32 Summary|PhysX-9.15.0428-SystemSoftw |PhysX 9.15.0428 installer |are.exe installer does not |does not run |run |('advapi32.RegOpenCurrentUs | |er' must return a real | |handle instead of | |'HKEY_CURRENT_USER' for | |user root key)
--- Comment #4 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
Relevant part of trace log, although not much to see:
--- snip --- ... 0009:trace:loaddll:load_native_dll Loaded L"C:\Program Files\NVIDIA Corporation\Installer2\CoreTemp.{A2E4DA23-2EF5-4B91-9BC8-C716C4DF0A47}\NVI2.DLL" at 0x10000000: native ... 0026:Call advapi32.RegOpenCurrentUser(000f003f,0228e144) ret=101e73df 0026:Ret advapi32.RegOpenCurrentUser() retval=00000000 ret=101e73df 0026:Call ntdll.RtlAllocateHeap(00580000,00000000,0000000c) ret=10231c71 0026:Ret ntdll.RtlAllocateHeap() retval=02640660 ret=10231c71 ... 0026:Call advapi32.RegOpenCurrentUser(000f003f,0228df24) ret=101e73df 0026:Ret advapi32.RegOpenCurrentUser() retval=00000000 ret=101e73df 0026:Call ntdll.RtlAllocateHeap(00580000,00000000,0000000c) ret=10231c71 0026:Ret ntdll.RtlAllocateHeap() retval=02645d00 ret=10231c71 ... 0026:Call advapi32.RegOpenCurrentUser(000f003f,0228dd04) ret=101e73df 0026:Ret advapi32.RegOpenCurrentUser() retval=00000000 ret=101e73df ... 0026:Call advapi32.RegOpenCurrentUser(000f003f,02192884) ret=101e73df 0026:Ret advapi32.RegOpenCurrentUser() retval=00000000 ret=101e73df 0026:trace:seh:raise_exception code=c00000fd flags=0 addr=0xf741a628 ip=f741a628 tid=0026 0026:trace:seh:raise_exception eax=0228ef4c ebx=00000002 ecx=f751b4fc edx=ffffffff esi=0228f34b edi=021925f0 0026:trace:seh:raise_exception ebp=00000002 esp=02191ff0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010283 0026:trace:seh:call_stack_handlers calling handler at 0x1027855b code=c00000fd flags=0 <stack overflow due to recursion> --- snip ---
One has to debug it out ;-)
Currently 'RegOpenCurrentUser' always returns the builtin special root key 'HKEY_CURRENT_USER' (0x80000001) which the NVIDIA installer doesn't expect.
It needs to be a *real* registry key handle.
App code:
--- snip --- 101E7389 8D86 00000080 LEA EAX,DWORD PTR DS:[ESI+80000000] ; rootkey range 101E738F 83F8 05 CMP EAX,5 101E7392 0F87 AA000000 JA NVI2.101E7442 ; > normal handle value 101E7398 FF2485 E0751E10 JMP DWORD PTR DS:[EAX*4+101E75E0] ; HKEY_XX handler ... 101E73D0 8D45 DC LEA EAX,DWORD PTR SS:[EBP-24] 101E73D3 50 PUSH EAX 101E73D4 68 3F000F00 PUSH 0F003F 101E73D9 FF15 50B02A10 CALL DWORD PTR DS:[<&ADVAPI32.RegOpenCurrentUser> 101E73DF 8B4D DC MOV ECX,DWORD PTR SS:[EBP-24] 101E73E2 51 PUSH ECX 101E73E3 8D4D CC LEA ECX,DWORD PTR SS:[EBP-34] 101E73E6 E8 75E7E6FF CALL NVI2.10055B60 ... --- snip ---
Source:
https://source.winehq.org/git/wine.git/blob/a754579159e9c59a39bd9e7809e0c545...
--- snip --- 635 LSTATUS WINAPI RegOpenCurrentUser( REGSAM access, PHKEY retkey ) 636 { 637 return RegOpenKeyExA( HKEY_CURRENT_USER, "", 0, access, retkey ); 638 } --- snip ---
https://source.winehq.org/git/wine.git/blob/a754579159e9c59a39bd9e7809e0c545...
--- snip --- 476 LSTATUS WINAPI RegOpenKeyExW( HKEY hkey, LPCWSTR name, DWORD options, REGSAM access, PHKEY retkey ) 477 { 478 OBJECT_ATTRIBUTES attr; 479 UNICODE_STRING nameW; 480 481 if (retkey && (!name || !name[0]) && 482 (HandleToUlong(hkey) >= HandleToUlong(HKEY_SPECIAL_ROOT_FIRST)) && 483 (HandleToUlong(hkey) <= HandleToUlong(HKEY_SPECIAL_ROOT_LAST))) 484 { 485 *retkey = hkey; 486 return ERROR_SUCCESS; 487 } ... 504 } --- snip ---
$ sha1sum PhysX-9.15.0428-SystemSoftware.exe 6082e7ea65523f258c26850d0b0891522bffe2ea PhysX-9.15.0428-SystemSoftware.exe
$ du -sh PhysX-9.15.0428-SystemSoftware.exe 23M PhysX-9.15.0428-SystemSoftware.exe
$ wine --version wine-1.7.53
Regards
https://bugs.winehq.org/show_bug.cgi?id=39475
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Ok, I'll take a look.
https://bugs.winehq.org/show_bug.cgi?id=39475
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |62d3309a725fb27f0c606800b43 | |e29be69f4bcea Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com --- Should be fixed with http://source.winehq.org/git/wine.git/?a=commit;h=62d3309a725fb27f0c606800b4....
https://bugs.winehq.org/show_bug.cgi?id=39475
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.1.
https://bugs.winehq.org/show_bug.cgi?id=39475
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=39475
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #8 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.5.