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
clang
Last affected version
0:17.0.6-2.fc39
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2023-12-01
Last occurrence
2024-03-13
Unique reports
3
Quality
-24

Statistics

Operating system Unique / Total count
Fedora 39 3 / 3
Operating system Count
Fedora 39 3
Architecture Count
x86_64 3
Related packages Count
clang-tools-extra 3
 0:17.0.6-2.fc39 1
 0:17.0.6-1.fc39 1
 0:17.0.4-1.fc39 1
glibc 2
 0:2.38-11.fc39 1
 0:2.38-16.fc39 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:

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::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 0x36bbb4
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
2
clang::clangd::ClangdLSPServer::onDiagnosticsReady(llvm::StringRef, llvm::StringRef, llvm::ArrayRef<clang::clangd::Diag>)
/usr/bin/clangd 0x2d86bf
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
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 0x32285a
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
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 0x4f854a
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
5
clang::clangd::(anonymous namespace)::UpdateIndexCallbacks::onMainAST(llvm::StringRef, clang::clangd::ParsedAST&, llvm::function_ref<void (llvm::function_ref<void ()>)>)
/usr/bin/clangd 0x32074f
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
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 0x4f7ce4
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
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 0x4fb49f
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
8
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>) [clone .65]
/usr/bin/clangd 0x4fd90c
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
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 0x4f350c
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
10
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x658957
Build id: 95e03b611ff6c9c37d7fb8f8aab02075f0868063
-
11
start_thread
/lib64/libc.so.6 0x8e897
Build id: 4fdf4b58ec1880e064d0d3fe13f1bb3e8ed1c420
-
12
__clone3
/lib64/libc.so.6 0x1156bc
Build id: 4fdf4b58ec1880e064d0d3fe13f1bb3e8ed1c420
-