Pro tools 2022.12 crash JUCE 7.0.5

I get a crash on Pro Tools with my plugin with the latest JUCE
7.0.5
in the function

juce::SimpleValueSource::setValue(juce::var const&) + 57

MacOS Ventura
Pro tool 2022.12

Anyone experience the same and has a solution?

Thread 0 Crashed:: Main Thread Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff81ac2222a __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff81ac59f7b pthread_kill + 263
2 libsystem_c.dylib 0x7ff81aba3ca5 abort + 123
3 libsystem_malloc.dylib 0x7ff81aab96d7 malloc_vreport + 888
4 libsystem_malloc.dylib 0x7ff81aabc9f1 malloc_report + 151
5 Plugin 0x13cf890a9 juce::SimpleValueSource::setValue(juce::var const&) + 57
6 Plugin 0x13d0d22e6 juce::label::setText(juce::String const&, juce::NotificationType) + 134
7 Plugin 0x13ce202ab ProcessView::ProcessView(int) + 4283
8 Plugin 0x13cdc31d3 PluginEditor::PluginEditor(PluginProcessor&) + 115
9 Plugin 0x13ce07e38 PluginProcessor::createEditor() + 408
10 Plugin 0x13ce825a4 juce::AudioProcessor::createEditorIfNeeded() + 84
11 Plugin 0x13cdb2f49 AAXClasses::JuceAAX_GUI::CreateViewContents() + 169
12 Plugin 0x13c4811ec AAX_CEffectGUI::Initialize(IACFUnknown*) + 108
13 AAXHost 0x1217de78c AAXH_VEffectGUI::Initialize(IACFUnknown*) + 2046
14 AAXHost 0x121799dfa AAXH_CEffectGUI::Initialize(IACFUnknown*) + 2410
15 AAXHost 0x1217253c3 AAXH_CPlugIn::CreateEffectGUI() + 2683
16 AAE 0x1222d19bd CAAXCollection::CreateEffectGUI(SFicPlugInSpec*, SDS_ITokenTask*) + 45
17 AAE 0x1222f9591 CFicAAXWidget::SetPlugInViewContainer(SFicPlugInSpec*, IACFUnknown*) + 81
18 SMgr 0x120a1aff6 SMgr_ViewContainer::SetViewContainer(void*) + 96
19 ProTools_Red 0x140b41780 TFXTDMEditView::AdjustViewForTarget() + 544
20 ProTools_Red 0x140b4149a TFXTDMEditView::AdjustToNewTarget() + 22
21 ProTools_Red 0x140b6d75c TFXWindow::AdjustToNewTarget() + 6002
22 ProTools_Red 0x140b772cb TFXWindow::TargetHasChanged() + 4447
23 ProTools_Red 0x140b69ef5 TFXWindow::SetTarget(Cmn_Handle2<TSoundTrack, C

Have you debugged your plugin in the Developer build?

Rail

i have not…
posted a more complete crash log:

Thread 0 Crashed:: Main Thread Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff81ac2222a __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff81ac59f7b pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff81aba3ca5 abort + 123
3   libsystem_malloc.dylib        	    0x7ff81aab96d7 malloc_vreport + 888
4   libsystem_malloc.dylib        	    0x7ff81aabc9f1 malloc_report + 151
5   Plugin            	       				0x13cf890a9 juce::SimpleValueSource::setValue(juce::var const&) + 57
6   Plugin            	       				0x13d0d22e6 juce::Label::setText(juce::String const&, juce::NotificationType) + 134
7   Plugin            	       				0x13ce202ab ProcessView::ProcessView(int) + 4283
8   Plugin            	       				0x13cdc31d3 PluginEditor::PluginEditor(PluginProcessor&) + 115
9   Plugin            	       				0x13ce07e38 PluginProcessor::createEditor() + 408
10  Plugin         			      	       	0x13ce825a4 juce::AudioProcessor::createEditorIfNeeded() + 84
11  Plugin            	    			   	0x13cdb2f49 AAXClasses::JuceAAX_GUI::CreateViewContents() + 169
12  Plugin            	       				0x13c4811ec AAX_CEffectGUI::Initialize(IACFUnknown*) + 108
13  AAXHost                       	       0x1217de78c AAXH_VEffectGUI::Initialize(IACFUnknown*) + 2046
14  AAXHost                       	       0x121799dfa AAXH_CEffectGUI::Initialize(IACFUnknown*) + 2410
15  AAXHost                       	       0x1217253c3 AAXH_CPlugIn::CreateEffectGUI() + 2683
16  AAE                           	       0x1222d19bd CAAXCollection::CreateEffectGUI(SFicPlugInSpec*, SDS_ITokenTask*) + 45
17  AAE                           	       0x1222f9591 CFicAAXWidget::SetPlugInViewContainer(SFicPlugInSpec*, IACFUnknown*) + 81
18  SMgr                          	       0x120a1aff6 SMgr_ViewContainer::SetViewContainer(void*) + 96
19  ProTools_Red                  	       0x140b41780 TFXTDMEditView::AdjustViewForTarget() + 544
20  ProTools_Red                  	       0x140b4149a TFXTDMEditView::AdjustToNewTarget() + 22
21  ProTools_Red                  	       0x140b6d75c TFXWindow::AdjustToNewTarget() + 6002
22  ProTools_Red                  	       0x140b772cb TFXWindow::TargetHasChanged() + 4447
23  ProTools_Red                  	       0x140b69ef5 TFXWindow::SetTarget(Cmn_Handle2<TSoundTrack, C

Found the solution here:

add the compiler flags :

-fvisibility=hidden
-fvisibility-inlines-hidden

Was this an issue with other v7.x releases for you?

Not this issue with JUCE 7.0.2, it worked fine, but there I could still use C++ 14, Now with the latest version I needed to do some changes in my build setup to build JUCE with C++17. I must have lost the hidden parameters somehow.