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

[C++] Valgrind failures in JSON tests

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++
    • Labels:
      None

      Description

      I get the following failures with Valgrind:

      ==12630== Memcheck, a memory error detector
      ==12630== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
      ==12630== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
      ==12630== Command: /home/antoine/arrow/dev/cpp/build-test/debug//arrow-json-chunker-test
      ==12630== 
      Running main() from /home/conda/feedstock_root/build_artifacts/gtest_1551008230529/work/googletest/src/gtest_main.cc
      [==========] Running 12 tests from 3 test cases.
      [----------] Global test environment set-up.
      [----------] 4 tests from ChunkerTest
      [ RUN      ] ChunkerTest.PrettyPrinted
      ==12630== Conditional jump or move depends on uninitialised value(s)
      ==12630==    at 0x15757F: arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ScanCopyUnescapedString(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::StackStream<char>&) (reader.h:942)
      ==12630==    by 0x155FAA: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseStringToStream<0u, arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::StackStream<char> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::StackStream<char>&) (reader.h:856)
      ==12630==    by 0x1537E0: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseString<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&, bool) (reader.h:827)
      ==12630==    by 0x152141: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseValue<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:1397)
      ==12630==    by 0x153CB4: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseObject<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:621)
      ==12630==    by 0x15215A: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseValue<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:1398)
      ==12630==    by 0x1503CC: arrow::rapidjson::ParseResult arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::Parse<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:501)
      ==12630==    by 0x14E385: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>& arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::ParseStream<0u, arrow::rapidjson::UTF8<char>, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> > >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&) (document.h:2159)
      ==12630==    by 0x14BD7E: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>& arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::Parse<0u, arrow::rapidjson::UTF8<char> >(arrow::rapidjson::UTF8<char>::Ch const*) (document.h:2224)
      ==12630==    by 0x14972A: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>& arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::Parse<0u>(char const*) (document.h:2233)
      ==12630==    by 0x1475BC: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::Parse(char const*) (document.h:2240)
      ==12630==    by 0x13DE09: arrow::json::PrettyPrint[abi:cxx11](nonstd::sv_lite::basic_string_view<char, std::char_traits<char> >) (test-common.h:173)
      ==12630== 
      {
         <insert_a_suppression_name_here>
         Memcheck:Cond
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE23ScanCopyUnescapedStringERNS0_19GenericStringStreamIS3_EERNS5_11StackStreamIcEE
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE19ParseStringToStreamILj0ES3_S3_NS0_19GenericStringStreamIS3_EENS5_11StackStreamIcEEEEvRT2_RT3_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE11ParseStringILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_b
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE10ParseValueILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE11ParseObjectILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE10ParseValueILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE5ParseILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEENS0_11ParseResultERT0_RT1_
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E11ParseStreamILj0ES3_NS0_19GenericStringStreamIS3_EEEERS7_RT1_
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E5ParseILj0ES3_EERS7_PKNT0_2ChE
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E5ParseILj0EEERS7_PKc
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E5ParseEPKc
         fun:_ZN5arrow4json11PrettyPrintB5cxx11EN6nonstd7sv_lite17basic_string_viewIcSt11char_traitsIcEEE
      }
      [       OK ] ChunkerTest.PrettyPrinted (171 ms)
      [ RUN      ] ChunkerTest.SingleLine
      [       OK ] ChunkerTest.SingleLine (8 ms)
      [ RUN      ] ChunkerTest.StraddlingPrettyPrinted
      [       OK ] ChunkerTest.StraddlingPrettyPrinted (45 ms)
      [ RUN      ] ChunkerTest.StraddlingSingleLine
      [       OK ] ChunkerTest.StraddlingSingleLine (5 ms)
      [----------] 4 tests from ChunkerTest (236 ms total)
      
      [----------] 4 tests from NoNewlineChunkerTest/BaseChunkerTest
      [ RUN      ] NoNewlineChunkerTest/BaseChunkerTest.Basics/0
      [       OK ] NoNewlineChunkerTest/BaseChunkerTest.Basics/0 (21 ms)
      [ RUN      ] NoNewlineChunkerTest/BaseChunkerTest.Empty/0
      [       OK ] NoNewlineChunkerTest/BaseChunkerTest.Empty/0 (12 ms)
      [ RUN      ] NoNewlineChunkerTest/BaseChunkerTest.Straddling/0
      [       OK ] NoNewlineChunkerTest/BaseChunkerTest.Straddling/0 (7 ms)
      [ RUN      ] NoNewlineChunkerTest/BaseChunkerTest.StraddlingEmpty/0
      [       OK ] NoNewlineChunkerTest/BaseChunkerTest.StraddlingEmpty/0 (8 ms)
      [----------] 4 tests from NoNewlineChunkerTest/BaseChunkerTest (48 ms total)
      
      [----------] 4 tests from ChunkerTest/BaseChunkerTest
      [ RUN      ] ChunkerTest/BaseChunkerTest.Basics/0
      [       OK ] ChunkerTest/BaseChunkerTest.Basics/0 (3 ms)
      [ RUN      ] ChunkerTest/BaseChunkerTest.Empty/0
      [       OK ] ChunkerTest/BaseChunkerTest.Empty/0 (1 ms)
      [ RUN      ] ChunkerTest/BaseChunkerTest.Straddling/0
      [       OK ] ChunkerTest/BaseChunkerTest.Straddling/0 (2 ms)
      [ RUN      ] ChunkerTest/BaseChunkerTest.StraddlingEmpty/0
      [       OK ] ChunkerTest/BaseChunkerTest.StraddlingEmpty/0 (1 ms)
      [----------] 4 tests from ChunkerTest/BaseChunkerTest (7 ms total)
      
      [----------] Global test environment tear-down
      [==========] 12 tests from 3 test cases ran. (320 ms total)
      [  PASSED  ] 12 tests.
      

      and

      ==12627== Memcheck, a memory error detector
      ==12627== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
      ==12627== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
      ==12627== Command: /home/antoine/arrow/dev/cpp/build-test/debug//arrow-ipc-json-test
      ==12627== 
      Running main() from /home/conda/feedstock_root/build_artifacts/gtest_1551008230529/work/googletest/src/gtest_main.cc
      [==========] Running 20 tests from 4 test cases.
      [----------] Global test environment set-up.
      [----------] 1 test from TestJsonSchemaWriter
      [ RUN      ] TestJsonSchemaWriter.FlatTypes
      [       OK ] TestJsonSchemaWriter.FlatTypes (479 ms)
      [----------] 1 test from TestJsonSchemaWriter (486 ms total)
      
      [----------] 3 tests from TestJsonArrayWriter
      [ RUN      ] TestJsonArrayWriter.PrimitiveTypes
      ==12627== Conditional jump or move depends on uninitialised value(s)
      ==12627==    at 0x1A7BC1: arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ScanCopyUnescapedString(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::StackStream<char>&) (reader.h:942)
      ==12627==    by 0x1A5712: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseStringToStream<0u, arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::StackStream<char> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::StackStream<char>&) (reader.h:856)
      ==12627==    by 0x1A179E: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseString<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&, bool) (reader.h:827)
      ==12627==    by 0x1A1B4E: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseObject<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:609)
      ==12627==    by 0x19ED66: void arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::ParseValue<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:1398)
      ==12627==    by 0x19C95C: arrow::rapidjson::ParseResult arrow::rapidjson::GenericReader<arrow::rapidjson::UTF8<char>, arrow::rapidjson::UTF8<char>, arrow::rapidjson::CrtAllocator>::Parse<0u, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator> >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&, arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>&) (reader.h:501)
      ==12627==    by 0x199B9F: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>& arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::ParseStream<0u, arrow::rapidjson::UTF8<char>, arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> > >(arrow::rapidjson::GenericStringStream<arrow::rapidjson::UTF8<char> >&) (document.h:2159)
      ==12627==    by 0x194C0A: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>& arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::Parse<0u, arrow::rapidjson::UTF8<char> >(arrow::rapidjson::UTF8<char>::Ch const*) (document.h:2224)
      ==12627==    by 0x18C21F: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>& arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::Parse<0u>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (document.h:2270)
      ==12627==    by 0x1871B4: arrow::rapidjson::GenericDocument<arrow::rapidjson::UTF8<char>, arrow::rapidjson::MemoryPoolAllocator<arrow::rapidjson::CrtAllocator>, arrow::rapidjson::CrtAllocator>::Parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (document.h:2274)
      ==12627==    by 0x17AE5E: arrow::ipc::internal::json::TestArrayRoundTrip(arrow::Array const&) (json-test.cc:82)
      ==12627==    by 0x1909BC: void arrow::ipc::internal::json::CheckPrimitive<arrow::FloatType, float>(std::shared_ptr<arrow::DataType> const&, std::vector<bool, std::allocator<bool> > const&, std::vector<float, std::allocator<float> > const&) (json-test.cc:112)
      ==12627== 
      {
         <insert_a_suppression_name_here>
         Memcheck:Cond
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE23ScanCopyUnescapedStringERNS0_19GenericStringStreamIS3_EERNS5_11StackStreamIcEE
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE19ParseStringToStreamILj0ES3_S3_NS0_19GenericStringStreamIS3_EENS5_11StackStreamIcEEEEvRT2_RT3_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE11ParseStringILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_b
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE11ParseObjectILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE10ParseValueILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEEvRT0_RT1_
         fun:_ZN5arrow9rapidjson13GenericReaderINS0_4UTF8IcEES3_NS0_12CrtAllocatorEE5ParseILj0ENS0_19GenericStringStreamIS3_EENS0_15GenericDocumentIS3_NS0_19MemoryPoolAllocatorIS4_EES4_EEEENS0_11ParseResultERT0_RT1_
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E11ParseStreamILj0ES3_NS0_19GenericStringStreamIS3_EEEERS7_RT1_
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E5ParseILj0ES3_EERS7_PKNT0_2ChE
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E5ParseILj0EEERS7_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
         fun:_ZN5arrow9rapidjson15GenericDocumentINS0_4UTF8IcEENS0_19MemoryPoolAllocatorINS0_12CrtAllocatorEEES5_E5ParseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
         fun:_ZN5arrow3ipc8internal4json18TestArrayRoundTripERKNS_5ArrayE
         fun:_ZN5arrow3ipc8internal4json14CheckPrimitiveINS_9FloatTypeEfEEvRKSt10shared_ptrINS_8DataTypeEERKSt6vectorIbSaIbEERKSA_IT0_SaISF_EE
      }
      [       OK ] TestJsonArrayWriter.PrimitiveTypes (625 ms)
      [ RUN      ] TestJsonArrayWriter.NestedTypes
      [       OK ] TestJsonArrayWriter.NestedTypes (137 ms)
      [ RUN      ] TestJsonArrayWriter.Unions
      [       OK ] TestJsonArrayWriter.Unions (157 ms)
      [----------] 3 tests from TestJsonArrayWriter (919 ms total)
      
      [----------] 2 tests from TestJsonFileReadWrite
      [ RUN      ] TestJsonFileReadWrite.BasicRoundTrip
      [       OK ] TestJsonFileReadWrite.BasicRoundTrip (228 ms)
      [ RUN      ] TestJsonFileReadWrite.MinimalFormatExample
      [       OK ] TestJsonFileReadWrite.MinimalFormatExample (23 ms)
      [----------] 2 tests from TestJsonFileReadWrite (251 ms total)
      
      [----------] 14 tests from TestJsonRoundTrip/TestJsonRoundTrip
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/0
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/0 (29 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/1
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/1 (156 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/2
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/2 (99 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/3
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/3 (19 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/4
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/4 (364 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/5
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/5 (115 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/6
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/6 (267 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/7
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/7 (26 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/8
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/8 (76 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/9
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/9 (47 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/10
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/10 (69 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/11
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/11 (56 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/12
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/12 (100 ms)
      [ RUN      ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/13
      [       OK ] TestJsonRoundTrip/TestJsonRoundTrip.RoundTrip/13 (348 ms)
      [----------] 14 tests from TestJsonRoundTrip/TestJsonRoundTrip (1775 ms total)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: