Looks like dmBuffer::Create()
is not thread safe. Sometimes it crashes in my recent extension https://github.com/Lerg/extension-imageloader/blob/master/imageloader/src/extension.cpp#L73
And only during app start. Haven’t seen this when the app has successfully launched.
Assertion failed: (ctx->m_Buffers[index] == 0), function SetBuffer, file ../src/dlib/buffer.cpp, line 125.
Here is crash report dmbuffer_crash.lua (60.4 KB)
What can I do about that?