Hi,
I'd like to share a reproducible cause and a workaround for the wmidcom.dll_unloaded crash discussed here:
@AmigaDopusRocks – you reported the same crash on Server 2025 and Server 2022, so this may help you too.
Environment
- Windows Server 2022 (offline / not connected to the internet)
- Directory Opus 13.25 x64
Symptom
dopus.exe crashes when Opus is started again after exiting it. The Application event log (Event ID 1000) shows the same entry every time:
- Faulting application:
dopus.exe - Faulting module:
wmidcom.dll_unloaded - Exception code:
0xc0000005
I had 8 of these crashes in one day. No crash dumps were created in %TEMP%\DOpus.Minidumps.
What I found
After exiting Opus from the menu (File > Exit), one dopusrt.exe process stays running. I checked it with Process Hacker. Its command line is:
"C:\Program Files\GPSoftware\Directory Opus\dopusrt.exe" /dblclk
I understand this is the desktop double-click helper and that it is meant to keep running in the background when Opus is closed. However, on this machine:
- If this
dopusrt.exe /dblclkinstance is running and I start Opus → Opus crashes. - If I manually end that
dopusrt.exeprocess first and then start Opus → Opus starts normally.
I repeated this many times and the result was the same every time.
Workaround
Preferences > Launching Opus > From the Desktop > Disable
After disabling desktop double-click, the dopusrt.exe /dblclk process no longer stays in the background, and Opus has not crashed since. It now starts normally every time.
Note: I did not change flush_com_libraries (suggested in the other thread). I left it at its default. Disabling desktop double-click alone was enough.
So it looks like the crash happens when a new dopus.exe starts while the double-click helper from a previous session is still running. This might also explain why the crash in the other thread happened on the "first start" of the day (the helper is started automatically with Windows), and why starting Explorer first seemed to help. That part is only my guess, though.
@AmigaDopusRocks – if you have desktop double-click enabled, could you try disabling it and see if the crash goes away?
I hope this helps narrow it down. Thanks for a great program.
Mesut