Crash in clang::CXXRecordDecl::hasConstexprDestructor() const

Similar reports
Problem #832502
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2026-09-20
Last occurrence
2026-09-20
Unique reports
2
Quality
-62

Statistics

Operating system Unique / Total count
Fedora 42 2 / 10
Operating system Count
Fedora 42 10
Architecture Count
x86_64 10
Related packages Count
libxml2 10
 0:2.12.10-1.fc42 10
clang-tools-extra 10
 0:20.1.8-4.fc42 10
glibc 10
 0:2.41-18.fc42 10

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::CXXRecordDecl::hasConstexprDestructor() const
/lib64/libclang-cpp.so.20.1 0x548bcf
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
2
CheckConstexprDestructorSubobjects(clang::Sema&, clang::CXXDestructorDecl const*, clang::Sema::CheckConstexprKind)::$_0::operator()(clang::SourceLocation, clang::QualType, clang::FieldDecl const*) const
/lib64/libclang-cpp.so.20.1 0x10aaa9c
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
3
clang::Sema::CheckConstexprFunctionDefinition(clang::FunctionDecl const*, clang::Sema::CheckConstexprKind)
/lib64/libclang-cpp.so.20.1 0x1064c3c
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
4
clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool)
/lib64/libclang-cpp.so.20.1 0x10058cb
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
5
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efeab
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
6
clang::Parser::ParseLexedMethodDef(clang::Parser::LexedMethod&)
/lib64/libclang-cpp.so.20.1 0x219299
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
7
clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&)
/lib64/libclang-cpp.so.20.1 0x2179ea
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
8
clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*)
/lib64/libclang-cpp.so.20.1 0x25c867
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
9
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 0x259b09
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
10
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
-
11
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
-
12
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f7b31
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
13
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2f7305
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
14
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22aa4a
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::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&)
/lib64/libclang-cpp.so.20.1 0x24ffa2
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
18
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f17e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
19
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22adb7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
20
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
21
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3098a6
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
22
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212cae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
23
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x29191af
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
24
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/bin/clangd 0x30659b
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
25
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/bin/clangd 0x3b18f3
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
26
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*)
/usr/bin/clangd 0x3b5bb8
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
27
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3ace67
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
28
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/bin/clangd 0x3aaa3a
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
29
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
-
30
start_thread
/lib64/libc.so.6 0x71f34
Build id: 17a908195ad4110e58083fc22fd8ac486d01da53
-
31
__clone3
/lib64/libc.so.6 0xf536c
Build id: 17a908195ad4110e58083fc22fd8ac486d01da53
-