Open anthony-lobay opened 1 week ago
@llvm/issue-subscribers-clang-tidy
Author: Anthony Lobay (anthony-lobay)
Does your user running Clang-Tidy have rights to access the specified directory? If not, you'll need to sudo chmod
on it and give yourself access.
The folder was moved/missing. It's an ill-formed setup. I filed the bug because the stack trace asked me to file the error. This is not a priority issue for us.
Thanks
On Sun, Oct 6, 2024 at 3:04 AM whisperity @.***> wrote:
Does your user running Clang-Tidy have rights to access the specified directory? If not, you'll need to sudo chmod on it and give yourself access.
— Reply to this email directly, view it on GitHub https://github.com/llvm/llvm-project/issues/111262#issuecomment-2395376571, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDGUTKEDWOJK5PEMBG3REWDZ2EDLLAVCNFSM6AAAAABPNRNOBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJVGM3TMNJXGE . You are receiving this because you authored the thread.Message ID: @.***>
LLVM ERROR: Cannot chdir into "/XXXX/build/system-control/service"! PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump:
LLVM_SYMBOLIZER_PATH
to point to it): 0 libLLVM-18.so.18.1 0x0000ffff78578f3c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 80 1 libLLVM-18.so.18.1 0x0000ffff78577124 llvm::sys::RunSignalHandlers() + 112 2 libLLVM-18.so.18.1 0x0000ffff78579654 3 linux-vdso.so.1 0x0000ffff823af7c0 kernel_rt_sigreturn + 0 4 libc.so.6 0x0000ffff77424d78 gsignal + 224 5 libc.so.6 0x0000ffff77411aac abort + 276 6 libLLVM-18.so.18.1 0x0000ffff784db974 llvm::report_fatal_error(llvm::Twine const&, bool) + 452 7 libclang-cpp.so.18.1 0x0000ffff8111bbd8 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) + 4800 8 clang-tidy-18 0x0000aaaac6b3efb0 clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef<std::cxx11::basic_string<char, std::char_traitsIssue is that the file was built inside a docker container. But I ran clang-tidy outside.