Skip to content

[C++][CI] arrow-json-test segfaults occasionally on AMD64 Windows MinGW MINGW64 C++ job #49272

@raulcd

Description

@raulcd

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

I've seen on several PRs the AMD64 Windows MinGW MINGW64 C++ segfault when running the following test:

The following tests FAILED:
	 84 - arrow-json-test (SEGFAULT)                        arrow-tests unittest

The error doesn't show much (obvious with a segfault):

       Start 84: arrow-json-test
81/98 Test #84: arrow-json-test ..............................***Exception: SegFault  0.03 sec
Running main() from gmock_main.cc
[==========] Running 235 tests from 60 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from ReaderTest
[ RUN      ] ReaderTest.MultipleChunksParallel

      Start 84: arrow-json-test
    Test #84: arrow-json-test ..............................***Exception: SegFault  0.03 sec
Running main() from gmock_main.cc
[==========] Running 235 tests from 60 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from ReaderTest
[ RUN      ] ReaderTest.MultipleChunksParallel

      Start 84: arrow-json-test
    Test #84: arrow-json-test ..............................***Exception: SegFault  0.03 sec
Running main() from gmock_main.cc
[==========] Running 235 tests from 60 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from ReaderTest
[ RUN      ] ReaderTest.MultipleChunksParallel

Example of runs that failed on different PRs:
https://github.com/apache/arrow/actions/runs/21956381694/job/63422678894?pr=49262
https://github.com/apache/arrow/actions/runs/21981450495/job/63504813441?pr=49259

Component(s)

C++, Continuous Integration

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions