mocha-engine / mocha

Mocha: A work-in-progress 3D game engine
GNU Lesser General Public License v3.0
53 stars 7 forks source link

Vulkan race condition crash #15

Closed peter-r-g closed 1 year ago

peter-r-g commented 1 year ago

Lately, I have been getting a rare crash when debugging Mocha. It will happen on startup and not be consistent. Looking through the call stack (available on Pastebin here) I see mentions of threading so I assume it is some kind of race condition that causes it to happen.

xezno commented 1 year ago

I think I fixed this with https://github.com/xezno/mocha/commit/8c89315289d14c86e19f6489f2dd2197f8ab421d. If it's not fixed then re-open this issue and let me know.