On Apr 7, 2009, at 12:16, George Peter Staplin wrote:
It seems I may have been mistaken about the BadIDChoice cause...
This may actually be an X.org bug.
See: http://bugs.freedesktop.org/show_bug.cgi?id=20254
It could have something to do with using the newer libX11 with the older xorg-server-1.4-apple branch.
Actually, that patch has nothing to do with libX11... that's entirely libxcb: http://cgit.freedesktop.org/xcb/libxcb/commit/?id=beccb0be15f5699c942a0af333... Is the build of tk in question using xcb? Or is it using a libX11 that is using xcb (the one we provide does not, but if you enable the +xcb variant in MacPorts it will).
I'm not sure if the XQuartz libX11 has the fix for the xcb code that was broken, or what specific version of the libX11 release has the fix, if any. The changes appear to be in git though now (the last update was March 30, 2009) for a March 24, 2009 commit.
Jeremy, do you have any thoughts on this?
libxcb is still not mature enough in my opinion. I think that it is definitely getting there, but not there yet. Can you try rebuilding your code to not use libxcb and try again?