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

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

Statistics

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

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
/usr/lib64/libLLVM.so.20.1 0x1b3d57
Build id: b105339955550b66974e0c5a997dc861c3b4af4a
-
2
clang::Sema::inferGslOwnerPointerAttribute(clang::CXXRecordDecl*)
/usr/lib64/libclang-cpp.so.20.1 0xe78ff6
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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*)
/usr/lib64/libclang-cpp.so.20.1 0x1528392
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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*)
/usr/lib64/libclang-cpp.so.20.1 0x1008576
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
5
clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&)
/usr/lib64/libclang-cpp.so.20.1 0x258f7b
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
6
clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext)
/usr/lib64/libclang-cpp.so.20.1 0x231f28
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
7
clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/usr/lib64/libclang-cpp.so.20.1 0x2f88f6
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
8
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/usr/lib64/libclang-cpp.so.20.1 0x2f7b21
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
9
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/usr/lib64/libclang-cpp.so.20.1 0x2f72f5
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
10
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/usr/lib64/libclang-cpp.so.20.1 0x22aa3a
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
11
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/usr/lib64/libclang-cpp.so.20.1 0x30af11
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
12
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/usr/lib64/libclang-cpp.so.20.1 0x24fe1b
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
13
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/usr/lib64/libclang-cpp.so.20.1 0x24f16e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
14
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/usr/lib64/libclang-cpp.so.20.1 0x22ada7
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
15
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/usr/lib64/libclang-cpp.so.20.1 0x30af11
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
16
clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/usr/lib64/libclang-cpp.so.20.1 0x24fe1b
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
17
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/usr/lib64/libclang-cpp.so.20.1 0x24f16e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
18
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/usr/lib64/libclang-cpp.so.20.1 0x22ada7
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
19
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/usr/lib64/libclang-cpp.so.20.1 0x30af11
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
20
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/usr/lib64/libclang-cpp.so.20.1 0x309896
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
21
clang::ParseAST(clang::Sema&, bool, bool)
/usr/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
22
clang::FrontendAction::Execute()
/usr/lib64/libclang-cpp.so.20.1 0x2918fff
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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&)
/usr/lib64/libclang-cpp.so.20.1 0x295febf
Build id: 7f573e0819dd4b8fb9d053003df9aa0d7d0798db
-
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/lib64/llvm20/bin/clangd 0x31156e
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
25
clang::clangd::(anonymous namespace)::PreambleThread::build(clang::clangd::(anonymous namespace)::PreambleThread::Request)
/usr/lib64/llvm20/bin/clangd 0x3aed87
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
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/lib64/llvm20/bin/clangd 0x3ae1cc
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
27
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.11279049824168003361]
/usr/lib64/llvm20/bin/clangd 0x526d65
Build id: ceeb6e4eb9d6608b30aa32a59e078b717b302d84
-
28
start_thread
/usr/lib64/libc.so.6 0x711d4
Build id: a1dda014206b55b07f58fe8db80121b752dc3d03
-
29
__clone3
/usr/lib64/libc.so.6 0xf3cec
Build id: a1dda014206b55b07f58fe8db80121b752dc3d03
-