Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 22:40:43 +0100
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        Adam K Kirchhoff <adamk@voicenet.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: X applications seg faulting
Message-ID:  <4558E65B.7090007@gmail.com>
In-Reply-To: <4558D89B.40708@voicenet.com>
References:  <4558D89B.40708@voicenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

2. backtraces are only useful with debugging symbols (add -g to CFLAGS
in /etc/make.conf and recompile X).

Regards,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001




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