GNOME Bugzilla – Bug 610187
[xvimagesink] making X calls with x_lock unlocked
Last modified: 2011-06-24 19:12:24 UTC
Created attachment 153956 [details] [review] Make X calls with x_lock locked Saw the following assertion a couple times. ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed. Can't get better backtrace as attaching gdb to the process manages to freeze the whole device - possibly self inflicted problem, nevermind that. Anyway, according to google that assertion could suggest threading problem and reading the code I noticed a few potential places where X calls are made without x_lock held and without any comments clarifying why it would be safe to do so. Take with grain of salt, I haven't tried building yet as I'm missing build dependencies :-/
Is this still a problem with the latest versions of everything? And can you confirm now that your patch fixes it?