Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1260

Deadlock in initDynamicMetaObject with subinterpreters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.14.2
    • Shiboken
    • None
    • Linux/X11

    Description

      When generating a binding for a QObject class shiboken generates a call of PySide::initDynamicMetaObject(...).

      This usually does not lead to problems but if the QObject inheriting class is declared inside a namespace the deadlock occurs.

      Anywhere in the code of PySide::initDynamicMetaObject(...) the GIL is acquired (although I already acquired it before) via the PyGilState_*-API that is not compatible to subinterpreters.

      This results in a deadlock.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            uewiebelitz Uriel Elias Wiebelitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes