pkgadd segfaults

Daniel Mueller daniel at
Wed Mar 8 23:59:33 UTC 2006

Hi Alan,

Your gdb-backtrace says it dies at handle.c:118

i = (*(t->type->closefunc))(t->fd);

> #0  0x080d58d0 in _IO_un_link ()
> #1  0x080cf24f in fclose ()
> #2  0x0805e0b8 in destroy ()
> #3  0x0805c1fa in tar_close (t=0x818cc30) at handle.c:118

"closefunc" is a pointer to zlib's "gzclose" function (defined in 
libtar/libtar.c:97). Have you (re-)compiled your zlib with some strange 
optimization options?

bye, danm
Daniel Mueller
Berlin, Germany         OpenPGP: 1024D/E4F4383A

More information about the CRUX mailing list