Crash in clang::Redeclarable<clang::TagDecl>::DeclLink::getPrevious(clang::TagDecl const*) const

Similar reports
Problem #830727
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-08-14
Last occurrence
2026-09-06
Unique reports
2
Quality
-42

Statistics

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

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::Redeclarable<clang::TagDecl>::DeclLink::getPrevious(clang::TagDecl const*) const
/lib64/libclang-cpp.so.20.1 0x31dbe9
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
2
clang::Sema::LookupSpecialMember(clang::CXXRecordDecl*, clang::CXXSpecialMemberKind, bool, bool, bool, bool, bool)
/lib64/libclang-cpp.so.20.1 0x130d737
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
3
clang::Sema::FinalizeVarWithDestructor(clang::VarDecl*, clang::RecordType const*)
/lib64/libclang-cpp.so.20.1 0x109cbf4
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
4
clang::Sema::CheckCompleteVariableDeclaration(clang::VarDecl*)
/lib64/libclang-cpp.so.20.1 0xffbcaf
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
5
clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool)
/lib64/libclang-cpp.so.20.1 0xff9c9a
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
6
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22fee2
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
7
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22c421
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
8
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d263
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
9
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca5d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
10
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b99e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
11
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309896
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
12
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
13
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291907f
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
14
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 0x30663b
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
15
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 0x3b1983
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
16
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*)
/usr/bin/clangd 0x3b5c48
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
17
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3acef7
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
18
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 0x3aaaca
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
19
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*) [clone .llvm.8523735750727913297]
/usr/bin/clangd 0x527115
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
20
start_thread
/lib64/libc.so.6 0x711d4
Build id: 59bc4ca6b9e932adbef156d5ca49b4414efdffc0
-
21
__clone3
/lib64/libc.so.6 0xf3d2c
Build id: 59bc4ca6b9e932adbef156d5ca49b4414efdffc0
-