Crash in clang::syntax::TokenBuffer::spelledTokenContaining(clang::SourceLocation) const

Similar reports
Problem #595591
Component
llvm
Last affected version
0:19.1.7-3.fc41
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-03-24
Last occurrence
2025-03-31
Unique reports
2
Quality
-18

Statistics

Operating system Unique / Total count
Fedora 41 2 / 16
Architecture Count
x86_64 16
Related packages Count
clang-tools-extra 16
 0:19.1.7-3.fc41 16

Packages names with count less than the total count of reports are most probably not the cause of the problem.

History

Daily:

Weekly:

Monthly:


Backtrace

Frame # Function Binary Source or offset Line
1
clang::syntax::TokenBuffer::spelledTokenContaining(clang::SourceLocation) const
/lib64/libclang-cpp.so.19.1 0x2c1896f
Build id: 0a5fdf8f1bf7ba76ae540c661b58325af0732967
-
2
clang::clangd::getDocumentLinks(clang::clangd::ParsedAST&)
/usr/bin/clangd 0x3afbed
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
3
void llvm::detail::UniqueFunctionBase<void, llvm::Expected<clang::clangd::InputsAndAST> >::CallImpl<clang::clangd::ClangdServer::documentLinks(llvm::StringRef, llvm::unique_function<void (llvm::Expected<std::vector<clang::clangd::DocumentLink, std::allocator<clang::clangd::DocumentLink> > >)>)::$_0>(void*, llvm::Expected<clang::clangd::InputsAndAST>&)
/usr/bin/clangd 0x1b61a9
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
4
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::runWithAST(llvm::StringRef, llvm::unique_function<void (llvm::Expected<clang::clangd::InputsAndAST>)>, clang::clangd::TUScheduler::ASTActionInvalidation)::$_0>(void*)
/usr/bin/clangd 0x3a774c
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
5
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x39d3a5
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
6
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 0x39b52f
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
7
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x515692
Build id: 528aabe11b00960649bb6073876cc4686ea5ebe0
-
8
start_thread
/lib64/libc.so.6 0x70ba8
Build id: 9059c4f4ffc1a63e796d41f813ed48baa3ad4096
-
9
__clone3
/lib64/libc.so.6 0xf4b8c
Build id: 9059c4f4ffc1a63e796d41f813ed48baa3ad4096
-