https://bugs.winehq.org/show_bug.cgi?id=57109
--- Comment #5 from Pedro M Sanches pedrodarch15b@gmail.com --- After a few days of going back and forth with more debugging and regression testing, I've found out that the same problem still happens on versions of Wine prior to Wine 9.11.
Clearing Max config folder *seems* to fix the problem, and just closing and reopening both Ableton and standalone Max is not enough to reproduce it. It happens randomly while using Ableton, even if I don't put any Max for Live device anywhere on a project. I thought this was just a "my machine" issue but the same thing happens on my laptop with both vanilla and some modified wine trees.
While I was at it, when Max was working, it was crashing a few missing COM classes.
aa509086-5ca9-4c25-8f95-589d3c07b48a (seems to be IVirtualDesktopManager according to some StackOverflow post) 42843719-DB4C-46C2-8E7C-64F1816EFD5B (seems to be ISetupConfiguration according to MSDN)
I don't have the logs for the second one, but it can be triggered by putting an "Envelope MIDI" device on a MIDI track.
I'll post what I have to report of my debugging sessions later today
0130:fixme:file:GetFinalPathNameByHandleW FILE_NAME_OPENED not supported 0130:fixme:file:GetLongPathNameW UNC pathname L"\\?\C:\ProgramData\Ableton\Live 12 Trial\Resources\Max\Max.exe" 0130:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 0000000002A48620): semi-stub 0130:fixme:system:EnableNonClientDpiScaling (000000000001006C): stub 0130:fixme:win:RegisterTouchWindow hwnd 000000000001006C, flags 0 stub! 0130:fixme:msg:ChangeWindowMessageFilterEx 000000000001006C 233 1 0000000000000000 0130:fixme:msg:ChangeWindowMessageFilterEx 000000000001006C 4a 1 0000000000000000 0130:fixme:msg:ChangeWindowMessageFilterEx 000000000001006C 49 1 0000000000000000 0130:err:ole:com_get_class_object class {aa509086-5ca9-4c25-8f95-589d3c07b48a} not registered 0130:err:ole:com_get_class_object class {aa509086-5ca9-4c25-8f95-589d3c07b48a} not registered 0130:err:ole:create_server class {aa509086-5ca9-4c25-8f95-589d3c07b48a} not registered 0130:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported 0130:err:ole:com_get_class_object no class object {aa509086-5ca9-4c25-8f95-589d3c07b48a} could be created for context 0x17 ...