[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:
Blocks
blocks CONPY-77 Add mariadb dialect to sqlalchemy Closed

 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.


Generated at Thu Feb 08 03:30:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.