https://bugs.winehq.org/show_bug.cgi?id=54555
Bug ID: 54555 Summary: winmm:mci sometimes crashes on exit on Windows Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: winmm&mci Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
winmm:mci sometimes crashes on exit on Windows:
0fec:mci: 675 tests executed (0 marked as todo, 0 as flaky, 0 failures), 0 skipped. mci.c:1796: this is the last test seen before the exception 0fec:mci: unhandled exception c0000005 at 75B37660 winmm:mci:0fec done (-1073741819) in 15s 453B
See https://test.winehq.org/data/patterns.html#winmm:mci
The "tests executed" line indicates that the crash happened either in the test framework's main function or on process exit. The usual suspects are memory / stack corruption, threads running code from unloaded dlls, etc. There is a comment indicating that "Win9X hangs when exiting with something still open". Maybe the "close all" command it not always completely effective.
The oldest known instance was on 2022-08-31 and this happened 8 times until 2022-12-07, and then twice in February 2023. It's not clear if the December and January hiatus was just pure luck or if this is caused by external interference that went away during that period.
This also seems to be specific to Windows 10 2004+.