Crash in clang::TemplateDeclInstantiator::VisitVarTemplatePartialSpecializationDecl(clang::VarTemplatePartialSpecializationDecl*)

Similar reports
Problem #769805
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-09-15
Last occurrence
2026-01-21
Unique reports
2
Quality
-58

Statistics

Operating system Unique / Total count
Fedora 42 2 / 4
Operating system Count
Fedora 42 4
Architecture Count
x86_64 4
Related packages Count
clang-tools-extra 4
 0:20.1.8-4.fc42 4
libxml2 1
 0:2.12.10-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:

History

Daily:

Weekly:

Monthly:


Backtrace

Frame # Function Binary Source or offset Line
1
clang::TemplateDeclInstantiator::VisitVarTemplatePartialSpecializationDecl(clang::VarTemplatePartialSpecializationDecl*)
/lib64/libclang-cpp.so.20.1 0x17004f0
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
2
clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*, clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&, clang::TemplateSpecializationKind, bool)
/lib64/libclang-cpp.so.20.1 0x166c3bf
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
3
clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool, bool)
/lib64/libclang-cpp.so.20.1 0x166ee25
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
4
void llvm::function_ref<void ()>::callback_fn<clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)::$_0>(long)
/lib64/libclang-cpp.so.20.1 0x1780792
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
5
clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*)
/lib64/libclang-cpp.so.20.1 0x176db4e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
6
clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&)
/lib64/libclang-cpp.so.20.1 0x176d2fa
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
7
clang::Sema::ActOnStartOfFunctionDef(clang::Scope*, clang::Decl*, clang::SkipBodyInfo*, clang::Sema::FnBodyKind)
/lib64/libclang-cpp.so.20.1 0x10025bc
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
8
clang::Sema::ActOnStartOfFunctionDef(clang::Scope*, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>, clang::SkipBodyInfo*, clang::Sema::FnBodyKind)
/lib64/libclang-cpp.so.20.1 0x1001bb5
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
9
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e008
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
10
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22d71d
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
11
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d273
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
12
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca6d
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
13
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b9ae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
14
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
-
15
clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation)
/lib64/libclang-cpp.so.20.1 0x24f17e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
16
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22adb7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
17
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
18
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3098a6
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
19
clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309201
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
20
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c8c
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
21
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x29191af
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
22
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
-
23
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
-
24
clang::clangd::(anonymous namespace)::ASTWorker::updatePreamble(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, clang::clangd::ParseInputs, std::shared_ptr<clang::clangd::PreambleData const>, std::vector<clang::clangd::Diag, std::allocator<clang::clangd::Diag> >, clang::clangd::WantDiagnostics)::$_0::operator()()
/usr/bin/clangd 0x3b1367
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
25
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3ace67
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
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&)::$_0>(void*)
/usr/bin/clangd 0x3aaa3a
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
27
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
-
28
start_thread
/lib64/libc.so.6 0x71f54
Build id: 48c4b9b1efb1df15da8e787f489128bf31893317
-
29
__clone3
/lib64/libc.so.6 0xf532c
Build id: 48c4b9b1efb1df15da8e787f489128bf31893317
-