Brain wrote:
> Dieter Nützel wrote:
> >
> > On Wednesday, March 2002-04-03 22:05:47, Brian Paul wrote:
> > > -- Dieter N=FCtzel wrote:
> > > > =20
> > > > One more:
> > > > Brian, is the latest Mesa-4.0.2 stuff already merged?
> > >
> > > The trunk is has the latest 4.0.2 code now.
> >
> > Sorry Brian,
> >
> > but after your update the tdfx driver (V5) sigfaults during the "texdown"
> > demo. I verified it with the former tree. It works there.
> >
> > Do you need a log with debug compiled into X/texdown?
>
> Compiling the tdfx driver for debugging and getting a stack trace
> would be useful.  In the mean time, I'll try to get my Voodoo5
> system up to date.

Ahmmm, maybe I am to stupid...

With -g I get ~5 MB tdfx_dri.so driver (~400 MB tree) but only this:

Reading symbols from /usr/X11R6/lib/modules/dri/tdfx_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/tdfx_dri.so
Reading symbols from /usr/lib/libglide3.so...done.
Loaded symbols for /usr/lib/libglide3.so
#0  0x401f093f in free () from /lib/libc.so.6
(gdb) bt
#0  0x401f093f in free () from /lib/libc.so.6
#1  0x404d449c in _mesa_align_free (ptr=Error accessing memory address 0xde5: 
No such process.
) at mem.c:235
Error accessing memory address 0xde1: No such process.

ltrace:
[-]
glutGet(700, 3553, 3553, 10240, 9729)             = 561
glTexImage2D(3553, 0, 6407, 256, 256 <unfinished ...>
malloc(262144)                                    = 0x46955008
malloc(196608)                                    = 0x46996008
free(0x46996008)                                  = <void>
glBegin(4, 0x0804adb4, 0xbfffed44, 0xbfffed44, 0 <unfinished ...>
glBegin(4, 0x0804adb4, 196608, 0x468f3008, 0x08049241) = 0x0810afdc
glTexCoord2f(0, 0, 4, 0x0804adb4, 0xbfffed44 <unfinished ...>
glTexCoord2f(0, 0, 0x0804adb4, 196608, 0x468f3008) = 0x0810e1a0
glVertex2f(0x3f800000, 0x3f800000, 0, 0, 4 <unfinished ...>
glVertex2f(0x3f800000, 0x3f800000, 0x0804adb4, 196608, 0x468f3008) = 
0x3f800000
glTexCoord2f(0x3f800000, 0, 0x3f800000, 0x3f800000, 0) = 0x0810e1b0
glVertex2f(0x40400000, 0x3f800000, 0x3f800000, 0, 0x3f800000) = 0x3f800000
glTexCoord2f(0x3f000000, 0x3f800000, 0x0804adb4, 0xbfffed44, 0xbfffed44) = 
0x0810e1c0
glVertex2f(0x40000000, 0x40400000, 0x3f000000, 0x3f800000, 0x0804adb4) = 
0x40400000
glEnd(0x40000000, 0x40400000, 0x3f000000, 0x3f800000, 0x0804adb4 <unfinished 
...>
glEnd(0x0804adb4, 196608, 0x468f3008, 0x0804929e, 0x40000000) = 0x0804f200
glutGet(700, 0x40000000, 0x40400000, 0x3f000000, 0x3f800000) = 567
glTexImage2D(3553, 0, 6407, 256, 256 <unfinished ...>
malloc(12)                                        = 0x08121ea8
malloc(48432)                                     = 0x08121f28
malloc(48432)                                     = 0x0812dc60
malloc(48432)                                     = 0x08139998
malloc(3057)                                      = 0x081456d0
malloc(12132)                                     = 0x081462c8
free(0x00041002)                                  = <void>
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

strace:
[-]
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40018000
write(1, "GL_VENDOR = VA Linux Systems, In"..., 35GL_VENDOR = VA Linux 
Systems, Inc.
) = 35
write(1, "GL_VERSION = 1.2 Mesa 4.0.2\n", 28GL_VERSION = 1.2 Mesa 4.0.2
) = 28
write(1, "GL_RENDERER = Mesa DRI 20020221 "..., 55GL_RENDERER = Mesa DRI 
20020221 Voodoo4 x86/MMX/3DNow!
) = 55
write(3, "\22\0\7\0\1\0`\3\350\0\0\0\4\0\0\0 \0\0\0\1\0\0\0\347\0"..., 52) = 
52
ioctl(3, 0x541b, [32])                  = 0
read(3, "\226\350*\0\1\0`\3\1\0`\3\0\0\0\0\4\0B\0X\2d\0\0\0\0A)"..., 32) = 32
ioctl(3, 0x541b, [96])                  = 0
read(3, "\25\10*\0\1\0`\3\1\0`\3\t\10 \1\0\0\0\0\0\10 \1\1\0\0\300"..., 96) = 
96
ioctl(3, 0x541b, [0])                   = 0
ioctl(3, 0x541b, [0])                   = 0
write(3, "\221\t\3\0\0\0\0\0\1\0`\3", 12) = 12
read(3, 0xbffff00c, 32)                 = -1 EAGAIN (Resource temporarily 
unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\1w+\0\5\0\0\0\0\0\0\0\5\0\0\0\4\0B\0X\2d\0\1\0\0\0\4\0"..., 32) = 32
read(3, "\1\0\0\0", 4)                  = 4
read(3, "\4\0B\0\\\2\246\0", 8)         = 8
read(3, "\4\0B\0\\\2\246\0", 8)         = 8
ioctl(4, 0x4008642a, 0xbffff050)        = 0
brk(0x8123000)                          = 0x8123000
ioctl(3, 0x541b, [0])                   = 0
old_mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x468f3000
old_mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x46924000
gettimeofday({1018061496, 243150}, NULL) = 0
old_mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x46955000
old_mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x46996000
munmap(0x46996000, 200704)              = 0
gettimeofday({1018061496, 247011}, NULL) = 0
brk(0x812f000)                          = 0x812f000
brk(0x813b000)                          = 0x813b000
brk(0x8147000)                          = 0x8147000
brk(0x814a000)                          = 0x814a000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

But when I enable debug in host.def like below:

/* Optionally turn these on for debugging */
#define GlxBuiltInTdfx YES
/* #define GlxBuiltInI810 YES */
/* #define GlxBuiltInMga YES */
/* #define GlxBuiltInR128 YES */
/* #define GlxBuiltInRadeon YES */
#define DoLoadableServer NO

Compilation fails with...
[-]
making all in lib/GL/GL...
make[5]: Entering directory `/tmp/INSTALL/SOURCE/dri/xc/xc/lib/GL/GL'
make[5]: *** No rule to make target `../../../lib/GL/mesa/dri/?*.o', needed by 
`libGL.so.1.
2'.  Stop.
make[5]: Leaving directory `/tmp/INSTALL/SOURCE/dri/xc/xc/lib/GL/GL'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/tmp/INSTALL/SOURCE/dri/xc/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/INSTALL/SOURCE/dri/xc/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/INSTALL/SOURCE/dri/xc/xc'
make[1]: *** [Everything] Error 2
make[1]: Leaving directory `/tmp/INSTALL/SOURCE/dri/xc/xc'
make: *** [Everything] Error 2

What's wrong?

-Dieter



_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to