Crash in addAssociatedClassesAndNamespaces((anonymous namespace)::AssociatedLookup&, clang::QualType)

Similar reports
Problem #766306
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-07-22
Last occurrence
2026-05-11
Unique reports
7
Quality
-66

Statistics

Operating system Unique / Total count
Fedora 42 7 / 31
Operating system Count
Fedora 42 31
Architecture Count
x86_64 31
Related packages Count
clang-tools-extra 31
 0:20.1.8-1.fc42 26
 0:20.1.8-4.fc42 5
glibc 1
 0:2.41-11.fc42 1
xz-libs 1
 1:5.8.1-2.fc42 1
Show more… (2)
libxml2 1
 0:2.12.10-1.fc42 1
libstdc++ 1
 0:15.2.1-1.fc42 1

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
addAssociatedClassesAndNamespaces((anonymous namespace)::AssociatedLookup&, clang::QualType)
/lib64/libclang-cpp.so.20.1 0x130ce57
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
2
clang::Sema::FindAssociatedClassesAndNamespaces(clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, llvm::SmallSetVector<clang::DeclContext*, 16u>&, llvm::SmallSetVector<clang::CXXRecordDecl*, 16u>&)
/lib64/libclang-cpp.so.20.1 0x130c392
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
3
clang::Sema::ArgumentDependentLookup(clang::DeclarationName, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::ADLResult&)
/lib64/libclang-cpp.so.20.1 0x130fb47
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
4
clang::Sema::AddArgumentDependentLookupCandidates(clang::DeclarationName, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::TemplateArgumentListInfo*, clang::OverloadCandidateSet&, bool)
/lib64/libclang-cpp.so.20.1 0x147a00b
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
5
clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool)
/lib64/libclang-cpp.so.20.1 0x1485f05
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
6
clang::Sema::buildOverloadedCallSet(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::OverloadCandidateSet*, clang::ActionResult<clang::Expr*, true>*)
/lib64/libclang-cpp.so.20.1 0x1486260
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
7
clang::Sema::BuildOverloadedCallExpr(clang::Scope*, clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool)
/lib64/libclang-cpp.so.20.1 0x14866f3
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
8
clang::Sema::BuildCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool, bool)
/lib64/libclang-cpp.so.20.1 0x10e6f10
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
9
clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*)
/lib64/libclang-cpp.so.20.1 0x11012e3
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
10
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e724
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
11
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270c2e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
12
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b637
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
13
clang::Parser::ParseExprStatement(clang::Parser::ParsedStmtContext)
/lib64/libclang-cpp.so.20.1 0x2e5efb
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
14
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e3567
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
15
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b50
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
16
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee7fe
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
17
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efddc
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
18
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e4c1
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
19
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22d70d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
20
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d263
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
21
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca5d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
22
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b99e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
23
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309896
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
24
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
25
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291907f
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
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 0x30663b
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
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 0x3b1983
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
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 0x3b5c48
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
29
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3acef7
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
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 0x3aaaca
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
31
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.8523735750727913297]
/usr/bin/clangd 0x527115
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
32
start_thread
/lib64/libc.so.6 0x711d4
Build id: c4b06a608071b2c9852fae62ca3b69cdc22cd022
-
33
__clone3
/lib64/libc.so.6 0xf3cec
Build id: c4b06a608071b2c9852fae62ca3b69cdc22cd022
-