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

Similar reports
Problem #646076
Component
clang
Last affected version
0:18.1.8-1.fc40
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2024-09-12
Last occurrence
2024-10-11
Unique reports
2
Quality
-22

Statistics

Operating system Unique / Total count
Fedora 40 2 / 5
Operating system Count
Fedora 40 5
Architecture Count
x86_64 5
Related packages Count
clang-tools-extra 5
 0:18.1.6-3.fc40 4
 0:18.1.8-1.fc40 1
libstdc++ 4
 0:14.2.1-1.fc40 4
glibc 4
 0:2.39-22.fc40 4

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.

History

Daily:

Weekly:

Monthly:

No reports in the last 20 days.


Backtrace

Frame # Function Binary Source or offset Line
1
clang::syntax::TokenBuffer::spelledTokenAt(clang::SourceLocation) const
/lib64/libclang-cpp.so.18.1 0x29da38f
Build id: 23619722f113d93aa8887b1906eb36a800dc55a5
-
2
clang::clangd::collectMacroReferences(clang::clangd::ParsedAST&)
/usr/bin/clangd 0x415730
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
3
clang::clangd::computeIncludeCleanerFindings(clang::clangd::ParsedAST&)
/usr/bin/clangd 0x415c17
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
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 0x471a31
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
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 0x506128
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
6
void llvm::detail::UniqueFunctionBase<void>::CallImpl<clang::clangd::(anonymous namespace)::ASTWorker::update(clang::clangd::ParseInputs, clang::clangd::WantDiagnostics, bool)::$_0>(void*)
/usr/bin/clangd 0x509b5e
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
7
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>)
/usr/bin/clangd 0x50242c
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
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 0x501df1
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
9
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x65aaf7
Build id: 53069dd340acc73db638262db3cf7041117d485a
-
10
start_thread
/lib64/libc.so.6 0x976d7
Build id: 77c77fee058b19c6f001cf2cb0371ce3b8341211
-
11
__clone3
/lib64/libc.so.6 0x11b60c
Build id: 77c77fee058b19c6f001cf2cb0371ce3b8341211
-