[issue42698] Deadlock in pysqlite_connection_dealloc()

Erlend E. Aasland report at bugs.python.org
Mon Aug 2 16:04:50 EDT 2021


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

Thanks!

I had to comment out the reg_func() call (it is not defined in test.py, and I don't know what it's supposed to do), and change "with lock.shared_context():" to "with lock:", but I'm unable get a deadlock. I've tried with Python 3.8 though 3.11 (dev) and SQLite 3.7.15 through 3.37.0 (dev).

- How long do you normally have to run this in order to force a deadlock?
- Could you attach the output of "python -m sysconfig"?

----------

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


More information about the Python-bugs-list mailing list