https://bugs.winehq.org/show_bug.cgi?id=54085
Bug ID: 54085 Summary: windows.devices.enumeration:devices - test_DeviceAccessInformation() sometimes crashes on Windows 10 Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
windows.devices.enumeration:devices - test_DeviceAccessInformation() sometimes crashes on Windows 10:
devices.c:272: Test succeeded devices.c:114: this is the last test seen before the exception 1474:devices: unhandled exception c0000005 at 00007FFC40CC44E7
See https://test.winehq.org/data/patterns.html#windows.devices.enumeration:devic...
The crash always happens in this call:
hr = IDeviceAccessInformationStatics_CreateFromDeviceClass( statics, DeviceClass_AudioCapture, &access_info );
And the crashes started as soon as this test was added in the commit below:
commit d0a60ca810ecb7ef71e67cb1a21ca6dc35c18bef Author: Paul Gofman pgofman@codeweavers.com Date: Tue Oct 4 13:13:05 2022 -0500
windows.devices.enumeration: Create stub DeviceAccessInformation class.
The crashes were also reported by the TestBot in MR!1027 but it got merged anyway.
https://bugs.winehq.org/show_bug.cgi?id=54085
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com Keywords| |regression, source, | |testcase Regression SHA1| |d0a60ca810ecb7ef71e67cb1a21 | |ca6dc35c18bef
https://bugs.winehq.org/show_bug.cgi?id=54085
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- I think the issue with the pre-existing test which is executed before.
I sent a MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/1712
https://bugs.winehq.org/show_bug.cgi?id=54085
--- Comment #2 from Sven Baars sven.wine@gmail.com --- This is fixed. The MR got merged last week and no crashes since then.
https://bugs.winehq.org/show_bug.cgi?id=54085
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |0da7ad35f130a2ea59380dcad21 | |79b972b3a909d Status|NEW |RESOLVED
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Yes. It does look good. Marking fixed.
commit 0da7ad35f130a2ea59380dcad2179b972b3a909d Author: Paul Gofman pgofman@codeweavers.com Date: Tue Dec 6 09:55:01 2022 -0600
windows.devices.enumeration/tests: Make test handlers structure static.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54085
https://bugs.winehq.org/show_bug.cgi?id=54085
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc2.