[Bug 54632] New: advapi32:registry causes scrobj:scrobj to crash when run without elevated privileges on Windows 8
https://bugs.winehq.org/show_bug.cgi?id=54632 Bug ID: 54632 Summary: advapi32:registry causes scrobj:scrobj to crash when run without elevated privileges on Windows 8 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: scrobj Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com advapi32:registry causes scrobj:scrobj to crash when run without elevated privileges on Windows 8: scrobj.c:767: Test failed: DllInstall failed: 80004005 scrobj.c:771: Test failed: RegQueryValueA failed: 2 scrobj.c:771: Test failed: Unexpected value "F", expected "WineTest object" scrobj.c:772: Test failed: RegQueryValueA failed: 2 scrobj.c:772: Test failed: Unexpected value "F", expected "*\scrobj.dll" scrobj.c:773: Test failed: RegQueryValueA failed: 2 scrobj.c:773: Test failed: Unexpected value "F", expected "WineTest.1.23" scrobj.c:774: Test failed: RegQueryValueA failed: 2 scrobj.c:774: Test failed: Unexpected value "F", expected "WineTest" scrobj.c:804: Test failed: Could not get class factory: 80040154 scrobj.c:804: this is the last test seen before the exception 0dbc:scrobj: unhandled exception c0000005 at 00403A9A See https://test.winehq.org/data/patterns.html#scrobj:scrobj This crash does not happen when running scrobj:scrobj on its own. I determined that the source of interference is advapi32:registry. It is the combination of test_reg_open_key() and test_classesroot() in registry.c that causes the crash. More specifically this call in test_classesroot(): res = RegCreateKeyExA( HKEY_LOCAL_MACHINE, "Software\\Classes\\WineTestCls", 0, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hklm, NULL ); -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54632 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase -- 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.
https://bugs.winehq.org/show_bug.cgi?id=54632 --- Comment #1 from François Gouget <fgouget(a)codeweavers.com> --- Created attachment 74158 --> https://bugs.winehq.org/attachment.cgi?id=74158 Slim down advapi32:registry for the scrobj:scrobj crash -- 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.
participants (1)
-
WineHQ Bugzilla