Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=6240          
     




------- Additional Comments From [EMAIL PROTECTED]  2006-10-02 04:42 -------
glthreads.c backtrace:

(gdb) r
Starting program: /home/snob/tmp/a.out
[Thread debugging using libthread_db enabled]
[New Thread -1213474320 (LWP 14779)]
threadgl: test of GL thread safety (any key = exit)
Usage:
  threadgl [-display dpyName] [-n numthreads]
XInitThreads() returned 1 (success)
[New Thread -1283605600 (LWP 14782)]
Created Thread -1283605600
[New Thread -1291998304 (LWP 14783)]
Created Thread -1291998304

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1283605600 (LWP 14782)]
0xb7908fbe in intelInitDriverFunctions ()
   from /usr/X11R6/lib/modules/dri/i915_dri.so
(gdb) bt
#0  0xb7908fbe in intelInitDriverFunctions ()
   from /usr/X11R6/lib/modules/dri/i915_dri.so
#1  0xb7929796 in _mesa_make_current ()
   from /usr/X11R6/lib/modules/dri/i915_dri.so
#2  0xb7908984 in intelMakeCurrent ()
   from /usr/X11R6/lib/modules/dri/i915_dri.so
#3  0xb78f16ae in __driUtilUpdateDrawableInfo ()
   from /usr/X11R6/lib/modules/dri/i915_dri.so
#4  0xb7eb7a6c in glXDestroyContext () from /usr/lib/libGL.so.1
#5  0xb7eb9912 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
#6  0xb7eb9ba3 in glXMakeCurrent () from /usr/lib/libGL.so.1
#7  0x08049276 in draw_loop (wt=0x804b040) at glthreads.c:150
#8  0x08049831 in thread_function (p=0x804b040) at glthreads.c:303
#9  0xb7bf234b in start_thread () from /lib/libpthread.so.0
#10 0xb7cbf65e in clone () from /lib/libc.so.6
(gdb)

P.S. I've modified attached ctx.c example to use XInitThreads, XLockDisplay, 
etc. Nothing changes. Here is gdb backtrace:

(gdb) r
Starting program: /home/snob/tmp/ctx2
[Thread debugging using libthread_db enabled]
[New Thread -1213593104 (LWP 14891)]
String :1.3 Mesa 6.4.2
[New Thread -1280169056 (LWP 14894)]
Thread!
Calling glGetString now

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1280169056 (LWP 14894)]
0xb79291f8 in _mesa_GetString () from /usr/X11R6/lib/modules/dri/i915_dri.so
(gdb) bt
#0  0xb79291f8 in _mesa_GetString ()
   from /usr/X11R6/lib/modules/dri/i915_dri.so
#1  0x080489f2 in thread (arg=0x0) at ctx2.c:36
#2  0xb7bd534b in start_thread () from /lib/libpthread.so.0
#3  0xb7ca265e in clone () from /lib/libc.so.6
(gdb)                               
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to