pkg-config 0.22 - segfault

Tuc at T-B-O-H.NET ml at t-b-o-h.net
Thu Nov 15 15:17:03 PST 2007


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
#7  0x0804b779 in packages_foreach (key=0x806e060, value=0x806d740, data=0x1c)
    at pkg.c:1485
#8  0x08052e39 in g_hash_table_foreach (hash_table=0x8061160, 
    func=0x804b768 <packages_foreach>, user_data=0x1c) at ghash.c:300
#9  0x0804b829 in print_package_list () at pkg.c:1508
#10 0x0804f055 in main (argc=2, argv=0xbfbfe8c0) at main.c:441

	Please let me know what other information is necessary.

			Thanks, Tuc


More information about the freebsd-gnome mailing list