Crash in llvm::StringMapImpl::FindKey(llvm::StringRef, unsigned int) const

Similar reports
Problem #754757
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2026-04-22
Last occurrence
2026-04-22
Unique reports
1
Quality
-84

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.8-4.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:

No reports in the last 20 days.

History

Daily:

Weekly:

Monthly:

No reports in the last 20 days.


Backtrace

Frame # Function Binary Source or offset Line
1
llvm::StringMapImpl::FindKey(llvm::StringRef, unsigned int) const
/lib64/libLLVM.so.20.1 0x1b3d87
Build id: 29c13cc694e1322fc53e88459744e67d49823aa2
-
2
clang::Sema::inferGslPointerAttribute(clang::NamedDecl*, clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0xe78a7e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
3
clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(clang::TypedefNameDecl*, bool)
/lib64/libclang-cpp.so.20.1 0x16f9805
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
4
clang::declvisitor::Base<std::add_pointer, clang::TemplateDeclInstantiator, clang::Decl*>::Visit(clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x166cf75
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
5
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*, clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&, clang::TemplateSpecializationKind, bool)
/lib64/libclang-cpp.so.20.1 0x166c3bf
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
6
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool, bool)
/lib64/libclang-cpp.so.20.1 0x166ee25
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
7
void llvm::function_ref<void ()>::callback_fn<clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)::$_0>(long)
/lib64/libclang-cpp.so.20.1 0x1780792
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
8
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)
/lib64/libclang-cpp.so.20.1 0x176db4e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
9
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&)
/lib64/libclang-cpp.so.20.1 0x176d2fa
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
10
clang::Sema::CheckFieldDecl(clang::DeclarationName, clang::QualType, clang::TypeSourceInfo*, clang::RecordDecl*, clang::SourceLocation, bool, clang::Expr*, clang::InClassInitStyle, clang::SourceLocation, clang::AccessSpecifier, clang::NamedDecl*, clang::Declarator*)
/lib64/libclang-cpp.so.20.1 0x100e184
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
11
clang::TemplateDeclInstantiator::VisitFieldDecl(clang::FieldDecl*)
/lib64/libclang-cpp.so.20.1 0x16fc942
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
12
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*, clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&, clang::TemplateSpecializationKind, bool)
/lib64/libclang-cpp.so.20.1 0x166c3bf
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
13
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool, bool)
/lib64/libclang-cpp.so.20.1 0x166ee25
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
14
void llvm::function_ref<void ()>::callback_fn<clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)::$_0>(long)
/lib64/libclang-cpp.so.20.1 0x1780792
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
15
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)
/lib64/libclang-cpp.so.20.1 0x176db4e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
16
TryListInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, clang::InitListExpr*, clang::InitializationSequence&, bool)
/lib64/libclang-cpp.so.20.1 0x12cb487
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
17
TryListInitialization(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, clang::InitListExpr*, clang::InitializationSequence&, bool)
/lib64/libclang-cpp.so.20.1 0x12cc3dc
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
18
clang::InitializationSequence::InitializeFrom(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool, bool)
/lib64/libclang-cpp.so.20.1 0x12c9c66
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
19
clang::InitializationSequence::InitializationSequence(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, bool, bool)
/lib64/libclang-cpp.so.20.1 0x12c993b
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
20
clang::Sema::ConvertParamDefaultArgument(clang::ParmVarDecl*, clang::Expr*, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x105d1c7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
21
clang::Sema::ActOnParamDefaultArgument(clang::Decl*, clang::SourceLocation, clang::Expr*)
/lib64/libclang-cpp.so.20.1 0x105d5de
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
22
clang::Parser::ParseLexedMethodDeclaration(clang::Parser::LateParsedMethodDeclaration&)
/lib64/libclang-cpp.so.20.1 0x21831d
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
23
clang::Parser::ParseLexedMethodDeclarations(clang::Parser::ParsingClass&)
/lib64/libclang-cpp.so.20.1 0x2176ba
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
24
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x25c7ec
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
25
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 0x259b09
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
26
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext)
/lib64/libclang-cpp.so.20.1 0x231f38
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
27
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30cf21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
28
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca6d
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
29
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b9ae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
30
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/lib64/libclang-cpp.so.20.1 0x24fe2b
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
31
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f17e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
32
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22adb7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
33
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
34
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3098a6
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
35
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212cae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
36
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x29191af
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
37
std::_Function_handler<void (), clang::clangd::BackgroundIndex::indexFileTask(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)::$_0>::_M_invoke(std::_Any_data const&)
/usr/bin/clangd 0x4b36a3
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
38
clang::clangd::BackgroundQueue::work(std::function<void ()>)
/usr/bin/clangd 0x4b9828
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
39
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::BackgroundIndex::BackgroundIndex(clang::clangd::ThreadsafeFS const&, clang::clangd::GlobalCompilationDatabase const&, llvm::unique_function<clang::clangd::BackgroundIndexStorage* (llvm::StringRef)>, clang::clangd::BackgroundIndex::Options)::$_1>(void*)
/usr/bin/clangd 0x4afe58
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
40
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.7633507556885729804]
/usr/bin/clangd 0x527115
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
41
start_thread
/lib64/libc.so.6 0x71f14
Build id: 92b5376d35bb29c098175948cf3e7cbcae3aeae1
-
42
__clone3
/lib64/libc.so.6 0xf532c
Build id: 92b5376d35bb29c098175948cf3e7cbcae3aeae1
-