With multiple instances of my (JUCE 7.0.12) plugin running (more than 8), I get crashes when attempting to open the editors for all of them in EdgeTableFillers::SolidColour::handleEdgeTableRectangle, stemming from a call to Graphics::fillAll that I think is the first business of the editor. Sometimes newly launched plugin windows will show all white before a crash, and sometimes the appropriate fill color will show up in the upper left of the screen (where there is no plugin or DAW window). I’m having difficulty getting full debug info, but it looks like the memory pointed to by dest in replaceLine at line 637 ends up bad somehow. Just curious whether anyone has run into this. I tried the solution suggested here, but to no avail. Curious whether anyone else has seen this kind of error and could point this hapless hobbyist user in a direction. Thanks.
Please could you let us know which OS and DAW you see this in?
Additionally, please test one of the JUCE example plugins in the same way and check whether you see the same crash. If the JUCE examples crash, then that would be a strong indication that this is caused by a bug in JUCE, rather than in your individual project. Reproducing the issue in a JUCE example will also enable us to debug and diagnose the issue.
Windows 11, Bitwig 5.1 (though not in “individual” mode), Reaper 7.15, and Ableton Live 12. Built a JUCE example plugin and had no problems instantiating it dozens of times, so surely the error is in my code somewhere. If I find out a way to narrow down the cause enough to ask a more useful question, I’ll do that. Thanks for your time.
We had crashes like that because the “fillAll” rectangle had a negative/zero size.
We fixed it in our own JUCE branch, so rectangle fills with “empty” rectangles are short circuited to do nothing.
Also on Windows.
