nem0 / LumixEngine

3D C++ Game Engine - yet another open source game engine
MIT License
3.53k stars 398 forks source link

Linux segfault on exit #1461

Open WickedSmoke opened 1 year ago

WickedSmoke commented 1 year ago

The studio program always crashes on exit in AudioTask::task() on Fedora 37.

In the audio thread this is linux/audio_device.cpp line 434: snd_pcm_sframes_t frames_written = m_device.m_api.snd_pcm_writei(m_device.m_device, buffer, frames_avail);

When stepping through the main thread this occurs around line 424 in studio_app.cpp: m_add_cmp_plugins.clear();