Closed
Description
Running sqlite3_crash.py on Python 3.9 and 3.10 fail randomly with an assertion failure in _PyObject_GC_UNTRACK() called by func_dealloc().
The problem is that a function is allocated in an interpreter and deallocated in another interpreter.
I built Python 3.10 with pyobject_ob_interp.patch. When the bug occurs, I get:
- func_dealloc(): ob_interp =
0x7fffa4001030
- In a parent frame (_PyObject_VectorcallTstate), tstate->interp =
0x7fffc0001030