JuceDemoPlugin Issues


When scanning a debug version of the demo plugin with the plugin host, I hit an assertion in malloc.c.

Strangely, after pressing continue in VS, everything seems to run fine. But after loading an instance of the plugin and closing the host down, another assertion is triggered in the same file.

Edit: The release version is fine... though I'm not sure if there are other possible side-effects lurking.


That's a  sign that something has corrupted memory somewhere, and the malloc just happens to run a check that detects it. Unfortunately there's no magic way to detect what caused the problem, except by looking at the context and guessing what might have recently happened which could have gone wrong.