Skip to content

Instantly share code, notes, and snippets.

@lewurm

lewurm/README.md Secret

Last active May 2, 2019 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewurm/cbf689c43f49260eb8512683ace54966 to your computer and use it in GitHub Desktop.
Save lewurm/cbf689c43f49260eb8512683ace54966 to your computer and use it in GitHub Desktop.
$ lldb --version
lldb-1001.0.12.1
  Swift-5.0

$ lldb -x armv7k-binary
(lldb) target create "armv7k-binary"
Current executable set to 'armv7k-binary' (armv7k).
(lldb) b mini-runtime.c:3198
Assertion failed: (!m_cancel_scopes), function ExtractDIEsScoped, file /Library/Caches/com.apple.xbs/Sources/lldb/lldb-1001.0.12.1/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp, line 114
backtrace leading to the failure:
0  LLDB          0x0000000107a6a325 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1  LLDB          0x0000000109a1548d lldb_private::lldb_assert(bool, char const*, char const*, char const*, unsigned int) + 131
2  LLDB          0x0000000109b0881b DWARFUnit::ExtractDIEsScoped() + 171
3  LLDB          0x0000000109b0912b DWARFUnit::BuildAddressRangeTable(SymbolFileDWARF*, DWARFDebugAranges*) + 243
4  LLDB          0x0000000109b1baeb DWARFDebugInfo::GetCompileUnitAranges() + 643
5  LLDB          0x0000000109b3c6b4 SymbolFileDWARF::ResolveSymbolContext(lldb_private::Address const&, unsigned int, lldb_private::SymbolContext&) + 210
6  LLDB          0x0000000109ba24ab lldb_private::SymbolVendor::ResolveSymbolContext(lldb_private::Address const&, unsigned int, lldb_private::SymbolContext&) + 97
7  LLDB          0x00000001099945e0 lldb_private::Module::ResolveSymbolContextForAddress(lldb_private::Address const&, unsigned int, lldb_private::SymbolContext&, bool) + 450
8  LLDB          0x0000000109954cc0 lldb_private::Address::CalculateSymbolContext(lldb_private::SymbolContext*, unsigned int) const + 198
9  LLDB          0x0000000109b89dba lldb_private::CompileUnit::ResolveSymbolContext(lldb_private::FileSpec const&, unsigned int, bool, bool, unsigned int, lldb_private::SymbolContextList&) + 612
10 LLDB          0x00000001098dd442 lldb_private::BreakpointResolverFileLine::SearchCallback(lldb_private::SearchFilter&, lldb_private::SymbolContext&, lldb_private::Address*, bool) + 250
11 LLDB          0x00000001099bb0f6 lldb_private::SearchFilter::DoModuleIteration(lldb_private::SymbolContext const&, lldb_private::Searcher&) + 336
12 LLDB          0x00000001099baf75 lldb_private::SearchFilter::Search(lldb_private::Searcher&) + 113
13 LLDB          0x0000000109c00f99 lldb_private::Target::AddBreakpoint(std::__1::shared_ptr<lldb_private::Breakpoint>, bool) + 211
14 LLDB          0x0000000109c0236f lldb_private::Target::CreateBreakpoint(std::__1::shared_ptr<lldb_private::SearchFilter>&, std::__1::shared_ptr<lldb_private::BreakpointResolver>&, bool, bool, bool) + 275
15 LLDB          0x0000000109c0270e lldb_private::Target::CreateBreakpoint(lldb_private::FileSpecList const*, lldb_private::FileSpec const&, unsigned int, unsigned int, unsigned long long, lldb_private::LazyBool, lldb_private::LazyBool, bool, bool, lldb_private::LazyBool) + 782
16 LLDB          0x00000001098ef767 CommandObjectBreakpointSet::DoExecute(lldb_private::Args&, lldb_private::CommandReturnObject&) + 2481
17 LLDB          0x0000000109a8bb47 lldb_private::CommandObjectParsed::Execute(char const*, lldb_private::CommandReturnObject&) + 425
18 LLDB          0x0000000109a7ef62 lldb_private::CommandInterpreter::HandleCommand(char const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&, lldb_private::ExecutionContext*, bool, bool) + 1948
19 LLDB          0x0000000109a9095e lldb_private::CommandObjectRegexCommand::DoExecute(llvm::StringRef, lldb_private::CommandReturnObject&) + 772
20 LLDB          0x0000000109a8bcd0 lldb_private::CommandObjectRaw::Execute(char const*, lldb_private::CommandReturnObject&) + 310
21 LLDB          0x0000000109a7ef62 lldb_private::CommandInterpreter::HandleCommand(char const*, lldb_private::LazyBool, lldb_private::CommandReturnObject&, lldb_private::ExecutionContext*, bool, bool) + 1948
22 LLDB          0x0000000109a823f6 lldb_private::CommandInterpreter::IOHandlerInputComplete(lldb_private::IOHandler&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) + 372
23 LLDB          0x0000000109aa162b lldb_private::IOHandlerEditline::Run() + 255
24 LLDB          0x000000010996c168 lldb_private::Debugger::ExecuteIOHandlers() + 68
25 LLDB          0x0000000109a83080 lldb_private::CommandInterpreter::RunCommandInterpreter(bool, bool, lldb_private::CommandInterpreterRunOptions&) + 156
26 LLDB          0x00000001067ec34a lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 62
27 lldb          0x000000010401f294 Driver::MainLoop() + 2442
28 lldb          0x000000010401f81d main + 306
29 libdyld.dylib 0x00007fff612923d5 start + 1
please file a bug report against lldb reporting this failure log, and as many details as possible
Breakpoint 1: where = armv7k-binary`mono_jit_runtime_invoke + 1598 at mini-runtime.c:3198:3, address = 0x005be654
(lldb)
This file has been truncated, but you can view the full file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment