https://bugs.winehq.org/show_bug.cgi?id=39152
Bug ID: 39152 Summary: monitor test 3.2 fails to read registery Product: Wine Version: 1.7.50 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: super_man@post.com Distribution: ---
http://www.passmark.com/ftp/montest.exe
Error opening registery key HKEY_LOCAL_MACHINE\key_path it complains that at start of the program and few times later while running the test
default console output doesn't reveal enough
wine 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=39152
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.passmark.com/ftp | |/montest.exe
--- Comment #1 from Austin English austinenglish@gmail.com --- (In reply to super_man from comment #0)
Please fill out the URL field/download keyword when there's a download.
Error opening registery key HKEY_LOCAL_MACHINE\key_path it complains that at start of the program and few times later while running the test
What path, exactly? Screenshots may also help.
default console output doesn't reveal enough
Please upload it anyway (unless it's empty).
Lastly, please attach a +reg,+relay,+tid trace.
https://bugs.winehq.org/show_bug.cgi?id=39152
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|monitor test 3.2 fails to |Monitor Test 3.2 fails to |read registery |enumerate video | |devices/drivers in registry | |('HKLM\HARDWARE\DeviceMap | |\VIDEO', PnP Manager) Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/MonitorTest
$ WINEDEBUG=+tid,+seh,+relay wine ./MonitorTest.exe >>log.txt 2>&1 ... 0027:Call advapi32.RegOpenKeyExA(80000002,00547460 "HARDWARE\DESCRIPTION\System",00000000,00000001,0032eb10) ret=004b925c 0027:Ret advapi32.RegOpenKeyExA() retval=00000000 ret=004b925c 0027:Call advapi32.RegQueryValueExA(0000005c,005474c4 "VideoBiosdate",00000000,00000000,001570f4,0032eb08) ret=004b92a8 0027:Ret advapi32.RegQueryValueExA() retval=00000002 ret=004b92a8 0027:Call advapi32.RegQueryValueExA(0000005c,005474d4 "VideoBiosVersion",00000000,00000000,001571f4,0032eb08) ret=004b92ec 0027:Ret advapi32.RegQueryValueExA() retval=00000002 ret=004b92ec 0027:Call advapi32.RegCloseKey(0000005c) ret=004b9312 0027:Ret advapi32.RegCloseKey() retval=00000000 ret=004b9312 0027:Call advapi32.RegOpenKeyExA(80000002,005474f8 "HARDWARE\DEVICEMAP\VIDEO",00000000,00000001,0032eb10) ret=004b9348 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=004b9348 0027:Call advapi32.RegOpenKeyExA(80000002,005474f8 "HARDWARE\DEVICEMAP\VIDEO",00000000,00000001,0032eb10) ret=004b9534 0027:Ret advapi32.RegOpenKeyExA() retval=00000002 ret=004b9534 0027:Call KERNEL32.RaiseException(e06d7363,00000001,00000003,0032e93c) ret=004dca50 0027:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b845d61 ip=7b845d61 tid=0027 0027:trace:seh:raise_exception info[0]=19930520 0027:trace:seh:raise_exception info[1]=0032e974 0027:trace:seh:raise_exception info[2]=005856f8 0027:trace:seh:raise_exception eax=7b832afd ebx=00000000 ecx=0000000c edx=0032e874 esi=0032e920 edi=0032e8e0 0027:trace:seh:raise_exception ebp=0032e8b8 esp=0032e854 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200202 0027:trace:seh:call_stack_handlers calling handler at 0x53fbb0 code=e06d7363 flags=1 ... 0027:Call user32.MessageBoxA(00000000,00547564 "Error opening registry key HKEY_LOCAL_MACHINE\key_path",005467c0 "Error",00000010) ret=004b9761 --- snip ---
The keys under HARDWARE are managed by Plug and Play (PnP) manager. Same problem domain such as serial ports, SCSI devices where already bug reports exist.
The registry hacks that already present are just workarounds due to Wine lacking PnP Manager component.
$ sha1sum montest.exe f1ae35a66a206f7b9d69fe386c3d448f9b4d2863 montest.exe
$ du -sh montest.exe 1.9M montest.exe
$ wine --version wine-1.7.50-53-gbdaa571c5
Regards
https://bugs.winehq.org/show_bug.cgi?id=39152
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com Assignee|wine-bugs@winehq.org |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=39152
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed in wine-4.12.1
https://bugs.winehq.org/show_bug.cgi?id=39152
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- (In reply to Zhiyi Zhang from comment #3)
Fixed in wine-4.12.1
indeed seems to be fixed. wine-4.11 (Staging) in use here.
https://bugs.winehq.org/show_bug.cgi?id=39152
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.13.