Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14247

[C++] Valgrind error in parquet-arrow-test

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • C++

    Description

      Spotted on a PR, so perhaps this doesn't affect master? Also note this occurs before running any tests. Full log

      61/64 Test #59: parquet-arrow-test .......................***Failed   61.05 sec
      ==12315== Memcheck, a memory error detector
      ==12315== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
      ==12315== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
      ==12315== Command: /build/cpp/debug//parquet-arrow-test
      ==12315== 
      ==12315== Use of uninitialised value of size 8
      ==12315==    at 0x700E911: _itoa_word (_itoa.c:180)
      ==12315==    by 0x701200D: vfprintf (vfprintf.c:1642)
      ==12315==    by 0x703E9DF: vsnprintf (vsnprintf.c:114)
      ==12315==    by 0x701B0CE: snprintf (snprintf.c:33)
      ==12315==    by 0x4A4CD6E: testing::(anonymous namespace)::PrintByteSegmentInObjectTo(unsigned char const*, unsigned long, unsigned long, std::ostream*) (in /opt/conda/envs/arrow/lib/libgtest.so)
      ==12315==    by 0x4A5315D: testing::internal2::PrintBytesInObjectTo(unsigned char const*, unsigned long, std::ostream*) (in /opt/conda/envs/arrow/lib/libgtest.so)
      ==12315==    by 0x58F74D: PrintValue (gtest-printers.h:154)
      ==12315==    by 0x58F74D: std::basic_ostream<char, std::char_traits<char> >& testing::internal2::operator<< <char, std::char_traits<char>, parquet::arrow::StatisticsTestParam>(std::basic_ostream<char, std::char_traits<char> >&, parquet::arrow::StatisticsTestParam const&) (gtest-printers.h:246)
      ==12315==    by 0x58F764: void testing_internal::DefaultPrintNonContainerTo<parquet::arrow::StatisticsTestParam>(parquet::arrow::StatisticsTestParam const&, std::ostream*) (gtest-printers.h:287)
      ==12315==    by 0x58F772: void testing::internal::DefaultPrintTo<parquet::arrow::StatisticsTestParam>(testing::internal::WrapPrinterType<(testing::internal::DefaultPrinterType)3>, parquet::arrow::StatisticsTestParam const&, std::ostream*) (gtest-printers.h:468)
      ==12315==    by 0x58F780: void testing::internal::PrintTo<parquet::arrow::StatisticsTestParam>(parquet::arrow::StatisticsTestParam const&, std::ostream*) (gtest-printers.h:503)
      ==12315==    by 0x58F78E: Print (gtest-printers.h:679)
      ==12315==    by 0x58F78E: void testing::internal::UniversalPrint<parquet::arrow::StatisticsTestParam>(parquet::arrow::StatisticsTestParam const&, std::ostream*) (gtest-printers.h:869)
      ==12315==    by 0x58FA28: Print (gtest-printers.h:797)
      ==12315==    by 0x58FA28: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > testing::PrintToString<parquet::arrow::StatisticsTestParam>(parquet::arrow::StatisticsTestParam const&) (gtest-printers.h:917)
      ==12315==    by 0x590806: testing::internal::ParameterizedTestSuiteInfo<parquet::arrow::ParameterizedStatisticsTest>::RegisterTests() (gtest-param-util.h:572)
      ==12315==    by 0x4A500B4: testing::internal::UnitTestImpl::RegisterParameterizedTests() (in /opt/conda/envs/arrow/lib/libgtest.so)
      }
      Running main() from ../googletest/src/gtest_main.cc
      [==========] Running 691 tests from 62 test suites.
      [----------] Global test environment set-up. 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            lidavidm David Li Assign to me
            lidavidm David Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 1h 40m
              1h 40m

              Issue deployment