Crash in clang::DeclarationNameTable::getCXXConstructorName(clang::CanQual<clang::Type>)

Similar reports
Problem #754685
Component
llvm
Last affected version
0:20.1.6-1.fc42
Executable
/usr/lib64/llvm20/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-05-28
Last occurrence
2025-06-24
Unique reports
6
Quality
-50

Statistics

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

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
clang::DeclarationNameTable::getCXXConstructorName(clang::CanQual<clang::Type>)
/lib64/libclang-cpp.so.20.1 0x53496c
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
2
clang::Sema::LookupSpecialMember(clang::CXXRecordDecl*, clang::CXXSpecialMemberKind, bool, bool, bool, bool, bool)
/lib64/libclang-cpp.so.20.1 0x130d7b2
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
3
specialMemberIsConstexpr(clang::Sema&, clang::CXXRecordDecl*, clang::CXXSpecialMemberKind, unsigned int, bool, clang::CXXConstructorDecl*, clang::Sema::InheritedConstructorInfo*)
/lib64/libclang-cpp.so.20.1 0x10b0cb1
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
4
defaultedSpecialMemberIsConstexpr(clang::Sema&, clang::CXXRecordDecl*, clang::CXXSpecialMemberKind, bool, clang::CXXConstructorDecl*, clang::Sema::InheritedConstructorInfo*)
/lib64/libclang-cpp.so.20.1 0x107e4d7
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
5
clang::Sema::DeclareImplicitMoveConstructor(clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0x10852ce
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
6
clang::Sema::AddImplicitlyDeclaredMembersToClass(clang::CXXRecordDecl*)
/lib64/libclang-cpp.so.20.1 0x1083ccb
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
7
clang::Sema::ActOnFields(clang::Scope*, clang::SourceLocation, clang::Decl*, llvm::ArrayRef<clang::Decl*>, clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributesView const&)
/lib64/libclang-cpp.so.20.1 0x1010aaa
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
8
clang::Sema::ActOnFinishCXXMemberSpecification(clang::Scope*, clang::SourceLocation, clang::Decl*, clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributesView const&)
/lib64/libclang-cpp.so.20.1 0x1083a6b
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
9
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x25c861
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
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 0x259c49
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
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 0x232078
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
12
clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, bool, clang::Parser::ForRangeInit*, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22b4a4
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
13
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22b070
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
14
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b021
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
15
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3099a6
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
16
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212dee
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
17
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291642f
Build id: 091220eab04c3a846dccdb5e23867521a293fe33
-
18
clang::clangd::ParsedAST::build(llvm::StringRef, clang::clangd::ParseInputs const&, std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, llvm::ArrayRef<clang::clangd::Diag>, std::shared_ptr<clang::clangd::PreambleData const>)
/usr/lib64/llvm20/bin/clangd 0x3062eb
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
19
clang::clangd::(anonymous namespace)::ASTWorker::generateDiagnostics(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, clang::clangd::ParseInputs, std::vector<clang::clangd::Diag, std::allocator<clang::clangd::Diag> >)
/usr/lib64/llvm20/bin/clangd 0x3b15d3
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
20
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*)
/usr/lib64/llvm20/bin/clangd 0x3b5898
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
21
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/lib64/llvm20/bin/clangd 0x3acb47
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
22
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&)::$_0>(void*)
/usr/lib64/llvm20/bin/clangd 0x3aa71a
Build id: 43325e30439c6c68b1534bfa1079dbfb15d9cd60
-
23
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
-
24
start_thread
/lib64/libc.so.6 0x711d4
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-
25
__clone3
/lib64/libc.so.6 0xf3cec
Build id: 2b3c02fe7e4d3811767175b6f323692a10a4e116
-