Ian Romanick wrote:
CVSROOT:	/cvsroot/dri
Module name:	xc
Repository:	xc/xc/lib/GL/mesa/src/drv/r128/
Changes by:	idr@sc8-pr-cvs1.	02/11/27 12:47:44

Log message:
  Initial pass at adding texmem support to Rage128 driver.  These
  changes have not yet been tested as I don't have access to Rage128
  hardware.  I will post to dri-devel to beg for help.

I fixed one trivial problem with turning on extensions (is that *strictly* a texmem change, Ian?)

Now I've got this:

Program received signal SIGSEGV, Segmentation fault.
0x4047258c in driInitTextureObjects (ctx=0x8056b18, swapped=0x8054e00,
targets=3) at texmem.c:802
802 move_to_tail( swapped, (driTextureObject *) texObj->DriverData );
(gdb) print swapped
$1 = (driTextureObject *) 0x8054e00
(gdb) print *swapped
$2 = {next = 0x8054e00, prev = 0x8054e00, heap = 0x0, tObj = 0x0,
memBlock = 0x0, bound = 0, totalSize = 0, dirty_images = {0, 0, 0, 0, 0, 0}}
(gdb) print texObj->DriverData
$3 = (void *) 0x0


It seems to be during initialization:

(gdb) bt
#0 0x4047258c in driInitTextureObjects (ctx=0x8056b18, swapped=0x8054e00,
targets=3) at texmem.c:802
#1 0x4047ae70 in r128DDInitTextureFuncs (ctx=0x8056b18) at r128_tex.c:608
#2 0x404729b1 in r128CreateContext (dpy=0x80527f0, glVisual=0xbffff880,
driContextPriv=0x8054ca8, sharedContextPrivate=0x0) at r128_context.c:215
#3 0x40347fcc in driCreateContext (dpy=0x80527f0, vis=0x8053c28,
sharedPrivate=0x0, pctx=0x80562e4) at dri_util.c:849
#4 0x4010839a in CreateContext (dpy=0x80527f0, vis=0x8053c28, shareList=0x0,
allowDirect=1, contextID=0) at glxcmds.c:175
#5 0x4010849d in glXCreateContext (dpy=0x80527f0, vis=0x8053c28,
shareList=0x0, allowDirect=1) at glxcmds.c:212
#6 0x4002e72a in __glutCreateWindow () from /home/XF4/lib/libglut.so.3
#7 0x4002e9d6 in glutCreateWindow () from /home/XF4/lib/libglut.so.3
#8 0x0804b397 in main ()
#9 0x42017499 in __libc_start_main () from /lib/i686/libc.so.6


I'll have a look & find out more.

Keith



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to