ports/89074: Segmentation Violation during "make install" of
XFree86-4 (fwd)
Jean-Francois Gobin
gobin at gobinjf.be
Sun Nov 20 00:30:36 PST 2005
The following reply was made to PR ports/89074; it has been noted by GNATS.
From: Jean-Francois Gobin <gobin at gobinjf.be>
To: bug-followup at freebsd.org
Cc:
Subject: Re: ports/89074: Segmentation Violation during "make install" of
XFree86-4 (fwd)
Date: Sun, 20 Nov 2005 09:21:11 +0100 (CET)
And here you are ...
ns# /usr/X11R6/bin/mkfontdir -x bdf .
Segmentation fault (core dumped)
ns#
ns#
ns# gdb /usr/X11R6/bin/mkfontdir
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"...
(gdb) run -x bdf .
Starting program: /usr/X11R6/bin/mkfontdir -x bdf .
Program received signal SIGSEGV, Segmentation fault.
0x2822d1b9 in __vfprintf () from /lib/libc.so.5
(gdb) bt
#0 0x2822d1b9 in __vfprintf () from /lib/libc.so.5
#1 0x2822bb07 in vfprintf () from /lib/libc.so.5
#2 0x282188ba in fprintf () from /lib/libc.so.5
#3 0x080490d5 in WriteFontTable (dirName=0x720e5000 <Error reading address
0x720e5000: Bad address>, table=0xbfbfe7e0)
at mkfontdir.c:204
#4 0x08049f2d in DoDirectory (dirName=0xbfbfedb8 ".", encodings=0x720e5000,
count=1913540608) at mkfontdir.c:664
#5 0x0804a437 in main (argc=4, argv=0xbfbfecb4) at mkfontdir.c:793
Hope it helps
On Fri, 18 Nov 2005, Dejan Lesjak wrote:
> That seems fine.
> There are no debugging symbols in default install of XFree86-clients (where
> mkfontdir comes from). To get them you need to add '-g' to CFLAGS and add a
> line to scripts/configure of x11/XFree86-4-clients port:
>
> echo "#define StripInstalledPrograms NO" >> $LOCALDEF
>
> (below the line
> echo "#define UseInstalledLibraries YES" >> $LOCALDEF
> for example).
> Then recompile this port and when you get to gdb, obtain a backtrace with
> 'bt'.
> Is the hardware in good shape (see
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#SIGNAL11)?
>
----------
Jean-Francois Gobin - Administrateur gobinjf.be
http://www.gobinjf.be mailto:gobin at gobinjf.be
More information about the freebsd-x11
mailing list