Comment 46 for bug 220628

Revision history for this message
In , Nathaniel Smith (njs) wrote :

(In reply to comment #23)
> Thanks for that link. It looks related but I'm not sure that it's the fix we
> need, because I don't think Mozilla uses XCreate* functions from more than 1
> thread.

Ah man, and that was such a good guess... but I've just double-checked with gdb, and in about 10 minutes of browsing I wasn't able to catch any calls to _XAllocID, _XAllocIDs, or xcb_generate_id from anything but the main thread, so you're right. (Unfortunately, the conditional breakpoint is a little expensive to leave running in general, though.)