[Bug 52317] New: Microsoft Visual Studio 2008 debugger reports 'Unable to attach to the process. Operation not supported. Unknown error: 0x8000ffff' in 'Windows Vista+' mode (needs kernel32.GetNamedPipeClientComputerNameW)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Jan 1 10:24:05 CST 2022


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

            Bug ID: 52317
           Summary: Microsoft Visual Studio 2008 debugger reports 'Unable
                    to attach to the process. Operation not supported.
                    Unknown error: 0x8000ffff' in 'Windows Vista+' mode
                    (needs kernel32.GetNamedPipeClientComputerNameW)
           Product: Wine
           Version: 7.0-rc3
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kernel32
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

as it says. For the installer you need to work around bug 29354.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Microsoft Visual Studio 9.0/Common7/IDE

$ WINEDEBUG=+seh,+relay wine ./devenv.exe >>log.txt 2>&1
...
0120:Call KERNEL32.GetVersion() ret=3f082ff0
...
0120:Call ntdll.wcscpy(0021e558,7b086e88 L"Service Pack 1") ret=7b052c15
0120:Ret  ntdll.wcscpy() retval=0021e558 ret=7b052c15
0120:Ret  KERNEL32.GetVersion() retval=1db10106 ret=3f082ff0
0120:Call KERNEL32.GetModuleHandleW(3f081cdc L"KERNEL32.DLL") ret=3f08b158
...
0120:Ret  KERNEL32.GetModuleHandleW() retval=7b600000 ret=3f08b158
0120:Call KERNEL32.GetProcAddress(7b600000,3f08b2c8
"GetNamedPipeClientProcessId") ret=3f08b168
0120:Ret  KERNEL32.GetProcAddress() retval=7b6052d0 ret=3f08b168
0120:Call KERNEL32.GetProcAddress(7b600000,3f08b2e4
"GetNamedPipeClientComputerNameW") ret=3f08b176
0120:Ret  KERNEL32.GetProcAddress() retval=00000000 ret=3f08b176
...
0120:Call KERNEL32.LoadLibraryExW(02a2f018 L"C:\\Program Files\\Microsoft
Visual Studio
9.0\\Common7\\Packages\\Debugger\\1033\\vsdebugui.dll",00000000,00000002)
ret=3f23cd7c
...
0120:Ret  KERNEL32.LoadLibraryExW() retval=3f470000 ret=3f23cd7c
...
0120:Call
KERNEL32.FormatMessageW(00001300,00000000,8000ffff,00000400,0021eb18,00000000,00000000)
ret=3f2b9072
...
0120:Ret  KERNEL32.FormatMessageW() retval=00000000 ret=3f2b9072
...
0120:Call oleaut32.SysAllocString(02a2df58 L"Operation not supported. Unknown
error: 0x8000ffff.") ret=3f247a9f
...
0120:Call user32.DrawTextW(0f01003f,02a2db40 L"Unable to attach to the process.
Operation not supported. Unknown error:
0x8000ffff.",ffffffff,0021e7ec,00000850) ret=02036e1b 
...
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/b6dc83990872106fdb957b2947b71f0dbd77efc4:/dlls/kernel32/kernel32.spec#l733

--- snip ---
 733 # @ stub GetNamedPipeClientComputerNameA
 734 # @ stub GetNamedPipeClientComputerNameW
--- snip ---

Microsoft docs:

https://docs.microsoft.com/en-us/windows/win32/api/namedpipeapi/nf-namedpipeapi-getnamedpipeclientcomputernamew

Stable download link Internet Archive for documentation.

https://web.archive.org/web/20200226201149/http://download.microsoft.com/download/8/1/d/81d3f35e-fa03-485b-953b-ff952e402520/VS2008ProEdition90dayTrialENUX1435622.iso

$ sha1sum VS2008ProEdition90dayTrialENUX1435622.iso 
dfb601096f62fd75af6ad62b277be79793f53b56 
VS2008ProEdition90dayTrialENUX1435622.iso

$ du -sh VS2008ProEdition90dayTrialENUX1435622.iso 
3.4G    VS2008ProEdition90dayTrialENUX1435622.iso

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