Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2007 20:13:07 -0500 (EST)
From:      "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>
To:        marcus@marcuscom.com (Joe Marcus Clarke)
Cc:        gnome@freebsd.org, "Tuc at T-B-O-H.NET" <ml@t-b-o-h.net>
Subject:   Re: pkg-config 0.22 - segfault
Message-ID:  <200711160113.lAG1D7LA071540@himinbjorg.tucs-beachin-obx-house.com>
In-Reply-To: <1195169775.73475.6.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <get_conflicts>, listp=3D0xbfbfe3cc) at pkg.c:608
> > #2  0x0804a15b in recursive_fill_list (pkg=3D0x80886b0,=20
> >     func=3D0x8049fc4 <get_conflicts>, listp=3D0xbfbfe3cc) at pkg.c:618
> > #3  0x0804a188 in recursive_fill_list (pkg=3D0x8080c00,=20
> >     func=3D0x8049fc4 <get_conflicts>, 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



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