[Bug 32920] New: Potentially premature destroying of the locker in Python interpreter

Bug ID 32920
Summary Potentially premature destroying of the locker in Python interpreter
Product lldb
Version 3.9
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter Tatyana.Krasnukha@synopsys.com
CC llvm-bugs@lists.llvm.org

When I tried to parse my python script, lldb crashed in
ScriptInterpreterPython::GetDynamicSettings,
lldb\source\Plugins\ScriptInterpreter\Python\ScriptInterpreterPython.cpp on
py_dict.CreateStructuredDictionary().

It is because this function contains a call to PyList_GET_SIZE, which requires
locking the GIL, but locker is already destroyed in scope above.

I use Python 3.6.1.

Tatyana Krasnukha changed bug 32920