Re: Xorg segfaults on XOpenDisplay multi thread

2008-12-30 Thread Matan Drori
Hi Daniel, we are currently using Xorg 6.9(cannot change the version) we also have several pipes, meaning we need to open several displays. and of course we need to do it in threads. Do you have any suggestions? Daniel Stone wrote: On Mon, Dec 29, 2008 at 11:06:27AM +0200, Matan Drori wrote:

Re: bump: Xorg segfaults on XOpenDisplay multi thread

2008-12-30 Thread Bill Crawford
On Sunday 28 December 2008 08:56:50 Matan Drori wrote: Bump, adding some backtraces: Dump 1: #0 _X11TransWritev (ciptr=0x0, buf=0x21b96720, size=1) at ../../lib/xtrans/Xtrans.c:911 #1 0x20093910 in _XSendClientPrefix (dpy=value optimized out, client=value optimized out,

Re: bump: Xorg segfaults on XOpenDisplay multi thread

2008-12-30 Thread Matan Drori
hi bill i went to that direction, i linked to libpthread didn't do any good i tried working with ptmalloc3 instead of the ptmalloc2 thats in glibc, and it didn't do any good so i went back one layer up to the Xorg I did that since i couldn't re produce bug by linking malloc debuggers to my

Re: Xorg segfaults on XOpenDisplay multi thread

2008-12-29 Thread Eirik Byrkjeflot Anonsen
Matan Drori ma...@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

Re: Xorg segfaults on XOpenDisplay multi thread

2008-12-29 Thread Matan Drori
I'm Using XInitThreads(), and have no use for the other thread functions since im not sharing a display(XLockDisplay and XUnlockDisplay that recive a display object). I'm calling multiple XOpenDisplay calls from different threads. It looks like a deeper issue since I'm not sharing the display

Re: Xorg segfaults on XOpenDisplay multi thread

2008-12-29 Thread Daniel Stone
On Mon, Dec 29, 2008 at 11:06:27AM +0200, Matan Drori wrote: I'm calling multiple XOpenDisplay calls from different threads. This is not really possible with Xlib. Should be okay with XCB, though. Cheers, Daniel signature.asc Description: Digital signature