Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deadlock happening when using numpy/scipy with python subinterpreters (Trac #2213) #665

Closed
@numpy-gitbot

Description

@numpy-gitbot

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp