Skip to content

[C++][CI] test-conda-cpp-valgrind fails on arrow-dataset-file-parquet-encryption-test #38304

@raulcd

Description

@raulcd

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

The arrow-dataset-file-parquet-encryption-test seems to have an issue when running the valgrind jobs both on the maintenance branch and main:

The error:

66/87 Test #66: arrow-dataset-file-parquet-encryption-test ...***Failed   15.28 sec
==12896== Memcheck, a memory error detector
==12896== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==12896== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
==12896== Command: /build/cpp/debug//arrow-dataset-file-parquet-encryption-test
==12896== 
Running main() from /build/cpp/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from DatasetEncryptionTest
[ RUN      ] DatasetEncryptionTest.WriteReadDatasetWithEncryption
[       OK ] DatasetEncryptionTest.WriteReadDatasetWithEncryption (1647 ms)
[ RUN      ] DatasetEncryptionTest.ReadSingleFile
[       OK ] DatasetEncryptionTest.ReadSingleFile (79 ms)
[----------] 2 tests from DatasetEncryptionTest (1733 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (8572 ms total)
[  PASSED  ] 2 tests.
==12896== 
==12896== HEAP SUMMARY:
==12896==     in use at exit: 30,776 bytes in 254 blocks
==12896==   total heap usage: 37,143 allocs, 36,889 frees, 6,508,003 bytes allocated
==12896== 
==12896== 904 bytes in 1 blocks are definitely lost in loss record 59 of 70
==12896==    at 0x4849724: malloc (vg_replace_malloc.c:431)
==12896==    by 0x7053989: CRYPTO_zalloc (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x70094A9: ossl_err_get_state_int (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x700A189: ERR_set_mark (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x6F8D9EF: CONF_modules_load_file_ex (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x6F8DDD5: ossl_config_int (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x705282B: ossl_init_config_ossl_ (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x6C0DEE7: __pthread_once_slow (pthread_once.c:116)
==12896==    by 0x7060919: CRYPTO_THREAD_run_once (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x70530B3: OPENSSL_init_crypto (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x700775C: ossl_engine_table_select (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x71389D5: RAND_get_rand_method (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896==    by 0x7139319: RAND_bytes_ex (in /opt/conda/envs/arrow/lib/libcrypto.so.3)
==12896== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==12896== 
==12896== For lists of detected and suppressed errors, rerun with: -s
==12896== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)

Component(s)

C++, Continuous Integration

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions