Crash in clang::clangd::toLSPDiags(clang::clangd::Diag const&, clang::clangd::URIForFile const&, clang::clangd::ClangdDiagnosticOptions const&, llvm::function_ref<void (clang::clangd::Diagnostic, llvm::ArrayRef<clang::clangd::Fix>)>)

Similar reports
Problem #643528
Component
llvm
Last affected version
0:19.1.0-1.fc41
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2024-11-09
Last occurrence
2024-11-09
Unique reports
1
Quality
-24

Statistics

Operating system Unique / Total count
Fedora 41 1 / 2
Operating system Count
Fedora 41 2
Architecture Count
x86_64 2
Related packages Count
clang-tools-extra 2
 0:19.1.0-1.fc41 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:

History

Daily:

Weekly:

Monthly:


Backtrace

Frame # Function Binary Source or offset Line
1
clang::clangd::toLSPDiags(clang::clangd::Diag const&, clang::clangd::URIForFile const&, clang::clangd::ClangdDiagnosticOptions const&, llvm::function_ref<void (clang::clangd::Diagnostic, llvm::ArrayRef<clang::clangd::Fix>)>)
/usr/bin/clangd 0x2073c1
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
2
clang::clangd::ClangdLSPServer::onDiagnosticsReady(llvm::StringRef, llvm::StringRef, llvm::ArrayRef<clang::clangd::Diag>)
/usr/bin/clangd 0x1478e4
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
3
void llvm::function_ref<void ()>::callback_fn<clang::clangd::(anonymous namespace)::UpdateIndexCallbacks::onMainAST(llvm::StringRef, clang::clangd::ParsedAST&, llvm::function_ref<void (llvm::function_ref<void ()>)>)::{lambda()#1}>(long)
/usr/bin/clangd 0x1a58fa
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
4
void llvm::function_ref<void (llvm::function_ref<void ()>)>::callback_fn<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> >)::$_3>(long, llvm::function_ref<void ()>)
/usr/bin/clangd 0x3a2c7a
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
5
clang::clangd::(anonymous namespace)::UpdateIndexCallbacks::onMainAST(llvm::StringRef, clang::clangd::ParsedAST&, llvm::function_ref<void (llvm::function_ref<void ()>)>)
/usr/bin/clangd 0x1a31d1
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
6
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 0x3a2087
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
7
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*)
/usr/bin/clangd 0x3a61ee
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
8
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x39d2d5
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
9
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 0x39b45f
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
10
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x515582
Build id: b3f5227de922809ecad144995d73f002d00ed387
-
11
start_thread
/lib64/libc.so.6 0x70797
Build id: 948d229348b56bdcf4e0a96d5ccd8fb175f617f0
-
12
__clone3
/lib64/libc.so.6 0xf478c
Build id: 948d229348b56bdcf4e0a96d5ccd8fb175f617f0
-