Dewey Dunnington created ARROW-17936:
----------------------------------------
Summary: [R] ExecPlanReader test aborts with a crash
Key: ARROW-17936
URL: https://issues.apache.org/jira/browse/ARROW-17936
Project: Apache Arrow
Issue Type: Improvement
Components: R
Reporter: Dewey Dunnington
Fix For: 10.0.0
This just came up in a CI log for an unrelated PR:
https://github.com/apache/arrow/actions/runs/3184705101/jobs/5193539021#step:7:26299
{code:java}
Start test: ExecPlanReader does not start evaluating a query
test-query-engine.R:27:3 [success]
R: /arrow/cpp/src/arrow/util/async_generator.h:1736:
arrow::BackgroundGenerator<T>::Cleanup::~Cleanup() [with T =
std::optional<arrow::compute::ExecBatch>]: Assertion
`state->worker_thread_id.load() != ::arrow::internal::GetThreadId()' failed.
Aborted (core dumped)
{code}
The ExecPlanReader was added in ARROW-17178...the part that errors involves
evaluating R code on the main R thread, an exception getting thrown and caught,
and some other safe call into R infrastructure that was updated recently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)