From owner-freebsd-bugs Wed Apr 12 12:53:12 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9D7FA37BEBA for ; Wed, 12 Apr 2000 12:50:46 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA72868; Wed, 12 Apr 2000 12:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from narcissus.net (narcissus.net [209.73.230.146]) by hub.freebsd.org (Postfix) with ESMTP id 42E8837BD6C for ; Wed, 12 Apr 2000 12:35:59 -0700 (PDT) (envelope-from ben@narcissus.net) Received: by narcissus.net (Postfix, from userid 1000) id 7C88FA0; Wed, 12 Apr 2000 15:24:01 -0400 (EDT) Message-Id: <20000412192401.7C88FA0@narcissus.net> Date: Wed, 12 Apr 2000 15:24:01 -0400 (EDT) From: ben@narcissus.net Reply-To: ben@narcissus.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/17958: pkg_delete runs away when given path with trailing / Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17958 >Category: bin >Synopsis: pkg_delete runs away when given path with trailing / >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 12 12:50:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Ben Rosengart >Release: FreeBSD 4.0-STABLE i386 >Organization: Blue Dingo >Environment: I cvsupped and rebuilt this system yesterday evening (around midnight GMT). >Description: When running "pkg_delete w3m-ssl-0.1.7/", pkg_delete consumes 100% of the CPU and does not complete. I tried three times, with the same result. The fourth time, I deleted the trailing slash, and pkg_delete worked fine. I then tried the same with another package, but it deleted fine even with the slash. However, I am able to reproduce the problem with w3m-ssl. >How-To-Repeat: cd /usr/ports/www/w3m-ssl make install cd /var/db/pkg pkg_delete w3m-ssl-0.1.7/ >Fix: Workaround is to not use the trailing slash, I'd guess the fix has something to do with the new code that was recently added to pkg_delete to handle trailing slashes. ;-) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message