Bug 14676 - DMXGetScreenAttributes is not thread safe
Summary: DMXGetScreenAttributes is not thread safe
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Whiteboard: 2011BRB_Reviewed
Keywords: love
Depends on:
Reported: 2008-02-25 23:50 UTC by Roman Bednarek
Modified: 2018-06-12 19:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

sample program (558 bytes, text/plain)
2008-02-25 23:50 UTC, Roman Bednarek
no flags Details

Description Roman Bednarek 2008-02-25 23:50:32 UTC
Created attachment 14573 [details]
sample program

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
Comment 1 Adam Jackson 2018-06-12 19:10:13 UTC
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.

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.