[lldb-dev] [Bug 18841] New: lldb crashing when running embedded python commands on Ubuntu 12.04 x86_64
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Feb 14 10:23:15 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18841
Bug ID: 18841
Summary: lldb crashing when running embedded python commands on
Ubuntu 12.04 x86_64
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: tfiala at google.com
Classification: Unclassified
Repro steps:
1. Build lldb with cmake/ninja using a debug build type.
2. Run lldb
3. (lldb) script
4. >>> 5+5
5. Hit seg fault in python lib-dynload/readline.so
Details follow:
tfiala at tfiala2:/mnt/ssd/work/git/llgs/build-debug/bin$ ./lldb
(lldb) script
Python Interactive Interpreter. To exit, type 'quit()', 'exit()' or Ctrl-D.
>>> 5+5
Segmentation fault (core dumped)
tfiala at tfiala2:/mnt/ssd/work/git/llgs/build-debug/bin$ ls -l core
-rw------- 1 tfiala eng 22777856 Feb 14 10:23 core
tfiala at tfiala2:/mnt/ssd/work/git/llgs/build-debug/bin$ date
Fri Feb 14 10:24:09 PST 2014
tfiala at tfiala2:/mnt/ssd/work/git/llgs/build-debug/bin$ gdb ./lldb core
GNU gdb (GDB) 7.6-gg23
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux".
<http://go/gdb-home FAQ: http://go/gdb-faq Email: gdb-team IRC: gdb>
Reading symbols from /mnt/ssd/work/git/llgs/build-debug/bin/./lldb...done.
warning: core file may not match specified executable file.
[New LWP 15500]
[New LWP 15506]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/grte/v3/lib64/libthread_db.so.1".
Core was generated by `./lldb'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007fe4381c2e87 in ?? () from /usr/lib/python2.7/lib-dynload/readline.so
(gdb) bt
#0 0x00007fe4381c2e87 in ?? () from /usr/lib/python2.7/lib-dynload/readline.so
#1 0x00007fe43b164610 in PyOS_Readline () from /usr/lib/libpython2.7.so.1.0
#2 0x00007fe43b0e1fad in ?? () from /usr/lib/libpython2.7.so.1.0
#3 0x00007fe43b0ad5d5 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#4 0x00007fe43b06d6b5 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.7.so.1.0
#5 0x00007fe43b0ad650 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#6 0x00007fe43b06d6b5 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.7.so.1.0
#7 0x00007fe43b0ad650 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#8 0x00007fe43b06d6b5 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.7.so.1.0
#9 0x00007fe43b0ad650 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#10 0x00007fe43b0ae37b in PyEval_EvalFrameEx () from
/usr/lib/libpython2.7.so.1.0
#11 0x00007fe43b06d6b5 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.7.so.1.0
#12 0x00007fe43b06d9e2 in PyEval_EvalCode () from /usr/lib/libpython2.7.so.1.0
#13 0x00007fe43b06da7c in PyRun_StringFlags () from
/usr/lib/libpython2.7.so.1.0
#14 0x00007fe43b06e6cb in PyRun_SimpleStringFlags () from
/usr/lib/libpython2.7.so.1.0
#15 0x00007fe43ddac3a5 in IOHandlerPythonInterpreter::Run (this=0xe14a50)
at
/mnt/ssd/work/git/llgs/llvm/tools/lldb/source/Interpreter/ScriptInterpreterPython.cpp:764
#16 0x00007fe43dc3c842 in lldb_private::Debugger::ExecuteIOHanders
(this=0xacfd30)
at /mnt/ssd/work/git/llgs/llvm/tools/lldb/source/Core/Debugger.cpp:865
#17 0x00007fe43dd7b8e5 in
lldb_private::CommandInterpreter::RunCommandInterpreter (this=0xaef380,
auto_handle_events=true,
spawn_thread=false) at
/mnt/ssd/work/git/llgs/llvm/tools/lldb/source/Interpreter/CommandInterpreter.cpp:3125
#18 0x00007fe43db3cfef in lldb::SBDebugger::RunCommandInterpreter
(this=0x7fff9de54e80, auto_handle_events=true, spawn_thread=false)
at /mnt/ssd/work/git/llgs/llvm/tools/lldb/source/API/SBDebugger.cpp:961
#19 0x0000000000408a9e in Driver::MainLoop (this=0x7fff9de54e60)
at /mnt/ssd/work/git/llgs/llvm/tools/lldb/tools/driver/Driver.cpp:967
#20 0x0000000000408e47 in main (argc=1, argv=0x7fff9de55058,
envp=0x7fff9de55068)
at /mnt/ssd/work/git/llgs/llvm/tools/lldb/tools/driver/Driver.cpp:1060
(gdb)
--
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/20140214/bc93b4b7/attachment.html>
More information about the lldb-dev
mailing list