XORG i915 &.0 current

Angka H. K. harikurniawan at gmail.com
Mon Jul 3 06:37:38 UTC 2006


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



On 6/29/06, Eric Anholt <eric at anholt.net> wrote:
>
> On Thu, 2006-06-29 at 09:57 +0700, Angka H. K. wrote:
> > Dear Eric,
> >
> > Could you point me to documents on how to debug this ? I'll try to do
> this
> > on this weekend.
> > Thanks.
>
> I don't know of any documents on this sort of stuff -- just get out your
> debugger, run X under it from a separate machine, and see what's going
> wrong and fix it.
>
> --
> Eric Anholt                             anholt at FreeBSD.org
> eric at anholt.net                         eric.anholt at intel.com
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (FreeBSD)
>
> iD8DBQBEo7LTHUdvYGzw6vcRAoGmAJ9TM2eQQlDrsPp4Uxp2MmHT5p/PuACfaJiy
> KJBpBV/XbkhLtKulBpo/ciE=
> =CYc/
> -----END PGP SIGNATURE-----
>
>
>
-------------- next part --------------
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) Starting program: /usr/jail/usr/X11R6/bin/X -config /root/xorg.conf.new

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation CVS repository.
See http://wiki.x.org/wiki/CvsPage for CVS access instructions.

X Window System Version 7.1.99.1
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.1.99.1
Build Operating System: FreeBSD 7.0-CURRENT i386 
Current Operating System: FreeBSD angka.freebsd.pri 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jun 24 07:50:16 UTC 2006     root at angka.freebsd.pri:/usr/obj/usr/src/sys/ANGKA i386
Build Date: 01 July 2006
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/usr/X11R6/var/log/Xorg.0.log", Time: Sun Jul  2 08:37:37 2006
(++) Using config file: "/root/xorg.conf.new"
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100070]
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc/pc(pc105)+pc/us" };
    xkb_geometry             { include "pc(pc105)" };
[New Thread 0x86404c0 (LWP 100077)]
[New Thread 0x86402e0 (LWP 100078)]
[New LWP 100078]
suspend error: generic error
[Switching to LWP 100078]
Stopped due to shared library event
(gdb) Continuing.
suspend error: generic error
0x281fcfc0 in r_debug_state () from /libexec/ld-elf.so.1
(gdb) #0  0x281fcfc0 in r_debug_state () from /libexec/ld-elf.so.1
#1  0x281ff0f2 in dlclose () from /libexec/ld-elf.so.1
#2  0x28511515 in __glXDRIscreenDestroy (baseScreen=0x84b0400) at glxdri.c:454
#3  0x284eca81 in __glXResetScreens () at glxscreens.c:320
#4  0x284eaf45 in ResetExtension (extEntry=0x8471500) at glxext.c:49
#5  0x080987dd in CloseDownExtensions () at extension.c:262
#6  0x0806bb16 in main (argc=3, argv=0xbfbfed28, envp=0xbfbfed38)
    at main.c:453
(gdb) #0  0x281fcfc0 in r_debug_state () from /libexec/ld-elf.so.1
No symbol table info available.
#1  0x281ff0f2 in dlclose () from /libexec/ld-elf.so.1
No symbol table info available.
#2  0x28511515 in __glXDRIscreenDestroy (baseScreen=0x84b0400) at glxdri.c:454
	screen = (__GLXDRIscreen *) 0x84b0400
#3  0x284eca81 in __glXResetScreens () at glxscreens.c:320
	i = 0
#4  0x284eaf45 in ResetExtension (extEntry=0x8471500) at glxext.c:49
No locals.
#5  0x080987dd in CloseDownExtensions () at extension.c:262
	i = 16
	j = -1
#6  0x0806bb16 in main (argc=3, argv=0xbfbfed28, envp=0xbfbfed38)
    at main.c:453
	i = 1
	j = 2
	k = 2
	error = -1077940936
	xauthfile = 0x0
	alwaysCheckForInput = {0, 1}
(gdb) Single stepping until exit from function r_debug_state, 
which has no line number information.
suspend error: generic error
0x281fcfc0 in r_debug_state () from /libexec/ld-elf.so.1
(gdb) #0  0x281fcfc0 in r_debug_state () from /libexec/ld-elf.so.1
#1  0x281ff0f2 in dlclose () from /libexec/ld-elf.so.1
#2  0x28511515 in __glXDRIscreenDestroy (baseScreen=0x84b0400) at glxdri.c:454
#3  0x284eca81 in __glXResetScreens () at glxscreens.c:320
#4  0x284eaf45 in ResetExtension (extEntry=0x8471500) at glxext.c:49
#5  0x080987dd in CloseDownExtensions () at extension.c:262
#6  0x0806bb16 in main (argc=3, argv=0xbfbfed28, envp=0xbfbfed38)
    at main.c:453
(gdb) #0  0x281fcfc0 in r_debug_state () from /libexec/ld-elf.so.1
No symbol table info available.
#1  0x281ff0f2 in dlclose () from /libexec/ld-elf.so.1
No symbol table info available.
#2  0x28511515 in __glXDRIscreenDestroy (baseScreen=0x84b0400) at glxdri.c:454
	screen = (__GLXDRIscreen *) 0x84b0400
#3  0x284eca81 in __glXResetScreens () at glxscreens.c:320
	i = 0
#4  0x284eaf45 in ResetExtension (extEntry=0x8471500) at glxext.c:49
No locals.
#5  0x080987dd in CloseDownExtensions () at extension.c:262
	i = 16
	j = -1
#6  0x0806bb16 in main (argc=3, argv=0xbfbfed28, envp=0xbfbfed38)
    at main.c:453
	i = 1
	j = 2
	k = 2
	error = -1077940936
	xauthfile = 0x0
	alwaysCheckForInput = {0, 1}
(gdb) 


More information about the freebsd-x11 mailing list