Bug 81306

Summary: graphics/dri-devel: Certain gl apps segfault with DRI enabled.
Product: Ports & Packages Reporter: Adam K Kirchhoff <adamk>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Adam K Kirchhoff 2005-05-20 15:10:04 UTC
Some GL apps (ie. gflux from the xscreensaver package) will segfault immediately after launching.  gdb backtrace:

(gdb) bt
#0  0x00000004 in ?? ()
#1  0x280cbf01 in UnbindContextWrapper () from /usr/X11R6/lib/libGL.so.1
#2  0x280cc09b in glXMakeCurrentReadSGI () from /usr/X11R6/lib/libGL.so.1
#3  0x280cc3d6 in glXMakeCurrent () from /usr/X11R6/lib/libGL.so.1
#4  0x0804b243 in ?? ()
#5  0x08065800 in ?? ()
#6  0x02600002 in ?? ()
#7  0x08065000 in ?? ()
#8  0x00000000 in ?? ()
#9  0xbfbfe690 in ?? ()
#10 0x0000001e in ?? ()
#11 0x090512c0 in ?? ()
#12 0x00000040 in ?? ()
#13 0x00000000 in ?? ()
#14 0xbfbfe730 in ?? ()
#15 0xbfbfe828 in ?? ()
#16 0x0804f413 in ?? ()
#17 0xbfbfe730 in ?? ()
#18 0x0804b308 in ?? ()
#19 0x0804b134 in ?? ()
#20 0x0804f3d1 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00004e20 in ?? ()
---Type <return> to continue, or q <return> to quit--- 
#23 0x428dedab in ?? ()
#24 0x127f0c7f in ?? ()
#25 0x00ffffff in ?? ()
#26 0xffffffff in ?? ()
#27 0x2807ffff in ?? ()
#28 0x282ce9c4 in ?? () from /lib/libc.so.5
#29 0x2805c210 in ?? () from /libexec/ld-elf.so.1
#30 0x01bfe784 in ?? ()
#31 0x00ffffff in ?? ()
#32 0x00000000 in ?? ()
#33 0x2807b9a0 in ?? () from /libexec/ld-elf.so.1
#34 0xbfbfe784 in ?? ()
#35 0x28062d11 in r_debug_state () from /libexec/ld-elf.so.1

How-To-Repeat:       Running gflux, with DRI enabled, on an r200 card, using the dri-devel port and an updated DRM (1.16.0 from the dri-devel port).  klein also does the same, as does gears.
Comment 1 Eric Anholt freebsd_committer freebsd_triage 2005-06-26 22:20:24 UTC
Responsible Changed
From-To: freebsd-bugs->anholt

Grab this as dri-devel maintainer, and improve the synopsis.
Comment 2 Eric Anholt freebsd_committer freebsd_triage 2006-07-06 23:42:14 UTC
State Changed
From-To: open->closed

dri-devel is now from a year later, and even dri (which works for sure) is 
newer than this report :)  Sorry for never getting to it.