Setup
- Scaler 3 v3.3.2 VST3 (current release), Ableton Live 12.4.6 Suite, Windows 11 25H2
- Reproduces 100%: load Scaler 3 on a MIDI track, open the editor, click anywhere in it, Live dies instantly.
What the crash reports show (misleading)
Windows Event Log blames mscordacwks.dll (0xc0000005) and Live’s crash reporter writes a 0-byte dump. Neither points at Scaler, so other users’ crash files probably won’t either.
Actual cause (debugger attached to Live, first-chance exception captured)
-
Exception: stack overflow (0xC00000FD) on Live’s UI thread
-
Repeating frames, hundreds deep:
Scaler_3 window proc (return RVA 0x4CC779)
Scaler_3 WM_IME_SETCONTEXT path (call at RVA 0x4AB055)
IMM32!ImmIsUIMessageW
USER32!SendMessageW
Scaler_3 window proc (again…)
When the editor window gets keyboard focus, Windows sends WM_IME_SETCONTEXT. The handler clears ISC_SHOWUICOMPOSITIONWINDOW, then calls ImmIsUIMessageW with the editor’s own HWND as hWndIME. ImmIsUIMessageW forwards the message to that window, which is the same handler, which calls ImmIsUIMessageW again, until the stack runs out. Microsoft’s docs say this message goes to ImmIsUIMessage only when the app has created its own IME window, and to DefWindowProc otherwise.
Confirmed fix
Redirecting that single call to DefWindowProcW in a local copy stops the crash completely, and Scaler works normally afterward. The identical code is in all four Windows VST3 binaries:
| Binary | Call site RVA |
|---|---|
| Scaler 3.vst3 (3.3.2) | 0x4AB055 |
| Scaler 3 Audio.vst3 (3.3.2) | 0x4AAEA5 |
| Scaler Detector.vst3 (1.2.0) | 0x4A4755 |
| Scaler Detector Audio.vst3 (1.2.0) | 0x4A45A5 |
The code matches JUCE’s Windows WM_IME_SETCONTEXT handling, and two other vendors’ JUCE-based plugins on this machine crash exactly the same way, so it’s likely framework-level. Source fix: pass WM_IME_SETCONTEXT to DefWindowProc instead of calling ImmIsUIMessage with the editor’s HWND.
Full debugger log available on request.