Summary: |
DMXGetScreenAttributes is not thread safe |
Product: |
xorg
|
Reporter: |
Roman Bednarek <roman> |
Component: |
Lib/other | Assignee: |
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: |
|
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.
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