Xorg segfaults on XOpenDisplay multi thread

Eirik Byrkjeflot Anonsen eirik at opera.com
Mon Dec 29 00:26:45 PST 2008


Matan Drori <matan at graphtech.co.il> writes:

> Machine spec:
> IA64
> /SUSE Linux Enterprise Server/ 10 sp 2
> xorg x11 6.9.0-50.58
>
> I have a very simple test program that opens 4 threads and does
> XOpenDisplay(opening 4 separate display objects).
>
> i keep getting segfaults on different places in the function
> seems like some kind timing problem that causes memory corruption.

You have called XInitThreads?  (See "man XInitThreads")

(I don't know how thread-safe xorg is.  I have the impression that
there are some issues.  But without XInitThreads(), it isn't supposed
to be thread-safe).

eirik



More information about the xorg mailing list