Created attachment 332927 [details] PATCH: Fix tk applications crashing with libX11-1.2 update tk applications started segfaulting after the libX11-1.2 update, atleast gitk is segfaulting for me. This is caused by tk not checking if a XCreateIC call succeeds. The attached patch fixed this by adding the check. This is safe todo as all other users already check if winPtr->inputContext is NULL. I've done some tracing with both libX11-1.1.99.2-4.fc11 and libX11-1.2-1.fc11, and with the former one the code path calling XCreateIC never got entered with the newer libX11 it does get entered but XCreateIC fails. This may be something worth investigating further, but given that with the older libX11 the XCreateIC calls was never made at all, I do not believe that this call failing will lead to regressions.
I reported bug to upstream so I'm also aware of the patch. The only problem now is koji. *** This bug has been marked as a duplicate of bug 480742 ***