Problems with Juce Plugin Host after upgrading to Windows 10


I am getting some unhandled exceptions since upgrading to Windows 10, some plugins load fine while others that loaded fine under Windows 7 now get:

 Unhandled exception at 0x00000001800072E6 (*****.dll) in Plugin Host.exe: 0xC000041D: An unhandled exception was encountered during a user callback.

It happed at  effect->dispatcher with opcode 14 (effEditOpen) When opening the plugin editor.

Two others that worked fine under 7 now no longer initilize correctly.

Also loading .filtergraph file:

Unhandled exception at 0x000000018015D040 (1c.dll) in Plugin Host.exe: 0xC0000005: Access violation reading location 0xFFFFFFFF9E71B25C.

It happens at  effect->dispatcher with opcode 24 (effSetChunk)



Would need more info than that, I'm afraid.. Got a stack trace?


     1c.dll!000000018015d040()    Unknown
     1c.dll!0000000180033d23()    Unknown
     1c.dll!0000000180033dbc()    Unknown
     1c.dll!000000018001d904()    Unknown
     1c.dll!000000018005168f()    Unknown
     1c.dll!000000018004fef4()    Unknown
     1c.dll!0000000180051371()    Unknown
>    Plugin Host.exe!juce::VSTPluginInstance::dispatch(const int opcode, const int index, const __int64 value, void * const ptr, float opt) Line 1427    C++
     Plugin Host.exe!juce::VSTPluginInstance::setChunkData(const void * data, const int size, bool isPreset) Line 1656    C++
     Plugin Host.exe!juce::VSTPluginInstance::loadFromFXBFile(const void * const data, const unsigned __int64 dataSize) Line 1512    C++
     Plugin Host.exe!juce::VSTPluginInstance::setStateInformation(const void * data, int size) Line 1235    C++
     Plugin Host.exe!FilterGraph::createNodeFromXml(const juce::XmlElement & xml) Line 320    C++
     Plugin Host.exe!FilterGraph::restoreFromXml(const juce::XmlElement & xml) Line 360    C++
     Plugin Host.exe!FilterGraph::loadDocument(const juce::File & file) Line 224    C++
     Plugin Host.exe!juce::FileBasedDocument::loadFrom(const juce::File & newFile, bool showMessageOnFailure) Line 79    C++
     Plugin Host.exe!MainHostWindow::menuItemSelected(int menuItemID, int __formal) Line 250    C++
     Plugin Host.exe!juce::MenuBarComponent::handleCommandMessage(int commandId) Line 214    C++
     Plugin Host.exe!`juce::Component::postCommandMessage'::`2'::CustomCommandMessage::messageCallback() Line 2324    C++
     Plugin Host.exe!juce::WindowsMessageHelpers::dispatchMessageFromLParam(__int64 lParam) Line 49    C++
     Plugin Host.exe!juce::MessageManager::dispatchNextMessageOnSystemQueue(bool returnIfNoPendingMessages) Line 112    C++
     Plugin Host.exe!juce::MessageManager::runDispatchLoop() Line 130    C++
     Plugin Host.exe!juce::JUCEApplicationBase::main() Line 244    C++
     Plugin Host.exe!WinMain(HINSTANCE__ * __formal, HINSTANCE__ * __formal, char * __formal, int __formal) Line 102    C++
     [External Code]    


Ok.. Well what's this 1c plugin? Looks like it's the thing at fault here rather than the host!


1c plugin is actually Cakewalk studio instrument Bass Guitar renamed, all of the Cakewalk plugins have the same issue with Juce Plugin Host. It's strange that it worked fine under windows 7 but not under 10. The plugins work fine on other vst hosts such as Psycle.


If it's crashing when loading from this FXB file, are you sure it's a legit file? E.g. try saving and reloading a new FXB file.

But honestly, when a plugin crashes deep inside its own code like this for no obvious reason, then it's really only the plugin developers who can debug it and see what's going on.


Yea there is something the plugin is messing up on when it is passed the chunk data, it has the same un-handled exception when right clicking: Test state Save/Load

I'll try stepping through Psycle's FXB code to see what it is doing different that this plugin seems to be all right with.

Thank you for your help, you really have an awesome product here! :-)