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
2025-08-01
Last occurrence
2026-03-12
Unique reports
3
Quality
-66

Graphs

Statistics

Operating system Unique / Total count
Fedora 40 1 / 1
Fedora 42 3 / 3
Operating system Count
Fedora 42 3
Fedora 40 1
Architecture Count
x86_64 4
Related packages Count
clang-tools-extra 4
 0:20.1.8-1.fc42 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:

History

Daily:

Weekly:

Monthly:


Backtrace

Frame # Function Binary Source or offset Line
1
llvm::StringMapImpl::FindKey(llvm::StringRef, unsigned int) const
/lib64/libLLVM.so.20.1 0x1b3d57
Build id: 3a6bc4705c51435040a0f309599ab17462538126
-
2
clang::Sema::inferGslPointerAttribute(clang::NamedDecl*, clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0xe789ee
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
3
clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(clang::TypedefNameDecl*, bool)
/lib64/libclang-cpp.so.20.1 0x16f9775
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
4
clang::declvisitor::Base<std::add_pointer, clang::TemplateDeclInstantiator, clang::Decl*>::Visit(clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x166cee5
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
5
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*, clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&, clang::TemplateSpecializationKind, bool)
/lib64/libclang-cpp.so.20.1 0x166c32f
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
6
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool, bool)
/lib64/libclang-cpp.so.20.1 0x166ed95
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
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 0x1780702
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
8
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)
/lib64/libclang-cpp.so.20.1 0x176dabe
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
9
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&)
/lib64/libclang-cpp.so.20.1 0x176d26a
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
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 0x100e0f4
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
11
clang::Sema::HandleField(clang::Scope*, clang::RecordDecl*, clang::SourceLocation, clang::Declarator&, clang::Expr*, clang::InClassInitStyle, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x100dd9e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
12
clang::Sema::ActOnCXXMemberDeclarator(clang::Scope*, clang::AccessSpecifier, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>, clang::Expr*, clang::VirtSpecifiers const&, clang::InClassInitStyle)
/lib64/libclang-cpp.so.20.1 0x106b440
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
13
clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject*)
/lib64/libclang-cpp.so.20.1 0x260ac1
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
14
clang::Parser::ParseCXXClassMemberDeclarationWithPragmas(clang::AccessSpecifier&, clang::ParsedAttributes&, clang::TypeSpecifierType, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x26308f
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
15
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x25c5cc
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
16
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 0x259af9
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
17
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext)
/lib64/libclang-cpp.so.20.1 0x231f28
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
18
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30cf11
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
19
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca5d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
20
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b99e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
21
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/lib64/libclang-cpp.so.20.1 0x24fe1b
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
22
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f16e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
23
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22ada7
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
24
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af11
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
25
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309896
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
26
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
27
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291907f
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
28
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 0x4b36b3
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
29
clang::clangd::BackgroundQueue::work(std::function<void ()>)
/usr/bin/clangd 0x4b9838
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
30
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 0x4afec8
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
31
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.8523735750727913297]
/usr/bin/clangd 0x527115
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
32
start_thread
/lib64/libc.so.6 0x711d4
Build id: 59bc4ca6b9e932adbef156d5ca49b4414efdffc0
-
33
__clone3
/lib64/libc.so.6 0xf3d2c
Build id: 59bc4ca6b9e932adbef156d5ca49b4414efdffc0
-