Crash in clang::TypoCorrectionConsumer::getNextCorrection()

Similar reports
Problem #767827
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-10-15
Last occurrence
2025-10-15
Unique reports
1
Quality
-66

Statistics

Operating system Unique / Total count
Fedora 42 1 / 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 2
libxml2 2
 0:2.12.10-1.fc42 2
glibc 2
 0:2.41-11.fc42 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:

No reports in the last 20 days.

No reports in the last 20 weeks.

History

Daily:

Weekly:

Monthly:

No reports in the last 20 days.

No reports in the last 20 weeks.


Backtrace

Frame # Function Binary Source or offset Line
1
clang::TypoCorrectionConsumer::getNextCorrection()
/lib64/libclang-cpp.so.20.1 0x13139f0
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
2
(anonymous namespace)::TransformTypos::TransformTypoExpr(clang::TypoExpr*)
/lib64/libclang-cpp.so.20.1 0x1215d99
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
3
clang::TreeTransform<(anonymous namespace)::TransformTypos>::TransformBinaryOperator(clang::BinaryOperator*)
/lib64/libclang-cpp.so.20.1 0x122350d
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
4
clang::TreeTransform<(anonymous namespace)::TransformTypos>::TransformExprs(clang::Expr* const*, unsigned int, bool, llvm::SmallVectorImpl<clang::Expr*>&, bool*)
/lib64/libclang-cpp.so.20.1 0x12404fd
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
5
clang::TreeTransform<(anonymous namespace)::TransformTypos>::TransformCallExpr(clang::CallExpr*)
/lib64/libclang-cpp.so.20.1 0x121ede7
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
6
(anonymous namespace)::TransformTypos::TryTransform(clang::Expr*)
/lib64/libclang-cpp.so.20.1 0x1214918
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
7
(anonymous namespace)::TransformTypos::RecursiveTransformLoop(clang::Expr*, bool&)
/lib64/libclang-cpp.so.20.1 0x12130f8
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
8
clang::Sema::CorrectDelayedTyposInExpr(clang::Expr*, clang::VarDecl*, bool, llvm::function_ref<clang::ActionResult<clang::Expr*, true> (clang::Expr*)>)
/lib64/libclang-cpp.so.20.1 0x11ef4fd
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
9
clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool)
/lib64/libclang-cpp.so.20.1 0xff9591
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
10
clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22fef2
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 0x22c431
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
12
clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, bool, clang::Parser::ForRangeInit*, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22b56e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
13
clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x22af30
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
14
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e3842
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
15
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b60
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
16
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee80e
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
17
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efdec
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
18
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e4d1
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
19
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
-
20
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d273
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
21
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca6d
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
22
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b9ae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
23
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x3098a6
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
24
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212cae
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
25
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x29191af
Build id: 8d14003ce6f2124dc54330f17d08c091bcd8dfbf
-
26
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
-
27
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
-
28
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
-
29
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3ace67
Build id: 7ac6322a16fb862fbd324bedc16d2be5c952201e
-
30
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
-
31
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
-
32
start_thread
/lib64/libc.so.6 0x71f54
Build id: 48c4b9b1efb1df15da8e787f489128bf31893317
-
33
__clone3
/lib64/libc.so.6 0xf532c
Build id: 48c4b9b1efb1df15da8e787f489128bf31893317
-