[lldb-dev] [Bug 51685] New: Crash evaluating expression

via lldb-dev lldb-dev at lists.llvm.org
Tue Aug 31 00:27:00 PDT 2021


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

            Bug ID: 51685
           Summary: Crash evaluating expression
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: llvm at martijnotto.nl
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

When using lldb, it always fails evaluting an expression. Other things work
normally, I can set breakpoints, and they're correctly triggered, but doing
anything like `p something` always fails, no matter where in the program I do
it or what the expression is. The stack trace:

error: need to add support for DW_TAG_base_type 'auto' encoded with DW_ATE =
0x0, bit_size = 0
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments: lldb ./build/Debug/Arena
1.      HandleCommand(command = "p getServer()")
2.      <lldb wrapper prefix>:43:16: current parser token '$__lldb_expr'
  #0 0x00007f3d5f1d69b3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/lib/x86_64-linux-gnu/libLLVM-13.so.1+0xc0a9b3)
  #1 0x00007f3d5f1d4d60 llvm::sys::RunSignalHandlers()
(/lib/x86_64-linux-gnu/libLLVM-13.so.1+0xc08d60)
  #2 0x00007f3d5f1d6e4f (/lib/x86_64-linux-gnu/libLLVM-13.so.1+0xc0ae4f)
  #3 0x00007f3d6883a140 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x14140)
  #4 0x00007f3d6505b464 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6d464)
  #5 0x00007f3d6505b7f7 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6d7f7)
  #6 0x00007f3d6505918d clang::DeclContext::removeDecl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b18d)
  #7 0x00007f3d64f2da72
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3fa72)
  #8 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
  #9 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #10 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #11 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #12 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #13 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #14 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #15 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #16 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #17 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #18 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #19 0x00007f3d68309f52 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb4df52)
 #20 0x00007f3d68315fc0 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb59fc0)
 #21 0x00007f3d65047a63 clang::RecordDecl::LoadFieldsFromExternalStorage()
const (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe59a63)
 #22 0x00007f3d650479cc clang::RecordDecl::field_begin() const
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe599cc)
 #23 0x00007f3d6505d21d clang::CXXRecordDecl::setBases(clang::CXXBaseSpecifier
const* const*, unsigned int)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6f21d)
 #24 0x00007f3d64f2d008
clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*,
clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f008)
 #25 0x00007f3d64f4094c
clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd5294c)
 #26 0x00007f3d64f50ce6 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62ce6)
 #27 0x00007f3d64f50c87 clang::ASTImporter::ImportImpl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62c87)
 #28 0x00007f3d6830e5ea (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ea)
 #29 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #30 0x00007f3d64f2ac15
clang::ASTNodeImporter::VisitRecordType(clang::RecordType const*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3cc15)
 #31 0x00007f3d64f5132f (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6332f)
 #32 0x00007f3d64f510a0 clang::ASTImporter::Import(clang::Type const*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd630a0)
 #33 0x00007f3d64f303b9
clang::ASTNodeImporter::VisitTypedefNameDecl(clang::TypedefNameDecl*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd423b9)
 #34 0x00007f3d64f50e85 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62e85)
 #35 0x00007f3d64f50c87 clang::ASTImporter::ImportImpl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62c87)
 #36 0x00007f3d6830e5ea (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ea)
 #37 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #38 0x00007f3d68309f52 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb4df52)
 #39 0x00007f3d68315fc0 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb59fc0)
 #40 0x00007f3d6505868c
clang::DeclContext::LoadLexicalDeclsFromExternalStorage() const
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6a68c)
 #41 0x00007f3d650596e8 clang::DeclContext::buildLookup()
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b6e8)
 #42 0x00007f3d650594d3
clang::DeclContext::makeDeclVisibleInContextWithFlags(clang::NamedDecl*, bool,
bool) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b4d3)
 #43 0x00007f3d64f365e7
clang::ASTNodeImporter::VisitFieldDecl(clang::FieldDecl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd485e7)
 #44 0x00007f3d64f50d00 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62d00)
 #45 0x00007f3d64f50c87 clang::ASTImporter::ImportImpl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62c87)
 #46 0x00007f3d6830e5ea (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ea)
 #47 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #48 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #49 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #50 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #51 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #52 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #53 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #54 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #55 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #56 0x00007f3d68309f52 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb4df52)
 #57 0x00007f3d68315fc0 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb59fc0)
 #58 0x00007f3d6505868c
clang::DeclContext::LoadLexicalDeclsFromExternalStorage() const
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6a68c)
 #59 0x00007f3d650596e8 clang::DeclContext::buildLookup()
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b6e8)
 #60 0x00007f3d650594d3
clang::DeclContext::makeDeclVisibleInContextWithFlags(clang::NamedDecl*, bool,
bool) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b4d3)
 #61 0x00007f3d64f365e7
clang::ASTNodeImporter::VisitFieldDecl(clang::FieldDecl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd485e7)
 #62 0x00007f3d64f50d00 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62d00)
 #63 0x00007f3d64f50c87 clang::ASTImporter::ImportImpl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62c87)
 #64 0x00007f3d6830e5ea (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ea)
 #65 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #66 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #67 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #68 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #69 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #70 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #71 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #72 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #73 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #74 0x00007f3d68309f52 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb4df52)
 #75 0x00007f3d68315fc0 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb59fc0)
 #76 0x00007f3d6505868c
clang::DeclContext::LoadLexicalDeclsFromExternalStorage() const
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6a68c)
 #77 0x00007f3d650596e8 clang::DeclContext::buildLookup()
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b6e8)
 #78 0x00007f3d650594d3
