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

Similar reports
Problem #754511
Component
llvm
Last affected version
0:20.1.3-1.fc42
Executable
/usr/lib64/llvm20/bin/clangd
Error name
SIGILL 4
First occurrence
2025-06-03
Last occurrence
2025-06-14
Unique reports
1
Quality
-84

Statistics

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

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.9028044351332138527]
/lib64/libclang-cpp.so.20.1 0x27424cd
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
2
clang::serialization::StableHashForTemplateArguments(llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x2742048
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
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 0x260cb8d
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
4
non-virtual thunk to clang::ASTReader::LoadExternalSpecializations(clang::Decl const*, llvm::ArrayRef<clang::TemplateArgument>)
/lib64/libclang-cpp.so.20.1 0x260d184
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
5
clang::FunctionTemplateDecl::findSpecialization(llvm::ArrayRef<clang::TemplateArgument>, void*&)
/lib64/libclang-cpp.so.20.1 0x575237
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
6
clang::TemplateDeclInstantiator::VisitCXXMethodDecl(clang::CXXMethodDecl*, clang::TemplateParameterList*, clang::TemplateDeclInstantiator::RewriteKind)
/lib64/libclang-cpp.so.20.1 0x1701160
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
7
clang::Sema::SubstDecl(clang::Decl*, clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&)
/lib64/libclang-cpp.so.20.1 0x170eaba
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
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 0x15c6f1e
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
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 0x15ca2bf
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
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 0x1471a2d
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
11
clang::Sema::AddFunctionCandidates(clang::UnresolvedSetImpl const&, llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, clang::TemplateArgumentListInfo*, bool, bool, bool)
/lib64/libclang-cpp.so.20.1 0x1471616
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
12
clang::SemaCodeCompletion::ProduceCallSignatureHelp(clang::Expr*, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0xf1e69c
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
13
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 0x2802de
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
14
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e8a5
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
15
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270d5e
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
16
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b787
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
17
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27cf4a
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
18
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e195
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
19
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270d5e
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
20
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b787
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
21
clang::Parser::ParseRHSOfBinaryExpression(clang::ActionResult<clang::Expr*, true>, clang::prec::Level)
/lib64/libclang-cpp.so.20.1 0x26c2c8
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
22
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b7f7
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
23
clang::Parser::ParseExprStatement(clang::Parser::ParsedStmtContext)
/lib64/libclang-cpp.so.20.1 0x2e600b
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
24
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e3677
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
25
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2c60
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
26
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee90e
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
27
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efeec
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
28
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e5d1
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
29
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22d85d
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
30
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d373
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
31
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30cb6d
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
32
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30baae
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
33
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3099a6
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
34
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212dee
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
35
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291642f
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
36
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: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
37
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: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
38
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: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
39
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: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
40
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.1715122873209413857]
/usr/lib64/llvm20/bin/clangd 0x526d65
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
41
start_thread
/lib64/libc.so.6 0x70f14
Build id: 3b8c8c659881d430486b1a3fc3f4fdc46f03102b
-
42
__clone3
/lib64/libc.so.6 0xf3aac
Build id: 3b8c8c659881d430486b1a3fc3f4fdc46f03102b
-