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

Similar reports
Problem #754486
Component
llvm
Last affected version
0:20.1.6-1.fc42
Executable
/usr/lib64/llvm20/bin/clangd
Error name
SIGILL 4
First occurrence
2025-06-07
Last occurrence
2025-06-27
Unique reports
3
Quality
-108

Statistics

Operating system Unique / Total count
Fedora 42 3 / 23
Operating system Count
Fedora 42 23
Architecture Count
x86_64 23
Related packages Count
clang-tools-extra 23
 0:20.1.6-1.fc42 23

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
(anonymous namespace)::TemplateArgumentHasher::AddTemplateArgument(clang::TemplateArgument) [clone .llvm.10505561000870589736]
/lib64/libclang-cpp.so.20.1 0x274507d
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
2
clang::serialization::StableHashForTemplateArguments(llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x2744bf8
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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 0x260f73d
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
4
non-virtual thunk to clang::ASTReader::LoadExternalSpecializations(clang::Decl const*, llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x260fd34
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
5
clang::FunctionTemplateDecl::findSpecialization(llvm::ArrayRef<clang::TemplateArgument>, void*&)
/lib64/libclang-cpp.so.20.1 0x575127
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
6
clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*, clang::TemplateParameterList*, clang::TemplateDeclInstantiator::RewriteKind)
/lib64/libclang-cpp.so.20.1 0x1703783
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
7
clang::Sema::SubstDecl(clang::Decl*, clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&)
/lib64/libclang-cpp.so.20.1 0x170eb9a
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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 0x15c6ffe
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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 0x15ca39f
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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 0x14721e0
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
11
AddOverloadedCallCandidate(clang::Sema&, clang::DeclAccessPair, clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool) [clone .llvm.13454139794429219088]
/lib64/libclang-cpp.so.20.1 0x1485ffb
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
12
clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool)
/lib64/libclang-cpp.so.20.1 0x1485e84
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
13
clang::SemaCodeCompletion::ProduceCallSignatureHelp(clang::Expr*, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0xf1e236
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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 0x2801ce
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
15
clang::Parser::ParseOptionalCXXScopeSpecifier(clang::CXXScopeSpec&, clang::OpaquePtr<clang::QualType>, bool, bool, bool*, bool, clang::IdentifierInfo const**, bool, bool, bool)
/lib64/libclang-cpp.so.20.1 0x282125
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
16
clang::Parser::TryAnnotateTypeOrScopeToken(clang::ImplicitTypenameContext)
/lib64/libclang-cpp.so.20.1 0x310deb
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
17
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27112d
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
18
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b637
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
19
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27ce1a
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
20
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e657
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
21
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270c2e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
22
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x2722fd
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
23
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b637
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
24
clang::Parser::ParseReturnStatement()
/lib64/libclang-cpp.so.20.1 0x2ebe88
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
25
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e47c5
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
26
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b50
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
27
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee7fe
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
28
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e470b
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
29
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b50
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
30
clang::Parser::ParseIfStatement(clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e7b10
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
31
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e47b5
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
32
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b50
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
33
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee7fe
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
34
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efddc
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
35
clang::Parser::ParseLexedMethodDef(clang::Parser::LexedMethod&)
/lib64/libclang-cpp.so.20.1 0x219289
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
36
clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&)
/lib64/libclang-cpp.so.20.1 0x2179da
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
37
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x25c857
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
38
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x259af9
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
39
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext)
/lib64/libclang-cpp.so.20.1 0x231f28
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
40
clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f88f6
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
41
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f7b21
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
42
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2f72f5
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
43
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22aa3a
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
44
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af11
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
45
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309896
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
46
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
47
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x2918fff
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
48
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: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
49
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: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
50
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: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
51
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: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
52
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.11279049824168003361]
/usr/lib64/llvm20/bin/clangd 0x526d65
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
53
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
54
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-