Skip to content

Segfault #123163

Closed as duplicate of#91872
Closed as duplicate of#91872
Segfault#123163
Bug
@Kracken256

Description

@Kracken256
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-tidycrashPrefer [crash-on-valid] or [crash-on-invalid]duplicateResolved as duplicateincompleteIssue not complete (e.g. missing a reproducer, build arguments, etc.)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions