Created attachment 17531 [details] test case source C code Hello! This simple test case hangs on Linux (ubuntu 8.04) where libX11 uses xcb 1.1 library. On Linux where libX11 uses non-xcb libraries program run ok that means it should print: XInitThreads 1 >x=0,y=0 >x=0,y=0 >x=0,y=0 >x=0,y=0 >x=0,y=0 <x=0,y=0 <x=0,y=0 <x=0,y=0 <x=0,y=0 <x=0,y=0 It creates 5 threads and run fun() function for each thread. And never occurs 28 line of t.c test case: printf("<x=%d,y=%d\n",dest_x_return,dest_y_return); where use xcb only prints: XInitThreads 1 >x=0,y=0 >x=0,y=0 >x=0,y=0 >x=0,y=0 >x=0,y=0 and hang. Problem consider Ubuntu 8.04 LTS (i386). Ubuntu 7.10 is not affected because libX11 not use XCB. it was compiled via: $ gcc -lX11 -lpthread t.c gcc 4.2.3
Hello! Similar probleam seems unresolved: https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/232476
Hello! Has anybody from the XCB developers reading this bug list? Has anybody from the XCB developers could dig into this problem or write something that I will see that this project is still alive?
I'm a year late in replying, so "sorry" is inadequate, but it's what I've got. I can't reproduce a hang in your test program with current libX11. Is your problem solved now? If so we'll close this bug.
Hi! I did testcase again and on ubuntu 8.04 LTS still hang... But on ubuntu 9.10 (i386, and amd64) seems that is OK and testcase runs correctly.
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.