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

Similar reports
Problem #717114
Component
llvm
Last affected version
0:19.1.0-1.fc41
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2024-11-20
Last occurrence
2024-11-22
Unique reports
2
Quality
-66

Statistics

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

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

History

Daily:

Weekly:

Monthly:

History

Daily:

Weekly:

Monthly:


Backtrace

Frame # Function Binary Source or offset Line
1
clang::ASTNodeKind::getFromNode(clang::Stmt const&)
/lib64/libclang-cpp.so.19.1 0x430354
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
2
bool clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor::match<clang::Expr>(clang::Expr const&)
/lib64/libclang-cpp.so.19.1 0xc418e7
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
3
clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor::TraverseLambdaExpr(clang::LambdaExpr*)
/lib64/libclang-cpp.so.19.1 0xc2d6a2
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc272b2
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc26320
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc40441
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc27b2a
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc1b850
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc1b222
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc18e95
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0x582c4f
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
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 0xc88a12
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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.7395671038597300986]
/lib64/libclang-cpp.so.19.1 0xc8c84f
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc8872d
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0x5992cd
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
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 0xc88a12
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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.7395671038597300986]
/lib64/libclang-cpp.so.19.1 0xc8c829
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc8872d
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc4ec91
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0xc8872d
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
21
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter(clang::DynTypedNode const&)
/lib64/libclang-cpp.so.19.1 0xc4d435
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
22
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*)
/lib64/libclang-cpp.so.19.1 0xc4f262
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
23
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*)
/lib64/libclang-cpp.so.19.1 0xc4f918
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
24
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*)
/lib64/libclang-cpp.so.19.1 0xc4f28e
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
25
clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&)
/lib64/libclang-cpp.so.19.1 0xc18689
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
26
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 0x2f9bf3
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
27
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 0x3a1dc8
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
28
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*)
/usr/bin/clangd 0x3a61ee
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
29
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x39d2d5
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
30
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 0x39b45f
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
31
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x515582
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
32
start_thread
/lib64/libc.so.6 0x70697
Build id: 91788144d53e5cfc0caf97896b43c60e978cffc1
-
33
__clone3
/lib64/libc.so.6 0xf454c
Build id: 91788144d53e5cfc0caf97896b43c60e978cffc1
-