[Numpy-discussion] Hang in numpy.zeros

Albert Zeyer albzey at googlemail.com
Tue Mar 24 08:29:43 EDT 2015


Hi,

I have a multithreaded multiprocessing Python 2.7 project with Theano.

In my main proc, I recognized a hang in numpy.zeros. It deadlocks with
the Python GIL and other native threads will lock on the Python GIL.

I found a somewhat related problem described here about such a
deadlock in numpy.dot:
http://stackoverflow.com/questions/23963997/python-child-process-crashes-on-numpy-dot-if-pyside-is-imported

I have Numpy 1.9.1 on Ubuntu 12.04.

How can I fix this? Is this a known problem?

Kind Regards,
Albert



More information about the NumPy-Discussion mailing list