Cubase 15.0.40 GUI Hang During VST3 Editor Removal — JUCE/UI Automation Interlock

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

  1. Create a new empty project and add one audio track.

  2. Insert VO-TT into the track and open its editor.

  3. Keep the VO-TT editor window open.

  4. In the Project window, go to the left Inspector’s Inserts section.

  5. Open the plug-in selector for the insert slot currently containing VO-TT.

  6. 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.

Have you reported this issue to the plugin developer, because to me this looks like a bad reaction from the plugin, not Cubase.

Btw. you can upload the dump files here, which allows others to see what happened here. Your text looks like one of these AI tool wrapups.

Thanks for taking a look.

I agree that the immediate issue appears to be on the plug-in/JUCE side rather than necessarily being a Cubase defect.

I’ve prepared a separate technical report for TBTECH and plan to contact them directly. I posted here because the failure also blocks Cubase’s main GUI thread, and I thought the host-side behavior might be worth documenting.

Regarding the dumps, I’d prefer not to upload raw process memory publicly, as even minidumps can contain unrelated private data. The findings are based on two actual captures and subsequent debugging, rather than assumptions.

If further technical evidence is needed, I can provide a carefully redacted stack trace or relevant synchronization details without exposing the full memory dumps.

Thanks again for your feedback.:grinning_face:

I have also seen a few cubase lockups with 15.0.40 (osx 27.1).
It have happen when loading a plugin and it have also happen when EUCON builds a mix view. So I think this is more than a JUCE issue.

While you are right per se, @JuergenP , Cubase should be at least as stable as showing an error message, but stay responding afterwards.

At least that much could be expected from Steinberg, as it should be in their own interest to keep their DAW platform robust against non-optimal third-party plugin quality

True, after looking again it seems like the main thread in Cubase is going into a dead lock, blocking the whole application.

However, I still believe the culprit is the plugin with a badly written interface. I tried to reproduce the hang using a standard plugin in Cubase, but it doesn’t show any bad behavior. It works absolutely as expected.

There’s only so much you can do reasonably to defend the host app if you host plugins in-process.

Pete
Microsoft

Exactly