It appears this is due to some tasks being spawned or transferred (by the background generator) while the thread pool is destroying at shutdown. See https://github.com/ursacomputing/crossbow/runs/2276268779#step:6:3414 **Reporter**: [Antoine Pitrou](https://issues.apache.org/jira/browse/ARROW-12220) / @pitrou **Assignee**: [Weston Pace](https://issues.apache.org/jira/browse/ARROW-12220) / @westonpace #### Related issues: - [[C++][CI] Thread sanitizer failure in SerialExecutor](https://github.com/apache/arrow/issues/28176) (is related to) #### PRs and other links: - [GitHub Pull Request #9941](https://github.com/apache/arrow/pull/9941) <sub>**Note**: *This issue was originally created as [ARROW-12220](https://issues.apache.org/jira/browse/ARROW-12220). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>
Activity
asfimport commentedon Apr 6, 2021
Antoine Pitrou / @pitrou:
cc @westonpace
asfimport commentedon Apr 6, 2021
Antoine Pitrou / @pitrou:
Unfortunately I'm not able to reproduce locally. It probably depends heavily on timing conditions.
asfimport commentedon Apr 14, 2021
David Li / @lidavidm:
Issue resolved by pull request 9941
#9941
asfimport commentedon Apr 14, 2021
David Li / @lidavidm:
Note that another TSan failure was found possibly resulting from ARROW-12208: https://github.com/ursacomputing/crossbow/runs/2340248774