Skip to content

[C++][CI] Valgrind errors in parquet-arrow-reader-writer-test #50718

Closed

Description

@pitrou

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

The C++ Valgrind CI job has started failing, presumably due to PR #50271:
https://github.com/ursacomputing/crossbow/actions/runs/30420028008/job/90474739319#step:6:2850

The errors should be easy to fix, they are due to GTest's default string representation of FixedSizeListTestCase:

==17419== Use of uninitialised value of size 8
==17419==    at 0x6AC2052: _itoa_word (_itoa.c:184)
==17419==    by 0x6ACCC9B: __printf_buffer (vfprintf-process-arg.c:155)
==17419==    by 0x6AF2CC5: __vsnprintf_internal (vsnprintf.c:96)
==17419==    by 0x6AC9405: snprintf (snprintf.c:31)
==17419==    by 0x6679B18: testing::(anonymous namespace)::PrintByteSegmentInObjectTo(unsigned char const*, unsigned long, unsigned long, std::ostream*) (gtest-printers.cc:83)
==17419==    by 0x6679BB2: testing::(anonymous namespace)::PrintBytesInObjectToImpl(unsigned char const*, unsigned long, std::ostream*) (gtest-printers.cc:100)
==17419==    by 0x667B5B7: testing::internal::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*) (gtest-printers.cc:132)
==17419==    by 0x435C652: PrintValue<parquet::arrow::FixedSizeListTestCase> (gtest-printers.h:316)
==17419==    by 0x435C652: void testing::internal::PrintWithFallback<parquet::arrow::FixedSizeListTestCase>(parquet::arrow::FixedSizeListTestCase const&, std::ostream*) (gtest-printers.h:362)
==17419==    by 0x435C660: void testing::internal::PrintTo<parquet::arrow::FixedSizeListTestCase>(parquet::arrow::FixedSizeListTestCase const&, std::ostream*) (gtest-printers.h:491)
==17419==    by 0x435C66E: Print (gtest-printers.h:883)
==17419==    by 0x435C66E: void testing::internal::UniversalPrint<parquet::arrow::FixedSizeListTestCase>(parquet::arrow::FixedSizeListTestCase const&, std::ostream*) (gtest-printers.h:1187)
==17419==    by 0x435C6AB: Print (gtest-printers.h:1065)
==17419==    by 0x435C6AB: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<parquet::arrow::FixedSizeListTestCase>(parquet::arrow::FixedSizeListTestCase const&) (gtest-printers.h:1225)
==17419==    by 0x435CBA8: testing::internal::ParameterizedTestSuiteInfo<parquet::arrow::TestFixedSizeListRoundTrip>::RegisterTests() (gtest-param-util.h:603)
==17419==    by 0x667B0C7: testing::internal::ParameterizedTestSuiteRegistry::RegisterTests() (gtest-param-util.h:736)
==17419==    by 0x66A6BBB: testing::internal::UnitTestImpl::RegisterParameterizedTests() (gtest.cc:2848)
==17419==    by 0x66A6C00: testing::internal::UnitTestImpl::PostFlagParsingInit() (gtest.cc:5800)
==17419==    by 0x66A6DE2: void testing::internal::InitGoogleTestImpl<char>(int*, char**) (gtest.cc:6957)
==17419==    by 0x66A6E37: testing::InitGoogleTest(int*, char**) (gtest.cc:6975)
==17419==    by 0x738A1E7: void testing::internal::InitGoogleMockImpl<char>(int*, char**) (gmock.cc:148)
==17419==    by 0x738A391: testing::InitGoogleMock(int*, char**) (gmock.cc:204)
==17419==    by 0x54529BE: main (gmock_main.cc:70)

Component(s)

C++, Continuous Integration

Activity

  1. pitrou commented on Jul 29, 2026

    @pitrou
    MemberAuthor
  2. HuaHuaY commented on Jul 29, 2026

    @HuaHuaY
    Contributor

    cc @HuaHuaY

    I think it's the same issue as #50213. I will fix it within a day. Sorry for forgetting to add PrintTo.

  3. pitrou commented on Jul 29, 2026

    @pitrou
    MemberAuthor

    No worries. We always forget about this... oddity :)

  4. added a commit that references this issue on Jul 29, 2026
  5. added this to the 26.0.0 milestone on Jul 29, 2026
  6. pitrou commented on Jul 29, 2026

    @pitrou
    MemberAuthor

    Issue resolved by pull request 50721
    #50721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions