Crash in (anonymous namespace)::TemplateArgumentHasher::AddTemplateArgument(clang::TemplateArgument) [clone .llvm.16544447137146438006]

Similar reports
Problem #755100
Component
llvm
Last affected version
0:20.1.5-1.fc42
Executable
/usr/lib64/llvm20/bin/clangd
Error name
SIGILL 4
First occurrence
2025-05-29
Last occurrence
2025-06-14
Unique reports
33
Quality
-100

Statistics

Operating system Unique / Total count
Fedora 42 33 / 172
Operating system Count
Fedora 42 172
Architecture Count
x86_64 172
Related packages Count
clang-tools-extra 172
 0:20.1.5-1.fc42 172
libxml2 63
 0:2.12.10-1.fc42 63
glibc 43
 0:2.41-5.fc42 43
Show more… (4)
libstdc++ 42
 0:15.1.1-2.fc42 42
libzstd 39
 0:1.5.7-1.fc42 39
xz-libs 18
 1:5.8.1-2.fc42 18
ncurses-libs 5
 0:6.5-5.20250125.fc42 5

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
(anonymous namespace)::TemplateArgumentHasher::AddTemplateArgument(clang::TemplateArgument) [clone .llvm.16544447137146438006]
/lib64/libclang-cpp.so.20.1 0x274518d
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
2
clang::serialization::StableHashForTemplateArguments(llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x2744d08
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
3
clang::ASTReader::LoadExternalSpecializationsImpl(llvm::DenseMap<clang::Decl const*, clang::serialization::reader::LazySpecializationInfoLookupTable, llvm::DenseMapInfo<clang::Decl const*, void>, llvm::detail::DenseMapPair<clang::Decl const*, clang::serialization::reader::LazySpecializationInfoLookupTable> >&, clang::Decl const*, llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x260f84d
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
4
non-virtual thunk to clang::ASTReader::LoadExternalSpecializations(clang::Decl const*, llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x260fe44
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
5
clang::FunctionTemplateDecl::findSpecialization(llvm::ArrayRef<clang::TemplateArgument>, void*&)
/lib64/libclang-cpp.so.20.1 0x5752a7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
6
clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*, clang::TemplateParameterList*, clang::TemplateDeclInstantiator::RewriteKind)
/lib64/libclang-cpp.so.20.1 0x1703893
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
7
clang::Sema::SubstDecl(clang::Decl*, clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&)
/lib64/libclang-cpp.so.20.1 0x170ecaa
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
8
clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*, llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*, bool, bool, llvm::function_ref<bool ()>)
/lib64/libclang-cpp.so.20.1 0x15c710e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
9
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, bool, bool, bool, clang::QualType, clang::Expr::Classification, llvm::function_ref<bool (llvm::ArrayRef<clang::QualType>)>)
/lib64/libclang-cpp.so.20.1 0x15ca4af
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
10
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*, clang::DeclAccessPair, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool, bool, clang::CallExpr::ADLCallKind, clang::OverloadCandidateParamOrder, bool)
/lib64/libclang-cpp.so.20.1 0x14722f0
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
11
AddOverloadedCallCandidate(clang::Sema&, clang::DeclAccessPair, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool) [clone .llvm.13728872820801972432]
/lib64/libclang-cpp.so.20.1 0x148610b
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
12
clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool)
/lib64/libclang-cpp.so.20.1 0x1485f94
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
13
clang::SemaCodeCompletion::ProduceCallSignatureHelp(clang::Expr*, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0xf1e346
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
14
clang::QualType llvm::function_ref<clang::QualType ()>::callback_fn<clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)::$_0>(long)
/lib64/libclang-cpp.so.20.1 0x28034e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
15
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b707
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
16
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27cf9a
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
17
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e7d7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
18
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270dae
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
19
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27247d
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
20
clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level)
/lib64/libclang-cpp.so.20.1 0x26c32f
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
21
clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level)
/lib64/libclang-cpp.so.20.1 0x26c726
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
22
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b827
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
23
clang::Parser::ParseParenExpression(clang::Parser::ParenParseOption&, bool, bool, clang::OpaquePtr<clang::QualType>&, clang::SourceLocation&)
/lib64/libclang-cpp.so.20.1 0x278298
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
24
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x271fe2
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
25
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b7b7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
26
clang::Parser::ParseBraceInitializer()
/lib64/libclang-cpp.so.20.1 0x2982be
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
27
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27cf83
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
28
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e7d7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
29
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270dae
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
30
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b7b7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
31
clang::Parser::ParseExprStatement(clang::Parser::ParsedStmtContext)
/lib64/libclang-cpp.so.20.1 0x2e607b
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
32
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e36e7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
33
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2cd0
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
34
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee97e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
35
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2eff5c
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
36
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e641
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
37
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22d88d
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
38
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d3e3
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
39
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30cbdd
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
40
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30bb1e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
41
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309a16
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
42
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212e1e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
43
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291910f
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
44
clang::clangd::(anonymous namespace)::semaCodeComplete(std::unique_ptr<clang::CodeCompleteConsumer, std::default_delete<clang::CodeCompleteConsumer> >, clang::CodeCompleteOptions const&, clang::clangd::(anonymous namespace)::SemaCompleteInput const&, clang::clangd::IncludeStructure*)
/usr/lib64/llvm20/bin/clangd 0x1be96d
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
45
clang::clangd::signatureHelp(llvm::StringRef, clang::clangd::Position, clang::clangd::PreambleData const&, clang::clangd::ParseInputs const&, clang::clangd::MarkupKind)
/usr/lib64/llvm20/bin/clangd 0x1c3f49
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
46
void llvm::detail::UniqueFunctionBase<void, llvm::Expected<clang::clangd::InputsAndPreamble> >::CallImpl<clang::clangd::ClangdServer::signatureHelp(llvm::StringRef, clang::clangd::Position, clang::clangd::MarkupKind, llvm::unique_function<void (llvm::Expected<clang::clangd::SignatureHelp>)>)::$_0>(void*, llvm::Expected<clang::clangd::InputsAndPreamble>&)
/usr/lib64/llvm20/bin/clangd 0x1b0ccd
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
47
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::TUScheduler::runWithPreamble(llvm::StringRef, llvm::StringRef, clang::clangd::TUScheduler::PreambleConsistency, llvm::unique_function<void (llvm::Expected<clang::clangd::InputsAndPreamble>)>)::$_0>(void*)
/usr/lib64/llvm20/bin/clangd 0x3b7e21
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
48
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.6222812341794865012]
/usr/lib64/llvm20/bin/clangd 0x526d65
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
49
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
50
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-