VSTGUI4.9 Xcode8 crashes


I just finish building my plug-in from 4.3 to 4.9 (downloaded last February 2021 ), I’ve got a crash in cbitmap.cpp when trying to reach createBitmap:

CBitmap::CBitmap (const CResourceDescription& desc)
: resourceDesc (desc)
if (auto platformBitmap = getPlatformFactory ().createBitmap (desc))
bitmaps.emplace_back (platformBitmap);

CBitmap is called during the UI constructor, before calling open and creating a frame.

Build with XCode8, running on OSX 10.13 HighSierra

It’s working fine with VSTGUI 4.3, used to work fine with a 4.9 version uploaded last year, but crashes with this latest version.

Any idea ? Tanks in advance for any help.

Best regards

This code snippet looks like from VSTGUI 4.10 which is not yet released. If you want to use VSTGUI 4.10 you have to initialize it before using. This should tell you the assert when running the debug version.

Thanks Arne,

Sorry, I downloaded the latest version without checking the 4.9 tag.
All’s fine now
I’ll work with 4.10 a bit later

Best regards