NetBSD Problem Report #48232

From www@NetBSD.org  Mon Sep 23 22:19:54 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 73A9F7214E
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Sep 2013 22:19:54 +0000 (UTC)
Message-Id: <20130923221952.EB814725C0@mollari.NetBSD.org>
Date: Mon, 23 Sep 2013 22:19:52 +0000 (UTC)
From: swift.griggs@trizetto.com
Reply-To: swift.griggs@trizetto.com
To: gnats-bugs@NetBSD.org
Subject: pkg_delete signal 11 when deleting large packages on small-RAM boxes
X-Send-Pr-Version: www-1.0

>Number:         48232
>Category:       bin
>Synopsis:       pkg_delete signal 11 when deleting large packages on small-RAM boxes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 23 22:20:00 +0000 2013
>Last-Modified:  Tue Sep 24 07:55:00 +0000 2013
>Originator:     Swift Griggs
>Release:        NetBSD 6.1.1 pkgsrc 2013Q2
>Organization:
None
>Environment:
NetBSD mephisto 6.1.1 NetBSD 6.1.1 (GENERIC) i386
>Description:
Trying to pkg_delete firefox I get this:

# pkg_delete firefox 
Memory fault 
# echo $?
139

Here are the last few lines when I ktruss it:

  5046      1 pkg_delete write(0x2, 0x8052513, 0x1) = 1
       "\n"
  5046      1 pkg_delete SIGSEGV SIG_DFL

>How-To-Repeat:

Install firefox-22.0 then try to delete it on a single processor machine with 2GB of RAM. Then use pkg_delete to remove the package. 
>Fix:
No fix is known currently. 

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: bin/48232: pkg_delete signal 11 when deleting large packages on
 small-RAM boxes
Date: Tue, 24 Sep 2013 09:53:24 +0200

 On Mon, Sep 23, 2013 at 10:20:00PM +0000, swift.griggs@trizetto.com wrote:
 > >Description:
 > Trying to pkg_delete firefox I get this:
 > 
 > # pkg_delete firefox 
 > Memory fault 
 > # echo $?
 > 139
 > 
 > Here are the last few lines when I ktruss it:
 > 
 >   5046      1 pkg_delete write(0x2, 0x8052513, 0x1) = 1
 >        "\n"
 >   5046      1 pkg_delete SIGSEGV SIG_DFL

 anything relevant in dmesg ?

 > 
 > >How-To-Repeat:
 > 
 > Install firefox-22.0 then try to delete it on a single processor machine with 2GB of RAM. Then use pkg_delete to remove the package. 

 This is not a "small ram box". I use pkg tools on systems with 256MB ram or
 less ...

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.