Component breaking on at runtime at setBounds


#1

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 juce_mac_NSViewComponentPeer.mm

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

#2

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.


#3

What do you mean by “breaks”?


#4

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