Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork10.9k
Description
Original tickethttp://projects.scipy.org/numpy/ticket/2213 on 2012-09-12 by trac user raphael.de.feraudy, assigned to unknown.
Hello,
I've encountered a deadlock while trying to import a scipy subpackage using Python C API in my application.
I've managed to build a minimal example showing this, which I join to this ticket.
According to what I've found on the internet, I guess this is caused by the (documented) unsupported use of both PyGilState_* functions in numpy code and Subinterpreters in my code (As you will see in my example, the simple use of a new subinterpreter instead of the main default one is enough to produce the deadlock).
I use an ubuntu 12.04 Precise Pangolin 64bits distribution with standard python-numpy (1.6.1) and python-scipy (0.9.0) package , but the deadlock still happens with last revisions of git repositories.
I tried to fix this by myself, only using PyEval_* functions in a working copy, but didn't succeed.
My questions are :
- Are you aware of this issue ?
- Do you plan to address it in next milestone ?
- Do you have any workaround to suggest ?