[llvm-bugs] [Bug 50193] New: M1 | 20F5046g | 11.4 | LLDB Stack Dump | memory read --outfile

via llvm-bugs llvm-bugs at lists.llvm.org
Sat May 1 13:10:53 PDT 2021


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

            Bug ID: 50193
           Summary: M1 | 20F5046g | 11.4 | LLDB Stack Dump | memory read
                    --outfile
           Product: lldb
           Version: 11.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: h02332 at gmail.com
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

Hello & Good Day-

The stdout says.. PLEASE submit a bug report to https://bugs.llvm.org/ and
include the crash backtrace.

Sorry if this has already been Reported or is judged to be Noise.

Minimized Reproduction Case

lldb-1205.0.22
Apple Swift version 5.4 (swiftlang-1205.0.26.4 clang-1205.0.19.54)

sysctl -a | grep version
user.posix2_version: 200112
kern.version: Darwin Kernel Version 20.5.0: Thu Apr 15 05:31:18 PDT 2021;
root:xnu-7195.120.38.111.1~4/RELEASE_ARM64_T8101
kern.posix1version: 200112
kern.osversion: 20F5046g
kern.iossupportversion: 14.6
kern.osproductversion: 11.4
kern.osproductversioncompat: 10.16
kern.system_version_compat: 0
vm.shared_region_version: 3
net.inet.igmp.default_version: 3
net.inet6.ip6.kame_version: 2009/apple-darwin
net.mpklog.version: 1
net.smb.fs.version: 305000
hw.optional.amx_version: 2
security.mac.asp.active_rule_version: 13841998261707076720

sysctl -a | grep M1
machdep.cpu.brand_string: Apple M1

(lldb) memory read --outfile /tmp/mem.txt 0xfffffe0013094000
0xfffffe0013094000+1000000000 --force
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments:
/Applications/Xcode-beta.app/Contents/Developer/usr/bin/lldb -c
/Users/xss/Downloads/2021-04-30-093605.kernel.core 
0  lldb                     0x0000000104a9ce48
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 52
1  lldb                     0x0000000104a9c414 llvm::sys::RunSignalHandlers() +
128
2  lldb                     0x0000000104a9d66c SignalHandler(int) + 292
3  libsystem_platform.dylib 0x000000019c56ec44 _sigtramp + 56
4  LLDB                     0x0000000105137b00
lldb_private::NativeFile::Write(void const*, unsigned long&) + 232
5  LLDB                     0x00000001050e7360
lldb_private::StreamFile::WriteImpl(void const*, unsigned long) + 40
6  LLDB                     0x00000001052a04c4
lldb_private::Stream::Printf(char const*, ...) + 124
7  LLDB                     0x00000001050aa644
lldb_private::DumpDataExtractor(lldb_private::DataExtractor const&,
lldb_private::Stream*, unsigned long long, lldb::Format, unsigned long,
unsigned long, unsigned long, unsigned long long, unsigned int, unsigned int,
lldb_private::ExecutionContextScope*) + 1240
8  LLDB                     0x0000000105621078
CommandObjectMemoryRead::DoExecute(lldb_private::Args&,
lldb_private::CommandReturnObject&) + 6712
9  LLDB                     0x000000010516af2c
lldb_private::CommandObjectParsed::Execute(char const*,
lldb_private::CommandReturnObject&) + 404
10 LLDB                     0x0000000105162370
lldb_private::CommandInterpreter::HandleCommand(char const*,
lldb_private::LazyBool, lldb_private::CommandReturnObject&,
lldb_private::ExecutionContext*, bool, bool) + 2264
11 LLDB                     0x0000000105166284
lldb_private::CommandInterpreter::IOHandlerInputComplete(lldb_private::IOHandler&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> >&) + 616
12 LLDB                     0x00000001050b6bac
lldb_private::IOHandlerEditline::Run() + 316
13 LLDB                     0x000000010509f6c8
lldb_private::Debugger::RunIOHandlers() + 140
14 LLDB                     0x0000000105167264
lldb_private::CommandInterpreter::RunCommandInterpreter(lldb_private::CommandInterpreterRunOptions&)
+ 160
15 LLDB                     0x0000000104e93bf8
lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 192
16 lldb                     0x0000000104a843d8 Driver::MainLoop() + 2452
17 lldb                     0x0000000104a85b3c main + 1880
18 libdyld.dylib            0x000000019c541420 start + 4

EOF

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210501/f18a9181/attachment.html>


More information about the llvm-bugs mailing list