You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have been using Pytest-qt for a long time now and we did not have any issues until now. However, after upgrading to macOs Sonoma, I get random crashes during test execution, and the last call is always inside pytestqt. My colleagues executing the same tests on macOs Ventura do not get these crashes. I tried adding an autouse fixture to close all open top level windows, but it did not help. I see it closes several windows, but I still get the crash.
I get tracebacks like this:
Fatal Python error: Segmentation fault
Current thread 0x00007ff8502d9fc0 (most recent call first):
File "python3.10/site-packages/pytestqt/plugin.py", line 219 in _process_events
File "python3.10/site-packages/pytestqt/plugin.py", line 202 in pytest_runtest_teardown
File "python3.10/site-packages/pluggy/_callers.py", line 87 in _multicall
File "python3.10/site-packages/pluggy/_manager.py", line 119 in _hookexec
File "python3.10/site-packages/pluggy/_hooks.py", line 501 in __call__
(long stacktrace, all pytest related)
Fatal Python error: Segmentation fault
Current thread 0x00007ff8502d9fc0 (most recent call first):
File "python3.10/site-packages/pytestqt/qt_compat.py", line 162 in exec
File "python3.10/site-packages/pytestqt/wait_signal.py", line 51 in wait
File "python3.10/site-packages/pytestqt/qtbot.py", line 459 in wait
(unit test function)
Any ideas? I can not reproduce the crash with a single testcase, it only crashes when running the whole suite, and not always at the same place.
The text was updated successfully, but these errors were encountered:
Sorry, I have no suggestions at the moment to give here. Those type of crashes (happen randomly and only when running the full suite) are the worst to debug. 😕
Hi!
We have been using Pytest-qt for a long time now and we did not have any issues until now. However, after upgrading to macOs Sonoma, I get random crashes during test execution, and the last call is always inside pytestqt. My colleagues executing the same tests on macOs Ventura do not get these crashes. I tried adding an autouse fixture to close all open top level windows, but it did not help. I see it closes several windows, but I still get the crash.
I get tracebacks like this:
Any ideas? I can not reproduce the crash with a single testcase, it only crashes when running the whole suite, and not always at the same place.
The text was updated successfully, but these errors were encountered: