Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Apr 2009 23:44:17 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        "N.J. Mann" <njm@njm.me.uk>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: Xorg 7.4 crashes on exit
Message-ID:  <1238733857.65025.2.camel@balrog.2hip.net>
In-Reply-To: <20090402191833.GA886@titania.njm.me.uk>
References:  <20090330201109.9CE521CC09@ptavv.es.net> <1238445388.8491.358.camel@balrog.2hip.net> <20090331151657.GA898@titania.njm.me.uk> <1238517533.8491.371.camel@balrog.2hip.net> <20090401154208.GA873@titania.njm.me.uk> <1238654585.1791.15.camel@balrog.2hip.net> <20090402164255.GA85610@titania.njm.me.uk> <1238692086.20670.38.camel@balrog.2hip.net> <20090402191833.GA886@titania.njm.me.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-p96G984r++leELkGKoaJ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2009-04-02 at 20:18 +0100, N.J. Mann wrote:
> In message <1238692086.20670.38.camel@balrog.2hip.net>,
> 	Robert Noland (rnoland@FreeBSD.org) wrote:
> > On Thu, 2009-04-02 at 17:42 +0100, N.J. Mann wrote:
> [snip]
> > > I use startx.  I do not seem to get any core files - I would have
> > > mentioned it earlier if I did.  If you think it will help I will look
> > > into using gdm, which I do not currently have installed, or anything
> > > else you think may help.
> >=20
> > Ok, so I have a patch that makes Intel mostly not suck now.  I haven't
> > really addressed the restart issue, but If your issue is occurring with
> > a clean STABLE, then it almost has to be vblank/irq related and that is
> > what I've been trying to fix.
> >=20
> > Setting Option "NoTrapSignals" "on" in your xorg.conf should cause it t=
o
> > drop core, which may provide some confirmation of what is going on.
>=20
> Okay, still no core file as me, but as root I get the following:
>=20
> titania# gdb Xorg Xorg.core=20
> 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 conditi=
ons.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
> This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols =
found)...
> Core was generated by `Xorg'.
> Program terminated with signal 11, Segmentation fault.
> Reading symbols from /usr/local/lib/libpciaccess.so.0...(no debugging sym=
bols found)...done.
> Loaded symbols for /usr/local/lib/libpciaccess.so.0
> Reading symbols from /usr/local/lib/libXfont.so.1...(no debugging symbols=
 found)...done.
> Loaded symbols for /usr/local/lib/libXfont.so.1
> Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging symb=
ols found)...done.
> Loaded symbols for /usr/local/lib/libfreetype.so.9
> Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols f=
ound)...done.
> Loaded symbols for /usr/local/lib/libXau.so.6
> Reading symbols from /usr/local/lib/libfontenc.so.1...(no debugging symbo=
ls found)...done.
> Loaded symbols for /usr/local/lib/libfontenc.so.1
> Reading symbols from /lib/libz.so.4...(no debugging symbols found)...done=
.
> Loaded symbols for /lib/libz.so.4
> Reading symbols from /usr/local/lib/libpixman-1.so.9...(no debugging symb=
ols found)...done.
> Loaded symbols for /usr/local/lib/libpixman-1.so.9
> Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols=
 found)...done.
> Loaded symbols for /usr/local/lib/libXdmcp.so.6
> Reading symbols from /lib/libcrypto.so.5...(no debugging symbols found)..=
.done.
> Loaded symbols for /lib/libcrypto.so.5
> Reading symbols from /usr/lib/librpcsvc.so.4...(no debugging symbols foun=
d)...done.
> Loaded symbols for /usr/lib/librpcsvc.so.4
> Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done=
.
> Loaded symbols for /lib/libm.so.5
> Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...=
done.
> Loaded symbols for /lib/libgcc_s.so.1
> Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done=
.
> Loaded symbols for /lib/libc.so.7
> Reading symbols from /usr/local/lib/xorg/modules/extensions//libextmod.so=
...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/extensions//libextmod.so
> Reading symbols from /usr/local/lib/xorg/modules/extensions//librecord.so=
...(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/extensions//librecord.so
> Reading symbols from /usr/local/lib/xorg/modules/extensions//libdbe.so...=
(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/extensions//libdbe.so
> Reading symbols from /usr/local/lib/xorg/modules/extensions//libglx.so...=
(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/extensions//libglx.so
> Reading symbols from /usr/local/lib/xorg/modules/extensions//libxtrap.so.=
..(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/extensions//libxtrap.so
> Reading symbols from /usr/local/lib/xorg/modules/extensions//libdri.so...=
(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/extensions//libdri.so
> Reading symbols from /usr/local/lib/libdrm.so.2...(no debugging symbols f=
ound)...done.
> Loaded symbols for /usr/local/lib/libdrm.so.2
> Reading symbols from /usr/local/lib/xorg/modules/fonts//libfreetype.so...=
(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/fonts//libfreetype.so
> Reading symbols from /usr/local/lib/xorg/modules/drivers//intel_drv.so...=
(no debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/drivers//intel_drv.so
> Reading symbols from /usr/local/lib/libdrm_intel.so.1...(no debugging sym=
bols found)...done.
> Loaded symbols for /usr/local/lib/libdrm_intel.so.1
> Reading symbols from /usr/local/lib/xorg/modules/input//mouse_drv.so...(n=
o debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/input//mouse_drv.so
> Reading symbols from /usr/local/lib/xorg/modules/input//kbd_drv.so...(no =
debugging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules/input//kbd_drv.so
> Reading symbols from /usr/local/lib/xorg/modules//libvgahw.so...(no debug=
ging symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules//libvgahw.so
> Reading symbols from /usr/local/lib/xorg/modules//libfb.so...(no debuggin=
g symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules//libfb.so
> Reading symbols from /usr/local/lib/xorg/modules//libexa.so...(no debuggi=
ng symbols found)...done.
> Loaded symbols for /usr/local/lib/xorg/modules//libexa.so
> Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found).=
..done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x28aff320 in ?? ()
> (gdb) bt
> #0  0x28aff320 in ?? ()
> #1  0x2856ab84 in pthread_mutex_lock () from /lib/libc.so.7
> #2  0x285e3feb in drm_intel_fake_bo_unmap () from /usr/local/lib/libdrm_i=
ntel.so.1
> #3  0x285e33c2 in drm_intel_bo_unmap () from /usr/local/lib/libdrm_intel.=
so.1
> #4  0x28768230 in intel_batch_flush () from /usr/local/lib/xorg/modules/d=
rivers//intel_drv.so
> #5  0x28767a64 in I830Sync () from /usr/local/lib/xorg/modules/drivers//i=
ntel_drv.so
> #6  0x287762ed in I830LeaveVT () from /usr/local/lib/xorg/modules/drivers=
//intel_drv.so
> #7  0x287767b3 in I830CloseScreen () from /usr/local/lib/xorg/modules/dri=
vers//intel_drv.so
> #8  0x0815606e in RRExtensionInit ()
> #9  0x080bf03e in xf86ChangeGammaRamp ()
> #10 0x080b6d24 in xf86DPMSInit ()
> #11 0x285ac994 in XvCloseScreen () from /usr/local/lib/xorg/modules/exten=
sions//libextmod.so
> #12 0x080bbcd1 in VidModeExtensionInit ()
> #13 0x081344c5 in XFixesCursorInit ()
> #14 0x0815489c in AnimCurInit ()
> #15 0x0812ee7a in CompositeRegisterAlternateVisuals ()
> #16 0x28739783 in glxCloseScreen () from /usr/local/lib/xorg/modules/exte=
nsions//libglx.so
> #17 0x0806b0ea in main ()
> (gdb)=20
>=20
> Is this any use?  Should I re-compile Xorg with debugging symbols?

Yes, though I'm getting ready to update Xserver, all the xrandr bits and
the Intel driver, along with all of Mesa.  libdrm may be ready as well,
if not very soon.  So, we may want to revisit once all that is done.

robert.

>=20
> Cheers,
>        Nick.
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-p96G984r++leELkGKoaJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAknVlCEACgkQM4TrQ4qfRON1pwCfd9KPg9/G1DxlptCtNnvp8Kbo
2jkAn3MSkA5ZQxjtZQ0tj24TahnMjtKL
=twe2
-----END PGP SIGNATURE-----

--=-p96G984r++leELkGKoaJ--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1238733857.65025.2.camel>