[ 
https://issues.apache.org/jira/browse/ARROW-17927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613370#comment-17613370
 ] 

Antoine Pitrou commented on ARROW-17927:
----------------------------------------

The problem seems to be that {{SleepAsync}} and {{SleepABitAsync}} detach the 
underlying thread, meaning timer threads can accumulate depending on scheduling 
specifics.

> [C++] Sporadic crashes in arrow-dataset-scanner-test
> ----------------------------------------------------
>
>                 Key: ARROW-17927
>                 URL: https://issues.apache.org/jira/browse/ARROW-17927
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Continuous Integration
>            Reporter: Antoine Pitrou
>            Assignee: Weston Pace
>            Priority: Blocker
>             Fix For: 10.0.0
>
>
> Seen e.g. on this PR:
> https://github.com/apache/arrow/actions/runs/3181284056/jobs/5185859816#step:11:255
> {code}
> [----------] 8 tests from BasicNewScannerTests/TestScannerBase
> [ RUN      ] BasicNewScannerTests/TestScannerBase.ScanOrdered/0fast1f128b
> [       OK ] BasicNewScannerTests/TestScannerBase.ScanOrdered/0fast1f128b (33 
> ms)
> [ RUN      ] BasicNewScannerTests/TestScannerBase.ScanOrdered/1fast16f128b
> [       OK ] BasicNewScannerTests/TestScannerBase.ScanOrdered/1fast16f128b 
> (582 ms)
> [ RUN      ] BasicNewScannerTests/TestScannerBase.ScanOrdered/2slow1f128b
> [       OK ] BasicNewScannerTests/TestScannerBase.ScanOrdered/2slow1f128b (65 
> ms)
> [ RUN      ] BasicNewScannerTests/TestScannerBase.ScanOrdered/3slow16f128b
> terminate called after throwing an instance of 'std::system_error'
>   what():  Resource temporarily unavailable
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> terminate called recursively
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to