Crash in clang::TypoCorrectionConsumer::getNextCorrection()

Similar reports
Problem #766806
Component
llvm
Last affected version
0:20.1.8-4.fc42
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-07-28
Last occurrence
2025-11-17
Unique reports
3
Quality
-60

Statistics

Operating system Unique / Total count
Fedora 42 3 / 4
Operating system Count
Fedora 42 4
Architecture Count
x86_64 4
Related packages Count
clang-tools-extra 4
 0:20.1.8-1.fc42 3
 0:20.1.8-4.fc42 1
libxml2 1
 0:2.12.10-1.fc42 1
libzstd 1
 0:1.5.7-1.fc42 1
Show more… (2)
xz-libs 1
 1:5.8.1-2.fc42 1
glibc 1
 0:2.41-11.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::TypoCorrectionConsumer::getNextCorrection()
/lib64/libclang-cpp.so.20.1 0x1313960
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
2
(anonymous namespace)::TransformTypos::TransformTypoExpr(clang::TypoExpr*)
/lib64/libclang-cpp.so.20.1 0x1215d09
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
3
clang::TreeTransform<(anonymous namespace)::TransformTypos>::TransformCallExpr(clang::CallExpr*)
/lib64/libclang-cpp.so.20.1 0x121ecf5
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
4
clang::TreeTransform<(anonymous namespace)::TransformTypos>::TransformExprs(clang::Expr* const*, unsigned int, bool, llvm::SmallVectorImpl<clang::Expr*>&, bool*)
/lib64/libclang-cpp.so.20.1 0x124046d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
5
clang::TreeTransform<(anonymous namespace)::TransformTypos>::TransformCallExpr(clang::CallExpr*)
/lib64/libclang-cpp.so.20.1 0x121ed57
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
6
(anonymous namespace)::TransformTypos::TryTransform(clang::Expr*)
/lib64/libclang-cpp.so.20.1 0x1214888
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
7
(anonymous namespace)::TransformTypos::RecursiveTransformLoop(clang::Expr*, bool&)
/lib64/libclang-cpp.so.20.1 0x1213068
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
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 0x11ef46d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
9
clang::Sema::ActOnFinishFullExpr(clang::Expr*, clang::SourceLocation, bool, bool, bool)
/lib64/libclang-cpp.so.20.1 0x120cb50
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
10
clang::Parser::handleExprStmt(clang::ActionResult<clang::Expr*, true>, clang::Parser::ParsedStmtContext)
/lib64/libclang-cpp.so.20.1 0x2ece94
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
11
clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&)
/lib64/libclang-cpp.so.20.1 0x2e3567
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
12
clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*)
/lib64/libclang-cpp.so.20.1 0x2e2b50
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
13
clang::Parser::ParseCompoundStatementBody(bool)
/lib64/libclang-cpp.so.20.1 0x2ee7fe
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
14
clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&)
/lib64/libclang-cpp.so.20.1 0x2efddc
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
15
clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*)
/lib64/libclang-cpp.so.20.1 0x30e4c1
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
16
clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*)
/lib64/libclang-cpp.so.20.1 0x22d70d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
17
clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30d263
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
18
clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier)
/lib64/libclang-cpp.so.20.1 0x30ca5d
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
19
clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*)
/lib64/libclang-cpp.so.20.1 0x30b99e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
20
clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&)
/lib64/libclang-cpp.so.20.1 0x309896
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
21
clang::ParseAST(clang::Sema&, bool, bool)
/lib64/libclang-cpp.so.20.1 0x212c9e
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
22
clang::FrontendAction::Execute()
/lib64/libclang-cpp.so.20.1 0x291907f
Build id: 43814692ed21c5695e3560598909d7fbc65c7af6
-
23
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
-
24
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
-
25
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
-
26
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3acef7
Build id: 60eb1932bdd7e92de6dadd8e83d8cef7dacdb484
-
27
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
-
28
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
-
29
start_thread
/lib64/libc.so.6 0x711d4
Build id: 59bc4ca6b9e932adbef156d5ca49b4414efdffc0
-
30
__clone3
/lib64/libc.so.6 0xf3d2c
Build id: 59bc4ca6b9e932adbef156d5ca49b4414efdffc0
-