[quote=“zamrate”]It seems like the tip’s PluginHosts’s OS X plugin scan code does not do its job well. It often crashes or hangs, it doesn’t matter if VST or AU.
With D16 Drumazon (seems to be a JUCE plugin itself) I get: (The plugin does work in Logic)
#0 0x90c756e4 in objc_msgSend
#1 0x002b6b38 in juce::NSViewComponentPeer::NSViewComponentPeer at juce_mac_NSViewComponentPeer.mm:883
#2 0x002b6ffa in juce::Component::createNewPeer at juce_mac_NSViewComponentPeer.mm:1715
#3 0x1734815f in juce::Component::setColour
#4 0x17379a03 in juce::LookAndFeel::createSliderTextBox
#5 0x17388993 in juce::Slider::lookAndFeelChanged
#6 0x173893f1 in juce::Slider::Slider
#7 0x171a4cff in GFXKnob::GFXKnob
#8 0x171c4a61 in BasePluginEditor::importPluginEditorFromXml
#9 0x171c4f9d in BasePluginEditor::importPluginEditorFromResource
#10 0x171c5a5b in BasePluginEditor::BasePluginEditor
#11 0x17424680 in InstrumentEditor::InstrumentEditor
#12 0x1741b227 in DrumMachineEditor::DrumMachineEditor
#13 0x174276f0 in DrumazonEditor::DrumazonEditor
#14 0x17424899 in Drumazon::createBasePluginEditor
#15 0x171c090d in BasePlugin::initialize
#16 0x17416155 in DrumMachine::initialize
#17 0x171bae57 in createPluginFilter[/quote]
I got exactly the same kind of stack and problem with another D16 plugin, Nepheton.
The weird thing was that the plugin was working in juce plugin host application, but crashing in my host app.
I tried to recompile everything with a custom JUCE_ObjCExtraSuffix, but it did nothing. Which I expected because the suffix was already set on some kind of hexa string (I suppose it is generated by Jules at some point in the release), and I doubt the D16 plugin uses exactly the same string. Besides, if it was working with the plugin host application, why wouldn’t it work in my app with the same underlying juce library? The only difference is that my app links statically and the host app uses juce amalgamated…
Then I saw that the plugin host application project had the option to hide the symbols by default. I tried to recompile my project and all its dependencies with this option and now it seems to work.
I’m not a linker guru, so I don’t really understand why it would change anything. I thought symbol visibility was only for dynamic libraries? Does anyone have the Knowledge about that?
I’m still not sure it was this change that did the trick but I don’t see what else I did that could have make it work…