[Bug 48433] New: Crash on "help memory read"

Bug ID 48433
Summary Crash on “help memory read”
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity enhancement
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter kparzysz@quicinc.com
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

The command "help memory read" causes a crash. No other action is required,
load lldb and ask for help about "memory read".

$ lldb
(lldb) help memory read
PLEASE submit a bug report to [https://bugs.llvm.org/](https://bugs.llvm.org/) and include the crash
backtrace.
Stack dump:
0.      Program arguments: /w/c/org/bin/lldb
 #0 0x000000000042cdc3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/w/c/org/bin/lldb+0x42cdc3)
 #1 0x000000000042b07e llvm::sys::RunSignalHandlers()
(/w/c/org/bin/lldb+0x42b07e)
 #2 0x000000000042d405 SignalHandler(int) (/w/c/org/bin/lldb+0x42d405)
 #3 0x00007f78efde6890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
 #4 0x00007f78e8980c70
lldb_private::Options::GenerateOptionUsage(lldb_private::Stream&,
lldb_private::CommandObject*, unsigned int)
(/w/c/org/bin/../lib/liblldb.so.12git+0x1000c70)
 #5 0x00007f78e896d8eb
lldb_private::CommandObject::GenerateHelpText(lldb_private::Stream&)
(/w/c/org/bin/../lib/liblldb.so.12git+0xfed8eb)
 #6 0x00007f78e896d75e
lldb_private::CommandObject::GenerateHelpText(lldb_private::CommandReturnObject&)
(/w/c/org/bin/../lib/liblldb.so.12git+0xfed75e)
 #7 0x00007f78ea2ac4be
lldb_private::CommandObjectHelp::DoExecute(lldb_private::Args&,
lldb_private::CommandReturnObject&)
(/w/c/org/bin/../lib/liblldb.so.12git+0x292c4be)
 #8 0x00007f78e896e02c lldb_private::CommandObjectParsed::Execute(char const*,
lldb_private::CommandReturnObject&)
(/w/c/org/bin/../lib/liblldb.so.12git+0xfee02c)
 #9 0x00007f78e8964b4c lldb_private::CommandInterpreter::HandleCommand(char
const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&,
lldb_private::ExecutionContext*, bool, bool)
(/w/c/org/bin/../lib/liblldb.so.12git+0xfe4b4c)
#10 0x00007f78e8968253
lldb_private::CommandInterpreter::IOHandlerInputComplete(lldb_private::IOHandler&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >&) (/w/c/org/bin/../lib/liblldb.so.12git+0xfe8253)
#11 0x00007f78e88d2d9d lldb_private::IOHandlerEditline::Run()
(/w/c/org/bin/../lib/liblldb.so.12git+0xf52d9d)
#12 0x00007f78e88b932d lldb_private::Debugger::RunIOHandlers()
(/w/c/org/bin/../lib/liblldb.so.12git+0xf3932d)
#13 0x00007f78e89695eb
lldb_private::CommandInterpreter::RunCommandInterpreter(lldb_private::CommandInterpreterRunOptions&)
(/w/c/org/bin/../lib/liblldb.so.12git+0xfe95eb)
#14 0x00007f78e85bcd49 lldb::SBDebugger::RunCommandInterpreter(bool, bool)
(/w/c/org/bin/../lib/liblldb.so.12git+0xc3cd49)
#15 0x0000000000409fb6 Driver::MainLoop() (/w/c/org/bin/lldb+0x409fb6)
#16 0x000000000040c215 main (/w/c/org/bin/lldb+0x40c215)
#17 0x00007f78e62a3b97 __libc_start_main
/build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#18 0x0000000000406cca _start (/w/c/org/bin/lldb+0x406cca)
Segmentation fault