Crash using --variable=varname when varname does not exist

Sylvain Joyeux sjoyeux at laas.fr
Mon Oct 3 07:21:29 PDT 2005


The Debian version of pkgconfig crashes when I query a variable value which 
does not exist in the package description.

Attached is the .pc file I use. It crashed with 

*** glibc detected *** free(): invalid pointer: 0x10028008 ***
zsh: abort      pkg-config --variable=bla test_pkgconfig.pc

when running 
pkg-config --variable=bla test_pkgconfig.pc

Please CC: me, I'm not on the list
-- 
Sylvain
-------------- next part --------------
prefix=/usr
exec_prefix=/usr/i386-linux
libdir=/usr/i386-linux/lib
includedir=/usr/include

Name: test_pkgconfig
Description: This is a pkgconfig test
Version: 0.1
Libs: -L${libdir} -lpkgconfig_test
Cflags: -I${includedir} -DB21R


More information about the pkg-config mailing list