I’ve just seen this crash … presumably it’s something i’m doing, but I’m not sure where to start. The crash is in realloc but it wasn’t allocating anything big and I’m guessing this therefore isn’t a memory issue.
But on the other hand, ‘rects’, the member variable of the RectangleList on which realloc is being called, has already been read at this point and therefore presumably is valid. It sure looks valid from this inspection below.
On which branch are you. I see this error when both the opengl and the message thread are doing message thread things, i.e. the MessageManangerLock has somehow failed to lock-out both threads.
I’m seeing this on my experimental OpenGL branch on my private repo (haven’t managed to figure out the source of the data-race yet) but it shouldn’t be happening on develop or master.
Are you trying to access anything requiring the message manager lock (resized(), repaint(), setBounds, but many many more) from an OpenGL callback?