Created attachment 14573 [details]
Quering about DMX screens with DMXGetScreenAttributes hangs when called
for a second time, after XInitThreads was called and when program is
linked with pthreads. I have attached a small program to show the problem.
It hangs while getting second screen information. I have tested it on few
different systems and it always hanged. You can build it with
gcc t.c -o t -L/usr/X11R6/lib -lX11 -ldmx -lXtst -lpthread
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.