[issue43188] <dict> multiple operations of dict causes core dump of Python interpreter.

Inada Naoki report at bugs.python.org
Wed Feb 10 16:51:08 EST 2021


Inada Naoki <songofacandy at gmail.com> added the comment:

Is this the crash you are reporting?

```
Exception ignored in: <function check_reentrant_insertion.<locals>.Mutating.__del__ at 0x100d35af0>
Traceback (most recent call last):
  File "/Users/methane/work/python/cpython/PC/xxx.py", line 5, in __del__
    mutate(d)
TypeError: 'str' object is not callable
Exception ignored in: <function check_reentrant_insertion.<locals>.Mutating.__del__ at 0x100d35c10>
Traceback (most recent call last):
  File "/Users/methane/work/python/cpython/PC/xxx.py", line 5, in __del__
Fatal Python error: _Py_CheckRecursiveCall: Cannot recover from stack overflow.
Python runtime state: initialized

Current thread 0x000000010072bd40 (most recent call first):
  File "/Users/methane/work/python/cpython/xxx.py", line 9 in check_reentrant_insertion
  File "/Users/methane/work/python/cpython/xxx.py", line 13 in test_reentrant_insertion
  File "/Users/methane/work/python/cpython/xxx.py", line 18 in test_reentrant_insertion
...
```

----------

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


More information about the Python-bugs-list mailing list