Xorg 7.4 crashes on exit

Robert Noland rnoland at FreeBSD.org
Thu Apr 2 21:44:59 PDT 2009


On Thu, 2009-04-02 at 20:18 +0100, N.J. Mann wrote:
> In message <1238692086.20670.38.camel at balrog.2hip.net>,
> 	Robert Noland (rnoland at 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?

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.

> 
> Cheers,
>        Nick.
-- 
Robert Noland <rnoland at FreeBSD.org>
FreeBSD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20090403/ee91fd05/attachment.pgp


More information about the freebsd-x11 mailing list