clang::DeclContext::makeDeclVisibleInContextWithFlags(clang::NamedDecl*, bool,
bool) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b4d3)
 #79 0x00007f3d64f365e7
clang::ASTNodeImporter::VisitFieldDecl(clang::FieldDecl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd485e7)
 #80 0x00007f3d64f50d00 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62d00)
 #81 0x00007f3d64f50c87 clang::ASTImporter::ImportImpl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62c87)
 #82 0x00007f3d6830e5ea (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ea)
 #83 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #84 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #85 0x00007f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #86 0x00007f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #87 0x00007f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #88 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #89 0x00007f3d64f2d054
clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*,
clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f054)
 #90 0x00007f3d64f562fa clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd682fa)
 #91 0x00007f3d6830c3d5 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb503d5)
 #92 0x00007f3d6830c299 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb50299)
 #93 0x00007f3d6830f962 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb53962)
 #94 0x00007f3d64f52904 clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd64904)
 #95 0x00007f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #96 0x00007f3d64f2d054
clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*,
clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f054)
 #97 0x00007f3d64f562fa clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd682fa)
 #98 0x00007f3d6830c3d5 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb503d5)
 #99 0x00007f3d6830c299 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb50299)
#100 0x00007f3d68315539 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb59539)
#101 0x00007f3d6822090c (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xa6490c)
#102 0x00007f3d68336882 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb7a882)
#103 0x00007f3d683364cc (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb7a4cc)
#104 0x00007f3d683360b2 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb7a0b2)
#105 0x00007f3d68334fad (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb78fad)
#106 0x00007f3d68313def (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb57def)
#107 0x00007f3d6505a165 clang::DeclContext::lookup(clang::DeclarationName)
const (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6c165)
#108 0x00007f3d6583aae6 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0x164cae6)
#109 0x00007f3d65837afb clang::Sema::CppLookupName(clang::LookupResult&,
clang::Scope*) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0x1649afb)
#110 0x00007f3d6583a6bf clang::Sema::LookupName(clang::LookupResult&,
clang::Scope*, bool) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0x164c6bf)
#111 0x00007f3d654d308c clang::Sema::BuildCXXNestedNameSpecifier(clang::Scope*,
clang::Sema::NestedNameSpecInfo&, bool, clang::CXXScopeSpec&,
clang::NamedDecl*, bool, bool*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0x12e508c)
#112 0x00007f3d654d44d0 clang::Sema::ActOnCXXNestedNameSpecifier(clang::Scope*,
clang::Sema::NestedNameSpecInfo&, bool, clang::CXXScopeSpec&, bool, bool*,
bool) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0x12e64d0)
#113 0x00007f3d64e50c23
clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&,
clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool,
clang::IdentifierInfo**, bool, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xc62c23)
#114 0x00007f3d64e246a0
clang::Parser::ParseDeclaratorInternal(clang::Declarator&, void
(clang::Parser::*)(clang::Declarator&))
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xc366a0)
#115 0x00007f3d64e1acda clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&,
clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xc2ccda)
#116 0x00007f3d64eb311d
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributesWithRange&,
clang::ParsingDeclSpec&, clang::AccessSpecifier)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xcc511d)
#117 0x00007f3d64eb2afc
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*, clang::AccessSpecifier)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xcc4afc)
#118 0x00007f3d64eb1fe1
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributesWithRange&,
clang::ParsingDeclSpec*) (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xcc3fe1)
#119 0x00007f3d64eb064e
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xcc264e)
#120 0x00007f3d64e0683d clang::ParseAST(clang::Sema&, bool, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xc1883d)
#121 0x00007f3d68345d12 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb89d12)
#122 0x00007f3d68329a35 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb6da35)
#123 0x00007f3d6832a0e5 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb6e0e5)
#124 0x00007f3d67e0f5a4 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x6535a4)
#125 0x00007f3d67f0fae9 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x753ae9)
#126 0x00007f3d68272a10 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xab6a10)
#127 0x00007f3d6827386b (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xab786b)
#128 0x00007f3d67e4b883 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x68f883)
#129 0x00007f3d67e40f9e (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x684f9e)
#130 0x00007f3d67e44633 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x688633)
#131 0x00007f3d67d9cd9f (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x5e0d9f)
#132 0x00007f3d67d81e34 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x5c5e34)
#133 0x00007f3d67e45e4d (/lib/x86_64-linux-gnu/liblldb-13.so.1+0x689e4d)
#134 0x00007f3d67a5c4c9 lldb::SBDebugger::RunCommandInterpreter(bool, bool)
(/lib/x86_64-linux-gnu/liblldb-13.so.1+0x2a04c9)
#135 0x0000000000407432 (/usr/lib/llvm-13/bin/lldb+0x407432)
#136 0x0000000000408c0b (/usr/lib/llvm-13/bin/lldb+0x408c0b)
#137 0x00007f3d5e100d0a __libc_start_main ./csu/../csu/libc-start.c:308:16
#138 0x000000000040494a (/usr/lib/llvm-13/bin/lldb+0x40494a)
fish: “lldb ./build/Debug/Arena” terminated by signal SIGSEGV (Address boundary
error)

I've tested this with both lldb 11 and lldb 13. lldb 11 was installed from the
debian repositories, while lldb 13 was installed from the repository provided
by llvm. In both cases the executable was compiled with the matching clang
version.

This was run on Debian Bullseye, the executable was linked with libstdc++ (not
with libc++).

-- 
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/20210831/da972a62/attachment-0001.html>


More information about the lldb-dev mailing list