X applications seg faulting

Adam K Kirchhoff adamk at voicenet.com
Mon Nov 13 13:48:58 PST 2006


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




More information about the freebsd-x11 mailing list