arrow: [CI][C++] test-ubuntu-20.04-cpp fails sometimes with a segmentation fault on arrow-dataset-file-parquet-encryption-test

Describe the bug, including details regarding any error messages, version, and platform.

test-ubuntu-20.04-cpp seems to fail sometimes with a segmentation fault on arrow-dataset-file-parquet-encryption-test:

66/96 Test #69: arrow-dataset-file-parquet-encryption-test ...***Failed    0.34 sec
Running arrow-dataset-file-parquet-encryption-test, redirecting output into /build/cpp/build/test-logs/arrow-dataset-file-parquet-encryption-test.txt (attempt 1/1)
/arrow/cpp/build-support/run-test.sh: line 88: 41443 Segmentation fault      (core dumped) $TEST_EXECUTABLE "$@" > $LOGFILE.raw 2>&1
Running main() from _deps/googletest-src/googletest/src/gtest_main.cc

It has also failed on PRs: https://github.com/ursacomputing/crossbow/actions/runs/9661748529/job/26650110979 On retry it succeeds sometimes: https://github.com/ursacomputing/crossbow/actions/runs/9671504639

Component(s)

C++, Continuous Integration

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (21 by maintainers)

Commits related to this issue

Most upvoted comments

It looks like the PageReader API doesn’t provide a way to parallelise reading though, you can only iterate over data pages sequentially, so I don’t think this is a concern:

It may not be obvious how to use it with other Parquet C++ APIs, but the OffsetIndex conceptually allows direct access to individual pages. So, ideally at least, and hopefully in the future, it will be possible to access individual data pages from a column in a non-sequential fashion. (cc @wgtmac @mapleFU ) https://github.com/apache/arrow/blob/71389f845ef5f2e71dfa566f0ab4bb2988f88a8f/cpp/src/parquet/page_index.h#L119-L132