juce-framework / JUCE

JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
https://juce.com
Other
6.3k stars 1.67k forks source link

[Bug]: AUv3 crashes 100% of the time with macos 14 + ableton 11 #1364

Open modosc opened 3 months ago

modosc commented 3 months ago

Detailed steps on how to reproduce the bug

(see also the forum thread here

auv3 plugins running in ableton 11 on macos 14 will crash ~100% of the time when closing and opening the editor window. the processor continues to run in the background but it's impossible to bring the editor window back. i'm an indie license holder for juce 7, and this is affecting my paid customers.

here's a video of this happening with the AUv3SynthPlugin.

the error displayed in the debugger is:

FAULT: assertion failed: '<private>' in -[NSViewServiceMarshal orderedDrawerAndWindowKeyLoopGroupingViews:] on line 2,539 of file /AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/ViewBridge/NSViewServiceMarshal.m

i've narrowed it down to aub3 + ableton 11 + macos 14 because the following cases did not result in crashes:

  1. ableton 11/12 beta on macos 13
  2. logic 10.8.1 or reaper 6.8.2. on macos 14
  3. vst3 in ableton 11 on macos 13

my plugin is currently using juce 7 (juce@90c15c4a7be6f77e701c8cf261e592191014ba4b) but i've also verified this behavior with juce 6 (juce@157309045).

i filed a ticket with ableton but with their recent launch they say it'll take 3-4 weeks to get any response.

What is the expected behaviour?

the plugin should not crash

Operating systems

macOS

What versions of the operating systems?

the crash occurs on macos 14.4.

it does not occur on macos 13.1.

i don't have a way to narrow down the point/patch releases beyond that

Architectures

ARM

Stacktrace

FAULT: assertion failed: '<private>' in -[NSViewServiceMarshal orderedDrawerAndWindowKeyLoopGroupingViews:] on line 2,539 of file /AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/ViewBridge/NSViewServiceMarshal.m

Plug-in formats (if applicable)

AUv3

Plug-in host applications (DAWs) (if applicable)

on macos 14 the crash occurs in ableton live 11 and 12 beta.

the crash does not occur in logic 10.8.1 or reaper 6.8.2.

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct