[Bug 33037] Visual Studio 6 can't be installed with WinVer >= Win2K ( missing HKEY_PERFORMANCE_DATA 230, process object)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 15 05:51:39 CDT 2018


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

--- Comment #29 from Anastasius Focht <focht at gmx.net> ---
Hello Mathew,

--- quote ---
The staged patches are in now.

Was this fixed with
https://source.winehq.org/git/wine.git/commitdiff/6500f882dad29eb417107d2f73589b31b53b6f3f
--- quote ---

No. It still needs an additional Wine-Staging patchset:

https://github.com/wine-staging/wine-staging/tree/master/patches/wine.inf-Performance

Without it, it would still crash with the original installer the same way as
years ago:

--- snip ---
...
0030:Call advapi32.RegOpenKeyExA(80000002,0042c678
"software\\microsoft\\windows
nt\\currentversion\\perflib\\009",00000000,00020019,0033b344) ret=004117f5
0030:Ret  advapi32.RegOpenKeyExA() retval=00000002 ret=004117f5
0030:Call ntdll.RtlReAllocateHeap(00490000,00000000,0033b3c4,00000010)
ret=00415bde
0030:Ret  ntdll.RtlReAllocateHeap() retval=00000000 ret=00415bde
0030:Call advapi32.RegCloseKey(80000004) ret=00411be3
0030:Ret  advapi32.RegCloseKey() retval=00000000 ret=00411be3
0030:Call user32.SetCursor(0002006a) ret=00411bee
0030:Call winex11.drv.SetCursor(0002006a) ret=7e6f86fb
0030:Call winex11.drv.WindowMessage(00010070,80001003,00000000,0002006a)
ret=7e73f255
0030:Ret  winex11.drv.WindowMessage() retval=00000000 ret=7e73f255
0030:Ret  winex11.drv.SetCursor() retval=00000001 ret=7e6f86fb
0030:Ret  user32.SetCursor() retval=0001009a ret=00411bee
0030:trace:seh:raise_exception code=c0000005 flags=0 addr=0x411c09 ip=00411c09
tid=0030
0030:trace:seh:raise_exception  info[0]=00000000
0030:trace:seh:raise_exception  info[1]=00000000
0030:trace:seh:raise_exception  eax=7093ad00 ebx=ffffff31 ecx=0033bb8c
edx=7e8a8314 esi=00000000 edi=0000004e
0030:trace:seh:raise_exception  ebp=00000000 esp=0033b458 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00010212
0030:trace:seh:call_stack_handlers calling handler at 0x42171b code=c0000005
flags=0
0030:trace:seh:call_stack_handlers handler at 0x42171b returned 1
0030:trace:seh:call_stack_handlers calling handler at 0x421464 code=c0000005
flags=0
0030:trace:seh:call_stack_handlers handler at 0x421464 returned 1
0030:trace:seh:call_stack_handlers calling handler at 0x415068 code=c0000005
flags=0 
--- snip ---

After applying:
https://github.com/wine-staging/wine-staging/tree/master/patches/wine.inf-Performance

--- snip ---
...
004f:Call advapi32.RegOpenKeyExA(80000002,0042c678
"software\\microsoft\\windows
nt\\currentversion\\perflib\\009",00000000,00020019,0033b344) ret=004117f5
004f:Ret  advapi32.RegOpenKeyExA() retval=00000000 ret=004117f5
004f:Call advapi32.RegQueryValueExA(00000074,00425554
"Counters",00000000,0033b350,00000000,0033b340) ret=0041181b
004f:Ret  advapi32.RegQueryValueExA() retval=00000000 ret=0041181b
004f:Call advapi32.RegQueryValueExA(00000074,00425554
"Counters",00000000,0033b350,005a1f90,0033b340) ret=0041186e
004f:Ret  advapi32.RegQueryValueExA() retval=00000000 ret=0041186e 
...
004f:Call advapi32.RegQueryValueExA(80000004,0042c678
"software\\microsoft\\windows
nt\\currentversion\\perflib\\009",00000000,0033b350,004af0d8,0033b340)
ret=004119de
004f:Call PE DLL (proc=0x7d4e71be,module=0x7d4c0000
L"winspool.drv",reason=PROCESS_ATTACH,res=(nil))
...
004f:Ret  PE DLL (proc=0x7d4e71be,module=0x7d4c0000
L"winspool.drv",reason=PROCESS_ATTACH,res=(nil)) retval=1
004f:Call winspool.drv.PerfOpen(00000000) ret=7e5208c7
004f:fixme:winspool:PerfOpen (null): stub
004f:Ret  winspool.drv.PerfOpen() retval=00000000 ret=7e5208c7
004f:Call winspool.drv.PerfCollect(00176070 L"software\\microsoft\\windows
nt\\currentversion\\perflib\\009",0033b114,0033b11c,0033b118) ret=7e52094b
004f:fixme:winspool:PerfCollect L"software\\microsoft\\windows
nt\\currentversion\\perflib\\009", 0x33b114, 0x33b11c, 0x33b118: stub
004f:Ret  winspool.drv.PerfCollect() retval=00000000 ret=7e52094b
004f:Call winspool.drv.PerfClose() ret=7e5209a9
004f:fixme:winspool:PerfClose stub
004f:Ret  winspool.drv.PerfClose() retval=00000000 ret=7e5209a9
...
004f:Ret  PE DLL (proc=0x7d4e71be,module=0x7d4c0000
L"winspool.drv",reason=PROCESS_DETACH,res=(nil)) retval=1
004f:Ret  advapi32.RegQueryValueExA() retval=00000000 ret=004119de 
...
<runs to completion>
--- snip ---

$ wine --version
wine-3.12-110-g414fe80aeb

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