[issue47019] Fatal Python Error in sqlite3 Python 3.10

Erlend E. Aasland report at bugs.python.org
Tue Mar 15 06:08:40 EDT 2022


Erlend E. Aasland <erlend.aasland at innova.no> added the comment:

> A perfect repro has been attached, should be run on Linux.

FTR, the repo works on macOS 12.2.1 as well:

    $ python3.10 ./sqlite3_fatal_python_error.py
    Fatal Python error: PyThreadState_Get: the function must be called with the GIL held, but the GIL is released (the current Python thread state is NULL)
    Python runtime state: initialized

    Thread 0x00000001126e7600 (most recent call first):
      File "/Users/erlendaasland/src/cpython-build/./sqlite3_fatal_python_error.py", line 52 in <module>
    zsh: abort      python3.10 ./sqlite3_fatal_python_error.py

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47019>
_______________________________________


More information about the Python-bugs-list mailing list