NetBSD Problem Report #48229

From  Sun Sep 22 07:59:30 2013
Return-Path: <>
Received: from ( [])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id DFE24725EA
	for <>; Sun, 22 Sep 2013 07:59:29 +0000 (UTC)
Message-Id: <>
Date: Sun, 22 Sep 2013 07:59:28 +0000 (UTC)
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
Linux mizar 3.4.61-sunxi-5dda514 #3 PREEMPT Sun Sep 15 00:03:14 PDT 2013 armv7l GNU/Linux
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.
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.
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.



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

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


NetBSD Home
NetBSD PR Database Search

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