Open vhlukhov opened 3 months ago
I've taken a quick look at this. I can reproduce the issue but it's difficult to know what to conclude.
If it is a fault in JUCE causing the issue it must be something with global or static duration, however having not seen this in the past or heard other reports, given the information above, and that such a crash is normally the result of a threading issue which the thread sanitiser should pick up, and it only happens when the thread snazzier is enabled, I feel the only logical conclusion is that thread sanitiser is somehow at fault?
Detailed steps on how to reproduce the bug
When utilizing the JUCE Framework with ThreadSanitizer enabled, the application is unable to properly terminate the application.
This behavior is reproduced on all versions of Xcode 15.x. It's hard to tell if it was reproduced on macOS Sonoma earlier versions.
What is the expected behaviour?
The application should close correctly without errors.
Operating systems
macOS
What versions of the operating systems?
macOS Sonoma 14.6.1. M1 Pro 16gb RAM
Architectures
ARM
Stacktrace
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the
develop
branchI have not tested against the
develop
branchCode of Conduct