From owner-freebsd-x11@FreeBSD.ORG Mon Nov 13 21:48:58 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53A4916A5DB for ; Mon, 13 Nov 2006 21:48:58 +0000 (UTC) (envelope-from adamk@voicenet.com) Received: from b.mx.visualtech.com (chons.visualtech.com [208.16.19.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id A75CE43DA2 for ; Mon, 13 Nov 2006 21:48:31 +0000 (GMT) (envelope-from adamk@voicenet.com) Received: from [192.168.0.101] (c-68-45-180-45.hsd1.nj.comcast.net [68.45.180.45]) by b.mx.visualtech.com (Postfix) with ESMTP id 73FB1483E2; Mon, 13 Nov 2006 16:48:27 -0500 (EST) Message-ID: <4558E82B.2020706@voicenet.com> Date: Mon, 13 Nov 2006 16:48:27 -0500 From: Adam K Kirchhoff User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Rene Ladan References: <4558D89B.40708@voicenet.com> <4558E65B.7090007@gmail.com> In-Reply-To: <4558E65B.7090007@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org Subject: Re: X applications seg faulting X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 21:48:58 -0000 Rene Ladan wrote: > Adam K Kirchhoff schreef: > >> So I'm hoping for a little more guidance. I've managed to get the >> modular X server up and running from the ports tree. I did not install >> the entire xorg metapackage due to problems with some of the input >> drivers, so I just manually installed the necessary drivers. I've >> installed some X11 client applications from the ports tree, including rxvt. >> >> Though I can launch the X server, any X clients will automatically >> segfault, including xinit. In fact, this is clearly completely >> unrelated to the X server as those client apps segfault when being >> launched on a remote X server. If I ssh in, and try to launch rxvt, I >> get a segfault. The backtrace shows: >> >> (gdb) run >> Starting program: /usr/X11R6/bin/rxvt >> (no debugging symbols found)...(no debugging symbols found)...(no >> debugging symbols found)... >> Program received signal SIGSEGV, Segmentation fault. >> 0x08240250 in ?? () >> (gdb) bt >> #0 0x08240250 in ?? () >> #1 0x280dd81f in _XReply () from /usr/X11R6/lib/libX11.so.6 >> #2 0x280ba20e in XListFonts () from /usr/X11R6/lib/libX11.so.6 >> #3 0x2810af86 in get_font_name () from /usr/X11R6/lib/libX11.so.6 >> #4 0x2810b4f8 in parse_fontdata () from /usr/X11R6/lib/libX11.so.6 >> #5 0x2810c5ef in create_oc () from /usr/X11R6/lib/libX11.so.6 >> #6 0x280c5c54 in XCreateOC () from /usr/X11R6/lib/libX11.so.6 >> #7 0x280bad14 in XCreateFontSet () from /usr/X11R6/lib/libX11.so.6 >> #8 0x0804d5a3 in ?? () >> #9 0x08210800 in ?? () >> #10 0x08290240 in ?? () >> #11 0xbfbfeac0 in ?? () >> #12 0xbfbfeac4 in ?? () >> #13 0xbfbfeac8 in ?? () >> #14 0x0805aaa9 in ?? () >> #15 0xbfbfeac8 in ?? () >> #16 0x281d4b15 in __detect_path_locale () from /lib/libc.so.7 >> #17 0x0804d603 in ?? () >> #18 0x00e00002 in ?? () >> #19 0x00000000 in ?? () >> #20 0x00000001 in ?? () >> #21 0xbfbfeb88 in ?? () >> #22 0x00000001 in ?? () >> #23 0x00000000 in ?? () >> #24 0xbfbfeb38 in ?? () >> #25 0x080517f4 in ?? () >> #26 0x00000001 in ?? () >> #27 0xbfbfeb88 in ?? () >> #28 0x00000000 in ?? () >> #29 0xbfbfec04 in ?? () >> #30 0x2826c520 in _nsyyin () from /lib/libc.so.7 >> #31 0x28089600 in ?? () >> #32 0xbfbfeb30 in ?? () >> #33 0x00000001 in ?? () >> #34 0xbfbfeb90 in ?? () >> #35 0x2806288c in fetch_ventry () from /libexec/ld-elf.so.1 >> Previous frame inner to this frame (corrupt stack?) >> >> Does anyone have any ideas? Thanks! >> >> Adam >> >> >> > 1. Which version of libX11 do you have? 1.0.99.2 is troublesome (at > least for me). > I have version 1.0.99.2,1, which seems to be the latest available in ports. I can try upgrading to the version in freedesktop's git repository, if necessary. > 2. backtraces are only useful with debugging symbols (add -g to CFLAGS > in /etc/make.conf and recompile X). > > I was worried you'd say that :-) I'll give that a whirl. Adam