[Bug 46809] Multiple applications fail to install or crash on startup: dll dependencies from private path ( LoadLibraryEx LOAD_WITH_ALTERED_SEARCH_PATH)( PS4 Remote Play 2.x. DVDVideoSoft Free YouTube to MP3 Converter 4.x)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 5 03:40:38 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46809

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|PS4 Remote Play 2.x (.NET   |Multiple applications fail
                   |4.x app) crashes on         |to install or crash on
                   |startup, loader fails to    |startup: dll dependencies
                   |resolve dll dependency from |from private path
                   |private path (LoadLibraryEx |(LoadLibraryEx
                   |LOAD_WITH_ALTERED_SEARCH_PA |LOAD_WITH_ALTERED_SEARCH_PA
                   |TH is mutually exclusive to |TH)(PS4 Remote Play 2.x.
                   |LOAD_LIBRARY_SEARCH* flags) |DVDVideoSoft Free YouTube
                   |                            |to MP3 Converter 4.x)

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

revisiting and refining summary to collect more apps.

Found another app (installer) which fails because of this.

DVDVideoSoft Free YouTube to MP3 Converter 4.x installer:

From: https://bugs.winehq.org/show_bug.cgi?id=35680#c11

--- snip ---
$ WINEDEBUG=+seh,+relay,+loaddll,+module wine
./FreeYouTubeToMP3Converter_4.1.91.328_d_45c65720-4be0-4cd6-813e-44ad81ea42a1.exe
>>log.txt 2>&1
..
002c:Call KERNEL32.LoadLibraryExW(00a0164c
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll",00000000,00000008)
ret=004a1c54
002c:trace:module:load_dll looking for
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll" in
L"C:\\windows\\system32"
002c:trace:module:map_image mapped PE file at 0x720000-0x78c000
002c:trace:module:map_image mapping section .text at 0x721000 off 400 size
4d000 virt 4ce4e flags 60000020
002c:trace:module:map_image mapping section .rdata at 0x76e000 off 4d400 size
13800 virt 1362c flags 40000040
002c:trace:module:map_image clearing 0x781800 - 0x782000
002c:trace:module:map_image mapping section .data at 0x782000 off 60c00 size
2a00 virt 2edc flags c0000040
002c:trace:module:map_image clearing 0x784a00 - 0x785000
002c:trace:module:map_image mapping section .rsrc at 0x785000 off 63600 size
600 virt 550 flags 40000040
002c:trace:module:map_image clearing 0x785600 - 0x786000
002c:trace:module:map_image mapping section .reloc at 0x786000 off 63c00 size
5a00 virt 59b4 flags 42000040
002c:trace:module:map_image clearing 0x78ba00 - 0x78c000
002c:trace:module:get_load_order looking for
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll"
002c:trace:module:get_load_order got hardcoded default for
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll"
002c:trace:module:load_builtin_dll Trying built-in L"dvssyshelper.dll"
002c:warn:module:load_builtin_dll cannot open .so lib for builtin
L"dvssyshelper.dll":
/home/focht/projects/wine/mainline-install-x86_64/bin/../lib/wine/dvssyshelper.dll.so:
cannot open shared object file: No such file or directory
002c:trace:module:load_native_dll Trying native dll
L"\\??\\C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll"
002c:trace:module:perform_relocations relocating from 0x10000000-0x1006c000 to
0x720000-0x78c000
002c:trace:module:set_security_cookie initializing security cookie 0x782530 
...
002c:trace:module:get_load_order looking for
L"C:\\windows\\system32\\tier0.dll"
002c:trace:module:get_load_order got hardcoded default for L"tier0.dll"
002c:trace:module:load_builtin_dll Trying built-in L"tier0.dll"
002c:warn:module:load_builtin_dll cannot open .so lib for builtin L"tier0.dll":
/home/focht/projects/wine/mainline-install-x86_64/bin/../lib/wine/tier0.dll.so:
cannot open shared object file: No such file or directory
002c:warn:module:load_dll Failed to load module L"tier0.dll"; status=c0000135
002c:err:module:import_dll Library tier0.dll (which is needed by
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll") not found
002c:trace:module:load_dll looking for L"libcrypto-1_1.dll" in
L"C:\\windows\\system32"
002c:trace:module:get_load_order looking for
L"C:\\windows\\system32\\libcrypto-1_1.dll"
002c:trace:module:get_load_order got hardcoded default for L"libcrypto-1_1.dll"
002c:trace:module:load_builtin_dll Trying built-in L"libcrypto-1_1.dll"
002c:warn:module:load_builtin_dll cannot open .so lib for builtin
L"libcrypto-1_1.dll":
/home/focht/projects/wine/mainline-install-x86_64/bin/../lib/wine/libcrypto-1_1.dll.so:
cannot open shared object file: No such file or directory
002c:warn:module:load_dll Failed to load module L"libcrypto-1_1.dll";
status=c0000135
002c:err:module:import_dll Library libcrypto-1_1.dll (which is needed by
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll") not found
002c:trace:module:load_dll looking for L"libcurl.dll" in
L"C:\\windows\\system32"
002c:trace:module:get_load_order looking for
L"C:\\windows\\system32\\libcurl.dll"
002c:trace:module:get_load_order got hardcoded default for L"libcurl.dll"
002c:trace:module:load_builtin_dll Trying built-in L"libcurl.dll"
002c:warn:module:load_builtin_dll cannot open .so lib for builtin
L"libcurl.dll":
/home/focht/projects/wine/mainline-install-x86_64/bin/../lib/wine/libcurl.dll.so:
cannot open shared object file: No such file or directory
002c:warn:module:load_dll Failed to load module L"libcurl.dll"; status=c0000135
002c:err:module:import_dll Library libcurl.dll (which is needed by
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll") not found
002c:trace:module:load_dll looking for L"dlmgr.dll" in L"C:\\windows\\system32"
002c:trace:module:get_load_order looking for
L"C:\\windows\\system32\\dlmgr.dll"
002c:trace:module:get_load_order got hardcoded default for L"dlmgr.dll"
002c:trace:module:load_builtin_dll Trying built-in L"dlmgr.dll"
002c:warn:module:load_builtin_dll cannot open .so lib for builtin L"dlmgr.dll":
/home/focht/projects/wine/mainline-install-x86_64/bin/../lib/wine/dlmgr.dll.so:
cannot open shared object file: No such file or directory
002c:warn:module:load_dll Failed to load module L"dlmgr.dll"; status=c0000135
002c:err:module:import_dll Library dlmgr.dll (which is needed by
L"C:\\users\\focht\\Temp\\is-KQRH8.tmp\\dvssyshelper.dll") not found 
...
002c:Ret  KERNEL32.LoadLibraryExW() retval=00000000 ret=004a1c54
002c:Call KERNEL32.GetLastError() ret=004a1c7b
002c:Ret  KERNEL32.GetLastError() retval=0000007e ret=004a1c7b
002c:Call user32.LoadStringW(00400000,0000ff06,0032db2c,00001000) ret=00408da6
002c:Ret  user32.LoadStringW() retval=00000013 ret=00408da6
002c:Call KERNEL32.WideCharToMultiByte(000004e4,00000000,0098e5a4 L"Could not
call proc",00000013,00000000,00000000,00000000,00000000) ret=00405410
002c:Ret  KERNEL32.WideCharToMultiByte() retval=00000013 ret=00405410
...
002c:Call KERNEL32.RaiseException(0eedfade,00000001,00000007,0032fc78)
ret=0049e6ce
002c:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b443f6f ip=7b443f6f
tid=002c
002c:trace:seh:raise_exception  info[0]=0049e6ce
002c:trace:seh:raise_exception  info[1]=00967780
002c:trace:seh:raise_exception  info[2]=009f6ef0
002c:trace:seh:raise_exception  info[3]=00000135
002c:trace:seh:raise_exception  info[4]=0032fda4
002c:trace:seh:raise_exception  info[5]=0032fca8
002c:trace:seh:raise_exception  info[6]=0032fc94
002c:trace:seh:raise_exception  eax=7b42e14d ebx=7b66b000 ecx=00000000
edx=0032fc78 esi=0032fc78 edi=0032fc40
002c:trace:seh:raise_exception  ebp=0032fc18 esp=0032fbb4 cs=0023 ds=32002b
es=32002b fs=fbad0063 gs=7bd1006b flags=00000216
002c:trace:seh:call_stack_handlers calling handler at 0x49e6e4 code=eedfade
flags=1
002c:trace:seh:call_stack_handlers handler at 0x49e6e4 returned 1 
--- snip ---

--- snip ---
$ tree --charset=ANSI .wine/drive_c/users/focht/Temp/is-KQRH8.tmp
.wine/drive_c/users/focht/Temp/is-KQRH8.tmp
|-- dlmgr.dll
|-- DVDVideoSoft.EnceladusUtils.dll
|-- DVDVideoSoft.SubscriptionMgr.dll
|-- DVDVideoSoft.Utils.dll
|-- dvssyshelper.dll
|-- _isetup
|-- jansson.dll
|-- libcrypto-1_1.dll
|-- libcurl.dll
|-- libeay32MD.dll
|-- libssl-1_1.dll
|-- msvcp120.dll
|-- msvcr120.dll
|-- sscrmgr.dll
|-- ssleay32MD.dll
|-- SubscriptionMgrBridge.dll
|-- tier0.dll
`-- unihelp.dll

1 directory, 17 files
--- snip ---

https://web.archive.org/web/20190405074418/http://sc.dvdvideosoft.net/test/FreeYouTubeToMP3Converter_4.1.91.328_d_45c65720-4be0-4cd6-813e-44ad81ea42a1.exe

$ sha1sum
FreeYouTubeToMP3Converter_4.1.91.328_d_45c65720-4be0-4cd6-813e-44ad81ea42a1.exe 
d16c21b0e65427d635ec788074a7f2d48fed305f 
FreeYouTubeToMP3Converter_4.1.91.328_d_45c65720-4be0-4cd6-813e-44ad81ea42a1.exe

$ du -sh
FreeYouTubeToMP3Converter_4.1.91.328_d_45c65720-4be0-4cd6-813e-44ad81ea42a1.exe 
35M   
FreeYouTubeToMP3Converter_4.1.91.328_d_45c65720-4be0-4cd6-813e-44ad81ea42a1.exe

$ wine --version
wine-4.5-185-g17056908ac

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list