Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2009 20:18:33 +0100
From:      "N.J. Mann" <njm@njm.me.uk>
To:        Robert Noland <rnoland@FreeBSD.org>
Cc:        freebsd-x11@FreeBSD.org
Subject:   Re: Xorg 7.4 crashes on exit
Message-ID:  <20090402191833.GA886@titania.njm.me.uk>
In-Reply-To: <1238692086.20670.38.camel@balrog.2hip.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
> 
> 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.
> 
> Setting Option "NoTrapSignals" "on" in your xorg.conf should cause it to
> drop core, which may provide some confirmation of what is going on.

Okay, still no core file as me, but as root I get the following:

titania# gdb Xorg Xorg.core 
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"...(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 symbols 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 symbols found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libfontenc.so.1...(no debugging symbols 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 symbols 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 found)...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 found)...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 symbols found)...done.
Loaded symbols for /usr/local/lib/libdrm_intel.so.1
Reading symbols from /usr/local/lib/xorg/modules/input//mouse_drv.so...(no 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 debugging symbols found)...done.
Loaded symbols for /usr/local/lib/xorg/modules//libvgahw.so
Reading symbols from /usr/local/lib/xorg/modules//libfb.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/xorg/modules//libfb.so
Reading symbols from /usr/local/lib/xorg/modules//libexa.so...(no debugging 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_intel.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/drivers//intel_drv.so
#5  0x28767a64 in I830Sync () from /usr/local/lib/xorg/modules/drivers//intel_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/drivers//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/extensions//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/extensions//libglx.so
#17 0x0806b0ea in main ()
(gdb) 

Is this any use?  Should I re-compile Xorg with debugging symbols?


Cheers,
       Nick.
-- 
"'The Innocent have Nothing [Left] To Lose' was of course the winning
tagline in the government's competition to relaunch the [UK] ID card."




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