Crash in clang::Sema::CheckDestructorAccess(clang::SourceLocation, clang::CXXDestructorDecl*, clang::PartialDiagnostic const&, clang::QualType)

Similar reports
Problem #717115
Component
llvm
Last affected version
0:19.1.0-1.fc41
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2024-11-13
Last occurrence
2024-11-20
Unique reports
1
Quality
-62

Statistics

Operating system Unique / Total count
Fedora 41 1 / 2
Operating system Count
Fedora 41 2
Architecture Count
x86_64 2
Related packages Count
libstdc++ 2
 0:14.2.1-3.fc41 2
libzstd 2
 0:1.5.6-2.fc41 2
libxml2 2
 0:2.12.8-2.fc41 2
Show moreā€¦ (2)
glibc 2
 0:2.40-9.fc41 2
clang-tools-extra 2
 0:19.1.0-1.fc41 2

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
clang::Sema::CheckDestructorAccess(clang::SourceLocation, clang::CXXDestructorDecl*, clang::PartialDiagnostic const&, clang::QualType)
/lib64/libclang-cpp.so.19.1 0xd90bd6
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
2
checkDestructorReference(clang::QualType, clang::SourceLocation, clang::Sema&)
/lib64/libclang-cpp.so.19.1 0x13a0514
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
3
(anonymous namespace)::InitListChecker::CheckArrayType(clang::InitializedEntity const&, clang::InitListExpr*, clang::QualType&, llvm::APSInt, bool, unsigned int&, clang::InitListExpr*, unsigned int&)
/lib64/libclang-cpp.so.19.1 0x139c4f3
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
4
(anonymous namespace)::InitListChecker::CheckListElementTypes(clang::InitializedEntity const&, clang::InitListExpr*, clang::QualType&, bool, unsigned int&, clang::InitListExpr*, unsigned int&, bool)
/lib64/libclang-cpp.so.19.1 0x1399e1e
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
5
(anonymous namespace)::InitListChecker::InitListChecker(clang::Sema&, clang::InitializedEntity const&, clang::InitListExpr*, clang::QualType&, bool, bool, bool, llvm::SmallVectorImpl<clang::QualType>*) [clone .llvm.180147500495997537]
/lib64/libclang-cpp.so.19.1 0x138143b
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
6
clang::InitializationSequence::Perform(clang::Sema&, clang::InitializedEntity const&, clang::InitializationKind const&, llvm::MutableArrayRef<clang::Expr*>, clang::QualType*)
/lib64/libclang-cpp.so.19.1 0x138c6b7
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
7
clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool)
/lib64/libclang-cpp.so.19.1 0xf9d4eb
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
8
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.19.1 0x213965
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
9
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.19.1 0x20fd52
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
10
clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, bool, clang::Parser::ForRangeInit*, clang::SourceLocation*)
/lib64/libclang-cpp.so.19.1 0x20ee76
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
11
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.19.1 0x20e850
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
12
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.19.1 0x2d3be0
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
13
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.19.1 0x2d13d0
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
14
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.19.1 0x2dcc5c
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
15
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.19.1 0x2de599
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
16
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.19.1 0x2ff038
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
17
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.19.1 0x2110df
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
18
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.19.1 0x2fd7ce
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
19
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.19.1 0x2fcf96
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
20
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.19.1 0x2fbdb6
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
21
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.19.1 0x2f9b46
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
22
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.19.1 0x1f4c0e
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
23
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.19.1 0x29e9a7b
Build id: 36d5c9347bb13a24d6206b48e3f8c9563c7cd4c3
-
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 0x2f9a48
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
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 0x3a1dc8
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
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 0x3a61ee
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
27
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x39d2d5
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
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 0x39b45f
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
29
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x515582
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
30
start_thread
/lib64/libc.so.6 0x70797
Build id: 948d229348b56bdcf4e0a96d5ccd8fb175f617f0
-
31
__clone3
/lib64/libc.so.6 0xf478c
Build id: 948d229348b56bdcf4e0a96d5ccd8fb175f617f0
-