Setting state of an exception object with a dic crashes Python 3.8.14 #97591
Labels
interpreter-core
Interpreter core (Objects, Python, Grammar, and Parser dirs)
type-crash
A hard crash of the interpreter, possibly with a core dump
xiaxinmeng commentedSep 27, 2022
Crash report
The following programs defined a class C. In C, we perform dic clear() operation. When we set state of exception object with the dic, it causes segmentation fault on main branch (68c46ae) and latest stable Python 3.8.14. But it does not trigger any crashing on Python-3.11.0rc2 and Python 3.9.0.
Error messages
Segmentation Fault (Core dumped)
Your environment
The text was updated successfully, but these errors were encountered: