[Bug 47242] ReactOS 0.4.11-dev-603+ installer can't find file because NtQueryInformationProcess doesn't handle ProcessImageFileName properly

WineHQ Bugzilla wine-bugs at winehq.org
Mon Jan 3 15:50:48 CST 2022


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

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

revisiting, still present.

--- snip ---
$ WINEDEBUG=+seh,+relay,+server,+ntdll,+debugstr wine ./reactos.exe >>log.txt
2>&1
...
0024:Call
ntdll.NtQueryInformationProcess(ffffffff,0000001b,0032f954,00000210,00000000)
ret=00409074
0024: get_process_image_name( handle=ffffffff, win32=0 )
0024: get_process_image_name() = 0 { len=110,
name=L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos\\reactos.exe" }
0024:Ret  ntdll.NtQueryInformationProcess() retval=00000000 ret=00409074
0024:Call msvcrt.wcsrchr(0032f95c
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos\\reactos.exe",0000005c)
ret=004090a7
0024:Ret  msvcrt.wcsrchr() retval=0032f9b2 ret=004090a7
0024:Call msvcrt.wcslen(0032f95c
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos") ret=004090c7
0024:Ret  msvcrt.wcslen() retval=0000002b ret=004090c7
0024:Call ntdll.NtOpenSymbolicLinkObject(0032fd88,00000001,0032fd6c)
ret=0040910b
0024: open_symlink( access=00000001, attributes=00000040, rootdir=0000,
name=L"\\SystemRoot" )
0024: open_symlink() = OBJECT_NAME_NOT_FOUND { handle=0000 }
0024:Ret  ntdll.NtOpenSymbolicLinkObject() retval=c0000034 ret=0040910b
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\lib\setuplib.c:454) NtOpenSymbolicLinkObject(Z) failed with Status
0x0032fd8c
0024:Call ntdll.RtlCreateUnicodeString(00444edc,0032f95c
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos") ret=004091db
0024:Ret  ntdll.RtlCreateUnicodeString() retval=004cbd01 ret=004091db
0024:Call msvcrt.wcsrchr(0032f95c
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos",0000005c) ret=004091e9
0024:Ret  msvcrt.wcsrchr() retval=0032f9a2 ret=004091e9
0024:Call ntdll.RtlCreateUnicodeString(00444ed4,0032f9a2 L"\\reactos")
ret=00409203
0024:Ret  ntdll.RtlCreateUnicodeString() retval=004cbe01 ret=00409203
0024:Call ntdll.RtlCreateUnicodeString(00444ecc,0032f95c
L"\\??\\Z:\\home\\focht\\Downloads\\reactos") ret=0040922d
0024:Ret  ntdll.RtlCreateUnicodeString() retval=004cbe01 ret=0040922d
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:986) SourcePath: 'Z'
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:987) SourceRootPath: 'Z'
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:988) SourceRootDir: 'Z' 
...
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:901) Testing 'C:\' --> '\Device\HarddiskVolume1\'
0024:Call msvcrt.wcslen(0032f540 L"\\Device\\HarddiskVolume1\\") ret=00401872
0024:Ret  msvcrt.wcslen() retval=00000018 ret=00401872
0024:Call msvcrt._wcsnicmp(0032f540 L"\\Device\\HarddiskVolume1\\",0032fb80
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos\\txtsetup.sif",00000018)
ret=00401887 
...
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:901) Testing 'D:\' --> '\Device\CdRom0\'
0024:Call msvcrt.wcslen(0032f540 L"\\Device\\CdRom0\\") ret=00401872
0024:Ret  msvcrt.wcslen() retval=0000000f ret=00401872
0024:Call msvcrt._wcsnicmp(0032f540 L"\\Device\\CdRom0\\",0032fb80
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos\\txtsetup.sif",0000000f)
ret=00401887 
...
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:901) Testing 'E:\' --> '\Device\CdRom1\'
0024:Call msvcrt.wcslen(0032f540 L"\\Device\\CdRom1\\") ret=00401872
0024:Ret  msvcrt.wcslen() retval=0000000f ret=00401872
0024:Call msvcrt._wcsnicmp(0032f540 L"\\Device\\CdRom1\\",0032fb80
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos\\txtsetup.sif",0000000f)
ret=00401887 
...
0024:warn:debugstr:vDbgPrintExWithPrefix 00000000:00000001:
(base\setup\reactos\reactos.c:901) Testing 'Z:\' --> '\Device\HarddiskVolume2\'
0024:Call msvcrt.wcslen(0032f540 L"\\Device\\HarddiskVolume2\\") ret=00401872
0024:Ret  msvcrt.wcslen() retval=00000018 ret=00401872
0024:Call msvcrt._wcsnicmp(0032f540 L"\\Device\\HarddiskVolume2\\",0032fb80
L"\\??\\Z:\\home\\focht\\Downloads\\reactos\\reactos\\txtsetup.sif",00000018)
ret=00401887 
...
0024:Call user32.MessageBoxW(00000000,0032f920 L"Unable to find
'txtsetup.sif'\nSetup is unable to continue",0032fd20 L"ReactOS
Setup",00000010) ret=00401c23 
--- snip ---

$ wine --version
wine-7.0-rc4

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