pkg-config 0.22 - segfault

Joe Marcus Clarke marcus at marcuscom.com
Thu Nov 15 15:36:23 PST 2007


On Thu, 2007-11-15 at 18:16 -0500, Tuc at T-B-O-H.NET wrote:
> Hi,
> 
> 	It seems my pkg-config is starting to segfault. I compiled
> a debug version and get :
> 
> pkg-config --list-all
> (etc......)
> rarian                      Rarian - Documentation metadata access library
> twolame                     twolame - An optimized MPEG Audio Layer 2 encoder
> libxml-2.0                  libXML - libXML library version2.
> hal-storage                 hal-storage - hal library for storage devices and volumes
> Segmentation fault (core dumped)
> 
> 
> # 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 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"...
> 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=0x2e392e30) at gslist.c:333
> 333           new_list->data = list->data;
> (gdb) bt 
> #0  0x08056357 in g_slist_copy (list=0x2e392e30) at gslist.c:333
> #1  0x0804a122 in fill_one_level (pkg=0x80886b0, 
>     func=0x8049fc4 <get_conflicts>, listp=0xbfbfe3cc) at pkg.c:608
> #2  0x0804a15b in recursive_fill_list (pkg=0x80886b0, 
>     func=0x8049fc4 <get_conflicts>, listp=0xbfbfe3cc) at pkg.c:618
> #3  0x0804a188 in recursive_fill_list (pkg=0x8080c00, 
>     func=0x8049fc4 <get_conflicts>, listp=0xbfbfe3cc) at pkg.c:624
> #4  0x0804a622 in verify_package (pkg=0x8080c00) at pkg.c:824
> #5  0x08049cc6 in internal_get_package (name=0x806e060 "silc", warn=1, 
>     check_compat=1) at pkg.c:386
> #6  0x08049d1d in get_package (name=0x806e060 "silc") at pkg.c:399

Looks like a problem with silc.  What does that pkg-config file look
like?

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20071115/a55ca580/attachment.pgp


More information about the freebsd-gnome mailing list