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

via lldb-dev lldb-dev at lists.llvm.org
Thu May 4 05:43:57 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32920

            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 at lists.llvm.org
          Reporter: Tatyana.Krasnukha at synopsys.com
                CC: llvm-bugs at 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170504/ff057892/attachment.html>


More information about the lldb-dev mailing list