Crash in clang::clangd::(anonymous namespace)::scanPreamble(llvm::StringRef, clang::tooling::CompileCommand const&)

Similar reports
Problem #646076
Component
clang
Last affected version
0:17.0.6-2.fc39
Executable
/usr/bin/clangd
Error name
SIGSEGV 11
First occurrence
2024-01-11
Last occurrence
2024-09-18
Unique reports
3
Quality
-20

Statistics

Operating system Unique / Total count
Fedora 39 3 / 4
Operating system Count
Fedora 39 4
Architecture Count
x86_64 4
Related packages Count
clang-tools-extra 4
 0:17.0.6-2.fc39 2
 0:17.0.6-1.fc39 2
glibc 3
 0:2.38-18.fc39 2
 0:2.38-14.fc39 1
libstdc++ 3
 0:13.3.1-1.fc39 2
 0:13.2.1-6.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.

History

Daily:

Weekly:

Monthly:

No reports in the last 20 days.


Backtrace

Frame # Function Binary Source or offset Line
1
clang::clangd::(anonymous namespace)::scanPreamble(llvm::StringRef, clang::tooling::CompileCommand const&)
/usr/bin/clangd 0x46ec0b
Build id: 01488ed500de55baee17304b65f0d4aef5397104
-
2
clang::clangd::PreamblePatch::create(llvm::StringRef, clang::clangd::ParseInputs const&, clang::clangd::PreambleData const&, clang::clangd::PreamblePatch::PatchType)
/usr/bin/clangd 0x46c607
Build id: 01488ed500de55baee17304b65f0d4aef5397104
-
3
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 0x45eb78
Build id: 01488ed500de55baee17304b65f0d4aef5397104
-
4
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 0x4f7a20
Build id: 01488ed500de55baee17304b65f0d4aef5397104
-
5
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: 01488ed500de55baee17304b65f0d4aef5397104
-
6
clang::clangd::(anonymous namespace)::ASTWorker::runTask(llvm::StringRef, llvm::function_ref<void ()>) [clone .65]
/usr/bin/clangd 0x4fd90c
Build id: 01488ed500de55baee17304b65f0d4aef5397104
-
7
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: 01488ed500de55baee17304b65f0d4aef5397104
-
8
void* llvm::thread::ThreadProxy<std::tuple<clang::clangd::AsyncTaskRunner::runAsync(llvm::Twine const&, llvm::unique_function<void ()>)::$_1> >(void*)
/usr/bin/clangd 0x6588d7
Build id: 01488ed500de55baee17304b65f0d4aef5397104
-
9
start_thread
/lib64/libc.so.6 0x8e897
Build id: 788cdd41a15985bf8e0a48d213a46e07d58822df
-
10
__clone3
/lib64/libc.so.6 0x1156fc
Build id: 788cdd41a15985bf8e0a48d213a46e07d58822df
-