Plugin Host error

I’m developing an audio plugin which I’m testing with the PluginHost.

It’s stopped working however and when it goes to scan the file I get the error…

I was wondering what could cause this? I haven’t really changed that much in my plugin so I can’t see why this is happening.

Any help would be great.

Too vague? :stuck_out_tongue:

More debugging I guess!

You can look inside PluginDirectoryScanner::scanNextFile():

        OwnedArray <PluginDescription> typesFound;

        // Add this plugin to the end of the dead-man's pedal list in case it crashes...
        StringArray crashedPlugins (getDeadMansPedalFile());
        crashedPlugins.removeString (file);
        crashedPlugins.add (file);
        setDeadMansPedalFile (crashedPlugins);

        list.scanAndAddFile (file,
                             dontRescanIfAlreadyInList,
                             typesFound,
                             format);

        // Managed to load without crashing, so remove it from the dead-man's-pedal..
        crashedPlugins.removeString (file);
        setDeadMansPedalFile (crashedPlugins);

        if (typesFound.size() == 0)
            failedFiles.add (file);

It seems that if it doesn’t recognize a known plug-in type it adds it to the filedFiles