Date: Mon, 19 Jul 2010 14:28:31 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Xorg dumps core Message-ID: <20100719132831.GA83170@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20100719085013.GA82064@mech-cluster241.men.bris.ac.uk> References: <20100718124411.GA74064@mech-cluster241.men.bris.ac.uk> <20100719085013.GA82064@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 19, 2010 at 09:50:13AM +0100, Anton Shterenlikht wrote: > On Sun, Jul 18, 2010 at 01:44:11PM +0100, Anton Shterenlikht wrote: > > I've seen this problem before, but on > > a complex configuration: Xorg running on > > FreeBSD spar64 and connecting via "-query" > > to clients running on FreeBSD ia64. > > > > Now I get this core dump on a simple amd64 > > installation, so I'm trying to provide > > a full report. > > > > On amd64 -current (r210043) I've > > xorg-server-1.7.5,1 > > xf86-video-ati-6.13.0 > > xdm-1.1.8_2 > > > > I start X with > > > > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure > > > > in /etc/ttys > > > > I open ssh -XY connection to a linux server. > > > > I start an application (Paraview, www.paraview.org). > > > > When I close the Paraview normally - Xorg dumps core. > > > > After 1-2 seconds I'm back at the xdm login screen. > > > > Here's xdm.log > > > > % cat /val/log/xdm.log > > X.Org X Server 1.7.5 > > Release Date: 2010-02-16 > > X Protocol Version 11, Revision 0 > > Build Operating System: FreeBSD 9.0-CURRENT amd64 > > Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r210043: Thu Jul 15 12:01:58 BST 2010 root@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 > > Build Date: 16 June 2010 02:51:23PM > > > > Current version of pixman: 0.16.6 > > Before reporting problems, check http://wiki.x.org > > to make sure that you have the latest version. > > Markers: (--) probed, (**) from config file, (==) default setting, > > (++) from command line, (!!) notice, (II) informational, > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > > (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul 18 13:16:26 2010 > > (==) Using config file: "/etc/X11/xorg.conf" > > (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM > > [dri] Disabling DRI. > > XRANDR name: VGA-0 > > Connector: VGA > > CRT1: INTERNAL_KLDSCP_DAC1 > > DDC reg: 0x7e50 > > XRANDR name: LVDS > > Connector: LVDS > > LCD1: INTERNAL_LVTM1 > > DDC reg: 0x7e40 > > Dac detection success > > finished output detect: 0 > > finished output detect: 1 > > finished all detect > > Dac detection success > > Output LCD1 disable success > > Blank CRTC 0 success > > Disable CRTC 0 success > > Blank CRTC 1 success > > Disable CRTC 1 success > > Output CRT1 disable success > > Output LCD1 disable success > > Blank CRTC 0 success > > Disable CRTC 0 success > > Blank CRTC 1 success > > Disable CRTC 1 success > > Output LCD1 disable success > > Blank CRTC 0 success > > Disable CRTC 0 success > > Mode 1280x800 - 1440 823 10 > > Picked PLL 0 > > best_freq: 71152 > > best_feedback_div: 159 > > best_frac_feedback_div: 0 > > best_ref_div: 2 > > best_post_div: 16 > > Set CRTC 0 PLL success > > Set CRTC Timing success > > Set CRTC 0 Overscan success > > Not using RMX > > scaler 0 setup success > > Set CRTC 0 Source success > > crtc 0 YUV disable setup success > > Output digital setup success > > Output LCD1 enable success > > Enable CRTC 0 success > > Unblank CRTC 0 success > > Output CRT1 disable success > > Blank CRTC 1 success > > Disable CRTC 1 success > > record: RECORD extension enabled at configure time. > > record: This extension is known to be broken, disabling extension now.. > > record: http://bugs.freedesktop.org/show_bug.cgi?id=20500 > > Bus error: 10 at address 0x802257ddb > > > > Fatal server error: > > Caught signal 10 (Bus error: 10). Server aborting > > > > > > Please consult the The X.Org Foundation support > > at http://wiki.x.org > > for help. > > Please also check the log file at "/var/log/Xorg.0.log" for additional information. > > > > Output LCD1 disable success > > Blank CRTC 0 success > > Disable CRTC 0 success > > Blank CRTC 1 success > > Disable CRTC 1 success > > Enable CRTC 0 success > > Unblank CRTC 0 success > > XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":0.0" > > after 131 requests (131 known processed) with 0 events remaining. > > xdm error (pid 1146): Server for display :0 terminated unexpectedly: 1536 > > > > > > > > Here's the gdb output: > > > > > > 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 "amd64-marcel-freebsd"...(no debugging symbols found)... > > Core was generated by `Xorg'. > > Program terminated with signal 6, Aborted. > > 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/libfontenc.so.1...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/libfontenc.so.1 > > Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. > > Loaded symbols for /lib/libz.so.6 > > 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/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/libhal.so.1...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/libhal.so.1 > > Reading symbols from /usr/local/lib/libdbus-1.so.3...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/libdbus-1.so.3 > > 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.6...(no debugging symbols found)...done. > > Loaded symbols for /lib/libcrypto.so.6 > > Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done. > > Loaded symbols for /usr/lib/librpcsvc.so.5 > > Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. > > Loaded symbols for /lib/libm.so.5 > > Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. > > Loaded symbols for /lib/libthr.so.3 > > 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/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/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/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/extensions/libdri2.so...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/xorg/modules/extensions/libdri2.so > > Reading symbols from /usr/local/lib/xorg/modules/drivers/radeon_drv.so...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/xorg/modules/drivers/radeon_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/libint10.so...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/xorg/modules/libint10.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/libxaa.so...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/xorg/modules/libxaa.so > > Reading symbols from /usr/local/lib/dri/swrast_dri.so...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/dri/swrast_dri.so > > Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/libexpat.so.6 > > 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/input/mouse_drv.so...(no debugging symbols found)...done. > > Loaded symbols for /usr/local/lib/xorg/modules/input/mouse_drv.so > > Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. > > Loaded symbols for /libexec/ld-elf.so.1 > > #0 0x0000000801a30d8c in kill () from /lib/libc.so.7 > > [New Thread 801c071c0 (LWP 100123)] > > (gdb) quit > > Does bt help at all: > > (gdb) bt full > #0 0x0000000801a30d8c in kill () from /lib/libc.so.7 > No symbol table info available. > #1 0x0000000801a2fb4b in abort () from /lib/libc.so.7 > No symbol table info available. > #2 0x0000000000476744 in ddxGiveUp () > No symbol table info available. > #3 0x000000000046fcdd in AbortServer () > No symbol table info available. > #4 0x000000000047035f in FatalError () > No symbol table info available. > #5 0x000000000046a581 in OsInit () > No symbol table info available. > #6 <signal handler called> > No symbol table info available. > #7 0x0000000802256a4b in DrawableGone () > from /usr/local/lib/xorg/modules/extensions/libglx.so > No symbol table info available. > #8 0x00000000004524cc in FreeResource () > No symbol table info available. > #9 0x0000000000434c2b in ProcDestroyWindow () > No symbol table info available. > #10 0x0000000000437460 in Dispatch () > No symbol table info available. > #11 0x000000000042d7ba in main () > No symbol table info available. > (gdb) > > Is there any way I can increase amount of debugging information? > > Will launching xdm with -debug <some number> help? > I did some more testing - it seems the crash occurs when some windows are closed, not necessarily an exit from a program. However, neither gv nor acroread, exhibit this program, only Paraview. I wonder if this line #7 0x0000000802256a4b in DrawableGone () from /usr/local/lib/xorg/modules/extensions/libglx.so is an indication of where the problem might be? How can I not load the GLX extension? The X logs indicate that this module is loaded by default. I apologise if I'm talking nonsense. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100719132831.GA83170>