pkgsrc-Bugs archive

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

pkg/53144: python deadlock when building firefox



>Number:         53144
>Category:       pkg
>Synopsis:       python deadlock when building firefox
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 31 18:35:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.14 NetBSD 8.99.14 (NIGHT-OWL) #590: Mon Mar 19 14:59:01 CET 2018 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to build firefox on -current and latest pkgsrc from earlier this
morning I end up with:

js/src> checking for valloc in malloc.h... yes
js/src> checking for valloc in unistd.h... no
js/src> checking for setlocale... yes
js/src> checking for localeconv... (cached) yes
js/src> updating cache /usr/pkgobj/www/firefox/work/build/config.cache
js/src> creating ./config.data
js/src> Creating config.status
Creating config.status
Reticulating splines...

... and the python2.7 process doing the reticulation dead locks like this:

[Switching to LWP 1 of process 14845]
pthread__mutex_pause () at /usr/src/lib/libpthread/pthread_mutex.c:227
227             pthread__smt_pause();
(gdb) bt
#0  pthread__mutex_pause () at /usr/src/lib/libpthread/pthread_mutex.c:227
#1  0x00007f7ff6c0874c in pthread__mutex_spin (ptm=ptm@entry=0x7f7ff6b75660, 
    owner=<optimized out>, owner@entry=0x7f7feed13000)
    at /usr/src/lib/libpthread/pthread_mutex.c:253
#2  0x00007f7ff6c08a3f in pthread__mutex_lock_slow (ptm=0x7f7ff6b75660, ts=0x0)
    at /usr/src/lib/libpthread/pthread_mutex.c:343
#3  0x00007f7ff68b6c08 in chunk_alloc (size=size@entry=2097152)
    at /usr/src/lib/libc/stdlib/jemalloc.c:1356
#4  0x00007f7ff68b79b1 in huge_malloc (size=<optimized out>)
    at /usr/src/lib/libc/stdlib/jemalloc.c:2799
#5  0x00007f7ff68b8497 in malloc (size=1048613)
    at /usr/src/lib/libc/stdlib/jemalloc.c:3776
#6  0x00007f7ff7887919 in PyString_FromStringAndSize ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#7  0x00007f7ff79057c8 in posix_read () from /usr/pkg/lib/libpython2.7.so.1.0
#8  0x00007f7ff78d54b5 in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#9  0x00007f7ff78d75c2 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#10 0x00007f7ff78d3b54 in PyEval_EvalFrameEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
#11 0x00007f7ff78d75c2 in PyEval_EvalCodeEx ()
   from /usr/pkg/lib/libpython2.7.so.1.0
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) info thread
  Id   Target Id         Frame 
* 1    LWP 1 of process 14845 pthread__mutex_pause ()
    at /usr/src/lib/libpthread/pthread_mutex.c:227


>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index