-
Notifications
You must be signed in to change notification settings - Fork 4
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
Tests with tests ubuntu-latest, python 3.11 and pyside6 always fails #27
Comments
I'm sure you'll find why ;-) |
It actually doesn't always fail as I couldn't reproduce locally and on some runs in github actions the tests pass. So, it "randomly" (= multithread) segfaults while garbage collecting:
From what I saw in the code, nothing special is happening at the crash point. One way to solve it could be to avoid cyclic references, as stated on an old pyqtgraph issue, but more likely there are more general thread-safety problems. |
in the issue you mentioned, it's more likely related to C++ objects being removed while an instance of the python object is still around. Maybe explicitly deleting things like windows and main widgets could help... |
Yes, but it shouldn't happen, so my guess is that it's more probable that we do something wrong (circular references + multithreading / something else ...) than the libraries do. I'm not sure about explicit delete, it could mitigate the problem but not really solve it. Also, in practice the |
This combination always fails in github actions.
The text was updated successfully, but these errors were encountered: