On 2002.05.18 18:02 Felix Kühling wrote:
> On Sat, 18 May 2002 15:56:00 +0100
> José Fonseca <[EMAIL PROTECTED]> wrote:
> 
> > Nice report ;-)
> 
> Thanks :)
> 
> > Try with xfree-gdb (http://www.dawa.demon.co.uk/xfree-gdb/) to see if
> you
> > have better luck.
> 
> Yep, that gave better results. Since I have only one computer here and
> the display turns black I had to do this with a gdb command script. This
> is the script:
> 
> run :1 vt8 -xf86config XF86Config-mach64004

I also have to start using another X server in a sep window cause having 
to log out everytime I want to test is a PITA.

> bt
> continue
> ...

> Here is the log:
> 
> ...
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x082385e0 in DRILock (pScreen=0x0, flags=0) at dri.c:1759
> 1759      DRIScreenPrivPtr pDRIPriv = DRI_SCREEN_PRIV(pScreen);
> #0  0x082385e0 in DRILock (pScreen=0x0, flags=0) at dri.c:1759

The problem is that pScreen is NULL here and DRILock is trying to 
dereference it.

> #1  0x086d9ffe in intE6_handler ()
> #2  0x086ff93d in VBEGetVBEpmi () at atipreinit.c:548
> #3  0x08706fa9 in fbBlt (srcLine=0x0, srcStride=0, srcX=0,
> dstLine=0x8706fa9,
>     dstStride=-1073744732, dstX=0, width=0, height=141643160, alu=1,
>     pm=141643240, bpp=137618992, reverse=0, upsidedown=142025672)
>     at fbblt.c:295
> #4  0x080a8ca8 in xf86XVLeaveVT (index=0, flags=0) at xf86xv.c:1241
> #5  0x0806d5de in AbortDDX () at xf86Init.c:1135
> #6  0x080dbf20 in AbortServer () at utils.c:436
> #7  0x080dd62f in FatalError () at utils.c:1399
> #8  0x08080d0b in xf86SigHandler (signo=11) at xf86Events.c:1085
> #9  0x4007e6b8 in sigaction () from /lib/libc.so.6
> #10 0x086ea8d8 in intE6_handler ()
> #11 0x080c60f0 in AddScreen (pfnInit=0x86ea268 <intE6_handler+79240>,
> argc=5,
>     argv=0xbffffa04) at main.c:768
> #12 0x0806c383 in InitOutput (pScreenInfo=0x81e09e0, argc=5,
> argv=0xbffffa04)
>     at xf86Init.c:819
> #13 0x080c55e6 in main (argc=5, argv=0xbffffa04, envp=0xbffffa1c) at
> main.c:380
> #14 0x4006e14f in __libc_start_main () from /lib/libc.so.6
> 
> Program terminated with signal SIGSEGV, Segmentation fault.
> The program no longer exists.
> 
> I grepped for intE6_handler and found it in
> programs/Xserver/hw/xfree86/int10/xf86int10.c. I think, it's not mach64
> specific and it hasn't changed since January. So the actual problem must
> be somewhere else.

Don't forget that the problem ocurred in DRILock and not intE6_handler.

> Maybe the debugger was confused by compiler
> optimisations?

First let's try to eliminate the most simple options first. I noticed on 
the CVS Update log that Leif changed quite a deal of places. You mentioned 
in your first post that you'd recompiled everything. Did you also 
re-installed everything? It happened quite a lot having problems because I 
forgot to recompile/reinstall parts that had been changed.

When I get some spare minutes I'm going to recompile with Leif changes and 
check if the problem is reproducible on my system.

José Fonseca

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

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

Reply via email to