Closed leonp-s closed 1 month ago
Thank you for reporting.
This issue has been fixed as part of https://github.com/juce-framework/JUCE/commit/5f638157f7de067af17c07ee67942d5061481ee6
This is great thanks, just tried on JUCE 8, all appears to be working well.
Detailed steps on how to reproduce the bug
Right clicking on an embedded
juce::WebBrowserComponent
inside Logic repeatedly is causing the plugin to crash with Logic presenting the "An Audio Unit plug-in reported a problem...." error. The first time right clicking the view causing the popup menu to appear has in my testing not caused any crashes, however seemingly unpredictably right clicking multiple times is causing the crash (right clicking elements that create larger context menus e.g. an image seem to more reliably crash). I am unable to replicate the same behaviour in Reaper.I initially started seeing this issue setting up a plugin templated based around the Choc WebView. Seemingly when pulling my JUCE version back to 7.0.5 (same version used in the SRVB project) from 7.0.11 the issue is gone. Everything is okay up to the commit WebBrowserComponent: MacOS: Add accessibility integration / d8c282e29396473dbb54468532ab2036b1ce49ef . I noticed NSAccessibility quite a bit in the backtrace as well so am wondering if they are related.
I was able to re-create the error using this minimal example, I am happy to create a repo with a full project causing this issue if that would be helpful,
What is the expected behaviour?
Right clicking within a WebView multiple times should not cause a crash.
Operating systems
macOS
What versions of the operating systems?
M3 MacBook Pro running 14.1 (23B2073)
Architectures
ARM
Stacktrace
Plug-in formats (if applicable)
AU
Plug-in host applications (DAWs) (if applicable)
Logic 10.8.1
Testing on the
develop
branchThe bug is present on the
develop
branchCode of Conduct