https://bugs.winehq.org/show_bug.cgi?id=52118
Bug ID: 52118 Summary: The 64-bit crypt32:store test crashes due to heap corruption Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The 64-bit crypt32:store crashes due to heap corruption:
crypt32:store:0224 done (-1073740940) in 0s Test failed: crash (c0000374)
https://test.winehq.org/data/patterns.html#crypt32:store
The crashes only happen with the 64-bit build. They happen almost systematically on the TestBot's w864 VM and cw-rx460. It looks like the same crash happens on the TestBot's Windows 10 1507, 1607 and 2009 VMs.
At least on cw-rx460 the crash happens around the last CertCloseStore(store, 0); call in testRegStoreSavedCerts(). Adding traces changes the crash location a bit.
Also the test tends to crash every other time. That suggest there is some cleanup issue.
https://bugs.winehq.org/show_bug.cgi?id=52118
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=52118
--- Comment #1 from François Gouget fgouget@codeweavers.com --- The crash can also take other forms but the root cause is probably still the same:
2022-04-27 and 2022-05-04 on w1064v1607 store.c:392: Test failed: Create cert context failed at 1, c0000005 store.c:392: this is the last test seen before the exception 107c:store: unhandled exception c0000005 at 00007FFC5A28E29E crypt32:store:107c done (-1073741819) in 0s Test failed: crash (c0000005)
2022-05-03 on w864 and 2022-06-01 on w1064v1607 store.c:454: this is the last test seen before the exception 09f8:store: unhandled exception c0000005 at 00007FFC5CFB9998 crypt32:store:09f8 done (-1073741819) in 0s Test failed: crash (c0000005)
https://bugs.winehq.org/show_bug.cgi?id=52118
--- Comment #2 from François Gouget fgouget@codeweavers.com --- This crash can also happen on Windows 10 21H2. So it's best to consider that all Windows versions can be impacted.
https://bugs.winehq.org/show_bug.cgi?id=52118
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net