<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - M1 | 20F5046g | 11.4 | LLDB Stack Dump | memory read --outfile"
   href="https://bugs.llvm.org/show_bug.cgi?id=50193">50193</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>M1 | 20F5046g | 11.4 | LLDB Stack Dump | memory read --outfile
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>11.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>h02332@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello & Good Day-

The stdout says.. PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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 <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>