https://bugs.winehq.org/show_bug.cgi?id=54614
--- Comment #2 from François Gouget fgouget@codeweavers.com --- Created attachment 74141 --> https://bugs.winehq.org/attachment.cgi?id=74141 Isolate the code paths that crash the event logger service on Windows 10 2004
advapi32:eventlog has at least 7 code paths that can crash the event log service on Windows 10 2004. Just set the crash variable between 1 and 7 to experiment with each case.
In all cases it seems to be the combination of BackupEventLogA() (such as in create_backup()) followed by OpenBackupEventLogA(NULL, backup) that causes the crash (replacing NULL with "" crashes too).
So essentially it's opening a backup that causes the crash.