Bug 14676

Summary: DMXGetScreenAttributes is not thread safe
Product: xorg Reporter: Roman Bednarek <roman>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: love
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard: 2011BRB_Reviewed
i915 platform: i915 features:
Attachments:
Description Flags
sample program none

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.