tadeja commented on PR #49961:
URL: https://github.com/apache/arrow/pull/49961#issuecomment-4430850511

   Diagnosed - The `make_shared` did not fix this, and the new CI log shows:
   
https://github.com/apache/arrow/actions/runs/25731999852/job/75559307182?pr=49961#step:12:870
   ```bash
   [ RUN      ] DatasetWriterTestFixture.BatchWriteConcurrent
   GH-49958: ScheduleBatch this=000002f3e2fda080 EXPIRED use_count=0
   GH-49958: bad_weak_ptr DatasetWriterFileQueue dataset_writer.cc:218
   terminate called after throwing an instance of 'std::bad_weak_ptr'
     what():  bad_weak_ptr
   ```
    (`dataset_writer.cc:218` is the same as the previous :212 line - because of 
added diagnostics shifted by 6 lines)
   
   (1) It's not the `reset` vs `make_shared` wiring
   (2) By the time ScheduleBatch runs, the control block of file queue already 
reports `use_count=0`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to