If environment no_rast=true is set, you will get a
segmentation fault when trying to destroy a context.

driver: r200, DRI CVS HEAD
maybe in radeon, too ...

Where should the destroyContext get "stopped" if
this option is used? in r200DestroyContext() or later?

greetings,
Andreas



backtrace:

[EMAIL PROTECTED]:~/PRJ/GLEAN/build/bin> gdb glxgears
GNU gdb 20010316
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
(gdb) r
Starting program: /usr/X11R6/bin/glxgears 
[New Thread 1024 (LWP 31982)]
ATTENTION: default value of option no_rast overridden by environment.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1024 (LWP 31982)]
0x4040f684 in _mesa_test_os_sse_exception_support () from 
/usr/X11R6/lib/modules/dri/r200_dri.so
(gdb) c
Continuing.
disabling 3D acceleration

Program received signal SIGSEGV, Segmentation fault.
0x40438b02 in count_func (name=0x4045d80a "Vertex2f", l=0x805a974) at r200_vtxfmt.c:67
67         foreach (f, l) i++;
(gdb) back
#0  0x40438b02 in count_func (name=0x4045d80a "Vertex2f", l=0x805a974) at 
r200_vtxfmt.c:67
#1  0x40438b4e in count_funcs (rmesa=0x8057b30) at r200_vtxfmt.c:73
#2  0x4043c989 in r200VtxfmtDestroy (ctx=0x805ad08) at r200_vtxfmt.c:1096
#3  0x404176d9 in r200DestroyContext (driContextPriv=0x8055930) at r200_context.c:513
#4  0x4030227a in driDestroyContext (dpy=0x804bfb0, scrn=0, contextPrivate=0x8055930) 
at dri_util.c:825
#5  0x4007a4c2 in DestroyContext (dpy=0x804bfb0, gc=0x8054be0) at glxcmds.c:624
#6  0x4007a5a6 in glXDestroyContext (dpy=0x804bfb0, gc=0x8054be0) at glxcmds.c:656
#7  0x0804aa77 in main ()
#8  0x401c87ee in __libc_start_main () from /lib/libc.so.6
(gdb)


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to