Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-93

Fatal Python error: Python memory allocator called without holding the GIL

    XMLWordPrintable

Details

    Description

      When running unittests with Python (debug build) the following error is thrown:

      Fatal Python error: Python memory allocator called without holding the GIL

      This happens, since Connector/C uses callbacks to retrieve data from the python application after PY_BEGIN_ALLOW_THREADS() was called.

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              georg Georg Richter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.