From owner-freebsd-gnome@FreeBSD.ORG Fri Nov 16 01:13:15 2007 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29DD016A41B for ; Fri, 16 Nov 2007 01:13:15 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id F3B3513C448 for ; Fri, 16 Nov 2007 01:13:14 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id lAG1DD6X050303; Thu, 15 Nov 2007 20:13:13 -0500 (EST) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id lAG1D7J3071541; Thu, 15 Nov 2007 20:13:07 -0500 (EST) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id lAG1D7LA071540; Thu, 15 Nov 2007 20:13:07 -0500 (EST) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200711160113.lAG1D7LA071540@himinbjorg.tucs-beachin-obx-house.com> To: marcus@marcuscom.com (Joe Marcus Clarke) Date: Thu, 15 Nov 2007 20:13:07 -0500 (EST) In-Reply-To: <1195169775.73475.6.camel@shumai.marcuscom.com> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org, "Tuc at T-B-O-H.NET" Subject: Re: pkg-config 0.22 - segfault X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 01:13:15 -0000 > On Thu, 2007-11-15 at 18:16 -0500, Tuc at T-B-O-H.NET wrote: > > Hi, > >=20 > > It seems my pkg-config is starting to segfault. I compiled > > a debug version and get : > >=20 > > pkg-config --list-all > > (etc......) > > rarian Rarian - Documentation metadata access librar= > y > > twolame twolame - An optimized MPEG Audio Layer 2 enc= > oder > > libxml-2.0 libXML - libXML library version2. > > hal-storage hal-storage - hal library for storage devices= > and volumes > > Segmentation fault (core dumped) > >=20 > >=20 > > # gdb ./pkg-config pk*core > > 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 conditi= > ons. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for detail= > s. > > This GDB was configured as "i386-marcel-freebsd"... > > Core was generated by `pkg-config'. > > Program terminated with signal 11, Segmentation fault. > > Reading symbols from /lib/libc.so.5...done. > > Loaded symbols for /lib/libc.so.5 > > Reading symbols from /libexec/ld-elf.so.1...done. > > Loaded symbols for /libexec/ld-elf.so.1 > > #0 0x08056357 in g_slist_copy (list=3D0x2e392e30) at gslist.c:333 > > 333 new_list->data =3D list->data; > > (gdb) bt=20 > > #0 0x08056357 in g_slist_copy (list=3D0x2e392e30) at gslist.c:333 > > #1 0x0804a122 in fill_one_level (pkg=3D0x80886b0,=20 > > func=3D0x8049fc4 , listp=3D0xbfbfe3cc) at pkg.c:608 > > #2 0x0804a15b in recursive_fill_list (pkg=3D0x80886b0,=20 > > func=3D0x8049fc4 , listp=3D0xbfbfe3cc) at pkg.c:618 > > #3 0x0804a188 in recursive_fill_list (pkg=3D0x8080c00,=20 > > func=3D0x8049fc4 , listp=3D0xbfbfe3cc) at pkg.c:624 > > #4 0x0804a622 in verify_package (pkg=3D0x8080c00) at pkg.c:824 > > #5 0x08049cc6 in internal_get_package (name=3D0x806e060 "silc", warn=3D1= > ,=20 > > check_compat=3D1) at pkg.c:386 > > #6 0x08049d1d in get_package (name=3D0x806e060 "silc") at pkg.c:399 > > Looks like a problem with silc. What does that pkg-config file look > like? > himinbjorg# cat /usr/local/libdata/pkgconfig/silc.pc prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=/usr/local/include/silc Name: silc-toolkit Description: SILC Library Version: 1.0.2 Conflicts: libsilc <= 0.9.12 Libs: -L${libdir} -lsilc -liconv Cflags: -I${includedir} Tuc