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

Similar reports
Problem #755753
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-12
Last occurrence
2025-06-12
Unique reports
1
Quality
-90

Statistics

Operating system Unique / Total count
Fedora 42 1 / 2
Operating system Count
Fedora 42 2
Architecture Count
x86_64 2
Related packages Count
clang-tools-extra 2
 0:20.1.6-1.fc42 2
libxml2 2
 0:2.12.10-1.fc42 2
xz-libs 2
 1:5.8.1-2.fc42 2
glibc 2
 0:2.41-5.fc42 2

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.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::VisitCXXMethodDecl(clang::CXXMethodDecl*, clang::TemplateParameterList*, clang::TemplateDeclInstantiator::RewriteKind)
/lib64/libclang-cpp.so.20.1 0x1701240
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::AddMethodTemplateCandidate(clang::FunctionTemplateDecl*, clang::DeclAccessPair, clang::CXXRecordDecl*, clang::TemplateArgumentListInfo*, clang::QualType, clang::Expr::Classification, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool, clang::OverloadCandidateParamOrder)
/lib64/libclang-cpp.so.20.1 0x1471b0d
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
11
clang::Sema::AddFunctionCandidates(clang::UnresolvedSetImpl const&, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, clang::TemplateArgumentListInfo*, bool, bool, bool)
/lib64/libclang-cpp.so.20.1 0x14716f6
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
12
clang::SemaCodeCompletion::ProduceCallSignatureHelp(clang::Expr*, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0xf1e4b1
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
13
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e8d1
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
14
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270c2e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
15
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x2722fd
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
16
clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level)
/lib64/libclang-cpp.so.20.1 0x26c1af
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
17
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b6a7
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
18
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27ce1a
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
19
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e657
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
20
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270c2e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
21
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x2722fd
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
22
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b637
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
23
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22fd1e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
24
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22c421
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
25
clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, bool, clang::Parser::ForRangeInit*, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22b55e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
26
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22af20
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
27
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e3832
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
28
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b50
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
29
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee7fe
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
30
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efddc
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
31
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e4c1
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
32
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: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
33
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d263
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
34
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca5d
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
35
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b99e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
36
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309896
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
37
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
38
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x2918fff
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
39
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
-
40
clang::clangd::codeComplete(llvm::StringRef, clang::clangd::Position, clang::clangd::PreambleData const*, clang::clangd::ParseInputs const&, clang::clangd::CodeCompleteOptions, clang::clangd::SpeculativeFuzzyFind*)
/usr/lib64/llvm20/bin/clangd 0x1c0df8
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
41
void llvm::detail::UniqueFunctionBase<void, llvm::Expected<clang::clangd::InputsAndPreamble> >::CallImpl<clang::clangd::ClangdServer::codeComplete(llvm::StringRef, clang::clangd::Position, clang::clangd::CodeCompleteOptions const&, llvm::unique_function<void (llvm::Expected<clang::clangd::CodeCompleteResult>)>)::$_0>(void*, llvm::Expected<clang::clangd::InputsAndPreamble>&)
/usr/lib64/llvm20/bin/clangd 0x1afdbf
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
42
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
-
43
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
-
44
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
45
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-