[clang] [WIP][analyzer] Use canonical step identification in conjureSymbol (PR #239219)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 06:52:49 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 63912 tests passed
* 839 tests skipped
* 6 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Analysis/loop-widening-notes.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening-notes.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening-notes.cpp
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:561: const SymbolConjured *clang::ento::SymbolManager::conjureSymbol(ConstCFGElementRef, const StackFrame *, QualType, unsigned int, const void *): Assertion `Elem == CurrStep.getCFGElementRef()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening-notes.cpp
# | 1. <eof> parser at end of file
# | 2. While analyzing stack:
# | #0 Calling test_for_range_loop()
# | #0 0x000000000a5143bb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000a511251 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a514dfb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000000000a514c68 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #4 0x00007c5cf0b9ecb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# | #5 0x00007c5cf0bff1ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# | #6 0x00007c5cf0b9eb7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# | #7 0x00007c5cf0b818ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# | #8 0x00007c5cf0b82979 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29979)
# | #9 0x00007c5cf0b94f75 __assert_fail (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3bf75)
# | #10 0x000000000dd68ee4 clang::ento::SymbolManager::conjureSymbol(clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int, void const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:562:5
# | #11 0x000000000e0c4a43 getTypePtr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8579:26
# | #12 0x000000000e0c4a43 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:998:12
# | #13 0x000000000e0c4a43 isLocType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:269:12
# | #14 0x000000000e0c4a43 clang::ento::SValBuilder::conjureSymbolVal(void const*, clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:187:7
# | #15 0x000000000e09be86 VisitCluster /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1395:19
# | #16 0x000000000e09be86 RunWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:936:36
# | #17 0x000000000e09be86 (anonymous namespace)::RegionStoreManager::invalidateRegions(void const*, llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, clang::ento::CallEvent const*, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>&, clang::ento::RegionAndSymbolInvalidationTraits&, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1491:5
# | #18 0x000000000e067c6d clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:0:44
# | #19 0x000000000e067ab1 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::MemRegion const*>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:154:10
# | #20 0x000000000e04fdf7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:278:45
# | #21 0x000000000e04fdf7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1267:31
# | #22 0x000000000e04fdf7 clang::ento::getWidenedLoopState(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::StackFrame const*, unsigned int, clang::CFGBlock::ElementRefImpl<true>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:77:1
# | #23 0x000000000e013495 release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #24 0x000000000e013495 ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #25 0x000000000e013495 clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2476:36
# | #26 0x000000000dfeafcc ProgramPoint /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:120:9
# | #27 0x000000000dfeafcc BlockEntrance /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:224:9
# | #28 0x000000000dfeafcc clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:328:17
# | #29 0x000000000dfeac19 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:0:7
# | #30 0x000000000dfea96b _M_ptr /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:192:51
# | #31 0x000000000dfea96b get /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:472:21
# | #32 0x000000000dfea96b operator-> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:465:9
# | #33 0x000000000dfea96b clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
# | #34 0x000000000dfea37a clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:29
# | #35 0x000000000dcfcc7f release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #36 0x000000000dcfcc7f ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #37 0x000000000dcfcc7f ExecuteWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:188:5
# | #38 0x000000000dcfcc7f RunPathSensitiveChecks /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:810:7
# | #39 0x000000000dcfcc7f (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:763:5
# | #40 0x000000000dcfae6d empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:716:61
# | #41 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:684:32
# | #42 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:164:59
# | #43 0x000000000dcfae6d HandleDeclsCallGraph /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:532:29
# | #44 0x000000000dcfae6d runAnalysisOnTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:600:5
# | #45 0x000000000dcfae6d (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:662:3
# | #46 0x000000000e175119 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
# | #47 0x000000000b450cf6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1381:10
# | #48 0x000000000b3c36b9 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #49 0x000000000b3c36b9 operator boo
# | ...
# `---data was truncated (10240/12242) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.Analysis/loop-widening-preserve-reference-type.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening-preserve-reference-type.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening-preserve-reference-type.cpp
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:561: const SymbolConjured *clang::ento::SymbolManager::conjureSymbol(ConstCFGElementRef, const StackFrame *, QualType, unsigned int, const void *): Assertion `Elem == CurrStep.getCFGElementRef()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening-preserve-reference-type.cpp
# | 1. <eof> parser at end of file
# | 2. While analyzing stack:
# | #0 Calling invalid_type_alias_region_access()
# | #0 0x000000000a5143bb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000a511251 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a514dfb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000000000a514c68 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #4 0x00007f25e2894cb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# | #5 0x00007f25e28f51ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# | #6 0x00007f25e2894b7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# | #7 0x00007f25e28778ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# | #8 0x00007f25e2878979 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29979)
# | #9 0x00007f25e288af75 __assert_fail (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3bf75)
# | #10 0x000000000dd68ee4 clang::ento::SymbolManager::conjureSymbol(clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int, void const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:562:5
# | #11 0x000000000e0c4a43 getTypePtr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8579:26
# | #12 0x000000000e0c4a43 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:998:12
# | #13 0x000000000e0c4a43 isLocType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:269:12
# | #14 0x000000000e0c4a43 clang::ento::SValBuilder::conjureSymbolVal(void const*, clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:187:7
# | #15 0x000000000e09be86 VisitCluster /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1395:19
# | #16 0x000000000e09be86 RunWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:936:36
# | #17 0x000000000e09be86 (anonymous namespace)::RegionStoreManager::invalidateRegions(void const*, llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, clang::ento::CallEvent const*, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>&, clang::ento::RegionAndSymbolInvalidationTraits&, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1491:5
# | #18 0x000000000e067c6d clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:0:44
# | #19 0x000000000e067ab1 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::MemRegion const*>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:154:10
# | #20 0x000000000e04fdf7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:278:45
# | #21 0x000000000e04fdf7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1267:31
# | #22 0x000000000e04fdf7 clang::ento::getWidenedLoopState(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::StackFrame const*, unsigned int, clang::CFGBlock::ElementRefImpl<true>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:77:1
# | #23 0x000000000e013495 release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #24 0x000000000e013495 ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #25 0x000000000e013495 clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2476:36
# | #26 0x000000000dfeafcc ProgramPoint /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:120:9
# | #27 0x000000000dfeafcc BlockEntrance /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:224:9
# | #28 0x000000000dfeafcc clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:328:17
# | #29 0x000000000dfeac19 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:0:7
# | #30 0x000000000dfea96b _M_ptr /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:192:51
# | #31 0x000000000dfea96b get /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:472:21
# | #32 0x000000000dfea96b operator-> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:465:9
# | #33 0x000000000dfea96b clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
# | #34 0x000000000dfea37a clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:29
# | #35 0x000000000dcfcc7f release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #36 0x000000000dcfcc7f ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #37 0x000000000dcfcc7f ExecuteWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:188:5
# | #38 0x000000000dcfcc7f RunPathSensitiveChecks /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:810:7
# | #39 0x000000000dcfcc7f (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:763:5
# | #40 0x000000000dcfae6d empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:716:61
# | #41 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:684:32
# | #42 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:164:59
# | #43 0x000000000dcfae6d HandleDeclsCallGraph /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:532:29
# | #44 0x000000000dcfae6d runAnalysisOnTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:600:5
# | #45 0x000000000dcfae6d (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:662:3
# | #46 0x000000000e175119 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
# | #47 0x000000000b450cf6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1381:10
# | #48 0x000000000b3c36b9 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #49 0x000000000b3c36b9 operator bool /home
# | ...
# `---data was truncated (10240/12235) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.Analysis/loop-widening.c</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening.c
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:561: const SymbolConjured *clang::ento::SymbolManager::conjureSymbol(ConstCFGElementRef, const StackFrame *, QualType, unsigned int, const void *): Assertion `Elem == CurrStep.getCFGElementRef()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening.c
# | 1. <eof> parser at end of file
# | 2. While analyzing stack:
# | #0 Calling nested_loop_inner_widen
# | #0 0x000000000a5143bb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000a511251 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a514dfb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000000000a514c68 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #4 0x00007d2be2b3bcb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# | #5 0x00007d2be2b9c1ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# | #6 0x00007d2be2b3bb7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# | #7 0x00007d2be2b1e8ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# | #8 0x00007d2be2b1f979 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29979)
# | #9 0x00007d2be2b31f75 __assert_fail (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3bf75)
# | #10 0x000000000dd68ee4 clang::ento::SymbolManager::conjureSymbol(clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int, void const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:562:5
# | #11 0x000000000e0c4a43 getTypePtr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8579:26
# | #12 0x000000000e0c4a43 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:998:12
# | #13 0x000000000e0c4a43 isLocType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:269:12
# | #14 0x000000000e0c4a43 clang::ento::SValBuilder::conjureSymbolVal(void const*, clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:187:7
# | #15 0x000000000e09be86 VisitCluster /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1395:19
# | #16 0x000000000e09be86 RunWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:936:36
# | #17 0x000000000e09be86 (anonymous namespace)::RegionStoreManager::invalidateRegions(void const*, llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, clang::ento::CallEvent const*, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>&, clang::ento::RegionAndSymbolInvalidationTraits&, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1491:5
# | #18 0x000000000e067c6d clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:0:44
# | #19 0x000000000e067ab1 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::MemRegion const*>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:154:10
# | #20 0x000000000e04fdf7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:278:45
# | #21 0x000000000e04fdf7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1267:31
# | #22 0x000000000e04fdf7 clang::ento::getWidenedLoopState(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::StackFrame const*, unsigned int, clang::CFGBlock::ElementRefImpl<true>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:77:1
# | #23 0x000000000e013495 release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #24 0x000000000e013495 ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #25 0x000000000e013495 clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2476:36
# | #26 0x000000000dfeafcc ProgramPoint /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:120:9
# | #27 0x000000000dfeafcc BlockEntrance /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:224:9
# | #28 0x000000000dfeafcc clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:328:17
# | #29 0x000000000dfeac19 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:0:7
# | #30 0x000000000dfea96b _M_ptr /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:192:51
# | #31 0x000000000dfea96b get /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:472:21
# | #32 0x000000000dfea96b operator-> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:465:9
# | #33 0x000000000dfea96b clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
# | #34 0x000000000dfea37a clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:29
# | #35 0x000000000dcfcc7f release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #36 0x000000000dcfcc7f ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #37 0x000000000dcfcc7f ExecuteWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:188:5
# | #38 0x000000000dcfcc7f RunPathSensitiveChecks /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:810:7
# | #39 0x000000000dcfcc7f (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:763:5
# | #40 0x000000000dcfae6d empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:716:61
# | #41 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:684:32
# | #42 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:164:59
# | #43 0x000000000dcfae6d HandleDeclsCallGraph /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:532:29
# | #44 0x000000000dcfae6d runAnalysisOnTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:600:5
# | #45 0x000000000dcfae6d (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:662:3
# | #46 0x000000000e175119 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
# | #47 0x000000000b450cf6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1381:10
# | #48 0x000000000b3c36b9 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #49 0x000000000b3c36b9 operator bool /hom
# | ...
# `---data was truncated (10240/12236) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.Analysis/loop-widening.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:561: const SymbolConjured *clang::ento::SymbolManager::conjureSymbol(ConstCFGElementRef, const StackFrame *, QualType, unsigned int, const void *): Assertion `Elem == CurrStep.getCFGElementRef()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text
# | 1. <eof> parser at end of file
# | 2. While analyzing stack:
# | #0 Calling pr43102::fn1()
# | #0 0x000000000a5143bb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000a511251 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a514dfb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000000000a514c68 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #4 0x00007db1a6f5dcb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# | #5 0x00007db1a6fbe1ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# | #6 0x00007db1a6f5db7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# | #7 0x00007db1a6f408ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# | #8 0x00007db1a6f41979 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29979)
# | #9 0x00007db1a6f53f75 __assert_fail (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3bf75)
# | #10 0x000000000dd68ee4 clang::ento::SymbolManager::conjureSymbol(clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int, void const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:562:5
# | #11 0x000000000e0c4a43 getTypePtr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8579:26
# | #12 0x000000000e0c4a43 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:998:12
# | #13 0x000000000e0c4a43 isLocType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:269:12
# | #14 0x000000000e0c4a43 clang::ento::SValBuilder::conjureSymbolVal(void const*, clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:187:7
# | #15 0x000000000e09be86 VisitCluster /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1395:19
# | #16 0x000000000e09be86 RunWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:936:36
# | #17 0x000000000e09be86 (anonymous namespace)::RegionStoreManager::invalidateRegions(void const*, llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, clang::ento::CallEvent const*, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>&, clang::ento::RegionAndSymbolInvalidationTraits&, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1491:5
# | #18 0x000000000e067c6d clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:0:44
# | #19 0x000000000e067ab1 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::MemRegion const*>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:154:10
# | #20 0x000000000e04fdf7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:278:45
# | #21 0x000000000e04fdf7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1267:31
# | #22 0x000000000e04fdf7 clang::ento::getWidenedLoopState(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::StackFrame const*, unsigned int, clang::CFGBlock::ElementRefImpl<true>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:77:1
# | #23 0x000000000e013495 release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #24 0x000000000e013495 ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #25 0x000000000e013495 clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2476:36
# | #26 0x000000000dfeafcc ProgramPoint /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:120:9
# | #27 0x000000000dfeafcc BlockEntrance /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:224:9
# | #28 0x000000000dfeafcc clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:328:17
# | #29 0x000000000dfeac19 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:0:7
# | #30 0x000000000dfea96b _M_ptr /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:192:51
# | #31 0x000000000dfea96b get /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:472:21
# | #32 0x000000000dfea96b operator-> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:465:9
# | #33 0x000000000dfea96b clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
# | #34 0x000000000dfea37a clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:29
# | #35 0x000000000dcfcc7f release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #36 0x000000000dcfcc7f ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #37 0x000000000dcfcc7f ExecuteWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:188:5
# | #38 0x000000000dcfcc7f RunPathSensitiveChecks /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:810:7
# | #39 0x000000000dcfcc7f (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:763:5
# | #40 0x000000000dcfae6d empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:716:61
# | #41 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:684:32
# | #42 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:164:59
# | #43 0x000000000dcfae6d HandleDeclsCallGraph /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:532:29
# | #44 0x000000000dcfae6d runAnalysisOnTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:600:5
# | #45 0x000000000dcfae6d (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:662:3
# | #46 0x000000000e175119 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
# | #47 0x000000000b450cf6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1381:10
# | #48 0x000000000b3c36b9 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #49 0x000000000b3c36b9 operator bool /home/gha/actions-ru
# | ...
# `---data was truncated (10240/12220) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.Analysis/temporaries.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:562: const SymbolConjured *clang::ento::SymbolManager::conjureSymbol(ConstCFGElementRef, const StackFrame *, QualType, unsigned int, const void *): Assertion `SF == CurrStep.getCurrStackFrame()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false
# | 1. <eof> parser at end of file
# | 2. While analyzing stack:
# | #0 Calling return_from_top_frame::foo() at line 1223
# | #1 Calling return_from_top_frame::bar3(int)
# | 3. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/temporaries.cpp:1211:10: Error evaluating statement
# | 4. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/temporaries.cpp:1211:10: Error evaluating statement
# | #0 0x000000000a5143bb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000a511251 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a514dfb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000000000a514c68 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #4 0x0000799716227cb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# | #5 0x00007997162881ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# | #6 0x0000799716227b7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# | #7 0x000079971620a8ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# | #8 0x000079971620b979 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29979)
# | #9 0x000079971621df75 __assert_fail (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3bf75)
# | #10 0x000000000dd68f03 clang::ento::SymbolManager::conjureSymbol(clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int, void const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:563:5
# | #11 0x000000000e0c4a43 getTypePtr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8579:26
# | #12 0x000000000e0c4a43 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:998:12
# | #13 0x000000000e0c4a43 isLocType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:269:12
# | #14 0x000000000e0c4a43 clang::ento::SValBuilder::conjureSymbolVal(void const*, clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:187:7
# | #15 0x000000000e02a6ea clang::ento::ExprEngine::computeObjectUnderConstruction(clang::Expr const*, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, unsigned int, clang::StackFrame const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:0:20
# | #16 0x000000000e02a4ac clang::ento::ExprEngine::computeObjectUnderConstruction(clang::Expr const*, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, unsigned int, clang::StackFrame const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:257:16
# | #17 0x000000000e02a4ac clang::ento::ExprEngine::computeObjectUnderConstruction(clang::Expr const*, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, unsigned int, clang::StackFrame const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:257:16
# | #18 0x000000000e02a22a clang::ento::ExprEngine::computeObjectUnderConstruction(clang::Expr const*, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, unsigned int, clang::StackFrame const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:217:16
# | #19 0x000000000e02d539 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::StackFrame const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:800:14
# | #20 0x000000000e02cfd8 IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:183:54
# | #21 0x000000000e02cfd8 operator=<llvm::IntrusiveRefCntPtr<const clang::ento::ProgramState>, clang::ento::SVal> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/tuple:2388:27
# | #22 0x000000000e02cfd8 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:601:29
# | #23 0x000000000e00c59c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:0:7
# | #24 0x000000000e009a97 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
# | #25 0x000000000e009a97 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SetVector.h:100:53
# | #26 0x000000000e009a97 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:462:39
# | #27 0x000000000e009a97 insert /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:475:9
# | #28 0x000000000e009a97 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1275:13
# | #29 0x000000000dfeada7 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:0:7
# | #30 0x000000000dfea96b _M_ptr /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:192:51
# | #31 0x000000000dfea96b get /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:472:21
# | #32 0x000000000dfea96b operator-> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:465:9
# | #33 0x000000000dfea96b clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
# | #34 0x000000000dfea37a clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:29
# | #35 0x000000000dcfcc7f release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #36 0x000000000dcfcc7f ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #37 0x000000000dcfcc7f ExecuteWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:188:5
# | #38 0x000000000dcfcc7f RunPathSensitiveChecks /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:810:7
# | #39 0x000000000dcfcc7f (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:763:5
# | #40 0x000000000dcfae6d empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:716:61
# | #41 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:684:32
# | #42 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:164:59
# | #43 0x000000000dcfae6d HandleDeclsCallGraph /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:532:29
# | #44 0x000000000dcfae6d runAnalysisOnTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:600:5
# | #45 0x000000000dcfae6d (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:662:3
# | #46 0x000000000e175119 clang::ParseA
# | ...
# `---data was truncated (10240/12684) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
--
```
</details>
<details>
<summary>Clang.Analysis/this-pointer.cpp</summary>
```
Exit Code: -6
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/this-pointer.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/this-pointer.cpp
# .---command stderr------------
# | clang: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:561: const SymbolConjured *clang::ento::SymbolManager::conjureSymbol(ConstCFGElementRef, const StackFrame *, QualType, unsigned int, const void *): Assertion `Elem == CurrStep.getCFGElementRef()' failed.
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/24/include -nostdsysteminc -analyze -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Analysis/this-pointer.cpp
# | 1. <eof> parser at end of file
# | 2. While analyzing stack:
# | #0 Calling this_pointer_after_loop_widen::E::set() at line 85
# | #1 Calling this_pointer_after_loop_widen::test_chained_method_call()
# | #0 0x000000000a5143bb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:931:13
# | #1 0x000000000a511251 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x000000000a514dfb SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:474:38
# | #3 0x000000000a514c68 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
# | #4 0x00007e3bc9368cb0 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45cb0)
# | #5 0x00007e3bc93c91ac pthread_kill (/usr/lib/x86_64-linux-gnu/libc.so.6+0xa61ac)
# | #6 0x00007e3bc9368b7e raise (/usr/lib/x86_64-linux-gnu/libc.so.6+0x45b7e)
# | #7 0x00007e3bc934b8ec abort (/usr/lib/x86_64-linux-gnu/libc.so.6+0x288ec)
# | #8 0x00007e3bc934c979 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x29979)
# | #9 0x00007e3bc935ef75 __assert_fail (/usr/lib/x86_64-linux-gnu/libc.so.6+0x3bf75)
# | #10 0x000000000dd68ee4 clang::ento::SymbolManager::conjureSymbol(clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int, void const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:562:5
# | #11 0x000000000e0c4a43 getTypePtr /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8579:26
# | #12 0x000000000e0c4a43 operator-> /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:998:12
# | #13 0x000000000e0c4a43 isLocType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:269:12
# | #14 0x000000000e0c4a43 clang::ento::SValBuilder::conjureSymbolVal(void const*, clang::CFGBlock::ElementRefImpl<true>, clang::StackFrame const*, clang::QualType, unsigned int) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:187:7
# | #15 0x000000000e09be86 VisitCluster /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1395:19
# | #16 0x000000000e09be86 RunWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:936:36
# | #17 0x000000000e09be86 (anonymous namespace)::RegionStoreManager::invalidateRegions(void const*, llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, clang::ento::CallEvent const*, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>&, clang::ento::RegionAndSymbolInvalidationTraits&, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*, llvm::SmallVector<clang::ento::MemRegion const*, 8u>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:1491:5
# | #18 0x000000000e067c6d clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::SVal>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:0:44
# | #19 0x000000000e067ab1 clang::ento::ProgramState::invalidateRegions(llvm::ArrayRef<clang::ento::MemRegion const*>, clang::CFGBlock::ElementRefImpl<true>, unsigned int, clang::StackFrame const*, bool, llvm::DenseSet<clang::ento::SymExpr const*, llvm::DenseMapInfo<clang::ento::SymExpr const*, void>>*, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:154:10
# | #20 0x000000000e04fdf7 begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:278:45
# | #21 0x000000000e04fdf7 ~SmallVector /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:1267:31
# | #22 0x000000000e04fdf7 clang::ento::getWidenedLoopState(llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>, clang::StackFrame const*, unsigned int, clang::CFGBlock::ElementRefImpl<true>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:77:1
# | #23 0x000000000e013495 release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #24 0x000000000e013495 ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #25 0x000000000e013495 clang::ento::ExprEngine::processCFGBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2476:36
# | #26 0x000000000dfeafcc ProgramPoint /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:120:9
# | #27 0x000000000dfeafcc BlockEntrance /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Analysis/ProgramPoint.h:224:9
# | #28 0x000000000dfeafcc clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:328:17
# | #29 0x000000000dfeac19 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:0:7
# | #30 0x000000000dfea96b _M_ptr /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:192:51
# | #31 0x000000000dfea96b get /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:472:21
# | #32 0x000000000dfea96b operator-> /usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/unique_ptr.h:465:9
# | #33 0x000000000dfea96b clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>)::$_0::operator()(unsigned int) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:12
# | #34 0x000000000dfea37a clang::ento::CoreEngine::ExecuteWorkList(clang::StackFrame const*, unsigned int, llvm::IntrusiveRefCntPtr<clang::ento::ProgramState const>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:29
# | #35 0x000000000dcfcc7f release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:9
# | #36 0x000000000dcfcc7f ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:197:27
# | #37 0x000000000dcfcc7f ExecuteWorkList /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:188:5
# | #38 0x000000000dcfcc7f RunPathSensitiveChecks /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:810:7
# | #39 0x000000000dcfcc7f (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet<clang::Decl const*, llvm::DenseMapInfo<clang::Decl const*, void>>*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:763:5
# | #40 0x000000000dcfae6d empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:716:61
# | #41 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseMap.h:684:32
# | #42 0x000000000dcfae6d begin /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/DenseSet.h:164:59
# | #43 0x000000000dcfae6d HandleDeclsCallGraph /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:532:29
# | #44 0x000000000dcfae6d runAnalysisOnTranslationUnit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:600:5
# | #45 0x000000000dcfae6d (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:662:3
# | #46 0x000000000e175119 clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:0:13
# | #47 0x000000000b450cf6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1381:10
# | #48 0x000000000b3c36b9 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Sup
# | ...
# `---data was truncated (10240/12297) (change limit with -D output_limit=N)
# error: command failed with exit status: -6
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/239219
More information about the cfe-commits
mailing list