Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on FreeBSD: std::mutex unlocked when not already locked #207

Closed
RealDeuce opened this issue Apr 21, 2024 · 1 comment
Closed

Crash on FreeBSD: std::mutex unlocked when not already locked #207

RealDeuce opened this issue Apr 21, 2024 · 1 comment

Comments

@RealDeuce
Copy link

On FreeBSD 15-CURRENT, the desktop portal crashes when unlocking the mutex the first time. Simply adding a .lock() call before the while(1) loop appears to resolve the issue for me.

m_sEventLoopInternals.loopRequestMutex.unlock(); // unlock, we are ready to take events

@RealDeuce
Copy link
Author

Also reported to FreeBSD port maintainer: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant