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

2021-08-31 Thread via lldb-dev
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@lists.llvm.org
  Reporter: l...@martijnotto.nl
CC: jdevliegh...@apple.com, llvm-b...@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.  :43:16: current parser token '$__lldb_expr'
  #0 0x7f3d5f1d69b3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(/lib/x86_64-linux-gnu/libLLVM-13.so.1+0xc0a9b3)
  #1 0x7f3d5f1d4d60 llvm::sys::RunSignalHandlers()
(/lib/x86_64-linux-gnu/libLLVM-13.so.1+0xc08d60)
  #2 0x7f3d5f1d6e4f (/lib/x86_64-linux-gnu/libLLVM-13.so.1+0xc0ae4f)
  #3 0x7f3d6883a140 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x14140)
  #4 0x7f3d6505b464 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6d464)
  #5 0x7f3d6505b7f7 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6d7f7)
  #6 0x7f3d6505918d clang::DeclContext::removeDecl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6b18d)
  #7 0x7f3d64f2da72
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3fa72)
  #8 0x7f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
  #9 0x7f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #10 0x7f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #11 0x7f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #12 0x7f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #13 0x7f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #14 0x7f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #15 0x7f3d64f2d5ec
clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f5ec)
 #16 0x7f3d64f5646d clang::ASTImporter::ImportDefinition(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6846d)
 #17 0x7f3d6830e5ac (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ac)
 #18 0x7f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #19 0x7f3d68309f52 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb4df52)
 #20 0x7f3d68315fc0 (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb59fc0)
 #21 0x7f3d65047a63 clang::RecordDecl::LoadFieldsFromExternalStorage()
const (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe59a63)
 #22 0x7f3d650479cc clang::RecordDecl::field_begin() const
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe599cc)
 #23 0x7f3d6505d21d clang::CXXRecordDecl::setBases(clang::CXXBaseSpecifier
const* const*, unsigned int)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xe6f21d)
 #24 0x7f3d64f2d008
clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*,
clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3f008)
 #25 0x7f3d64f4094c
clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd5294c)
 #26 0x7f3d64f50ce6 (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62ce6)
 #27 0x7f3d64f50c87 clang::ASTImporter::ImportImpl(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd62c87)
 #28 0x7f3d6830e5ea (/lib/x86_64-linux-gnu/liblldb-13.so.1+0xb525ea)
 #29 0x7f3d64f51dcd clang::ASTImporter::Import(clang::Decl*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd63dcd)
 #30 0x7f3d64f2ac15
clang::ASTNodeImporter::VisitRecordType(clang::RecordType const*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd3cc15)
 #31 0x7f3d64f5132f (/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd6332f)
 #32 0x7f3d64f510a0 clang::ASTImporter::Import(clang::Type const*)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd630a0)
 #33 0x7f3d64f303b9
clang::ASTNodeImporter::VisitTypedefNameDecl(clang::TypedefNameDecl*, bool)
(/lib/x86_64-linux-gnu/libclang-cpp.so.13+0xd423b9)
 #34 0x7f3d64f50e85 

Re: [lldb-dev] [Release-testers] 13.0.0-rc2 has been tagged

2021-08-31 Thread Dimitry Andric via lldb-dev
On 27 Aug 2021, at 07:20, Tom Stellard via Release-testers 
 wrote:
> 
> I've tagged the 13.0.0-rc2 release.  Testers can begin testing and uploading
> binaries.
> 
> 13.0.0-rc3 is scheduled to be released on Sep. 7, so we'll continue to accept
> bug fixes in the branch until then.

For 13.0.0 rc2, I have built and tested on both FreeBSD 12 and 13. I
used 2 patches, which are attached.

For the 32-builds I used -no-flang, as flang is currently not 32-bit
clean, and I do not expect it will ever be.


Main results on amd64-freebsd12:

  Skipped: 3 (rc1: 3)
  Unsupported:  6353 (rc1:  6352)
  Passed : 91855 (rc1: 91852)
  Expectedly Failed  :   320 (rc1:   320)
  Timed Out  : 2 (rc1: 2)
  Failed :   295 (rc1:   290)
  Unexpectedly Passed: 2 (rc1: 2)

Test suite results on amd64-freebsd12:

  Passed: 2419 (rc1: 2419)
  Failed:3 (rc1:3)


Main results on amd64-freebsd13:

  Skipped: 3 (rc1: 3)
  Unsupported:  6352 (rc1:  6352)
  Passed : 91792 (rc1: 91815)
  Passed With Retry  : 0 (rc1: 1)
  Expectedly Failed  :   320 (rc1:   320)
  Timed Out  : 1 (rc1: 1)
  Failed :   324 (rc1:   327)
  Unexpectedly Passed: 2 (rc1: 2)

Test suite results on amd64-freebsd13:

  Passed: 2419 (rc1: 2419)
  Failed:3 (rc1:3)


Main results on i386-freebsd12:

  Skipped: 3 (rc1: 3)
  Unsupported:  4736 (rc1:  4735)
  Passed : 87542 (rc1: 87533)
  Expectedly Failed  :   295 (rc1:   295)
  Failed :   200 (rc1:   201)
  Unexpectedly Passed: 1 (rc1: 1)


Main results on i386-freebsd13:

  Skipped: 3 (rc1: 3)
  Unsupported:  4736 (rc1:  4735)
  Passed : 87540 (rc1: 87532)
  Expectedly Failed  :   295 (rc1:   295)
  Failed :   202 (rc1:   202)
  Unexpectedly Passed: 1 (rc1: 1)


Uploaded:
SHA256 (clang+llvm-13.0.0-rc2-amd64-unknown-freebsd12.tar.xz) = 
6999f1995449d07c99c4585f918e81fd697677036d6d287782e7090d148a1fd4
SHA256 (clang+llvm-13.0.0-rc2-amd64-unknown-freebsd13.tar.xz) = 
22022a1ca4cc61315c6c9d1e9145a94239948bbdf72a52d6593d25371fa3474b
SHA256 (clang+llvm-13.0.0-rc2-i386-unknown-freebsd12.tar.xz) = 
c7009939b80922bf04035a6e2650c5a94a6044f19892f89ade802275f40a2c26
SHA256 (clang+llvm-13.0.0-rc2-i386-unknown-freebsd13.tar.xz) = 
3191de961d27366c69aa761e4faab52053bbd05f45c2c238fd5caffee8cab0f8

-Dimitry



fix-openmp-1.diff
Description: Binary data


fix-test-suite-1.diff
Description: Binary data


signature.asc
Description: Message signed with OpenPGP
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev