llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder 
`sanitizer-x86_64-linux-bootstrap-ubsan` running on `sanitizer-buildbot3` while 
building `clang` at step 2 "annotate".

Full details are available at: 
https://lab.llvm.org/buildbot/#/builders/25/builds/3741

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python 
../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py'
 (failure)
...
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using lld-link: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld64.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using wasm-ld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using lld-link: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld64.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using wasm-ld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72:
 note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 86708 tests, 88 workers --
Testing: 
FAIL: Clang :: Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp (834 of 
86708)
******************** TEST 'Clang :: 
Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp' FAILED 
********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang 
-cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
+ 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang 
-cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp:58:37:
 runtime error: member call on null pointer of type 'clang::Expr'
    #0 0x62dce19c5002 in VisitDeclRefExpr 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp:58:37
    #1 0x62dce19c5002 in WalkUpFromDeclRefExpr 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/StmtNodes.inc:474:1
    #2 0x62dce19c5002 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDeclRefExpr(clang::DeclRefExpr*, 
llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, 
llvm::PointerLikeTypeTraits<clang::Stmt*>, 
llvm::PointerIntPairInfo<clang::Stmt*, 1u, 
llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2487:1
    #3 0x62dce19b3a68 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseStmt(clang::Stmt*, 
llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, 
llvm::PointerLikeTypeTraits<clang::Stmt*>, 
llvm::PointerIntPairInfo<clang::Stmt*, 1u, 
llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:687:7
    #4 0x62dce19e9e08 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseFunctionHelper(clang::FunctionDecl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2264:5
    #5 0x62dce19ad5f4 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseFunctionDecl(clang::FunctionDecl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2275:1
    #6 0x62dce19a991a in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/DeclNodes.inc:238:1
    #7 0x62dce19a91f6 in TraverseFunctionTemplateDecl 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1948:1
    #8 0x62dce19a91f6 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/DeclNodes.inc:518:1
    #9 0x62dce19dd36a in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDeclContextHelper(clang::DeclContext*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1543:7
    #10 0x62dce19a9e86 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1643:1
    #11 0x62dce19a929c in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/DeclNodes.inc:24:1
    #12 0x62dce19a9024 in checkASTDecl 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp:121:13
    #13 0x62dce19a9024 in void 
clang::ento::check::ASTDecl<clang::TranslationUnitDecl>::_checkDecl<(anonymous 
namespace)::UncountedLambdaCapturesChecker>(void*, clang::Decl const*, 
clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/Checker.h:33:33
    #14 0x62dce1b0683c in operator() 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:12
    #15 0x62dce1b0683c in 
clang::ento::CheckerManager::runCheckersOnASTDecl(clang::Decl const*, 
clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:80:5
    #16 0x62dce1383458 in runAnalysisOnTranslationUnit 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:534:15
    #17 0x62dce1383458 in (anonymous 
namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:613:3
    #18 0x62dce1c9bb6e in clang::ParseAST(clang::Sema&, bool, bool) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Parse/ParseAST.cpp:184:13
    #19 0x62dcdf611bf6 in clang::FrontendAction::Execute() 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1077:8
    #20 0x62dcdf57db0f in 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1060:33
    #21 0x62dcdf7658a5 in 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:296:25
    #22 0x62dcdab608ad in cc1_main(llvm::ArrayRef<char const*>, char const*, 
void*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/cc1_main.cpp:285:15
    #23 0x62dcdab5af82 in ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, 
llvm::ToolContext const&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:217:12
    #24 0x62dcdab59d60 in clang_main(int, char**, llvm::ToolContext const&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:258:12
    #25 0x62dcdab6ff1a in main 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/tools/driver/clang-driver.cpp:17:10
    #26 0x7ca31c62a3b7  (/lib/x86_64-linux-gnu/libc.so.6+0x2a3b7) (BuildId: 
5f3f024b472f38389da3a2f567b3d0eaa8835ca2)
    #27 0x7ca31c62a47a in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x2a47a) (BuildId: 
5f3f024b472f38389da3a2f567b3d0eaa8835ca2)
    #28 0x62dcdab2b3a4 in _start 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang-20+0xb2e03a4)

Step 10 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using lld-link: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld64.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using wasm-ld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using lld-link: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld64.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using wasm-ld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72:
 note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 86708 tests, 88 workers --
Testing: 
FAIL: Clang :: Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp (834 of 
86708)
******************** TEST 'Clang :: 
Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp' FAILED 
********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang 
-cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
+ 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang 
-cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp:58:37:
 runtime error: member call on null pointer of type 'clang::Expr'
    #0 0x62dce19c5002 in VisitDeclRefExpr 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp:58:37
    #1 0x62dce19c5002 in WalkUpFromDeclRefExpr 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/StmtNodes.inc:474:1
    #2 0x62dce19c5002 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDeclRefExpr(clang::DeclRefExpr*, 
llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, 
llvm::PointerLikeTypeTraits<clang::Stmt*>, 
llvm::PointerIntPairInfo<clang::Stmt*, 1u, 
llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2487:1
    #3 0x62dce19b3a68 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseStmt(clang::Stmt*, 
llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, 
llvm::PointerLikeTypeTraits<clang::Stmt*>, 
llvm::PointerIntPairInfo<clang::Stmt*, 1u, 
llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:687:7
    #4 0x62dce19e9e08 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseFunctionHelper(clang::FunctionDecl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2264:5
    #5 0x62dce19ad5f4 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseFunctionDecl(clang::FunctionDecl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:2275:1
    #6 0x62dce19a991a in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/DeclNodes.inc:238:1
    #7 0x62dce19a91f6 in TraverseFunctionTemplateDecl 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1948:1
    #8 0x62dce19a91f6 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/DeclNodes.inc:518:1
    #9 0x62dce19dd36a in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDeclContextHelper(clang::DeclContext*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1543:7
    #10 0x62dce19a9e86 in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/AST/RecursiveASTVisitor.h:1643:1
    #11 0x62dce19a929c in clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/include/clang/AST/DeclNodes.inc:24:1
    #12 0x62dce19a9024 in checkASTDecl 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp:121:13
    #13 0x62dce19a9024 in void 
clang::ento::check::ASTDecl<clang::TranslationUnitDecl>::_checkDecl<(anonymous 
namespace)::UncountedLambdaCapturesChecker>(void*, clang::Decl const*, 
clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/Checker.h:33:33
    #14 0x62dce1b0683c in operator() 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:12
    #15 0x62dce1b0683c in 
clang::ento::CheckerManager::runCheckersOnASTDecl(clang::Decl const*, 
clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:80:5
    #16 0x62dce1383458 in runAnalysisOnTranslationUnit 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:534:15
    #17 0x62dce1383458 in (anonymous 
namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:613:3
    #18 0x62dce1c9bb6e in clang::ParseAST(clang::Sema&, bool, bool) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Parse/ParseAST.cpp:184:13
    #19 0x62dcdf611bf6 in clang::FrontendAction::Execute() 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1077:8
    #20 0x62dcdf57db0f in 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1060:33
    #21 0x62dcdf7658a5 in 
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:296:25
    #22 0x62dcdab608ad in cc1_main(llvm::ArrayRef<char const*>, char const*, 
void*) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/cc1_main.cpp:285:15
    #23 0x62dcdab5af82 in ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, 
llvm::ToolContext const&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:217:12
    #24 0x62dcdab59d60 in clang_main(int, char**, llvm::ToolContext const&) 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:258:12
    #25 0x62dcdab6ff1a in main 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/tools/driver/clang-driver.cpp:17:10
    #26 0x7ca31c62a3b7  (/lib/x86_64-linux-gnu/libc.so.6+0x2a3b7) (BuildId: 
5f3f024b472f38389da3a2f567b3d0eaa8835ca2)
    #27 0x7ca31c62a47a in __libc_start_main 
(/lib/x86_64-linux-gnu/libc.so.6+0x2a47a) (BuildId: 
5f3f024b472f38389da3a2f567b3d0eaa8835ca2)
    #28 0x62dcdab2b3a4 in _start 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang-20+0xb2e03a4)

Step 13 (stage3/ubsan check) failure: stage3/ubsan check (failure)
...
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using lld-link: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld64.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using wasm-ld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using lld-link: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/lld-link
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using ld64.lld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/ld64.lld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506:
 note: using wasm-ld: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/wasm-ld
llvm-lit: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72:
 note: The test suite configuration requested an individual test timeout of 0 
seconds but a timeout of 900 seconds was requested on the command line. Forcing 
timeout to be 900 seconds.
-- Testing: 83828 tests, 88 workers --
Testing: 
FAIL: Clang :: Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp (725 of 
83828)
******************** TEST 'Clang :: 
Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp' FAILED 
********************
Exit Code: 134

Command Output (stderr):
--
RUN: at line 1: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang
 -cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
+ 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang
 -cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
clang: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/Support/Casting.h:662:
 decltype(auto) llvm::dyn_cast(From *) [To = clang::ParenExpr, From = 
clang::Expr]: Assertion `detail::isPresent(Val) && "dyn_cast on a non-existent 
value"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and 
include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang
 -cc1 -internal-isystem 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/lib/clang/20/include
 -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer 
-analyzer-checker=webkit.UncountedLambdaCapturesChecker -verify 
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
1.      <eof> parser at end of file
 #0 0x000060cf843a2068 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0x83bd068)
 #1 0x000060cf8439fb1e llvm::sys::RunSignalHandlers() 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0x83bab1e)
 #2 0x000060cf843a26f8 SignalHandler(int) Signals.cpp:0:0
 #3 0x000071705b445250 (/lib/x86_64-linux-gnu/libc.so.6+0x45250)
 #4 0x000071705b4a3f1c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0xa3f1c)
 #5 0x000071705b44519e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4519e)
 #6 0x000071705b428902 abort (/lib/x86_64-linux-gnu/libc.so.6+0x28902)
 #7 0x000071705b42881e (/lib/x86_64-linux-gnu/libc.so.6+0x2881e)
 #8 0x000071705b43b7c7 (/lib/x86_64-linux-gnu/libc.so.6+0x3b7c7)
 #9 0x000060cf8707722e clang::IgnoreParensSingleStep(clang::Expr*) 
SemaInit.cpp:0:0
#10 0x000060cf87a022bb clang::Expr::IgnoreParenCasts() 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0xba1d2bb)
#11 0x000060cf8671debe clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDeclRefExpr(clang::DeclRefExpr*, 
llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, 
llvm::PointerLikeTypeTraits<clang::Stmt*>, 
llvm::PointerIntPairInfo<clang::Stmt*, 1u, 
llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) 
UncountedLambdaCapturesChecker.cpp:0:0
#12 0x000060cf86714b2b clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseStmt(clang::Stmt*, 
llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, 
llvm::PointerLikeTypeTraits<clang::Stmt*>, 
llvm::PointerIntPairInfo<clang::Stmt*, 1u, 
llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) 
UncountedLambdaCapturesChecker.cpp:0:0
#13 0x000060cf8672d41a clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseFunctionHelper(clang::FunctionDecl*) 
UncountedLambdaCapturesChecker.cpp:0:0
#14 0x000060cf8670f242 clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseFunctionDecl(clang::FunctionDecl*) 
UncountedLambdaCapturesChecker.cpp:0:0
#15 0x000060cf8670cfe5 clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
UncountedLambdaCapturesChecker.cpp:0:0
#16 0x000060cf8670c9d7 clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
UncountedLambdaCapturesChecker.cpp:0:0
#17 0x000060cf8672c44b clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDeclContextHelper(clang::DeclContext*) 
UncountedLambdaCapturesChecker.cpp:0:0
#18 0x000060cf8670d2fa clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) 
UncountedLambdaCapturesChecker.cpp:0:0
#19 0x000060cf8670cafc clang::RecursiveASTVisitor<(anonymous 
namespace)::UncountedLambdaCapturesChecker::checkASTDecl(clang::TranslationUnitDecl
 const*, clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
const::LocalVisitor>::TraverseDecl(clang::Decl*) 
UncountedLambdaCapturesChecker.cpp:0:0
#20 0x000060cf8670c88f void 
clang::ento::check::ASTDecl<clang::TranslationUnitDecl>::_checkDecl<(anonymous 
namespace)::UncountedLambdaCapturesChecker>(void*, clang::Decl const*, 
clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
UncountedLambdaCapturesChecker.cpp:0:0
#21 0x000060cf867c7922 
clang::ento::CheckerManager::runCheckersOnASTDecl(clang::Decl const*, 
clang::ento::AnalysisManager&, clang::ento::BugReporter&) 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0xa7e2922)
#22 0x000060cf86370963 (anonymous 
namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) 
AnalysisConsumer.cpp:0:0
#23 0x000060cf868cd8a9 clang::ParseAST(clang::Sema&, bool, bool) 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0xa8e88a9)
#24 0x000060cf8502e2ef clang::FrontendAction::Execute() 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0x90492ef)
#25 0x000060cf84fa468d 
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) 
(/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build2_ubsan/bin/clang+0x8fbf68d)

```

</details>

https://github.com/llvm/llvm-project/pull/113845
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to