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

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

Statistics

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

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.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::VisitCXXMethodDecl(clang::CXXMethodDecl*, clang::TemplateParameterList*, clang::TemplateDeclInstantiator::RewriteKind)
/lib64/libclang-cpp.so.20.1 0x1701350
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
clang::SemaCodeCompletion::ProduceConstructorSignatureHelp(clang::QualType, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, bool)
/lib64/libclang-cpp.so.20.1 0xf1fde3
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
12
clang::QualType llvm::function_ref<clang::QualType ()>::callback_fn<clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation)::$_0>(long)
/lib64/libclang-cpp.so.20.1 0x294690
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
13
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b707
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
14
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27cf9a
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
15
clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x28ebe6
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
16
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x2715f5
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
17
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b7b7
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
18
clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level)
/lib64/libclang-cpp.so.20.1 0x26c2f8
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
19
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b827
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
20
clang::Parser::ParseExprStatement(clang::Parser::ParsedStmtContext)
/lib64/libclang-cpp.so.20.1 0x2e607b
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
21
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
-
22
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2cd0
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
23
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee97e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
24
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e488b
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
25
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2cd0
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
26
clang::Parser::ParseIfStatement(clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e7c90
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
27
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e4935
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
28
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2cd0
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
29
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee97e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
30
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2eff5c
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
31
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e641
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
32
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
-
33
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d3e3
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
34
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30cbdd
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
35
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30bb1e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
36
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309a16
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
37
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212e1e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
38
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291910f
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
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: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
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: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
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: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
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: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
43
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
-
44
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
45
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-