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
{{ message }}
Repository navigation
Occasional segfaults on unit tests with PyQt4 #325
By running test repeatedly on Python 2.7 and PyQt, I have observed the following occasional test failure:
======================================================================
ERROR: Check that selection listeners get correctly disconnected
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cwebster/.edm/envs/traitsui-test-2.7-pyqt/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/cwebster/.edm/envs/traitsui-test-2.7-pyqt/lib/python2.7/site-packages/traitsui-5.2.0.dev92-py2.7.egg/traitsui/tests/editors/test_liststr_editor_selection.py", line 157, in test_selection_listener_disconnected
press_ok_button(ui)
File "/Users/cwebster/.edm/envs/traitsui-test-2.7-pyqt/lib/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/Users/cwebster/.edm/envs/traitsui-test-2.7-pyqt/lib/python2.7/site-packages/pyface/ui/qt4/util/event_loop_helper.py", line 151, in delete_widget
'Could not destroy widget before timeout: {!r}'.format(widget))
ConditionTimeoutError: Could not destroy widget before timeout: <traitsui.qt4.ui_base._StickyDialog object at 0x11c82ff28>
----------------------------------------------------------------------
It has been a long time since seeing segfaults like this. I think #330 has resolved much of the issue. If we start seeing again, we can re-open or create a new issue as needed.
Activity
corranwebster commentedon Dec 15, 2016
By running test repeatedly on Python 2.7 and PyQt, I have observed the following occasional test failure:
corranwebster commentedon Dec 15, 2016
I also had a segfault as follows (on a different run, I think):
corranwebster commentedon Feb 22, 2018
It has been a long time since seeing segfaults like this. I think #330 has resolved much of the issue. If we start seeing again, we can re-open or create a new issue as needed.