-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault #123163
Labels
clang-tidy
crash
Prefer [crash-on-valid] or [crash-on-invalid]
incomplete
Issue not complete (e.g. missing a reproducer, build arguments, etc.)
Comments
@llvm/issue-subscribers-clang-tidy Author: Wesley Jones (Kracken256)
```py
Stack dump:
0. Program arguments: clang-tidy -format-style=file -header-filter=. pipeline/libnitrate-parser/src/core/ASTReader.cc -extra-arg=-std=c++20
1. <eof> parser at end of file
2. ASTMatcher: Processing 'modernize-use-constraints' against:
FunctionTemplateDecl boost::multiprecision::abs : </usr/include/boost/multiprecision/detail/default_ops.hpp:2313:1, line:2318:1>
--- Bound Nodes Begin ---
function - { FunctionDecl boost::multiprecision::abs : </usr/include/boost/multiprecision/detail/default_ops.hpp:2314:1, line:2318:1> }
functionTemplate - { FunctionTemplateDecl boost::multiprecision::abs : </usr/include/boost/multiprecision/detail/default_ops.hpp:2313:1, line:2318:1> }
return - { DependentNameTypeLoc : </usr/include/boost/multiprecision/detail/default_ops.hpp:2314:33, col:162> }
--- Bound Nodes End ---
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 libLLVM.so.18.1 0x00007b9c5f9a63bf llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 63
1 libLLVM.so.18.1 0x00007b9c5f9a44f9 llvm::sys::RunSignalHandlers() + 89
2 libLLVM.so.18.1 0x00007b9c5f9a6b00
3 libc.so.6 0x00007b9c5e445320
4 clang-tidy 0x000056a042a0e035
5 clang-tidy 0x000056a042a0d02b clang::tidy::modernize::UseConstraintsCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) + 155
6 clang-tidy 0x000056a042d1ff15
7 clang-tidy 0x000056a042d5300c clang::ast_matchers::internal::BoundNodesTreeBuilder::visitMatches(clang::ast_matchers::internal::BoundNodesTreeBuilder::Visitor*) + 156
8 clang-tidy 0x000056a042d1f65f
9 clang-tidy 0x000056a042d221eb
10 clang-tidy 0x000056a042d2496b
11 clang-tidy 0x000056a042d22747
12 clang-tidy 0x000056a042d2496b
13 clang-tidy 0x000056a042d22747
14 clang-tidy 0x000056a042d4f6eb
15 clang-tidy 0x000056a042d22b89
16 clang-tidy 0x000056a042d22213
17 clang-tidy 0x000056a042cf4825 clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&) + 709
18 libclang-cpp.so.18.1 0x00007b9c68e42fbc clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) + 44
19 libclang-cpp.so.18.1 0x00007b9c66f973d6 clang::ParseAST(clang::Sema&, bool, bool) + 598
20 libclang-cpp.so.18.1 0x00007b9c68e0662c clang::FrontendAction::Execute() + 92
21 libclang-cpp.so.18.1 0x00007b9c68d830b4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 708
22 libclang-cpp.so.18.1 0x00007b9c68ffa6b9 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) + 425
23 clang-tidy 0x000056a043373ab3
24 libclang-cpp.so.18.1 0x00007b9c68ffa414 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr<clang::CompilerInvocation>, std::shared_ptr<clang::PCHContainerOperations>) + 292
25 libclang-cpp.so.18.1 0x00007b9c68ff917f clang::tooling::ToolInvocation::run() + 1231
26 libclang-cpp.so.18.1 0x00007b9c68ffc1c1 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) + 5041
27 clang-tidy 0x000056a04336fd9b clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>, bool, bool, llvm::StringRef) + 1083
28 clang-tidy 0x000056a0426efc65 clang::tidy::clangTidyMain(int, char const**) + 10005
29 libc.so.6 0x00007b9c5e42a1ca
30 libc.so.6 0x00007b9c5e42a28b __libc_start_main + 139
31 clang-tidy 0x000056a0426eafe5 _start + 37
```
|
Which version do you use? Please provide reproducer. https://godbolt.org should be helpful. |
» clang-tidy --version
❮ 1 ❯
Ubuntu LLVM version 18.1.3
Optimized build.
uname -a ❮
0 ❯
Linux convent 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5
13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release ❮
0 ❯
NAME="Linux Mint"
VERSION="22 (Wilma)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 22"
VERSION_ID="22"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="
http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=wilma
UBUNTU_CODENAME=noble
…On Thu, Jan 16, 2025 at 12:09 AM EugeneZelenko ***@***.***> wrote:
Which version do you use? Please provide reproducer. https://godbolt.org
should be helpful.
—
Reply to this email directly, view it on GitHub
<#123163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APKC42KSNTPFUALEGCX6GZ32K45ITAVCNFSM6AAAAABVIXYU7WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJUGU2DQOBZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
clang-tidy
crash
Prefer [crash-on-valid] or [crash-on-invalid]
incomplete
Issue not complete (e.g. missing a reproducer, build arguments, etc.)
The text was updated successfully, but these errors were encountered: