Comment 8 for bug 859596

Gerry Boland (gerboland) wrote :

I cannot reproduce this. André, can you still get this?

Investigating this, I see that the KeyMonitor has a thread which watches for all keyboard events with XNextEvent. If the Xserver shuts down, XNextEvent will fail and calls _XIOError which calls any error handler if defined (to quit). Qt installs an error handler qt_xio_errhandler to print an error & quits (exit(1)). During this exit, I believe a thread isn't stopping cleanly.