From owner-freebsd-stable@FreeBSD.ORG Sun Jun 8 13:25:04 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C721B106564A for ; Sun, 8 Jun 2008 13:25:04 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 550028FC16 for ; Sun, 8 Jun 2008 13:25:03 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1K5KtK-0005QW-V8 for freebsd-stable@freebsd.org; Sun, 08 Jun 2008 13:25:02 +0000 Received: from 4be54-4-82-234-154-189.fbx.proxad.net ([82.234.154.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2008 13:25:02 +0000 Received: from jaj by 4be54-4-82-234-154-189.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2008 13:25:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Jona Joachim Date: Sun, 8 Jun 2008 13:19:00 +0000 (UTC) Lines: 81 Message-ID: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 4be54-4-82-234-154-189.fbx.proxad.net User-Agent: slrn/0.9.8.1 (FreeBSD) Sender: news Subject: pkg_delete core dump when removing linux-tiff X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 13:25:05 -0000 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