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

Similar reports
Problem #757563
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-06-05
Last occurrence
2025-10-05
Unique reports
5
Quality
-58

Statistics

Operating system Unique / Total count
Fedora 42 5 / 5
Operating system Count
Fedora 42 5
Architecture Count
x86_64 5
Related packages Count
clang-tools-extra 5
 0:20.1.8-4.fc42 4
 0:20.1.5-1.fc42 1
libxml2 1
 0:2.12.10-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: df2469cb7b7c7605b9b616836a0d809a335bf7e4
-
2
clang::Sema::inferGslPointerAttribute(clang::NamedDecl*, clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0xe78abe
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
3
clang::Sema::ActOnTypedefNameDecl(clang::Scope*, clang::DeclContext*, clang::TypedefNameDecl*, clang::LookupResult&, bool&)
/lib64/libclang-cpp.so.20.1 0xfea4c0
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
4
clang::Sema::ActOnTypedefDeclarator(clang::Scope*, clang::Declarator&, clang::DeclContext*, clang::TypeSourceInfo*, clang::LookupResult&)
/lib64/libclang-cpp.so.20.1 0xfddbcb
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
5
clang::Sema::HandleDeclarator(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>)
/lib64/libclang-cpp.so.20.1 0xfdc436
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
6
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 0x106afb8
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
7
clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject*)
/lib64/libclang-cpp.so.20.1 0x260c41
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
8
clang::Parser::ParseCXXClassMemberDeclarationWithPragmas(clang::AccessSpecifier&, clang::ParsedAttributes&, clang::TypeSpecifierType, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x26320f
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
9
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x25c74c
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
10
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 0x259c79
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
11
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext)
/lib64/libclang-cpp.so.20.1 0x2320a8
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
12
clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f8a76
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
13
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f7ca1
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
14
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2f7475
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
15
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22abba
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
16
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b091
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
17
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/lib64/libclang-cpp.so.20.1 0x24ff9b
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
18
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f2ee
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
19
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22af27
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
20
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b091
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
21
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309a16
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
22
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212e1e
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
23
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291910f
Build id: 95ca3810423c9bf5fa2f232827ea4186c9827bb7
-
24
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: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
25
clang::clangd::BackgroundQueue::work(std::function<void ()>)
/usr/lib64/llvm20/bin/clangd 0x4b9488
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
26
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: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
27
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.6222812341794865012]
/usr/lib64/llvm20/bin/clangd 0x526d65
Build id: 32b7cd392ef126946b87568d452e01c5d3f059a3
-
28
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
29
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-