From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 20 20:00:13 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1C7316A4EB for ; Sun, 20 May 2007 20:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD8613C46E for ; Sun, 20 May 2007 20:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4KK0DAU021392 for ; Sun, 20 May 2007 20:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4KK0D8Q021391; Sun, 20 May 2007 20:00:13 GMT (envelope-from gnats) Resent-Date: Sun, 20 May 2007 20:00:13 GMT Resent-Message-Id: <200705202000.l4KK0D8Q021391@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gerald Pfeifer Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3960C16A421 for ; Sun, 20 May 2007 19:57:45 +0000 (UTC) (envelope-from pfeifer@sputnik1.dbai.tuwien.ac.at) Received: from sputnik1.dbai.tuwien.ac.at (sputnik1.dbai.tuwien.ac.at [128.131.111.141]) by mx1.freebsd.org (Postfix) with ESMTP id C493C13C44C for ; Sun, 20 May 2007 19:57:44 +0000 (UTC) (envelope-from pfeifer@sputnik1.dbai.tuwien.ac.at) Received: from sputnik1.dbai.tuwien.ac.at (localhost [127.0.0.1]) by sputnik1.dbai.tuwien.ac.at (8.13.8/8.13.8) with ESMTP id l4KJvh9t060979; Sun, 20 May 2007 21:57:43 +0200 (CEST) (envelope-from pfeifer@sputnik1.dbai.tuwien.ac.at) Received: (from pfeifer@localhost) by sputnik1.dbai.tuwien.ac.at (8.13.8/8.13.8/Submit) id l4KJvhsl060978; Sun, 20 May 2007 21:57:43 +0200 (CEST) (envelope-from pfeifer) Message-Id: <200705201957.l4KJvhsl060978@sputnik1.dbai.tuwien.ac.at> Date: Sun, 20 May 2007 21:57:43 +0200 (CEST) From: Gerald Pfeifer To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/112819: /usr/local/sbin/pkgdb:1100: [BUG] Segmentation fault X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2007 20:00:14 -0000 >Number: 112819 >Category: ports >Synopsis: /usr/local/sbin/pkgdb:1100: [BUG] Segmentation fault >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 20 20:00:12 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Gerald Pfeifer >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sputnik1 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is on a system where $PORTSDIR/x11-fonts does not exist, and the respective packages have been installed with pkg_add -r. sputnik1# pkgdb -aFO ---> Checking the package registry database Stale origin: 'x11-fonts/fontconfig': perhaps moved or obsoleted. [database version mismatch/bump detected] Permission denied database file error /usr/local/sbin/pkgdb:1100: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i386-freebsd6] Abort This is probably related to my other report on the portupgrade tool (ports/112818), whereas this report is on pkgdb. The one thing we absolutely should do is to provide the name of the concrete database as part of the error message also in this case. Also, why does pkgdb say "Permission" denied when I am running this as root? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: