pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48229: pkg_add sometimes hangs in mpool_get (Linux, ARMv7, GCC 4.8.1)



>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:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 08:00:01 +0000 2013
>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.



Home | Main Index | Thread Index | Old Index