Component breaking on at runtime at setBounds


I’ve built a simple synth with three oscillators using the juce synthesiser module. It seems to be breaking in the version checking in setBounds when the Main Window is drawn.

                     display: isPre10_11];```

which is in line 258 of

I can't for the life of me figure out what is going on. Has anyone seen anything like this before?


A quick update. I’ve narrowed down the issued to Synthesiser::addSound(SynthesiserSound) but I’m not sure why that’s breaking it. It seems that it is something in synthesiser itself…

It seems that after the synthesiser is created, the code breaks on creating the MainContentComponent, but only if I use the addSound function in my synthesiser module.


What do you mean by “breaks”?


When I run the application, it stops in window setFrame that I referenced in the original post with a SIGABRT