[ https://issues.apache.org/jira/browse/ARROW-18240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638761#comment-17638761 ]
Dewey Dunnington commented on ARROW-18240: ------------------------------------------ A low-tech output of where this deadlock occurs is attached above as photos. The verbose backtrace of the deadlock is: {noformat} Console is in 'commands' mode, prefix expressions with '?'. Attached to process 41106 Stop reason: signal SIGSTOP bt * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00000001b114e270 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b118883c libsystem_pthread.dylib`_pthread_cond_wait + 1236 frame #2: 0x00000001b10d7284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 frame #3: 0x000000016fea7e6c libarrow.1100.0.0.dylib`void std::__1::condition_variable::wait<arrow::internal::SerialExecutor::RunLoop()::$_0>(this=0x00006000030ff748, __lk=0x000000016f606e68, __pred=(0x000000016f606ed8))::$_0) at __mutex_base:404:9 frame #4: 0x000000016fea74c0 libarrow.1100.0.0.dylib`arrow::internal::SerialExecutor::RunLoop(this=0x000000016f606ed8) at thread_pool.cc:174:28 frame #5: 0x0000000103afdc64 arrow.so`arrow::Future<std::__1::shared_ptr<arrow::Table>> arrow::internal::SerialExecutor::Run<std::__1::shared_ptr<arrow::Table>, arrow::Result<std::__1::shared_ptr<arrow::Table>>>(this=0x000000016f606ed8, initial_task=arrow::internal::SerialExecutor::TopLevelTask<std::__1::shared_ptr<arrow::Table> > @ 0x000000016f606ed0)>) at thread_pool.h:392:5 [opt] frame #6: 0x0000000103afd83c arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> arrow::internal::SerialExecutor::RunInSerialExecutor<std::__1::shared_ptr<arrow::Table>, arrow::Future<std::__1::shared_ptr<arrow::Table>>, arrow::Result<std::__1::shared_ptr<arrow::Table>>>(initial_task=arrow::internal::SerialExecutor::TopLevelTask<std::__1::shared_ptr<arrow::Table> > @ 0x000000016f606f30)>) at thread_pool.h:289:38 [opt] frame #7: 0x0000000103afd5e4 arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> RunWithCapturedR<std::__1::shared_ptr<arrow::Table>>(make_arrow_call=function<arrow::Future<std::__1::shared_ptr<arrow::Table> > ()> @ 0x000000016f606fc8)>) at safe-call-into-r.h:287:29 [opt] frame #8: 0x0000000103aee29c arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> RunWithCapturedRIfPossible<std::__1::shared_ptr<arrow::Table>>(make_arrow_call=function<arrow::Result<std::__1::shared_ptr<arrow::Table> > ()> @ 0x000000016f607020)>) at safe-call-into-r.h:314:12 [opt] frame #9: 0x0000000103aee144 arrow.so`Table__from_ExecPlanReader(reader=<unavailable>) at compute-exec.cpp:195:17 [opt] frame #10: 0x0000000103a9d668 arrow.so`::_arrow_Table__from_ExecPlanReader(reader_sexp=<unavailable>) at arrowExports.cpp:927:24 [opt] frame #11: 0x0000000100e25be4 libR.dylib`R_doDotCall(ofun=<unavailable>, nargs=<unavailable>, cargs=<unavailable>, call=0x0000000118022dd8) at dotcode.c:601:17 [opt] frame #12: 0x0000000100e6e2dc libR.dylib`bcEval(body=0x0000000118020320, rho=<unavailable>, useCache=<unavailable>) at eval.c:7692:21 [opt] frame #13: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x0000000118020320, rho=0x0000000118022710) at eval.c:748:8 [opt] frame #14: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010f5e4e50, newrho=0x0000000118022710, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #15: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010f5e4e50, op=0x0000000118020ba8, arglist=0x0000000118022780, rho=0x0000000118020cf8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #16: 0x0000000100e5485c libR.dylib`Rf_eval(e=0x000000010f5e4e50, rho=0x0000000118020cf8) at eval.c:871:12 [opt] frame #17: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x0000000118021b68, newrho=0x0000000118020cf8, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #18: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x0000000118021b68, op=0x000000010ffefa50, arglist=0x000000014e00c0e0, rho=0x0000000118020f28, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #19: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011801f3f8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #20: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011801f3f8, rho=0x0000000118020f28) at eval.c:748:8 [opt] frame #21: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x0000000118020fd0, newrho=0x0000000118020f28, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #22: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x0000000118020fd0, op=0x000000011801ffc8, arglist=0x000000010e89f070, rho=0x000000010e89ef90, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #23: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #24: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x000000014ed49900, sxp=0x000000011801ffc8, dotClass=0x0000000118b9c7e8, cptr=0x000000016f60be00, method=0x000000013e12d4e0, generic=<unavailable>, rho=0x000000010e89ef90, callrho=<unavailable>, defrho=0x000000013e07c380) at objects.c:436:16 [opt] frame #25: 0x0000000100ebd088 libR.dylib`Rf_usemethod(generic="as_arrow_table", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010e89ef90, callrho=0x000000010e89f0e0, defrho=0x000000013e07c380, ans=0x000000016f60b4c0) at objects.c:472:10 [opt] frame #26: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x000000014ed44e48, op=<unavailable>, args=<unavailable>, env=0x000000010e89ef90) at objects.c:565:9 [opt] frame #27: 0x0000000100e5c170 libR.dylib`bcEval(body=0x000000014ed477b0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #28: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014ed477b0, rho=0x000000010e89ef90) at eval.c:748:8 [opt] frame #29: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e89a970, newrho=0x000000010e89ef90, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #30: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e89a970, op=0x000000014ed49900, arglist=0x000000010e89f070, rho=0x000000010e89f0e0, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #31: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000010e8963f8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #32: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000010e8963f8, rho=0x000000010e89f0e0) at eval.c:748:8 [opt] frame #33: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e89b278, newrho=0x000000010e89f0e0, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #34: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e89b278, op=0x000000010e8933c8, arglist=0x000000010e8936a0, rho=0x000000010e8935c0, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #35: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #36: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x000000014ed49900, sxp=0x000000010e8933c8, dotClass=0x000000012e421438, cptr=0x000000016f60daa0, method=0x000000013e12e0b0, generic=<unavailable>, rho=0x000000010e8935c0, callrho=<unavailable>, defrho=0x000000013e07c380) at objects.c:436:16 [opt] frame #37: 0x0000000100ebd180 libR.dylib`Rf_usemethod(generic="as_arrow_table", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010e8935c0, callrho=0x000000010e890e78, defrho=0x000000013e07c380, ans=0x000000016f60d160) at objects.c:0 [opt] frame #38: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x000000014ed44e48, op=<unavailable>, args=<unavailable>, env=0x000000010e8935c0) at objects.c:565:9 [opt] frame #39: 0x0000000100e5c170 libR.dylib`bcEval(body=0x000000014ed477b0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #40: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014ed477b0, rho=0x000000010e8935c0) at eval.c:748:8 [opt] frame #41: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000011814c400, newrho=0x000000010e8935c0, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #42: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000011814c400, op=0x000000014ed49900, arglist=0x000000010e8936a0, rho=0x000000010e890e78, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #43: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011814e208, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #44: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011814e208, rho=0x000000010e890e78) at eval.c:748:8 [opt] frame #45: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e890e40) at eval.c:568:8 [opt] frame #46: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e890e40, symbol=0x000000014e05e750, rho=0x000000010e890c80, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #47: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e890c80, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #48: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961818, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #49: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961818, rho=0x000000010e890c80) at eval.c:748:8 [opt] frame #50: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e8907e8) at eval.c:568:8 [opt] frame #51: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e8907e8, symbol=0x000000014e05e750, rho=0x000000010e894510, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #52: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e894510, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #53: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e95f678, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #54: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95f678, rho=0x000000010e894510) at eval.c:748:8 [opt] frame #55: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e894468) at eval.c:568:8 [opt] frame #56: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e894468, symbol=0x000000014e05e750, rho=0x000000010e8941c8, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #57: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e8941c8, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #58: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961b60, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #59: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961b60, rho=0x000000010e8941c8) at eval.c:748:8 [opt] frame #60: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e894120) at eval.c:568:8 [opt] frame #61: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e894120, symbol=0x000000014e05e750, rho=0x000000010e893b00, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #62: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e893b00, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #63: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961ee0, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #64: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961ee0, rho=0x000000010e893b00) at eval.c:748:8 [opt] frame #65: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95eca0, newrho=0x000000010e893b00, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #66: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95eca0, op=0x000000010e894190, arglist=0x000000010e893d68, rho=0x000000010e8941c8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #67: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e95f3a0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #68: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95f3a0, rho=0x000000010e8941c8) at eval.c:748:8 [opt] frame #69: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95bce0, newrho=0x000000010e8941c8, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #70: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95bce0, op=0x000000010e890bd8, arglist=0x000000010e894430, rho=0x000000010e894510, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #71: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e95c760, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #72: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95c760, rho=0x000000010e894510) at eval.c:748:8 [opt] frame #73: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95c958, newrho=0x000000010e894510, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #74: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95c958, op=0x000000010e890c48, arglist=0x000000010e8907b0, rho=0x000000010e890c80, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #75: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e949ac8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #76: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e949ac8, rho=0x000000010e890c80) at eval.c:748:8 [opt] frame #77: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000011814c470, newrho=0x000000010e890c80, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #78: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000011814c470, op=0x000000014e949c18, arglist=0x000000010e890e08, rho=0x000000010e890e78, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #79: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011814d890, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #80: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011814d890, rho=0x000000010e890e78) at eval.c:748:8 [opt] frame #81: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010ffd5c48, newrho=0x000000010e890e78, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #82: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010ffd5c48, op=0x000000011814a240, arglist=0x000000010e85b4e0, rho=0x000000010e85b588, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #83: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000010ffd36d0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #84: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000010ffd36d0, rho=0x000000010e85b588) at eval.c:748:8 [opt] frame #85: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e85b668, newrho=0x000000010e85b588, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #86: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e85b668, op=0x000000010ffd3fc8, arglist=0x000000010f76d538, rho=0x000000010f76d490, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #87: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #88: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x0000000118abfa60, sxp=0x000000010ffd3fc8, dotClass=0x000000012e421438, cptr=0x000000016f615450, method=0x000000013e07a020, generic=<unavailable>, rho=0x000000010f76d490, callrho=<unavailable>, defrho=0x000000012eb77450) at objects.c:436:16 [opt] frame #89: 0x0000000100ebd180 libR.dylib`Rf_usemethod(generic="collect", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010f76d490, callrho=0x000000014e047cc8, defrho=0x000000012eb77450, ans=0x000000016f614b10) at objects.c:0 [opt] frame #90: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x0000000118abf600, op=<unavailable>, args=<unavailable>, env=0x000000010f76d490) at objects.c:565:9 [opt] frame #91: 0x0000000100e5c170 libR.dylib`bcEval(body=0x0000000118abf6a8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #92: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x0000000118abf6a8, rho=0x000000010f76d490) at eval.c:748:8 [opt] frame #93: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010f76d730, newrho=0x000000010f76d490, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #94: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010f76d730, op=0x0000000118abfa60, arglist=0x000000010f76d538, rho=0x000000014e047cc8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #95: 0x0000000100e5485c libR.dylib`Rf_eval(e=0x000000010f76d730, rho=0x000000014e047cc8) at eval.c:871:12 [opt] frame #96: 0x0000000100ea6d7c libR.dylib`Rf_ReplIteration(rho=0x000000014e047cc8, savestack=<unavailable>, browselevel=<unavailable>, state=0x000000016f6159b0) at main.c:264:2 [opt] frame #97: 0x0000000100ea82ac libR.dylib`R_ReplConsole(rho=0x000000014e047cc8, savestack=0, browselevel=0) at main.c:316:11 [opt] frame #98: 0x0000000100ea81e4 libR.dylib`run_Rmainloop at main.c:1137:5 [opt] frame #99: 0x0000000100ea8390 libR.dylib`Rf_mainloop at main.c:1144:5 [opt] frame #100: 0x00000001007ebea0 R`main + 32 frame #101: 0x000000010092108c dyld`start + 520 bt * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00000001b114e270 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b118883c libsystem_pthread.dylib`_pthread_cond_wait + 1236 frame #2: 0x00000001b10d7284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 frame #3: 0x000000016fea7e6c libarrow.1100.0.0.dylib`void std::__1::condition_variable::wait<arrow::internal::SerialExecutor::RunLoop()::$_0>(this=0x00006000030ff748, __lk=0x000000016f606e68, __pred=(0x000000016f606ed8))::$_0) at __mutex_base:404:9 frame #4: 0x000000016fea74c0 libarrow.1100.0.0.dylib`arrow::internal::SerialExecutor::RunLoop(this=0x000000016f606ed8) at thread_pool.cc:174:28 frame #5: 0x0000000103afdc64 arrow.so`arrow::Future<std::__1::shared_ptr<arrow::Table>> arrow::internal::SerialExecutor::Run<std::__1::shared_ptr<arrow::Table>, arrow::Result<std::__1::shared_ptr<arrow::Table>>>(this=0x000000016f606ed8, initial_task=arrow::internal::SerialExecutor::TopLevelTask<std::__1::shared_ptr<arrow::Table> > @ 0x000000016f606ed0)>) at thread_pool.h:392:5 [opt] frame #6: 0x0000000103afd83c arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> arrow::internal::SerialExecutor::RunInSerialExecutor<std::__1::shared_ptr<arrow::Table>, arrow::Future<std::__1::shared_ptr<arrow::Table>>, arrow::Result<std::__1::shared_ptr<arrow::Table>>>(initial_task=arrow::internal::SerialExecutor::TopLevelTask<std::__1::shared_ptr<arrow::Table> > @ 0x000000016f606f30)>) at thread_pool.h:289:38 [opt] frame #7: 0x0000000103afd5e4 arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> RunWithCapturedR<std::__1::shared_ptr<arrow::Table>>(make_arrow_call=function<arrow::Future<std::__1::shared_ptr<arrow::Table> > ()> @ 0x000000016f606fc8)>) at safe-call-into-r.h:287:29 [opt] frame #8: 0x0000000103aee29c arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> RunWithCapturedRIfPossible<std::__1::shared_ptr<arrow::Table>>(make_arrow_call=function<arrow::Result<std::__1::shared_ptr<arrow::Table> > ()> @ 0x000000016f607020)>) at safe-call-into-r.h:314:12 [opt] frame #9: 0x0000000103aee144 arrow.so`Table__from_ExecPlanReader(reader=<unavailable>) at compute-exec.cpp:195:17 [opt] frame #10: 0x0000000103a9d668 arrow.so`::_arrow_Table__from_ExecPlanReader(reader_sexp=<unavailable>) at arrowExports.cpp:927:24 [opt] frame #11: 0x0000000100e25be4 libR.dylib`R_doDotCall(ofun=<unavailable>, nargs=<unavailable>, cargs=<unavailable>, call=0x0000000118022dd8) at dotcode.c:601:17 [opt] frame #12: 0x0000000100e6e2dc libR.dylib`bcEval(body=0x0000000118020320, rho=<unavailable>, useCache=<unavailable>) at eval.c:7692:21 [opt] frame #13: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x0000000118020320, rho=0x0000000118022710) at eval.c:748:8 [opt] frame #14: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010f5e4e50, newrho=0x0000000118022710, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #15: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010f5e4e50, op=0x0000000118020ba8, arglist=0x0000000118022780, rho=0x0000000118020cf8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #16: 0x0000000100e5485c libR.dylib`Rf_eval(e=0x000000010f5e4e50, rho=0x0000000118020cf8) at eval.c:871:12 [opt] frame #17: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x0000000118021b68, newrho=0x0000000118020cf8, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #18: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x0000000118021b68, op=0x000000010ffefa50, arglist=0x000000014e00c0e0, rho=0x0000000118020f28, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #19: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011801f3f8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #20: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011801f3f8, rho=0x0000000118020f28) at eval.c:748:8 [opt] frame #21: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x0000000118020fd0, newrho=0x0000000118020f28, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #22: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x0000000118020fd0, op=0x000000011801ffc8, arglist=0x000000010e89f070, rho=0x000000010e89ef90, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #23: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #24: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x000000014ed49900, sxp=0x000000011801ffc8, dotClass=0x0000000118b9c7e8, cptr=0x000000016f60be00, method=0x000000013e12d4e0, generic=<unavailable>, rho=0x000000010e89ef90, callrho=<unavailable>, defrho=0x000000013e07c380) at objects.c:436:16 [opt] frame #25: 0x0000000100ebd088 libR.dylib`Rf_usemethod(generic="as_arrow_table", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010e89ef90, callrho=0x000000010e89f0e0, defrho=0x000000013e07c380, ans=0x000000016f60b4c0) at objects.c:472:10 [opt] frame #26: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x000000014ed44e48, op=<unavailable>, args=<unavailable>, env=0x000000010e89ef90) at objects.c:565:9 [opt] frame #27: 0x0000000100e5c170 libR.dylib`bcEval(body=0x000000014ed477b0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #28: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014ed477b0, rho=0x000000010e89ef90) at eval.c:748:8 [opt] frame #29: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e89a970, newrho=0x000000010e89ef90, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #30: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e89a970, op=0x000000014ed49900, arglist=0x000000010e89f070, rho=0x000000010e89f0e0, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #31: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000010e8963f8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #32: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000010e8963f8, rho=0x000000010e89f0e0) at eval.c:748:8 [opt] frame #33: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e89b278, newrho=0x000000010e89f0e0, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #34: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e89b278, op=0x000000010e8933c8, arglist=0x000000010e8936a0, rho=0x000000010e8935c0, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #35: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #36: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x000000014ed49900, sxp=0x000000010e8933c8, dotClass=0x000000012e421438, cptr=0x000000016f60daa0, method=0x000000013e12e0b0, generic=<unavailable>, rho=0x000000010e8935c0, callrho=<unavailable>, defrho=0x000000013e07c380) at objects.c:436:16 [opt] frame #37: 0x0000000100ebd180 libR.dylib`Rf_usemethod(generic="as_arrow_table", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010e8935c0, callrho=0x000000010e890e78, defrho=0x000000013e07c380, ans=0x000000016f60d160) at objects.c:0 [opt] frame #38: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x000000014ed44e48, op=<unavailable>, args=<unavailable>, env=0x000000010e8935c0) at objects.c:565:9 [opt] frame #39: 0x0000000100e5c170 libR.dylib`bcEval(body=0x000000014ed477b0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #40: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014ed477b0, rho=0x000000010e8935c0) at eval.c:748:8 [opt] frame #41: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000011814c400, newrho=0x000000010e8935c0, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #42: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000011814c400, op=0x000000014ed49900, arglist=0x000000010e8936a0, rho=0x000000010e890e78, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #43: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011814e208, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #44: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011814e208, rho=0x000000010e890e78) at eval.c:748:8 [opt] frame #45: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e890e40) at eval.c:568:8 [opt] frame #46: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e890e40, symbol=0x000000014e05e750, rho=0x000000010e890c80, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #47: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e890c80, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #48: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961818, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #49: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961818, rho=0x000000010e890c80) at eval.c:748:8 [opt] frame #50: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e8907e8) at eval.c:568:8 [opt] frame #51: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e8907e8, symbol=0x000000014e05e750, rho=0x000000010e894510, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #52: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e894510, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #53: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e95f678, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #54: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95f678, rho=0x000000010e894510) at eval.c:748:8 [opt] frame #55: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e894468) at eval.c:568:8 [opt] frame #56: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e894468, symbol=0x000000014e05e750, rho=0x000000010e8941c8, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #57: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e8941c8, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #58: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961b60, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #59: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961b60, rho=0x000000010e8941c8) at eval.c:748:8 [opt] frame #60: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e894120) at eval.c:568:8 [opt] frame #61: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e894120, symbol=0x000000014e05e750, rho=0x000000010e893b00, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #62: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e893b00, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #63: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961ee0, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #64: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961ee0, rho=0x000000010e893b00) at eval.c:748:8 [opt] frame #65: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95eca0, newrho=0x000000010e893b00, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #66: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95eca0, op=0x000000010e894190, arglist=0x000000010e893d68, rho=0x000000010e8941c8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #67: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e95f3a0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #68: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95f3a0, rho=0x000000010e8941c8) at eval.c:748:8 [opt] frame #69: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95bce0, newrho=0x000000010e8941c8, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #70: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95bce0, op=0x000000010e890bd8, arglist=0x000000010e894430, rho=0x000000010e894510, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #71: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e95c760, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #72: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95c760, rho=0x000000010e894510) at eval.c:748:8 [opt] frame #73: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95c958, newrho=0x000000010e894510, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #74: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95c958, op=0x000000010e890c48, arglist=0x000000010e8907b0, rho=0x000000010e890c80, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #75: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e949ac8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #76: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e949ac8, rho=0x000000010e890c80) at eval.c:748:8 [opt] frame #77: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000011814c470, newrho=0x000000010e890c80, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #78: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000011814c470, op=0x000000014e949c18, arglist=0x000000010e890e08, rho=0x000000010e890e78, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #79: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011814d890, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #80: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011814d890, rho=0x000000010e890e78) at eval.c:748:8 [opt] frame #81: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010ffd5c48, newrho=0x000000010e890e78, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #82: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010ffd5c48, op=0x000000011814a240, arglist=0x000000010e85b4e0, rho=0x000000010e85b588, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #83: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000010ffd36d0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #84: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000010ffd36d0, rho=0x000000010e85b588) at eval.c:748:8 [opt] frame #85: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e85b668, newrho=0x000000010e85b588, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #86: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e85b668, op=0x000000010ffd3fc8, arglist=0x000000010f76d538, rho=0x000000010f76d490, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #87: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #88: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x0000000118abfa60, sxp=0x000000010ffd3fc8, dotClass=0x000000012e421438, cptr=0x000000016f615450, method=0x000000013e07a020, generic=<unavailable>, rho=0x000000010f76d490, callrho=<unavailable>, defrho=0x000000012eb77450) at objects.c:436:16 [opt] frame #89: 0x0000000100ebd180 libR.dylib`Rf_usemethod(generic="collect", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010f76d490, callrho=0x000000014e047cc8, defrho=0x000000012eb77450, ans=0x000000016f614b10) at objects.c:0 [opt] frame #90: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x0000000118abf600, op=<unavailable>, args=<unavailable>, env=0x000000010f76d490) at objects.c:565:9 [opt] frame #91: 0x0000000100e5c170 libR.dylib`bcEval(body=0x0000000118abf6a8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #92: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x0000000118abf6a8, rho=0x000000010f76d490) at eval.c:748:8 [opt] frame #93: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010f76d730, newrho=0x000000010f76d490, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #94: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010f76d730, op=0x0000000118abfa60, arglist=0x000000010f76d538, rho=0x000000014e047cc8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #95: 0x0000000100e5485c libR.dylib`Rf_eval(e=0x000000010f76d730, rho=0x000000014e047cc8) at eval.c:871:12 [opt] frame #96: 0x0000000100ea6d7c libR.dylib`Rf_ReplIteration(rho=0x000000014e047cc8, savestack=<unavailable>, browselevel=<unavailable>, state=0x000000016f6159b0) at main.c:264:2 [opt] frame #97: 0x0000000100ea82ac libR.dylib`R_ReplConsole(rho=0x000000014e047cc8, savestack=0, browselevel=0) at main.c:316:11 [opt] frame #98: 0x0000000100ea81e4 libR.dylib`run_Rmainloop at main.c:1137:5 [opt] frame #99: 0x0000000100ea8390 libR.dylib`Rf_mainloop at main.c:1144:5 [opt] frame #100: 0x00000001007ebea0 R`main + 32 frame #101: 0x000000010092108c dyld`start + 520 bt * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP * frame #0: 0x00000001b114e270 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b118883c libsystem_pthread.dylib`_pthread_cond_wait + 1236 frame #2: 0x00000001b10d7284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 frame #3: 0x000000016fea7e6c libarrow.1100.0.0.dylib`void std::__1::condition_variable::wait<arrow::internal::SerialExecutor::RunLoop()::$_0>(this=0x00006000030ff748, __lk=0x000000016f606e68, __pred=(0x000000016f606ed8))::$_0) at __mutex_base:404:9 frame #4: 0x000000016fea74c0 libarrow.1100.0.0.dylib`arrow::internal::SerialExecutor::RunLoop(this=0x000000016f606ed8) at thread_pool.cc:174:28 frame #5: 0x0000000103afdc64 arrow.so`arrow::Future<std::__1::shared_ptr<arrow::Table>> arrow::internal::SerialExecutor::Run<std::__1::shared_ptr<arrow::Table>, arrow::Result<std::__1::shared_ptr<arrow::Table>>>(this=0x000000016f606ed8, initial_task=arrow::internal::SerialExecutor::TopLevelTask<std::__1::shared_ptr<arrow::Table> > @ 0x000000016f606ed0)>) at thread_pool.h:392:5 [opt] frame #6: 0x0000000103afd83c arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> arrow::internal::SerialExecutor::RunInSerialExecutor<std::__1::shared_ptr<arrow::Table>, arrow::Future<std::__1::shared_ptr<arrow::Table>>, arrow::Result<std::__1::shared_ptr<arrow::Table>>>(initial_task=arrow::internal::SerialExecutor::TopLevelTask<std::__1::shared_ptr<arrow::Table> > @ 0x000000016f606f30)>) at thread_pool.h:289:38 [opt] frame #7: 0x0000000103afd5e4 arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> RunWithCapturedR<std::__1::shared_ptr<arrow::Table>>(make_arrow_call=function<arrow::Future<std::__1::shared_ptr<arrow::Table> > ()> @ 0x000000016f606fc8)>) at safe-call-into-r.h:287:29 [opt] frame #8: 0x0000000103aee29c arrow.so`arrow::Result<std::__1::shared_ptr<arrow::Table>> RunWithCapturedRIfPossible<std::__1::shared_ptr<arrow::Table>>(make_arrow_call=function<arrow::Result<std::__1::shared_ptr<arrow::Table> > ()> @ 0x000000016f607020)>) at safe-call-into-r.h:314:12 [opt] frame #9: 0x0000000103aee144 arrow.so`Table__from_ExecPlanReader(reader=<unavailable>) at compute-exec.cpp:195:17 [opt] frame #10: 0x0000000103a9d668 arrow.so`::_arrow_Table__from_ExecPlanReader(reader_sexp=<unavailable>) at arrowExports.cpp:927:24 [opt] frame #11: 0x0000000100e25be4 libR.dylib`R_doDotCall(ofun=<unavailable>, nargs=<unavailable>, cargs=<unavailable>, call=0x0000000118022dd8) at dotcode.c:601:17 [opt] frame #12: 0x0000000100e6e2dc libR.dylib`bcEval(body=0x0000000118020320, rho=<unavailable>, useCache=<unavailable>) at eval.c:7692:21 [opt] frame #13: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x0000000118020320, rho=0x0000000118022710) at eval.c:748:8 [opt] frame #14: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010f5e4e50, newrho=0x0000000118022710, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #15: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010f5e4e50, op=0x0000000118020ba8, arglist=0x0000000118022780, rho=0x0000000118020cf8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #16: 0x0000000100e5485c libR.dylib`Rf_eval(e=0x000000010f5e4e50, rho=0x0000000118020cf8) at eval.c:871:12 [opt] frame #17: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x0000000118021b68, newrho=0x0000000118020cf8, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #18: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x0000000118021b68, op=0x000000010ffefa50, arglist=0x000000014e00c0e0, rho=0x0000000118020f28, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #19: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011801f3f8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #20: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011801f3f8, rho=0x0000000118020f28) at eval.c:748:8 [opt] frame #21: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x0000000118020fd0, newrho=0x0000000118020f28, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #22: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x0000000118020fd0, op=0x000000011801ffc8, arglist=0x000000010e89f070, rho=0x000000010e89ef90, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #23: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #24: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x000000014ed49900, sxp=0x000000011801ffc8, dotClass=0x0000000118b9c7e8, cptr=0x000000016f60be00, method=0x000000013e12d4e0, generic=<unavailable>, rho=0x000000010e89ef90, callrho=<unavailable>, defrho=0x000000013e07c380) at objects.c:436:16 [opt] frame #25: 0x0000000100ebd088 libR.dylib`Rf_usemethod(generic="as_arrow_table", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010e89ef90, callrho=0x000000010e89f0e0, defrho=0x000000013e07c380, ans=0x000000016f60b4c0) at objects.c:472:10 [opt] frame #26: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x000000014ed44e48, op=<unavailable>, args=<unavailable>, env=0x000000010e89ef90) at objects.c:565:9 [opt] frame #27: 0x0000000100e5c170 libR.dylib`bcEval(body=0x000000014ed477b0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #28: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014ed477b0, rho=0x000000010e89ef90) at eval.c:748:8 [opt] frame #29: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e89a970, newrho=0x000000010e89ef90, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #30: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e89a970, op=0x000000014ed49900, arglist=0x000000010e89f070, rho=0x000000010e89f0e0, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #31: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000010e8963f8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #32: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000010e8963f8, rho=0x000000010e89f0e0) at eval.c:748:8 [opt] frame #33: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e89b278, newrho=0x000000010e89f0e0, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #34: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e89b278, op=0x000000010e8933c8, arglist=0x000000010e8936a0, rho=0x000000010e8935c0, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #35: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #36: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x000000014ed49900, sxp=0x000000010e8933c8, dotClass=0x000000012e421438, cptr=0x000000016f60daa0, method=0x000000013e12e0b0, generic=<unavailable>, rho=0x000000010e8935c0, callrho=<unavailable>, defrho=0x000000013e07c380) at objects.c:436:16 [opt] frame #37: 0x0000000100ebd180 libR.dylib`Rf_usemethod(generic="as_arrow_table", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010e8935c0, callrho=0x000000010e890e78, defrho=0x000000013e07c380, ans=0x000000016f60d160) at objects.c:0 [opt] frame #38: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x000000014ed44e48, op=<unavailable>, args=<unavailable>, env=0x000000010e8935c0) at objects.c:565:9 [opt] frame #39: 0x0000000100e5c170 libR.dylib`bcEval(body=0x000000014ed477b0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #40: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014ed477b0, rho=0x000000010e8935c0) at eval.c:748:8 [opt] frame #41: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000011814c400, newrho=0x000000010e8935c0, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #42: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000011814c400, op=0x000000014ed49900, arglist=0x000000010e8936a0, rho=0x000000010e890e78, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #43: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011814e208, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #44: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011814e208, rho=0x000000010e890e78) at eval.c:748:8 [opt] frame #45: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e890e40) at eval.c:568:8 [opt] frame #46: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e890e40, symbol=0x000000014e05e750, rho=0x000000010e890c80, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #47: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e890c80, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #48: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961818, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #49: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961818, rho=0x000000010e890c80) at eval.c:748:8 [opt] frame #50: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e8907e8) at eval.c:568:8 [opt] frame #51: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e8907e8, symbol=0x000000014e05e750, rho=0x000000010e894510, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #52: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e894510, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #53: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e95f678, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #54: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95f678, rho=0x000000010e894510) at eval.c:748:8 [opt] frame #55: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e894468) at eval.c:568:8 [opt] frame #56: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e894468, symbol=0x000000014e05e750, rho=0x000000010e8941c8, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #57: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e8941c8, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #58: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961b60, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #59: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961b60, rho=0x000000010e8941c8) at eval.c:748:8 [opt] frame #60: 0x0000000100e6fae4 libR.dylib`forcePromise(e=0x000000010e894120) at eval.c:568:8 [opt] frame #61: 0x0000000100e7b9b8 libR.dylib`getvar [inlined] FORCE_PROMISE(value=0x000000010e894120, symbol=0x000000014e05e750, rho=0x000000010e893b00, keepmiss=FALSE) at eval.c:5157:15 [opt] frame #62: 0x0000000100e7b9b0 libR.dylib`getvar(symbol=0x000000014e05e750, rho=0x000000010e893b00, dd=<unavailable>, keepmiss=FALSE, vcache=<unavailable>, sidx=<unavailable>) at eval.c:5198:14 [opt] frame #63: 0x0000000100e58b50 libR.dylib`bcEval(body=0x000000014e961ee0, rho=<unavailable>, useCache=<unavailable>) at eval.c:6888:20 [opt] frame #64: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e961ee0, rho=0x000000010e893b00) at eval.c:748:8 [opt] frame #65: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95eca0, newrho=0x000000010e893b00, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #66: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95eca0, op=0x000000010e894190, arglist=0x000000010e893d68, rho=0x000000010e8941c8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #67: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e95f3a0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #68: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95f3a0, rho=0x000000010e8941c8) at eval.c:748:8 [opt] frame #69: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95bce0, newrho=0x000000010e8941c8, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #70: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95bce0, op=0x000000010e890bd8, arglist=0x000000010e894430, rho=0x000000010e894510, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #71: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e95c760, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #72: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e95c760, rho=0x000000010e894510) at eval.c:748:8 [opt] frame #73: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000014e95c958, newrho=0x000000010e894510, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #74: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000014e95c958, op=0x000000010e890c48, arglist=0x000000010e8907b0, rho=0x000000010e890c80, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #75: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000014e949ac8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #76: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000014e949ac8, rho=0x000000010e890c80) at eval.c:748:8 [opt] frame #77: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000011814c470, newrho=0x000000010e890c80, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #78: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000011814c470, op=0x000000014e949c18, arglist=0x000000010e890e08, rho=0x000000010e890e78, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #79: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000011814d890, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #80: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000011814d890, rho=0x000000010e890e78) at eval.c:748:8 [opt] frame #81: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010ffd5c48, newrho=0x000000010e890e78, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #82: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010ffd5c48, op=0x000000011814a240, arglist=0x000000010e85b4e0, rho=0x000000010e85b588, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #83: 0x0000000100e5b770 libR.dylib`bcEval(body=0x000000010ffd36d0, rho=<unavailable>, useCache=<unavailable>) at eval.c:7104:12 [opt] frame #84: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x000000010ffd36d0, rho=0x000000010e85b588) at eval.c:748:8 [opt] frame #85: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010e85b668, newrho=0x000000010e85b588, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #86: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010e85b668, op=0x000000010ffd3fc8, arglist=0x000000010f76d538, rho=0x000000010f76d490, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #87: 0x0000000100ebebb4 libR.dylib`applyMethod(call=<unavailable>, op=<unavailable>, args=<unavailable>, rho=<unavailable>, newvars=<unavailable>) at objects.c:118:8 [opt] [artificial] frame #88: 0x0000000100ebd4c0 libR.dylib`dispatchMethod(op=0x0000000118abfa60, sxp=0x000000010ffd3fc8, dotClass=0x000000012e421438, cptr=0x000000016f615450, method=0x000000013e07a020, generic=<unavailable>, rho=0x000000010f76d490, callrho=<unavailable>, defrho=0x000000012eb77450) at objects.c:436:16 [opt] frame #89: 0x0000000100ebd180 libR.dylib`Rf_usemethod(generic="collect", obj=<unavailable>, call=<unavailable>, args=<unavailable>, rho=0x000000010f76d490, callrho=0x000000014e047cc8, defrho=0x000000012eb77450, ans=0x000000016f614b10) at objects.c:0 [opt] frame #90: 0x0000000100ebd828 libR.dylib`do_usemethod(call=0x0000000118abf600, op=<unavailable>, args=<unavailable>, env=0x000000010f76d490) at objects.c:565:9 [opt] frame #91: 0x0000000100e5c170 libR.dylib`bcEval(body=0x0000000118abf6a8, rho=<unavailable>, useCache=<unavailable>) at eval.c:7156:15 [opt] frame #92: 0x0000000100e54588 libR.dylib`Rf_eval(e=0x0000000118abf6a8, rho=0x000000010f76d490) at eval.c:748:8 [opt] frame #93: 0x0000000100e71b94 libR.dylib`R_execClosure(call=0x000000010f76d730, newrho=0x000000010f76d490, sysparent=<unavailable>, rho=<unavailable>, arglist=<unavailable>, op=<unavailable>) at eval.c:0 [opt] frame #94: 0x0000000100e703cc libR.dylib`Rf_applyClosure(call=0x000000010f76d730, op=0x0000000118abfa60, arglist=0x000000010f76d538, rho=0x000000014e047cc8, suppliedvars=<unavailable>) at eval.c:1844:16 [opt] frame #95: 0x0000000100e5485c libR.dylib`Rf_eval(e=0x000000010f76d730, rho=0x000000014e047cc8) at eval.c:871:12 [opt] frame #96: 0x0000000100ea6d7c libR.dylib`Rf_ReplIteration(rho=0x000000014e047cc8, savestack=<unavailable>, browselevel=<unavailable>, state=0x000000016f6159b0) at main.c:264:2 [opt] frame #97: 0x0000000100ea82ac libR.dylib`R_ReplConsole(rho=0x000000014e047cc8, savestack=0, browselevel=0) at main.c:316:11 [opt] frame #98: 0x0000000100ea81e4 libR.dylib`run_Rmainloop at main.c:1137:5 [opt] frame #99: 0x0000000100ea8390 libR.dylib`Rf_mainloop at main.c:1144:5 [opt] frame #100: 0x00000001007ebea0 R`main + 32 frame #101: 0x000000010092108c dyld`start + 520 bt thread #4 frame #0: 0x00000001b114b634 libsystem_kernel.dylib`read + 8 frame #1: 0x000000016fe74190 libarrow.1100.0.0.dylib`arrow::internal::(anonymous namespace)::SelfPipeImpl::Wait(this=0x00006000026ceae8) at io_util.cc:1268:24 frame #2: 0x000000016fe1145c libarrow.1100.0.0.dylib`arrow::(anonymous namespace)::SignalStopState::ReceiveSignals(self_pipe=std::__1::shared_ptr<arrow::internal::SelfPipe>::element_type @ 0x00006000026ceae8 strong=2 weak=3) at cancel.cc:246:39 frame #3: 0x000000016fe123fc libarrow.1100.0.0.dylib`decltype(__f=0x00006000005cbb08, __args=nullptr)(static_cast<std::__1::shared_ptr<arrow::internal::SelfPipe>>(fp0))) std::__1::__invoke<void (*)(std::__1::shared_ptr<arrow::internal::SelfPipe>), std::__1::shared_ptr<arrow::internal::SelfPipe>>(void (*&&)(std::__1::shared_ptr<arrow::internal::SelfPipe>), std::__1::shared_ptr<arrow::internal::SelfPipe>&&) at type_traits:3918:1 frame #4: 0x000000016fe12374 libarrow.1100.0.0.dylib`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (*)(std::__1::shared_ptr<arrow::internal::SelfPipe>), std::__1::shared_ptr<arrow::internal::SelfPipe>, 2ul>(__t=size=3, (null)=__tuple_indices<2> @ 0x000000017c6c2f7f)(std::__1::shared_ptr<arrow::internal::SelfPipe>), std::__1::shared_ptr<arrow::internal::SelfPipe>>&, std::__1::__tuple_indices<2ul>) at thread:287:5 frame #5: 0x000000016fe11a14 libarrow.1100.0.0.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (*)(std::__1::shared_ptr<arrow::internal::SelfPipe>), std::__1::shared_ptr<arrow::internal::SelfPipe>>>(__vp=0x00006000005cbb00) at thread:298:5 frame #6: 0x00000001b118826c libsystem_pthread.dylib`_pthread_start + 148 bt thread #6 frame #0: 0x00000001b114e270 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b118883c libsystem_pthread.dylib`_pthread_cond_wait + 1236 frame #2: 0x00000001b10d7284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 frame #3: 0x000000016fe340e4 libarrow.1100.0.0.dylib`void std::__1::condition_variable::wait<arrow::ConcreteFutureImpl::DoWait()::'lambda'()>(this=0x00006000030fff88, __lk=0x000000017c7daa28, __pred=(0x00006000030fff00))::'lambda'()) at __mutex_base:404:9 frame #4: 0x000000016fe32750 libarrow.1100.0.0.dylib`arrow::ConcreteFutureImpl::DoWait(this=0x00006000030fff00) at future.cc:154:9 frame #5: 0x000000016fe326dc libarrow.1100.0.0.dylib`arrow::FutureImpl::Wait(this=0x00006000030fff00) at future.cc:189:52 frame #6: 0x0000000103affdb8 arrow.so`ExecPlanReader::ReadNext(std::__1::shared_ptr<arrow::RecordBatch>*) [inlined] arrow::Future<std::__1::optional<arrow::compute::ExecBatch>>::Wait(this=0x000000017c7daa80) const at future.h:385:12 [opt] frame #7: 0x0000000103affdb0 arrow.so`ExecPlanReader::ReadNext(std::__1::shared_ptr<arrow::RecordBatch>*) [inlined] arrow::Future<std::__1::optional<arrow::compute::ExecBatch>>::result(this=0x000000017c7daa80) const & at future.h:356:5 [opt] frame #8: 0x0000000103affdb0 arrow.so`ExecPlanReader::ReadNext(this=0x0000600002bdf118, batch_out=0x000000017c7dab88) at compute-exec.cpp:118:28 [opt] frame #9: 0x000000016fb591a4 libarrow.1100.0.0.dylib`arrow::RecordBatchReader::ToRecordBatches(this=0x0000600002bdf118) at record_batch.cc:334:5 frame #10: 0x000000016fb596ac libarrow.1100.0.0.dylib`arrow::RecordBatchReader::ToTable(this=0x0000600002bdf118) at record_batch.cc:348:3 frame #11: 0x0000000103aff090 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>>::invoke() [inlined] std::__1::__function::__value_func<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>::operator(this=<unavailable>)() const at function.h:505:16 [opt] frame #12: 0x0000000103aff078 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>>::invoke() [inlined] std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>::operator(this=<unavailable>)() const at function.h:1182:12 [opt] frame #13: 0x0000000103aff078 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>>::invoke() [inlined] std::__1::enable_if<!std::is_void<arrow::Result<std::__1::shared_ptr<arrow::Table>>>::value && !is_future<arrow::Result<std::__1::shared_ptr<arrow::Table>>>::value && (!arrow::Future<std::__1::shared_ptr<arrow::Table>>::is_empty || std::is_same<arrow::Result<std::__1::shared_ptr<arrow::Table>>, arrow::Status>::value), void>::type arrow::detail::ContinueFuture::operator(this=<unavailable>, next=Future<std::__1::shared_ptr<arrow::Table> > @ 0x000000017c7daca0, f=<unavailable>)<std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>&, arrow::Result<std::__1::shared_ptr<arrow::Table>>, arrow::Future<std::__1::shared_ptr<arrow::Table>>>(arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>&) const at future.h:150:23 [opt] frame #14: 0x0000000103aff078 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>>::invoke() [inlined] decltype(__f=<unavailable>, __args=<unavailable>, __args=<unavailable>)(static_cast<arrow::Future<std::__1::shared_ptr<arrow::Table>>&>(fp0), static_cast<std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>&>(fp0))) std::__1::__invoke<arrow::detail::ContinueFuture&, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>&>(arrow::detail::ContinueFuture&, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>&) at type_traits:3918:1 [opt] frame #15: 0x0000000103aff060 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>>::invoke() [inlined] std::__1::__bind_return<arrow::detail::ContinueFuture, std::__1::tuple<arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>, std::__1::tuple<>, __is_valid_bind_return<arrow::detail::ContinueFuture, std::__1::tuple<arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>, std::__1::tuple<>>::value>::type std::__1::__apply_functor<arrow::detail::ContinueFuture, std::__1::tuple<arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> (__f=<unavailable>, __bound_args=<unavailable>, (null)=<unavailable>, __args=<unavailable>)>>, 0ul, 1ul, std::__1::tuple<>>(arrow::detail::ContinueFuture&, std::__1::tuple<arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>&, std::__1::__tuple_indices<0ul, 1ul>, std::__1::tuple<>&&) at bind.h:257:12 [opt] frame #16: 0x0000000103aff060 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>>::invoke() [inlined] std::__1::__bind_return<arrow::detail::ContinueFuture, std::__1::tuple<arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>, std::__1::tuple<>, __is_valid_bind_return<arrow::detail::ContinueFuture, std::__1::tuple<arrow::Future<std::__1::shared_ptr<arrow::Table>>, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> ()>>, std::__1::tuple<>>::value>::type std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> (this=<unavailable>)>>::operator()<>() at bind.h:292:20 [opt] frame #17: 0x0000000103aff060 arrow.so`arrow::internal::FnOnce<void ()>::FnImpl<std::__1::__bind<arrow::detail::ContinueFuture, arrow::Future<std::__1::shared_ptr<arrow::Table>>&, std::__1::function<arrow::Result<std::__1::shared_ptr<arrow::Table>> (this=<unavailable>)>>>::invoke() at functional.h:152:42 [opt] frame #18: 0x000000016fea7d3c libarrow.1100.0.0.dylib`arrow::internal::FnOnce<void ()>::operator(this=0x000000017c7dae38)() && at functional.h:140:17 frame #19: 0x000000016feba83c libarrow.1100.0.0.dylib`arrow::internal::WorkerLoop(state=std::__1::shared_ptr<arrow::internal::ThreadPool::State>::element_type @ 0x000000010df36558 strong=7 weak=2, it=std::__1::list<std::__1::thread, std::__1::allocator<std::__1::thread> >::iterator @ 0x000000017c7daed8) at thread_pool.cc:262:11 frame #20: 0x000000016feba548 libarrow.1100.0.0.dylib`arrow::internal::ThreadPool::LaunchWorkersUnlocked(this=(0x0000600000bfa250, std::__1::shared_ptr<arrow::internal::ThreadPool::State>::element_type @ 0x000000010df36558 strong=7 weak=2, {...}))::$_6::operator()() const at thread_pool.cc:423:7 frame #21: 0x000000016feba4a4 libarrow.1100.0.0.dylib`decltype(__f=(0x0000600000bfa250, std::__1::shared_ptr<arrow::internal::ThreadPool::State>::element_type @ 0x000000010df36558 strong=7 weak=2, {...}))::$_6>(fp)()) std::__1::__invoke<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6>(arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6&&) at type_traits:3918:1 frame #22: 0x000000016feba440 libarrow.1100.0.0.dylib`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6>(__t=size=2, (null)=__tuple_indices<> @ 0x000000017c7daf7f)::$_6>&, std::__1::__tuple_indices<>) at thread:287:5 frame #23: 0x000000016feb9bdc libarrow.1100.0.0.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6>>(__vp=0x0000600000bfa6a0) at thread:298:5 frame #24: 0x00000001b118826c libsystem_pthread.dylib`_pthread_start + 148 bt thread #7 frame #0: 0x00000001b114e270 libsystem_kernel.dylib`__psynch_cvwait + 8 frame #1: 0x00000001b118883c libsystem_pthread.dylib`_pthread_cond_wait + 1236 frame #2: 0x00000001b10d7284 libc++.1.dylib`std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28 frame #3: 0x000000016feba98c libarrow.1100.0.0.dylib`arrow::internal::WorkerLoop(state=std::__1::shared_ptr<arrow::internal::ThreadPool::State>::element_type @ 0x000000010df36558 strong=7 weak=2, it=std::__1::list<std::__1::thread, std::__1::allocator<std::__1::thread> >::iterator @ 0x000000017c866ed8) at thread_pool.cc:280:16 frame #4: 0x000000016feba548 libarrow.1100.0.0.dylib`arrow::internal::ThreadPool::LaunchWorkersUnlocked(this=(0x0000600000bfa250, std::__1::shared_ptr<arrow::internal::ThreadPool::State>::element_type @ 0x000000010df36558 strong=7 weak=2, {...}))::$_6::operator()() const at thread_pool.cc:423:7 frame #5: 0x000000016feba4a4 libarrow.1100.0.0.dylib`decltype(__f=(0x0000600000bfa250, std::__1::shared_ptr<arrow::internal::ThreadPool::State>::element_type @ 0x000000010df36558 strong=7 weak=2, {...}))::$_6>(fp)()) std::__1::__invoke<arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6>(arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6&&) at type_traits:3918:1 frame #6: 0x000000016feba440 libarrow.1100.0.0.dylib`void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6>(__t=size=2, (null)=__tuple_indices<> @ 0x000000017c866f7f)::$_6>&, std::__1::__tuple_indices<>) at thread:287:5 frame #7: 0x000000016feb9bdc libarrow.1100.0.0.dylib`void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, arrow::internal::ThreadPool::LaunchWorkersUnlocked(int)::$_6>>(__vp=0x0000600000bcd530) at thread:298:5 frame #8: 0x00000001b118826c libsystem_pthread.dylib`_pthread_start + 148 {noformat} > [R] head() is crashing on some nightly builds > --------------------------------------------- > > Key: ARROW-18240 > URL: https://issues.apache.org/jira/browse/ARROW-18240 > Project: Apache Arrow > Issue Type: Improvement > Components: R > Reporter: Dewey Dunnington > Assignee: Dewey Dunnington > Priority: Major > Labels: pull-request-available > Attachments: Screen Shot 2022-11-25 at 3.39.44 PM.png, Screen Shot > 2022-11-25 at 3.40.54 PM.png > > Time Spent: 1h 40m > Remaining Estimate: 0h > > A few examples: > - > https://github.com/ursacomputing/crossbow/actions/runs/3368026889/jobs/5586109693#step:10:3813 > - > https://github.com/ursacomputing/crossbow/actions/runs/3368024633/jobs/5586105172#step:9:3813 > I suspect this is because the HeadRecordBatchReader is resetting the > shared_ptr to its parent...in ARROW-18174 we discovered that this was causing > crashes in some places. -- This message was sent by Atlassian Jira (v8.20.10#820010)