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

Similar reports
Problem #754484
Component
llvm
Last affected version
0:20.1.3-1.fc42
Executable
/usr/lib64/llvm20/bin/clangd
Error name
SIGILL 4
First occurrence
2025-05-27
Last occurrence
2025-09-02
Unique reports
8
Quality
-58

Statistics

Operating system Unique / Total count
Fedora 42 8 / 93
Operating system Count
Fedora 42 93
Architecture Count
x86_64 93
Related packages Count
clang-tools-extra 93
 0:20.1.3-1.fc42 93
libxml2 47
 0:2.12.10-1.fc42 47
xz-libs 29
 1:5.8.1-2.fc42 29
Show more… (3)
glibc 16
 0:2.41-5.fc42 16
libzstd 12
 0:1.5.7-1.fc42 12
libstdc++ 4
 0:15.1.1-1.fc42 4

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.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::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 0x1472100
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
11
clang::SemaCodeCompletion::ProduceConstructorSignatureHelp(clang::QualType, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, bool)
/lib64/libclang-cpp.so.20.1 0xf1fbf3
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
12
clang::QualType llvm::function_ref<clang::QualType ()>::callback_fn<clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)::$_0>(long)
/lib64/libclang-cpp.so.20.1 0x24ce0e
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
13
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b6d7
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
14
clang::Parser::ParseExpressionList(llvm::SmallVectorImpl<clang::Expr*>&, llvm::function_ref<void ()>, bool, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x27cf4a
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
15
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22fb14
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
16
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22c571
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
17
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d373
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
18
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30cb6d
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
19
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30baae
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
20
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3099a6
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
21
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212dee
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
22
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291642f
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
23
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
-
24
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
-
25
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
-
26
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
-
27
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
-
28
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
29
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-