[Bug 510796] New: xorg-x11-libX11 with pthread isn't thread safe in xcb_lock.c
http://bugzilla.novell.com/show_bug.cgi?id=510796 Summary: xorg-x11-libX11 with pthread isn't thread safe in xcb_lock.c Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: bnc-team-xorg-bugs@forge.provo.novell.com ReportedBy: gunnar@besdo.de QAContact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Created an attachment (id=296660) --> (http://bugzilla.novell.com/attachment.cgi?id=296660) Example code file for xcb_lock.c error User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8.1.19) Gecko/20081213 SUSE/1.1.14-1.1 SeaMonkey/1.1.14 I use the xorg-x11-libX11 library 7.4-1.29, glibc library 2.9-2.11.1. One thread use the XDrawPoints function to put pixel to the window. An other thread waits with XNextEvent for an event. Every time I produce some events the program stops. Reproducible: Sometimes Steps to Reproduce: 1. translate the xcb_Test.c with gcc -o xcb_Test xcb_Test.c -pthread -I/usr/include/X11 -lX11 2. run the program xcb_Test 3. to tap some keys Actual Results: Every time I produce some events the program stops with xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed. or xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request))
= 0)' failed.
In the xorg-x11-libX11-7.4-1.29.src.rpm is the file xcb_lock.c.
The file has a line
#include
http://bugzilla.novell.com/show_bug.cgi?id=510796
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=510796
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510796#c1
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=510796
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510796#c2
--- Comment #2 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=510796
Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=510796
User gunnar@besdo.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=510796#c3
--- Comment #3 from Gunnar Besdo
You could add the following Bugzilla addresses to Cc in the upstream bugreport, so we can track that issue.
eich@pdx.freedesktop.org mhopf@suse.de sndirsch@suse.de
I will do it, but I don't know what to do. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=510796
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510796#c4
--- Comment #4 from Stefan Dirsch
http://bugzilla.novell.com/show_bug.cgi?id=510796
User gunnar@besdo.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=510796#c5
Gunnar Besdo
http://bugzilla.novell.com/show_bug.cgi?id=510796
User sndirsch@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510796#c6
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com