[CONPY-93] Fatal Python error: Python memory allocator called without holding the GIL Created: 2020-08-05 Updated: 2020-08-16 Resolved: 2020-08-06 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | 1.0.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sqlalchemy | ||
| Issue Links: |
|
||||||||
| 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. |