Crash in clang::SemaCodeCompletion::CodeCompleteMemberReferenceExpr(clang::Scope*, clang::Expr*, clang::Expr*, clang::SourceLocation, bool, bool, clang::QualType)

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

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 4
 0:2.12.10-1.fc42 4

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::SemaCodeCompletion::CodeCompleteMemberReferenceExpr(clang::Scope*, clang::Expr*, clang::Expr*, clang::SourceLocation, bool, bool, clang::QualType)
/lib64/libclang-cpp.so.20.1 0xf199e1
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
2
clang::Parser::ParsePostfixExpressionSuffix(clang::ActionResult<clang::Expr*, true>)
/lib64/libclang-cpp.so.20.1 0x26e2eb
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
3
clang::Parser::ParseCastExpression(clang::Parser::CastParseKind, bool, bool&, clang::Parser::TypeCastState, bool, bool*)
/lib64/libclang-cpp.so.20.1 0x270c3e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
4
clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState)
/lib64/libclang-cpp.so.20.1 0x26b647
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
5
clang::Parser::ParseReturnStatement()
/lib64/libclang-cpp.so.20.1 0x2ebe98
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
6
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e47d5
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
7
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b60
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
8
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee80e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
9
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efdec
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
10
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e4d1
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
11
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
-
12
clang::Parser::ParseDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f8b7a
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
13
clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x2f7b31
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
14
clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2f7305
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
15
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22aa4a
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
16
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30af21
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 0x24fe2b
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::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309201
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
23
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c8c
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
24
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x29191af
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
25
clang::clangd::(anonymous namespace)::semaCodeComplete(std::unique_ptr<clang::CodeCompleteConsumer, std::default_delete<clang::CodeCompleteConsumer> >, clang::CodeCompleteOptions const&, clang::clangd::(anonymous namespace)::SemaCompleteInput const&, clang::clangd::IncludeStructure*)
/usr/bin/clangd 0x1be97d
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
26
clang::clangd::codeComplete(llvm::StringRef, clang::clangd::Position, clang::clangd::PreambleData const*, clang::clangd::ParseInputs const&, clang::clangd::CodeCompleteOptions, clang::clangd::SpeculativeFuzzyFind*)
/usr/bin/clangd 0x1c0e08
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
27
void llvm::detail::UniqueFunctionBase<void, llvm::Expected<clang::clangd::InputsAndPreamble> >::CallImpl<clang::clangd::ClangdServer::codeComplete(llvm::StringRef, clang::clangd::Position, clang::clangd::CodeCompleteOptions const&, llvm::unique_function<void (llvm::Expected<clang::clangd::CodeCompleteResult>)>)::$_0>(void*, llvm::Expected<clang::clangd::InputsAndPreamble>&)
/usr/bin/clangd 0x1afdbf
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
28
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::TUScheduler::runWithPreamble(llvm::StringRef, llvm::StringRef, clang::clangd::TUScheduler::PreambleConsistency, llvm::unique_function<void (llvm::Expected<clang::clangd::InputsAndPreamble>)>)::$_0>(void*)
/usr/bin/clangd 0x3b8141
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
-