Bug 20254

Summary: generate_xid bugs cause various client programs to crash with BadIdChoice X errors
Product: XCB Reporter: D. Hugh Redelmeier <hugh>
Component: LibraryAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: antoine.mechelynck, bugs.freedesktop, hugh, mahnoor.rasool97
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description D. Hugh Redelmeier 2009-02-22 12:36:27 UTC
This appears to be a problem with a known fix.

Symptoms: firefox and other programs crash with BadIdChoice errors.
https://bugzilla.mozilla.org/show_bug.cgi?id=458092
https://bugzilla.redhat.com/show_bug.cgi?id=458657
https://bugs.launchpad.net/ubuntu/+source/firefox-3.0/+bug/220628
https://bugs.launchpad.net/firefox/+bug/255195

It looks as if this has been tracked down.
Start of thread: http://lists.freedesktop.org/archives/xcb/2009-January/004247.html
Note that this thread crosses a month boundary so that threading in the archive doesn't get you to postings in February.
Continue here: http://lists.freedesktop.org/archives/xcb/2009-February/004287.html


The latest proposed patch is attached to this: http://lists.freedesktop.org/archives/xcb/2009-February/004326.html
except that I don't see the attachment.  Perhaps scrubbed by the archiver.
This version seems to have it: 
http://article.gmane.org/gmane.comp.freedesktop.xcb/4192
Subsequent messages suggest that a little polishing is still going on.
Comment 1 D. Hugh Redelmeier 2009-03-24 19:21:00 UTC
see (and consider testing) the proposed patch
  http://thread.gmane.org/gmane.comp.freedesktop.xcb/4317/focus=4324
  http://article.gmane.org/gmane.comp.freedesktop.xcb/4324

The conversation appears to be in the mozilla bugzilla even though this would seem to be a better forum.  Here again is the moz bz link:
  https://bugzilla.mozilla.org/show_bug.cgi?id=458092
Comment 2 Julien Danjou 2009-03-30 01:57:57 UTC
commit beccb0be15f5699c942a0af33307d9e4bf797e2a
Author: Bart Massey <bart@cs.pdx.edu>
Date:   Tue Mar 24 16:24:04 2009 -0700

    kludgily hand-merged xid fixes
    
    Signed-off-by: Bart Massey <bart@cs.pdx.edu>
    Signed-off-by: Julien Danjou <julien@danjou.info>

Comment 3 D. Hugh Redelmeier 2009-05-15 18:48:43 UTC
See Novell OpenSuSE bug report:
https://bugzilla.novell.com/show_bug.cgi?id=423740

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.