Open cbix opened 2 years ago
Since this hasten in a POSIX pthread_mutex_lock
function outs of FL code, I dont't think we can do a lot here.
Well, it is triggered by FL's TMutex::Lock()
(see #8
of the backtrace) so my assumption was there might be something wrong with how that is initializing the pthread mutex, but haven't really investigated the code myself.
On a second system, I'm getting this assertion failure from the same code:
FaustLive: pthread_mutex_lock.c:94: ___pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Aborted (core dumped)
This can mean for example that the mutex is not initialized properly when lock is called, so this is the responsibility of FaustLive.
The issue only seems to happen on Wayland, but with both wayland
and xcb
(XWayland) Qt platforms (QT_QPA_PLATFORM=xcb
environment variable).
So could we close it?
No, I was just providing hints to reproduce it. Obviously this may be a big issue for Wayland users. Please reopen 🙏
Faced a crash on startup that I could not reproduce inside gdb (and weirdly, did not occur after that). FL is compiled with
-Wp,-D_GLIBCXX_ASSERTIONS
by Arch Linux defaults. Still, here's a backtrace from the core dump, there seems to be a failed FIFO assertion. This assertion might hint at a potential bug so even if it's not currently affecting most users, it could be worth looking into.