Font::getStringWidth on non-message thread

Bump too, just got that jassert issue because I was doing some background rendering

So I just ran into this assert while debugging under Catalina and XCode 11.5

The odd thing it’s showing in the call stack for a worker thread which isn’t blocking the Message Thread… and it’s happening by the main Document Window trying to repaint the title bar in Standalone.

The problem is that MessageManager::getInstanceWithoutCreating() is returning nullptr

It’s impossible to debug properly since Xcode is showing some weird stuff when trying to look at the MessageManager class values… it thinks it’s a Timer Thread??

The same code in XCode 9.4.1 under Mojave never hits the assertions.

Rail

I’m gonna bump this… since it’s still hitting this assert (when it shouldn’t)

2 Likes