-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed
Labels
clang-tidycrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]
Description
The linter crashes during linting code with the include: #include <rerun.hpp>.
The version of rerun being used: librerun-sdk-0.24.1.
The following backtrace is the result:
1. <eof> parser at end of file
2. ASTMatcher: Processing 'hicpp-move-const-arg' against:
CXXConstructExpr : </home/my_project/.pixi/envs/jazzy/include/rerun/archetypes/../result.hpp:34:51, col:74>
--- Bound Nodes Begin ---
call-move - { CallExpr : </home/my_project/.pixi/envs/jazzy/include/rerun/archetypes/../result.hpp:34:57, col:73> }
invocation-parm - { ParmVarDecl status : </home/my_project/.pixi/envs/jazzy/include/rerun/archetypes/../error.hpp:117:15, col:36> }
invocation-parm-type - { QualType : const arrow::Status & }
receiving-expr - { CXXConstructExpr : </home/my_project/.pixi/envs/jazzy/include/rerun/archetypes/../result.hpp:34:51, col:74> }
--- Bound Nodes End ---
#0 0x00007b604db2947f llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libLLVM.so.19.1+0xf2947f)
#1 0x00007b604db26a4b SignalHandler(int) Signals.cpp:0:0
#2 0x00007b604c842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x000056f13072dcf8 clang::tidy::performance::MoveConstArgCheck::check(clang::ast_matchers::MatchFinder::MatchResult const&) (/home/my_project/.pixi/envs/jazzy/bin/clang-tidy+0x7a1cf8)
#4 0x00007b605722c26b clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::MatchVisitor::visitMatch(clang::ast_matchers::BoundNodes const&) ASTMatchFinder.cpp:0:0
#5 0x00007b605725d591 clang::ast_matchers::internal::BoundNodesTreeBuilder::visitMatches(clang::ast_matchers::internal::BoundNodesTreeBuilder::Visitor*) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x165d591)
#6 0x00007b605722d6a5 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchWithFilter(clang::DynTypedNode const&) ASTMatchFinder.cpp:0:0
#7 0x00007b605724c50f clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseStmt(clang::Stmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*) (.constprop.0) ASTMatchFinder.cpp:0:0
#8 0x00007b6057250f19 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseFunctionHelper(clang::FunctionDecl*) ASTMatchFinder.cpp:0:0
#9 0x00007b6057255d53 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseCXXConstructorDecl(clang::CXXConstructorDecl*) ASTMatchFinder.cpp:0:0
#10 0x00007b6057246724 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#11 0x00007b605724682a clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#12 0x00007b6057245502 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#13 0x00007b6057246724 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#14 0x00007b605725679c clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseClassTemplateDecl(clang::ClassTemplateDecl*) ASTMatchFinder.cpp:0:0
#15 0x00007b6057246724 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#16 0x00007b605724682a clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#17 0x00007b6057253a50 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseNamespaceDecl(clang::NamespaceDecl*) ASTMatchFinder.cpp:0:0
#18 0x00007b6057246724 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#19 0x00007b605724682a clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseDeclContextHelper(clang::DeclContext*) ASTMatchFinder.cpp:0:0
#20 0x00007b6057255c78 clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseTranslationUnitDecl(clang::TranslationUnitDecl*) ASTMatchFinder.cpp:0:0
#21 0x00007b6057246724 clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::TraverseDecl(clang::Decl*) ASTMatchFinder.cpp:0:0
#22 0x00007b6057246a7a clang::ast_matchers::MatchFinder::matchAST(clang::ASTContext&) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x1646a7a)
#23 0x00007b6058f0dec8 clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x330dec8)
#24 0x00007b60568809ec clang::ParseAST(clang::Sema&, bool, bool) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0xc809ec)
#25 0x00007b6058ecca59 clang::FrontendAction::Execute() (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x32cca59)
#26 0x00007b6058e48317 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x3248317)
#27 0x00007b60590fd35b clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x34fd35b)
#28 0x000056f130943f5e 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
#29 0x00007b60590f6c46 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr<clang::CompilerInvocation>, std::shared_ptr<clang::PCHContainerOperations>) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x34f6c46)
#30 0x00007b60590f86b0 clang::tooling::ToolInvocation::run() (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x34f86b0)
#31 0x00007b60590fa8b9 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) (/home/my_project/.pixi/envs/jazzy/bin/../lib/libclang-cpp.so.19.1+0x34fa8b9)
#32 0x000056f13094bd7d 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/my_project/.pixi/envs/jazzy/bin/clang-tidy+0x9bfd7d)
#33 0x000056f1301c0dfa clang::tidy::clangTidyMain(int, char const**) (/home/my_project/.pixi/envs/jazzy/bin/clang-tidy+0x234dfa)
#34 0x00007b604c829d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#35 0x00007b604c829e40 call_init ./csu/../csu/libc-start.c:128:20
#36 0x00007b604c829e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#37 0x000056f1301b987c _start (/home/my_project/.pixi/envs/jazzy/bin/clang-tidy+0x22d87c)
Metadata
Metadata
Assignees
Labels
clang-tidycrashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]