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

Similar reports
Problem #735998
Component
llvm
Last affected version
0:19.1.7-4.fc41
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2025-02-08
Last occurrence
2025-08-05
Unique reports
4
Quality
-22

Statistics

Operating system Unique / Total count
Fedora 41 4 / 65
Operating system Count
Fedora 41 65
Architecture Count
x86_64 65
Related packages Count
clang-tools-extra 65
 0:19.1.7-4.fc41 50
 0:19.1.7-1.fc41 15

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::syntax::TokenBuffer::spelledTokenContaining(clang::SourceLocation) const
/lib64/libclang-cpp.so.19.1 0x2c1896f
Build id: 3ae784da5602c9e073599a8570b4a166285e45a6
-
2
clang::clangd::collectMacroReferences(clang::clangd::ParsedAST&)
/usr/bin/clangd 0x29a78b
Build id: 08e157e6548057dca16b41578db3963735a6d811
-
3
clang::clangd::computeIncludeCleanerFindings(clang::clangd::ParsedAST&, bool)
/usr/bin/clangd 0x29adf9
Build id: 08e157e6548057dca16b41578db3963735a6d811
-
4
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 0x2fb0cf
Build id: 08e157e6548057dca16b41578db3963735a6d811
-
5
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 0x3a1e98
Build id: 08e157e6548057dca16b41578db3963735a6d811
-
6
clang::clangd::(anonymous namespace)::ASTWorker::updatePreamble(std::unique_ptr<clang::CompilerInvocation, std::default_delete<clang::CompilerInvocation> >, clang::clangd::ParseInputs, std::shared_ptr<clang::clangd::PreambleData const>, std::vector<clang::clangd::Diag, std::allocator<clang::clangd::Diag> >, clang::clangd::WantDiagnostics)::$_0::operator()()
/usr/bin/clangd 0x3a18cd
Build id: 08e157e6548057dca16b41578db3963735a6d811
-
7
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x39d3a5
Build id: 08e157e6548057dca16b41578db3963735a6d811
-
8
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: 08e157e6548057dca16b41578db3963735a6d811
-
9
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: 08e157e6548057dca16b41578db3963735a6d811
-
10
start_thread
/lib64/libc.so.6 0x71168
Build id: 515c33a35f41020661fea8ac4eb995e26ccd6b00
-
11
__clone3
/lib64/libc.so.6 0xf514c
Build id: 515c33a35f41020661fea8ac4eb995e26ccd6b00
-