Crash in clang::ASTNodeKind::getFromNode(clang::Stmt const&)

Similar reports
Problem #717114
Component
llvm
Last affected version
0:19.1.7-3.fc41
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-06-22
Last occurrence
2025-08-25
Unique reports
2
Quality
-70

Statistics

Operating system Unique / Total count
Fedora 41 2 / 3
Operating system Count
Fedora 41 3
Architecture Count
x86_64 3
Related packages Count
clang-tools-extra 3
 0:19.1.7-3.fc41 3

Packages names with count less than the total count of reports are most probably not the cause of the problem.

History

Daily:

Weekly:

Monthly:

No reports in the last 20 days.

No reports in the last 20 weeks.

History

Daily:

Weekly:

Monthly:

No reports in the last 20 days.

No reports in the last 20 weeks.


Backtrace

Frame # Function Binary Source or offset Line
1
clang::ASTNodeKind::getFromNode(clang::Stmt const&)
/lib64/libclang-cpp.so.19.1 0x431ae4
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
2
bool clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor::match<clang::Expr>(clang::Expr const&)
/lib64/libclang-cpp.so.19.1 0xc45bf7
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
3
clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor::TraverseLambdaExpr(clang::LambdaExpr*)
/lib64/libclang-cpp.so.19.1 0xc30de2
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
4
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor>::TraverseStmt(clang::Stmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*> > > >*)
/lib64/libclang-cpp.so.19.1 0xc2a6a2
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
5
clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor::TraverseStmt(clang::Stmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*> > > >*)
/lib64/libclang-cpp.so.19.1 0xc29710
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
6
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor>::TraverseCompoundStmt(clang::CompoundStmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*> > > >*)
/lib64/libclang-cpp.so.19.1 0xc44651
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
7
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor>::TraverseStmt(clang::Stmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*> > > >*)
/lib64/libclang-cpp.so.19.1 0xc2af1a
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
8
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchesRecursively(clang::DynTypedNode const&, clang::ast_matchers::internal::DynTypedMatcher const&, clang::ast_matchers::internal::BoundNodesTreeBuilder*, int, clang::ast_matchers::internal::ASTMatchFinder::BindKind)
/lib64/libclang-cpp.so.19.1 0xc1ec30
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
9
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::memoizedMatchesRecursively(clang::DynTypedNode const&, clang::ASTContext&, clang::ast_matchers::internal::DynTypedMatcher const&, clang::ast_matchers::internal::BoundNodesTreeBuilder*, int, clang::ast_matchers::internal::ASTMatchFinder::BindKind)
/lib64/libclang-cpp.so.19.1 0xc1e602
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
10
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchesDescendantOf(clang::DynTypedNode const&, clang::ASTContext&, clang::ast_matchers::internal::DynTypedMatcher const&, clang::ast_matchers::internal::BoundNodesTreeBuilder*, clang::ast_matchers::internal::ASTMatchFinder::BindKind)
/lib64/libclang-cpp.so.19.1 0xc1c275
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
11
clang::ast_matchers::internal::HasDescendantMatcher<clang::Stmt, clang::Stmt>::matches(clang::Stmt const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/usr/bin/clangd 0x582d5f
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
12
clang::ast_matchers::internal::DynTypedMatcher::matchesNoKindCheck(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/lib64/libclang-cpp.so.19.1 0xc8dcc2
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
13
clang::ast_matchers::internal::(anonymous namespace)::VariadicMatcher<&clang::ast_matchers::internal::allOfVariadicOperator>::dynMatches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [clone .llvm.15582872747882768683]
/lib64/libclang-cpp.so.19.1 0xc91aff
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
14
clang::ast_matchers::internal::DynTypedMatcher::matches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/lib64/libclang-cpp.so.19.1 0xc8d9dd
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
15
clang::ast_matchers::internal::matcher_hasBody0Matcher<clang::FunctionDecl, clang::ast_matchers::internal::Matcher<clang::Stmt> >::matches(clang::FunctionDecl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/usr/bin/clangd 0x59945c
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
16
clang::ast_matchers::internal::DynTypedMatcher::matchesNoKindCheck(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/lib64/libclang-cpp.so.19.1 0xc8dcc2
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
17
clang::ast_matchers::internal::(anonymous namespace)::VariadicMatcher<&clang::ast_matchers::internal::allOfVariadicOperator>::dynMatches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [clone .llvm.15582872747882768683]
/lib64/libclang-cpp.so.19.1 0xc91ad9
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
18
clang::ast_matchers::internal::DynTypedMatcher::matches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/lib64/libclang-cpp.so.19.1 0xc8d9dd
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
19
clang::ast_matchers::internal::TraversalMatcher<clang::Decl>::matches(clang::Decl const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/lib64/libclang-cpp.so.19.1 0xc52fb1
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
20
clang::ast_matchers::internal::DynTypedMatcher::matches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
/lib64/libclang-cpp.so.19.1 0xc8d9dd
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
21
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter(clang::DynTypedNode const&)
/lib64/libclang-cpp.so.19.1 0xc51755
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
22
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*)
/lib64/libclang-cpp.so.19.1 0xc53582
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
23
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseNamespaceDecl(clang::NamespaceDecl*)
/lib64/libclang-cpp.so.19.1 0xc55c3b
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
24
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*)
/lib64/libclang-cpp.so.19.1 0xc5391e
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
25
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*)
/lib64/libclang-cpp.so.19.1 0xc53c38
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
26
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*)
/lib64/libclang-cpp.so.19.1 0xc535ae
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
27
clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&)
/lib64/libclang-cpp.so.19.1 0xc1ba69
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
28
clang::clangd::ParsedAST::build(llvm::StringRef, clang::clangd::ParseInputs const&, std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, llvm::ArrayRef<clang::clangd::Diag>, std::shared_ptr<clang::clangd::PreambleData const>)
/usr/bin/clangd 0x2f9c43
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
29
clang::clangd::(anonymous namespace)::ASTWorker::generateDiagnostics(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, clang::clangd::ParseInputs, std::vector<clang::clangd::Diag, std::allocator<clang::clangd::Diag> >)
/usr/bin/clangd 0x3a1e98
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
30
clang::clangd::(anonymous namespace)::ASTWorker::updatePreamble(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, clang::clangd::ParseInputs, std::shared_ptr<clang::clangd::PreambleData const>, std::vector<clang::clangd::Diag, std::allocator<clang::clangd::Diag> >, clang::clangd::WantDiagnostics)::$_0::operator()()
/usr/bin/clangd 0x3a18cd
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
31
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x39d3a5
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
32
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::create(llvm::StringRef, clang::clangd::GlobalCompilationDatabase const&, clang::clangd::TUScheduler::ASTCache&, clang::clangd::TUScheduler::HeaderIncluderCache&, clang::clangd::AsyncTaskRunner*, clang::clangd::Semaphore&, clang::clangd::TUScheduler::Options const&, clang::clangd::ParsingCallbacks&)::$_0>(void*)
/usr/bin/clangd 0x39b52f
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
33
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x515692
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
34
start_thread
/lib64/libc.so.6 0x70fa8
Build id: b840d32d15506ed2f29610c7f512d9084f2d7d69
-
35
__clone3
/lib64/libc.so.6 0xf4fcc
Build id: b840d32d15506ed2f29610c7f512d9084f2d7d69
-