Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17936

[R] ExecPlanReader test aborts with a crash

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Not A Problem
    • None
    • 10.0.0
    • R
    • None

    Description

      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

      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)
      

      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.

      Attachments

        Activity

          People

            paleolimbot Dewey Dunnington
            paleolimbot Dewey Dunnington
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: