Issue 143285
Summary clang-tidy crash.
Labels clang-tidy
Assignees
Reporter venkat-murty
    ```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.	Program arguments: /home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy lib/base/base.cpp
1.	<eof> parser at end of file
2.	ASTMatcher: Processing 'modernize-use-constraints' against:
	FunctionTemplateDecl boost::multiprecision::abs : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2313:1, line:2318:1>
--- Bound Nodes Begin ---
    function - { FunctionDecl boost::multiprecision::abs : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2314:1, line:2318:1> }
    functionTemplate - { FunctionTemplateDecl boost::multiprecision::abs : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2313:1, line:2318:1> }
    return - { DependentNameTypeLoc : </opt/sparrow/include/boost/multiprecision/detail/default_ops.hpp:2314:33, col:162> }
--- Bound Nodes End ---
 #0 0x000055fe016bce82 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x45c7e82)
 #1 0x000055fe016ba2db SignalHandler(int) Signals.cpp:0:0
 #2 0x00007fe7d78d9520 (/usr/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #3 0x000055fdfe128384 clang::tidy::modernize::matchEnableIfSpecialization(clang::TypeLoc) UseConstraintsCheck.cpp:0:0
 #4 0x000055fdfe12a209 clang::tidy::modernize::UseConstraintsCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x1035209)
 #5 0x000055fe0031b1bb clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::MatchVisitor::visitMatch(clang::ast_matchers::BoundNodes const&) ASTMatchFinder.cpp:0:0
 #6 0x000055fe00349851 clang::ast_matchers::internal::BoundNodesTreeBuilder::visitMatches(clang::ast_matchers::internal::BoundNodesTreeBuilder::Visitor*) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x3254851)
 #7 0x000055fe0031ce8d clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter(clang::DynTypedNode const&) ASTMatchFinder.cpp:0:0
 #8 0x000055fe0033278b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
 #9 0x000055fe003347ba clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#10 0x000055fe003404e0 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseNamespaceDecl(clang::NamespaceDecl*) ASTMatchFinder.cpp:0:0
#11 0x000055fe0033438b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#12 0x000055fe003347ba clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#13 0x000055fe003404e0 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseNamespaceDecl(clang::NamespaceDecl*) ASTMatchFinder.cpp:0:0
#14 0x000055fe0033438b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#15 0x000055fe003347ba clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#16 0x000055fe00342bf7 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) ASTMatchFinder.cpp:0:0
#17 0x000055fe003340e3 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#18 0x000055fe003349e8 clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x323f9e8)
#19 0x000055fdff250da0 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x215bda0)
#20 0x000055fdff4c7e59 clang::ParseAST(clang::Sema&, bool, bool) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x23d2e59)
#21 0x000055fdff211ab9 clang::FrontendAction::Execute() (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x211cab9)
#22 0x000055fdff188fc9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x2093fc9)
#23 0x000055fdfea3e8fd clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x19498fd)
#24 0x000055fdfe9d82f7 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)::ActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) ClangTidy.cpp:0:0
#25 0x000055fdfea365da clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr<clang::CompilerInvocation>, std::shared_ptr<clang::PCHContainerOperations>) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x19415da)
#26 0x000055fdfea39c86 clang::tooling::ToolInvocation::run() (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x1944c86)
#27 0x000055fdfea3bedb clang::tooling::ClangTool::run(clang::tooling::ToolAction*) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x1946edb)
#28 0x000055fdfe9df8f8 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) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0x18ea8f8)
#29 0x000055fdfdc68088 clang::tidy::clangTidyMain(int, char const**) (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0xb73088)
#30 0x00007fe7d78c0d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#31 0x00007fe7d78c0e40 call_init ./csu/../csu/libc-start.c:128:20
#32 0x00007fe7d78c0e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#33 0x000055fdfdc5db85 _start (/home/venkat/sparrowdb/env/external/BUILDS/GNU/Linux-x86_64/bin/clang-tidy+0xb68b85)
Segmentation fault (core dumped)
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to