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

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

Statistics

Operating system Unique / Total count
Fedora 42 4 / 7
Operating system Count
Fedora 42 7
Architecture Count
x86_64 7
Related packages Count
clang-tools-extra 7
 0:20.1.8-4.fc42 7

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 0x1b3d87
Build id: 29c13cc694e1322fc53e88459744e67d49823aa2
-
2
clang::Sema::inferGslOwnerPointerAttribute(clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0xe790c6
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
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 0x1528462
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
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 0x1008646
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
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 0x258f8b
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
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 0x231f38
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
7
clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f8906
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
8
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f7b31
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
9
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2f7305
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
10
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22aa4a
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
11
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
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 0x24fe2b
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
13
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f17e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
14
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22adb7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
15
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
16
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
-
17
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f17e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
18
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22adb7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
19
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
20
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3098a6
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
21
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212cae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
22
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x29191af
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
23
clang::PrecompiledPreamble::Build(clang::CompilerInvocation const&, llvm::MemoryBuffer const*, clang::PreambleBounds, clang::DiagnosticsEngine&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::shared_ptr<clang::PCHContainerOperations>, bool, llvm::StringRef, clang::PreambleCallbacks&)
/lib64/libclang-cpp.so.20.1 0x296007f
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
24
clang::clangd::buildPreamble(llvm::StringRef, clang::CompilerInvocation, clang::clangd::ParseInputs const&, bool, std::function<void (clang::clangd::CapturedASTCtx, std::shared_ptr<clang::include_cleaner::PragmaIncludes const>)>, clang::clangd::PreambleBuildStats*)
/usr/bin/clangd 0x31181e
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
25
clang::clangd::(anonymous namespace)::PreambleThread::build(clang::clangd::(anonymous namespace)::PreambleThread::Request)
/usr/bin/clangd 0x3af0a7
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
26
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::create(llvm::StringRef, clang::clangd::GlobalCompilationDatabase const&, clang::clangd::TUScheduler::ASTCache&, clang::clangd::TUScheduler::HeaderIncluderCache&, clang::clangd::AsyncTaskRunner*, clang::clangd::Semaphore&, clang::clangd::TUScheduler::Options const&, clang::clangd::ParsingCallbacks&)::$_1>(void*)
/usr/bin/clangd 0x3ae4ec
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
27
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
-
28
start_thread
/lib64/libc.so.6 0x71f54
Build id: 48c4b9b1efb1df15da8e787f489128bf31893317
-
29
__clone3
/lib64/libc.so.6 0xf532c
Build id: 48c4b9b1efb1df15da8e787f489128bf31893317
-