Am Mittwoch, 12. Mai 2004 23:09 schrieb Dieter N�tzel:
> SunWave1 progs/demos# ./gears
> Mesa: software DXTn compression/decompression available
> Speicherschutzverletzung (core dumped)
More on this with latest CVS:
(gdb) r
Starting program: /opt/Mesa/progs/demos/gears
[New Thread 1079078016 (LWP 4667)]
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1079078016 (LWP 4667)]
0x40664a58 in _mesa_test_os_sse_exception_support ()
from /usr/X11R6/lib/modules/dri/r200_dri.so
(gdb) c
Continuing.
Mesa: software DXTn compression/decompression available
Program received signal SIGSEGV, Segmentation fault.
0x40670b99 in update_light (ctx=0x805e208) at r200_state.c:1143
1143 for (p = 0 ; p < MAX_LIGHTS; p++) {
(gdb) list
1138
1139
1140
1141 if (ctx->Light.Enabled) {
1142 GLint p;
1143 for (p = 0 ; p < MAX_LIGHTS; p++) {
1144 if (ctx->Light.Light[p].Enabled) {
1145 struct gl_light *l = &ctx->Light.Light[p];
1146 GLfloat *fcmd = (GLfloat *)R200_DB_STATE( lit[p] );
1147
(gdb) print p
$1 = 0
(gdb) bt
#0 0x40670b99 in update_light (ctx=0x805e208) at r200_state.c:1143
#1 0x406730a6 in r200ValidateState (ctx=0x805e208) at r200_state.c:2201
#2 0x4066d94a in r200MakeCurrent (driContextPriv=0x81eb7c0,
driDrawPriv=0x81ec510, driReadPriv=0x81eb7c0) at r200_context.c:634
#3 0x4054c0c1 in DoBindContext (dpy=0x804c038, draw=10485761, read=10485761,
ctx=0x81eb7c0, modes=0x8055f48, psp=0x8056d68) at dri_util.c:486
#4 0x4054c14a in driBindContext3 (dpy=0x804c038, scrn=136230848,
draw=10485761, read=10485761, ctx=0x805817c) at dri_util.c:519
#5 0x401316f6 in BindContextWrapper (dpy=0x804c038, gc=0x81eb7d8,
draw=10485761, read=134590056) at glxext.c:1515
#6 0x4013194a in MakeContextCurrent (dpy=0x804c038, draw=10485761,
read=10485761, gc=0x8057c70) at glxext.c:1613
#7 0x40131c33 in glXMakeCurrent (dpy=0x81eb7c0, draw=136230872, gc=0x81eb7c0)
at glxext.c:1760
#8 0x4004b540 in __glutSetWindow () from /usr/lib/libglut.so.3
#9 0x40041707 in processEventsAndTimeouts () from /usr/lib/libglut.so.3
#10 0x4004279b in glutMainLoop () from /usr/lib/libglut.so.3
#11 0x0804a3aa in main ()
(gdb) info registers
eax 0x81eb7c0 136230848
ecx 0x805ae68 134590056
edx 0x81eb7d8 136230872
ebx 0x805b550 134591824
esp 0xbfffe9c0 0xbfffe9c0
ebp 0x805ae68 0x805ae68
esi 0x805e208 134603272
edi 0x81eb7cf 136230863
eip 0x40670b99 0x40670b99
eflags 0x10202 66050
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
-Dieter
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel