-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Qt Assert failure: sendEvent across threads #4009
Comments
I think there should be
It means "from UI thread". So |
Correct. I edited my comment to include the full stack trace. Thanks for investigating. 👍 I think this can be fixed by just using |
This makes unref safe when it's not called from within the object's thread. Fixes #4009
Fixed via #4010 |
This makes unref safe when it's not called from within the object's thread. Fixes LMMS#4009
From #4000:
An assertion inside Qt fails when releasing a preview note (from presets, instrument window, or piano roll). Opening a demo project and playing works fine.
This can only be reproduced with a debug build of Qt.
Backtrace:
Looks like some object lives in a different thread than its parent, which is disallowed by Qt. I'm not sure how that's possible, because Qt usually prevents it from happening. When destructed, the child tries to notify its parent using
QCoreApplication::sendEvent
(qobject.cpp
line 1996):The text was updated successfully, but these errors were encountered: