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

Similar reports
Problem #757563
Component
llvm
Last affected version
0:20.1.8-1.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-05-28
Last occurrence
2025-08-02
Unique reports
3
Quality
-48

Statistics

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

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 0x1b3d57
Build id: 7e6522bce6366c88dd215ea7b491f14b9a8f8c97
-
2
clang::Sema::inferNullableClassAttribute(clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0xe79cfe
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
3
clang::Sema::CheckClassTemplate(clang::Scope*, unsigned int, clang::TagUseKind, clang::SourceLocation, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::ParsedAttributesView const&, clang::TemplateParameterList*, clang::AccessSpecifier, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::TemplateParameterList**, clang::SkipBodyInfo*)
/lib64/libclang-cpp.so.20.1 0x15282bd
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
4
clang::Sema::ActOnTag(clang::Scope*, unsigned int, clang::TagUseKind, clang::SourceLocation, clang::CXXScopeSpec&, clang::IdentifierInfo*, clang::SourceLocation, clang::ParsedAttributesView const&, clang::AccessSpecifier, clang::SourceLocation, llvm::MutableArrayRef<clang::TemplateParameterList*>, bool&, bool&, clang::SourceLocation, bool, clang::ActionResult<clang::OpaquePtr<clang::QualType>, false>, bool, bool, clang::Sema::OffsetOfKind, clang::SkipBodyInfo*)
/lib64/libclang-cpp.so.20.1 0x1008496
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
5
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 0x2590cb
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
6
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext)
/lib64/libclang-cpp.so.20.1 0x232078
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
7
clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f8a06
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
8
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f7c31
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
9
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2f7405
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
10
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22ab8a
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
11
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b021
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
12
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/lib64/libclang-cpp.so.20.1 0x24ff6b
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
13
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f2be
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
14
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22aef7
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
15
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b021
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
16
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3099a6
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
17
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212dee
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
18
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291642f
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
19
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/lib64/llvm20/bin/clangd 0x4b3303
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
20
clang::clangd::BackgroundQueue::work(std::function<void ()>)
/usr/lib64/llvm20/bin/clangd 0x4b9488
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
21
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/lib64/llvm20/bin/clangd 0x4afb18
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
22
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
-
23
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
24
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-