Community
Participate
Working Groups
This is a bit of an arcane problem. Bug40023Test.java (org.eclipse.ui.tests/Eclipse UI Tests/org.eclipse.ui.tests.keys) fails intermittently through what appears to be a failure to update the state of the GUI. The problem occurs with Eclipse-GTK-I20031007/GNOME/Metacity/RedHat9. The failure occurs at least once every ten executions, sometimes much more. I believe the problem is tied into x2vnc. When x2vnc is running on the machine running the tests, the test suites will fail intermittently. When it is not running, then the tests always pass. The test suites also pass on a machine running a vncserver to which x2vnc is connected. My hypothesis (gut-feeling) is that the problem is somehow tied into the XGrabPointer, XGrabKeyboard, and XFlush calls when x2vnc tries to trap the mouse for forwarding to the vncserver. So, while the specific symptom I see is specific to x2vnc, I think the problem might occur in other applications where these functions are called. If you need to see the problem first-hand, please stop by my desk.
I've know figured out how to reproduce consistently. Move the mouse to the other machine while the test suite runs. I imagine you could write a small grabber application that just does a XGrabPointer/XGrabKeyboard for a fixed time and then releases it. Start the test suite, and then immediately run the grabber application. If my hunch is right, that should cause the failure.
Bug 43312 is most likely related to this bug. I believe it provides another reproducible test case, but ending in a segmentation fault.
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
No response in awhile, also no specific steps to reproduce. I'm going to go ahead and close this, please feel free to re-open if the issue persists.