Date: Fri, 21 Aug 2009 07:20:48 GMT From: Mats Andreassen <matsa@pvv.ntnu.no> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/138017: pkg_delete starts segfaulting during upgrading of ports Message-ID: <200908210720.n7L7Kmcb020954@www.freebsd.org> Resent-Message-ID: <200908210730.n7L7U01p071753@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138017 >Category: misc >Synopsis: pkg_delete starts segfaulting during upgrading of ports >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 21 07:30:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mats Andreassen >Release: 7.2 i386 >Organization: None >Environment: FreeBSD xxx 7.2-RELEASE FreeBSD 7.2-RELEASE #0: root@xxx:/usr/obj/sys/GENERIC i386 >Description: During a furious upgrading of ports 'pkg_delete' suddenly starts segfaulting. fsck did not reveal any obvious disc corruption. Backtrace: #0 0x33d63846 in strcmp () from /lib/libc.so.7 #1 0x0804b51c in isinstalledpkg (name=0x0) at /usr/src/usr.sbin/pkg_install/lib/match.c:374 #2 0x0804add5 in requiredby (pkgname=0x0, list=0xbfbfe1a8, strict=0, filter=0) at /usr/src/usr.sbin/pkg_install/lib/deps.c:202 #3 0x08049c24 in undepend (p=0x0, pkgname=0x33e09160 "kdelibs-4.2.3") at /usr/src/usr.sbin/pkg_install/delete/perform.c:385 #4 0x0804a779 in pkg_do (pkg=0x33e09160 "kdelibs-4.2.3") at /usr/src/usr.sbin/pkg_install/delete/perform.c:286 #5 0x0804a991 in pkg_perform (pkgs=0x33e0e058) at /usr/src/usr.sbin/pkg_install/delete/perform.c:112 #6 0x08049b3a in real_main (argc=3, argv=0xbfbfeb64) at /usr/src/usr.sbin/pkg_install/delete/main.c:163 #7 0x0804ab68 in main (argc=3, argv=0xbfbfeb64) at /usr/src/usr.sbin/pkg_install/lib/pkgwrap.c:88 >How-To-Repeat: I have no idea why this started manifesting itself, but the error now occurs whenever I try to remove a package. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908210720.n7L7Kmcb020954>