From owner-freebsd-x11@FreeBSD.ORG Sun Nov 20 08:30:36 2005 Return-Path: X-Original-To: freebsd-x11@hub.freebsd.org Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5296716A41F for ; Sun, 20 Nov 2005 08:30:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A7B343D45 for ; Sun, 20 Nov 2005 08:30:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jAK8UZ23067802 for ; Sun, 20 Nov 2005 08:30:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jAK8UZov067793; Sun, 20 Nov 2005 08:30:35 GMT (envelope-from gnats) Date: Sun, 20 Nov 2005 08:30:35 GMT Message-Id: <200511200830.jAK8UZov067793@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Jean-Francois Gobin Cc: Subject: Re: ports/89074: Segmentation Violation during "make install" of XFree86-4 (fwd) X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jean-Francois Gobin List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2005 08:30:36 -0000 The following reply was made to PR ports/89074; it has been noted by GNATS. From: Jean-Francois Gobin To: bug-followup@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 , 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@gobinjf.be