There was recently (within the last few days) a commit to CVS by Alexandre that works around a threading bug in Xlib - how recent was the build you were using?