From owner-freebsd-stable@FreeBSD.ORG Tue Jun 10 00:50:45 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 4530B1065673; Tue, 10 Jun 2008 00:50:45 +0000 (UTC) (envelope-from jaj@hcl-club.lu) Received: from 0b10111.de (hcl-club.lu [62.75.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id AE7FE8FC18; Tue, 10 Jun 2008 00:50:44 +0000 (UTC) (envelope-from jaj@hcl-club.lu) Received: from nirvana.my.domain (4be54-4-82-234-154-189.fbx.proxad.net [82.234.154.189]) by 0b10111.de (Postfix) with ESMTPS id 1E21F5FB8228; Tue, 10 Jun 2008 00:32:27 +0000 (UTC) Received: by nirvana.my.domain (Postfix, from userid 1000) id 557127DB8; Tue, 10 Jun 2008 02:32:24 +0200 (CEST) Date: Tue, 10 Jun 2008 02:32:24 +0200 From: Jona Joachim To: Kris Kennaway Message-ID: <20080610003222.GA3822@nirvana.my.domain> References: <484BE563.90102@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <484BE563.90102@FreeBSD.org> X-PGP-Key: http://www.hcl-club.lu/~jaj/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: 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: Tue, 10 Jun 2008 00:50:45 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 08, 2008 at 03:57:55PM +0200, Kris Kennaway wrote: > Jona Joachim wrote: > > Hi! > >=20 > > pkg_delete core dumps on me when it tries to remove linux-tiff. > > I can reproduce this reliably. >=20 > > FWIW you can find the core dump here: > > http://www.hcl-club.lu/~jaj/stuff/pkg_delete.core >=20 > You need to obtain the backtrace, see the developers handbook. I built pkg_delete with -g but gdb says 'no debugging symbols found'. Is the following information sufficient or do I need to rebuild everything = with debugging information turned on? Script started on Tue Jun 10 02:18:04 2008 nirvana% sudo gdb pkg_delete 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 condition= s. 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"...(no debugging symbols fo= und)... (gdb) run linux-tiff-3.7.1 Starting program: /usr/sbin/pkg_delete linux-tiff-3.7.1 (no debugging symbols found)...(no debugging symbols found)...(no debugging= symbols found)...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' does= n'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' d= oesn'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 e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/fax2ps.1.gz' doesn't exi= st pkg_delete: file '/compat/linux/usr/share/man/man1/fax2tiff.1.gz' doesn't e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/gif2tiff.1.gz' doesn't e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/pal2rgb.1.gz' doesn't ex= ist pkg_delete: file '/compat/linux/usr/share/man/man1/ppm2tiff.1.gz' doesn't e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/ras2tiff.1.gz' doesn't e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/raw2tiff.1.gz' doesn't e= xist 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 e= xist 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 ex= ist pkg_delete: file '/compat/linux/usr/share/man/man1/tiff2pdf.1.gz' doesn't e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/tiff2ps.1.gz' doesn't ex= ist 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 ex= ist pkg_delete: file '/compat/linux/usr/share/man/man1/tiffcp.1.gz' doesn't exi= st 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 e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/tiffinfo.1.gz' doesn't e= xist pkg_delete: file '/compat/linux/usr/share/man/man1/tiffgt.1.gz' doesn't exi= st 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 ex= ist pkg_delete: file '/compat/linux/usr/share/man/man1/tiffsplit.1.gz' doesn't = exist Program received signal SIGSEGV, Segmentation fault. 0x0804c6b4 in ?? () (gdb) bt #0 0x0804c6b4 in ?? () #1 0xbfbfdd7b in ?? () #2 0x0804efac in ?? () #3 0x08112130 in ?? () #4 0x0811a440 in ?? () #5 0x0810b160 in ?? () #6 0x08112130 in ?? () #7 0x0811a440 in ?? () #8 0xffffffff in ?? () #9 0x00000000 in ?? () #10 0x0810b200 in ?? () #11 0x08112130 in ?? () #12 0x00000000 in ?? () #13 0x08126580 in ?? () #14 0x0804ef9c in ?? () #15 0x081252e4 in ?? () #16 0x081258f8 in ?? () #17 0x081252c4 in ?? () #18 0x0810b160 in ?? () #19 0x00000007 in ?? () #20 0x081258fc in ?? () #21 0x0812534c in ?? () #22 0x00000000 in ?? () #23 0x7261762f in ?? () #24 0x2f62642f in ?? () #25 0x2f676b70 in ?? () #26 0x756e696c in ?? () #27 0x61625f78 in ?? () #28 0x662d6573 in ?? () #29 0x5f342d63 in ?? () #30 0x2b2f3331 in ?? () #31 0x55514552 in ?? () #32 0x44455249 in ?? () #33 0x2e59425f in ?? () #34 0x6c585956 in ?? () #35 0x0000756e in ?? () #36 0x000d7c44 in ?? () #37 0x08052c44 in ?? () #38 0x00001000 in ?? () #39 0xfffffffc in ?? () #40 0x480fb02e in malloc () from /lib/libc.so.7 #41 0x0804a4bb in ?? () #42 0x00000000 in ?? () #43 0x00000000 in ?? () #44 0x080523c0 in optind () #45 0x00000001 in ?? () #46 0x08124a48 in ?? () #47 0x00000002 in ?? () #48 0x00000004 in ?? () #49 0x0810b360 in ?? () #50 0x081121c0 in ?? () #51 0x08114070 in ?? () #52 0x08114078 in ?? () #53 0x00000002 in ?? () #54 0x00000000 in ?? () #55 0x00000000 in ?? () #56 0x00000002 in ?? () #57 0x00000018 in ?? () #58 0x00000014 in ?? () #59 0x08124914 in ?? () #60 0x7273752f in ?? () ---Type to continue, or q to quit--- #61 0x6d6f682f in ?? () #62 0x616a2f65 in ?? () #63 0x0000006a in ?? () #64 0x08124a44 in ?? () #65 0x08124a60 in ?? () #66 0x08124728 in ?? () #67 0x08124734 in ?? () #68 0x0812490c in ?? () #69 0x08124914 in ?? () #70 0x08124910 in ?? () #71 0x08124918 in ?? () #72 0x081242e4 in ?? () #73 0x081248f8 in ?? () #74 0x081242c4 in ?? () #75 0x08124a48 in ?? () #76 0x08124728 in ?? () #77 0x081248fc in ?? () #78 0x0812434c in ?? () #79 0x08124334 in ?? () #80 0x08124928 in ?? () #81 0x08124730 in ?? () #82 0x00000001 in ?? () #83 0x08124924 in ?? () #84 0xbfbfe268 in ?? () #85 0x480d7c5f in fts_set_clientptr () from /lib/libc.so.7 #86 0x0804a931 in ?? () #87 0x08114068 in ?? () #88 0x00000008 in ?? () #89 0xbfbfe648 in ?? () #90 0x48162417 in wcrtomb () from /lib/libc.so.7 #91 0x08049ab7 in ?? () #92 0x08114068 in ?? () #93 0xbfbfe66c in ?? () #94 0x0805109c in __progname () #95 0x00000065 in ?? () #96 0x00003ee1 in ?? () #97 0x02bc41ed in ?? () #98 0x00000000 in ?? () #99 0x00000000 in ?? () #100 0x00010258 in ?? () #101 0x484dc842 in ?? () #102 0x00000000 in ?? () #103 0x484d92b0 in ?? () #104 0x00000000 in ?? () #105 0x484d92b0 in ?? () #106 0x00000000 in ?? () #107 0x00006c00 in ?? () #108 0x00000000 in ?? () #109 0x00000038 in ?? () #110 0x00000000 in ?? () #111 0x00001000 in ?? () #112 0x00000000 in ?? () #113 0xf000f1e2 in ?? () #114 0x00000000 in ?? () #115 0x4369c5b1 in ?? () #116 0x00000000 in ?? () #117 0x00000000 in ?? () #118 0x00000000 in ?? () #119 0x00000000 in ?? () #120 0xbfbfeb5c in ?? () #121 0x00000000 in ?? () ---Type to continue, or q to quit--- #122 0xbfbfeb18 in ?? () #123 0x0804ab0c in ?? () #124 0x00000002 in ?? () #125 0xbfbfeb5c in ?? () #126 0xbfbfe968 in ?? () #127 0x48055660 in dladdr () from /libexec/ld-elf.so.1 Previous frame inner to this frame (corrupt stack?) (gdb) quit The program is running. Exit anyway? (y or n) y nirvana%=20 Script done on Tue Jun 10 02:19:05 2008 --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhNy5YACgkQBLVThWGOYx5gnQCghqHnKqTSV2g6bMxB4JcYqg5d YjAAn1ar1HHKZam73dpwKnx2hePz3hIf =8Bf/ -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--