XORG i915 &.0 current
Angka H. K.
harikurniawan at gmail.com
Fri Jul 7 07:30:20 UTC 2006
I am trying to track down a CloseDownExtension process and stuck at
glxscreen.c.
I need to know where the screenInfo is initialized ? I completely lost to
find it.
And I modified something at void __glXResetScreens(void) become like this:
----------------------------------------------------------------------------------------------------------------------------------
void __glXResetScreens(void)
{
int i;
int j;
j = screenInfo.numScreens;
for (i = 0; i < j; i++)
if (__glXActiveScreens[i])
__glXActiveScreens[i]->destroy(__glXActiveScreens[i]);
xfree(__glXActiveScreens);
xfree(__glXHyperpipeFuncs);
xfree(__glXSwapBarrierFuncs);
__glXNumHyperpipeFuncs = 0;
__glXNumSwapBarrierFuncs = 0;
__glXHyperpipeFuncs = NULL;
__glXSwapBarrierFuncs = NULL;
__glXActiveScreens = NULL;
}
----------------------------------------------------------------------------------------------------------------------------------
My goal was to see the value of screenInfo.numScreens on gdb. But it always
reset the mechine everytime I press Ctrl+Alt+BackSpace and left me nothing.
I use only one mechine so I redirect the output to a file with ">& file".
Regards,
On 7/4/06, Eric Anholt <eric at anholt.net> wrote:
>
> On Mon, 2006-07-03 at 13:37 +0700, Angka H. K. wrote:
> > Dear all,
> >
> > Attach is my output during a debugging.
> >
> > I see a dlclose called inside glXDRIscreenDestroy with paramaeter
> screen.
> > It's a very short function and no comment at all. I don't know what make
> is
> > wrong, maybe the pointer poited by screen is mis poiting the screen
> address.
> >
> > Please help me
>
> That's exactly the place I see the crash as well. If I run X under GDB,
> it totally loses its mind here, and even the continue command gets me
> stuck at the same point. If I let X crash and coredump (add
> NoTrapSignals to the ServerFlags, and run X as root), the backtrace is a
> bit confused but looks like the same place.
>
> A trivial program (linked against libGL, however) that dlopens
> i915_dri.so and dlcloses it appears to work.
>
> --
> Eric Anholt anholt at FreeBSD.org
> eric at anholt.net eric.anholt at intel.com
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (FreeBSD)
>
> iD8DBQBEqbHAHUdvYGzw6vcRAtnDAJ9MJ24KjTRXKNcJ7SbNRaUul1VNRACgmIqZ
> 6xScFz4lGvHkquzNrTDVRnM=
> =eHDx
> -----END PGP SIGNATURE-----
>
>
>
More information about the freebsd-x11
mailing list