NetBSD Problem Report #48229
From www@NetBSD.org Sun Sep 22 07:59:30 2013
Received: from mail.netbsd.org (mail.netbsd.org [188.8.131.52])
(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)
Date: Sun, 22 Sep 2013 07:59:28 +0000 (UTC)
Subject: pkg_add sometimes hangs in mpool_get (Linux, ARMv7, GCC 4.8.1)
>Synopsis: pkg_add sometimes hangs in mpool_get (Linux, ARMv7, GCC 4.8.1)
>Arrival-Date: Sun Sep 22 08:00:01 +0000 2013
>Last-Modified: Thu Feb 06 21:29:09 +0000 2014
>Originator: Kyle Davis
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-When: Sun, 22 Sep 2013 15:55:16 +0000
Over to maintainer.
Responsible-Changed-When: Thu, 06 Feb 2014 21:29:09 +0000
over to linux-pkg-people
$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.