http://llvm.org/bugs/show_bug.cgi?id=22730
Bug ID: 22730 Summary: PythonAPI debugger.SetOutputFileHandle() causes crash Product: lldb Version: 3.6 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@cs.uiuc.edu Reporter: kevin.kir...@cisco.com Classification: Unclassified Created attachment 13961 --> http://llvm.org/bugs/attachment.cgi?id=13961&action=edit Python LLDB script Using a Python script in LLDB to redirect the debugger output to a file causes lldb to crash. Steps to Reproduce: =============== 1) Start lldb with an executable 2) Load the attached python script lldb) command script import ~/Desktop/po.py 3) Create a breakpoint somewhere interesting 4) Run the executable 5) At the breakpoint, write some frame data using the Python script lldb) print_to_file fr v param.blah 6) Re-run the previous command or dump another frame variable lldb) print_to_file fr v param.blah 7) Core Dump - "segmentation fault (core dump) lldb <executable path>" -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev