NetBSD Problem Report #48229

From www@NetBSD.org  Sun Sep 22 07:59:30 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 DFE24725EA
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 22 Sep 2013 07:59:29 +0000 (UTC)
Message-Id: <20130922075928.B5B5A725EB@mollari.NetBSD.org>
Date: Sun, 22 Sep 2013 07:59:28 +0000 (UTC)
From: elykdav@gmail.com
Reply-To: elykdav@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkg_add sometimes hangs in mpool_get (Linux, ARMv7, GCC 4.8.1)
X-Send-Pr-Version: www-1.0

>Number:         48229
>Category:       pkg
>Synopsis:       pkg_add sometimes hangs in mpool_get (Linux, ARMv7, GCC 4.8.1)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    linux-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 08:00:01 +0000 2013
>Last-Modified:  Thu Feb 06 21:29:09 +0000 2014
>Originator:     Kyle Davis
>Release:        2013Q2
>Organization:
>Environment:
Linux mizar 3.4.61-sunxi-5dda514 #3 PREEMPT Sun Sep 15 00:03:14 PDT 2013 armv7l GNU/Linux
>Description:
On some occasions, pkg_add will hang indefinitely. Inspection with gdb shows that it hangs in mpool_get, possibly in the loop inside mpool_look, although I couldn't get that information.
>How-To-Repeat:
It seems to happen at the same file every time in a particular package file, although there is no pattern to it.

db4 and perl are the only packages so far that have given me problems.
>Fix:
In order to attempt to find more information about the problem, I recompiled pkg_install and libnbcompat with -O0 and -g3, the problem seems to have disappeared after that. This is merely a workaround although it may point to what the problem actually is.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->agc
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 22 Sep 2013 15:55:16 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: agc->linux-pkg-people
Responsible-Changed-By: agc@NetBSD.org
Responsible-Changed-When: Thu, 06 Feb 2014 21:29:09 +0000
Responsible-Changed-Why:
over to linux-pkg-people


>Unformatted:

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.