Plugin Host error messages?


#1

I just upgraded to Sierra and now I’m getting this message from Plugin Host:

2017-03-02 10:41:31.424297 Plugin Host[4640:155153] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. N4juce8TypefaceE, N4juce11OSXTypefaceE.

???


#2

Hmmm, haven’t seen this on Sierra. I am sure you tried cleaning your project etc. Anyone else seeing this?


#3

Yes, I cleaned the project and even reserved it from Projucer.

It’s pretty annoying…filling up the debug console and making hard to see my print statements.

Seriously, no one else?


#4

Could be caused by a specific plug-in on your computer?


#5

I can’t think of anything. All I did was update to Sierra, nothing else.


#6

Ok…it looks like it might be related to an embedded font in the plugin I’m developing. When I deleted my plugin, the message went away. But still, I didn’t get that message before Sierra.


#7

Actually, there are more errors:

objc[35627]: Class NSDraggingSourceHelper is implemented in both /Users/ray/Dropbox/Programming/JUCE/examples/audio plugin host/Builds/MacOSX/build/Debug/Plugin Host.app/Contents/MacOS/Plugin Host (0x100642b58) and /Users/ray/Library/Audio/Plug-Ins/Components/Blue3.component/Contents/MacOS/Blue3 (0x110220ed0). One of the two will be used. Which one is undefined.

2017-03-03 07:56:26.559842 Plugin Host[35627:2091816] dynamic_cast error 1: Both of the following type_info's should have public visibility.  At least one of them is hidden. N4juce14ImagePixelDataE, N4juce17CoreGraphicsImageE.

2017-03-03 07:56:27.674764 Plugin Host[35627:2091816] dynamic_cast error 2: One or more of the following type_info's  has hidden visibility.  They should all have public visibility.   N4juce14ImagePixelDataE, N4juce19SubsectionPixelDataE, N4juce17CoreGraphicsImageE.

#8

There’s been a whole slew of issues with this line of code in JUCE: juce_mac_Fonts.mm:562. Maybe this is related.

Apparently, Apple has introduced some bugs with CGFontCreateWithDataProvider on iOS (http://stackoverflow.com/questions/40242370/app-hangs-in-simulator). Maybe something similar is needed in macOS?!>


#9

Sorry to bring this one back, I did not see any fix. I am getting the same error as pizzafilms mentioned in the first post. This is a vanilla FX plugin.

JUCE v5.3.2
Creating VST instance: atest
Initialising VST: atest (1.0.0.0)
Attempting to load VST: /Users/me/Library/Audio/Plug-Ins/VST/atest.vst
Creating VST instance: atest
Initialising VST: atest (1.0.0.0)

2018-06-25 19:23:16.647128-0400 AudioPluginHost[2170:288900] dynamic_cast error 1: Both of the following type_info’s should have public visibility. At least one of them is hidden. N4juce8TypefaceE, N4juce11OSXTypefaceE.

Then the error repeats quite a bit.

I am also getting these, repeated as well, after adding in an APVTS. Same happens with VST3.

2018-06-25 19:54:52.670601-0400 AudioPluginHost[2988:433242] dynamic_cast error 2: One or more of the following type_info’s has hidden visibility. They should all have public visibility. N4juce23AudioProcessorParameterE, N4juce28AudioProcessorValueTreeState9ParameterE, N4juce20LegacyAudioParameterE.

2018-06-25 19:57:45.526601-0400 AudioPluginHost[2988:433242] dynamic_cast error 2: One or more of the following type_info’s has hidden visibility. They should all have public visibility. N4juce9ComponentE, N4juce9PopupMenu13HelperClasses13ItemComponentE, N4juce20AudioProcessorEditorE.

Am I missing something obvious?


#10

Other than the errors, are you seeing any other bugs? I think these errors go away in release builds.