Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 13:19:00 +0000 (UTC)
From:      Jona Joachim <jaj@hcl-club.lu>
To:        freebsd-stable@freebsd.org
Subject:   pkg_delete core dump when removing linux-tiff
Message-ID:  <slrng4nn24.han.jaj@nirvana.my.domain>

next in thread | raw e-mail | index | archive | help
Hi!

pkg_delete core dumps on me when it tries to remove linux-tiff.
I can reproduce this reliably.

nirvana# pkg_delete linux-tiff-3.7.1
pkg_delete: file '/compat/linux/usr/bin/bmp2tiff' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/fax2ps' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/fax2tiff' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/gif2tiff' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/pal2rgb' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/ppm2tiff' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/ras2tiff' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/raw2tiff' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/rgb2ycbcr' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/thumbnail' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiff2bw' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiff2pdf' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiff2ps' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiff2rgba' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffcmp' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffcp' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffdither' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffdump' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffinfo' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffgt' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffmedian' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffset' doesn't exist
pkg_delete: file '/compat/linux/usr/bin/tiffsplit' doesn't exist
pkg_delete: file '/compat/linux/usr/lib/libtiff.so.3' doesn't exist
pkg_delete: file '/compat/linux/usr/lib/libtiff.so.3.7.1' doesn't exist
pkg_delete: file '/compat/linux/usr/share/doc/libtiff-3.7.1/COPYRIGHT' doesn't exist
pkg_delete: file '/compat/linux/usr/share/doc/libtiff-3.7.1/README' doesn't exist
pkg_delete: file '/compat/linux/usr/share/doc/libtiff-3.7.1/RELEASE-DATE' doesn't exist
pkg_delete: file '/compat/linux/usr/share/doc/libtiff-3.7.1/VERSION' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/bmp2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/fax2ps.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/fax2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/gif2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/pal2rgb.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/ppm2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/ras2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/raw2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/rgb2ycbcr.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/sgi2tiff.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/thumbnail.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiff2bw.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiff2pdf.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiff2ps.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiff2rgba.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffcmp.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffcp.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffdither.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffdump.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffinfo.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffgt.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffmedian.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffset.1.gz' doesn't exist
pkg_delete: file '/compat/linux/usr/share/man/man1/tiffsplit.1.gz' doesn't exist
Segmentation fault (core dumped)
nirvana# 

I got caught by this when I was removing a large number of packages using
pkg_cutleaves. Not sure why all those files are missing, perhaps pkg_delete
removed them the first time before core dumping. It doesn't actually unregister
the package.

FWIW you can find the core dump here:
http://www.hcl-club.lu/~jaj/stuff/pkg_delete.core

uname -a
FreeBSD nirvana.my.domain 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed May 28 19:35:33 CEST 2008     root@nirvana.my.domain:/usr/obj/usr/src/sys/HYPOCENTER  i386

Best regards,
Jona

-- 
Pond-erosa Puff wouldn't take no guff
Water oughta be clean and free
So he fought the fight and he set things right
With his OpenBSD




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