You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Deepak Majeti (JIRA)" <ji...@apache.org> on 2018/06/28 15:23:00 UTC

[jira] [Resolved] (PARQUET-1340) [C++] Fix Travis Ci valgrind errors related to std::random_device

     [ https://issues.apache.org/jira/browse/PARQUET-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepak Majeti resolved PARQUET-1340.
------------------------------------
       Resolution: Fixed
    Fix Version/s: cpp-1.5.0

Issue resolved by pull request 473
[https://github.com/apache/parquet-cpp/pull/473]

> [C++] Fix Travis Ci valgrind errors related to std::random_device
> -----------------------------------------------------------------
>
>                 Key: PARQUET-1340
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1340
>             Project: Parquet
>          Issue Type: Improvement
>            Reporter: Deepak Majeti
>            Assignee: Deepak Majeti
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cpp-1.5.0
>
>
> [https://travis-ci.org/apache/parquet-cpp/jobs/395095122]
> ==12164== Conditional jump or move depends on uninitialised value(s)
> ==12164== at 0x510FFD8: std::random_device::_M_init(std::string const&) (cow-string-inst.cc:56)
> ==12164== by 0x73EE6E: std::random_device::random_device(std::string const&) (random.h:1590)
> ==12164== by 0x727C0C: parquet::test::flip_coins(int, double) (test-common.h:104)
> ==12164== by 0x729421: void parquet::test::InitValues<bool>(int, std::vector<bool, std::allocator<bool> >&, std::vector<unsigned char, std::allocator<unsigned char> >&) (test-specialization.h:40)
> ==12164== by 0x72E09D: int parquet::test::MakePages<parquet::DataType<(parquet::Type::type)0> >(parquet::ColumnDescriptor const*, int, int, std::vector<short, std::allocator<short> >&, std::vector<short, std::allocator<short> >&, std::vector<parquet::DataType<(parquet::Type::type)0>::c_type, std::allocator<parquet::DataType<(parquet::Type::type)0>::c_type> >&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<std::shared_ptr<parquet::Page>, std::allocator<std::shared_ptr<parquet::Page> > >&, parquet::Encoding::type) (test-util.h:429)
> ==12164== by 0x75761D: parquet::test::TestFlatScanner<parquet::DataType<(parquet::Type::type)0> >::Execute(int, int, int, parquet::ColumnDescriptor const*, parquet::Encoding::type) (column_scanner-test.cc:96)
> ==12164== by 0x74F955: parquet::test::TestFlatScanner<parquet::DataType<(parquet::Type::type)0> >::ExecuteAll(int, int, int, int, parquet::Encoding::type) (column_scanner-test.cc:125)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)