Reproducible Cubase 15 GUI Hang During VST3 Editor Removal — JUCE/UI Automation Interlock
I’m reporting a reproducible GUI hang in Cubase Pro 15.0.40 involving the removal of a third-party VST3 plug-in editor.
The issue has been investigated using two memory dumps captured from the same hung process, Windows debugging symbols, thread synchronization analysis, and read-only inspection of the affected plug-in binary.
The investigation identified a specific blocking path involving JUCE’s Windows accessibility implementation and UiaDisconnectAllProviders. An official JUCE source-code fix appears directly relevant.
I’m posting this here because the hang affects Cubase’s main GUI thread, and I would appreciate a review of the host-side VST3 editor lifecycle behavior.
1. Environment
-
Cubase Pro 15.0.40 (64-bit)
-
Windows 11
-
Affected plug-in: TBTECH VO-TT (VST3)
-
Minimal test project: One audio track with VO-TT inserted
The issue does not require a large or complex project.
2. Steps to Reproduce
-
Create a new empty project and add one audio track.
-
Insert VO-TT into the track and open its editor.
-
Keep the VO-TT editor window open.
-
In the Project window, go to the left Inspector’s Inserts section.
-
Open the plug-in selector for the insert slot currently containing VO-TT.
-
Press Enter to select the same VO-TT plug-in again while its editor is still open.
Actual result:
The operation reproduces a serious GUI failure with very high consistency.
The VO-TT editor becomes blank or white, selection rectangles remain visible in the Cubase Project window, and the GUI becomes unresponsive. In some occurrences, Cubase crashes instead.
Once the hang occurs, attempts to close or hide the plug-in editor generally do not restore normal operation.
Expected result:
Reselecting an insert should either preserve the current plug-in or safely perform the necessary editor/instance lifecycle operations, without blocking Cubase’s main GUI thread.
3. Live Hang Investigation
I preserved one occurrence of the hang and captured two PSS-based MiniDumps approximately 25 seconds apart, without terminating the Cubase process.
The dumps were analyzed using WinDbg/CDB, matching Microsoft public symbols, Windows handle information, and Wait Chain Traversal.
The Cubase Project window and the VO-TT editor were confirmed to share the same GUI thread.
Both dumps show that this thread remains blocked inside the plug-in’s editor-removal path.
The relevant call sequence is:
Cubase window dispatch
→ VST3 IPlugView::removed
→ VO-TT / JUCE editor cleanup
→ JUCE accessibility cleanup
→ UiaDisconnectAllProviders
→ UIAutomationCore:
DisconnectAllReadWriteChannels
→ CoWaitForMultipleHandles
For Cubase 15.0.40, the relevant host return address is Cubase15+0x4B03BAD.
The corresponding plug-in return address is VOTT_64_+0x4F0B2F.
VST3 interface/vtable and binary type analysis support the identification of the IPlugView::removed callback and subsequent JUCE editor content cleanup.
This does not establish that Cubase calls the interface incorrectly.
4. Thread Synchronization Findings
The two dumps consistently show the following relationship:
-
The Cubase GUI thread is waiting for an unsignaled UI Automation completion event.
-
The same GUI thread owns a mutex used by the UI Automation subsystem.
-
A UI Automation I/O worker is blocked while trying to acquire that mutex in
OverlappedIOManager::AddChannel_AnyThread. -
The GUI and UIA worker remain at the same relevant call sites, with the same waiting objects, across both captures.
Wait Chain Traversal also confirms that the UIA worker is waiting for a mutex owned by the GUI thread.
This strongly supports a persistent synchronization interlock between UIA channel disconnection and channel creation.
The complete set of potential event signalers has not been established, so I am not claiming that a formally complete deadlock cycle has been proven.
However, the captured state provides a concrete explanation for why the plug-in callback does not return and why Cubase’s main GUI becomes unresponsive.
5. Relevant Official JUCE Fix
I found an upstream JUCE commit that directly addresses process-wide UI Automation cleanup from within hosted plug-ins:
JUCE commit: 2e51802c4bb33c0209199097a2e2d87e13757e76
The change adds a non-standalone guard to WindowsUIAWrapper::disconnectAllProviders():
if (! JUCEApplicationBase::isStandaloneApp())
return (HRESULT) UIA_E_NOTSUPPORTED;
The upstream rationale is that calling process-wide UI Automation disconnection from a plug-in may interfere with providers owned by the host or other plug-ins.
Read-only static analysis of the affected VO-TT binary confirms that its JUCE accessibility cleanup still reaches UiaDisconnectAllProviders while running inside Cubase.
The relevant machine-code call site matches the captured hang stack. Therefore, the effective protection targeted by this JUCE change is not present on the executed path.
The exact JUCE revision used by VO-TT remains unknown. Applying the upstream fix has not yet been tested against this specific failure.
6. Request for Steinberg Review
I understand that the immediate problematic behavior may originate in the plug-in’s embedded JUCE implementation, rather than in Cubase itself.
I am also contacting the plug-in developer, TBTECH, regarding the upstream fix.
However, I would appreciate Steinberg’s input on the following:
VST3 editor lifecycle: Could the Cubase team confirm the expected callback sequence and thread context when the currently inserted plug-in is reselected with its editor still open, particularly around IPlugView::removed?
Host-side interaction: Is there any known interaction between Cubase’s editor/window lifecycle, Windows UI Automation, and synchronous plug-in callbacks that could contribute to this blocking behavior?
Host resilience: Are there safe host-side mitigations or diagnostics for situations where a third-party editor-removal callback never returns? I understand that forcibly interrupting such callbacks may not be safe.
Upstream compatibility: Would it be possible to review this case alongside the JUCE fix and the plug-in developer’s investigation?
7. Diagnostic Evidence
Two same-process MiniDumps, call-stack analyses, waiting-object evidence, and binary control-flow findings have been preserved.
I have not attached raw memory dumps or complete diagnostic logs to this public post because they can contain unrelated private application data.
If additional evidence would help, I can prepare a narrowly scoped, privacy-reviewed technical excerpt containing the relevant call stacks and module offsets.
I would greatly appreciate any confirmation from other users who encounter similar VST3 editor-removal hangs, as well as feedback from Steinberg’s engineering team.
Thank you for taking the time to review these findings.