You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2023/04/19 06:58:00 UTC
[jira] [Created] (AVRO-3737) [C] memcheck_test_avro_commons_schema is failing
Ryan Skraba created AVRO-3737:
---------------------------------
Summary: [C] memcheck_test_avro_commons_schema is failing
Key: AVRO-3737
URL: https://issues.apache.org/jira/browse/AVRO-3737
Project: Apache Avro
Issue Type: Bug
Affects Versions: 1.11.1, 1.12.0
Reporter: Ryan Skraba
Even with the fix in AVRO-3454, one of the memcheck test is failing in the release docker:
*{{cd lang/c && ./build.sh test}}*
{code}
... (snip) ...
98% tests passed, 1 tests failed out of 48
Total Test time (real) = 20.64 sec
The following tests FAILED:
7 - memcheck_test_avro_commons_schema (Failed)
Errors while running CTest
make: *** [Makefile:85: test] Error 8
{code}
WIth a bit more detail in the logs:
*{{tail -n 25 ../../build/c/tests/memcheck_test_avro_commons_schema.log}}*
{code}
==1209== by 0x10F97C: create_writer (test_avro_commons_schema.c:70)
==1209== by 0x10F97C: read_data (test_avro_commons_schema.c:92)
==1209== by 0x10F97C: run_tests (test_avro_commons_schema.c:113)
==1209== by 0x10F97C: main (test_avro_commons_schema.c:139)
==1209==
==1209== 172,133 (131,232 direct, 40,901 indirect) bytes in 2 blocks are definitely lost in loss record 80 of 80
==1209== at 0x483B723: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==1209== by 0x483E017: realloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==1209== by 0x11032F: avro_file_writer_create_with_codec_fp (datafile.c:211)
==1209== by 0x11032F: avro_file_writer_create_with_codec_fp (datafile.c:196)
==1209== by 0x1107A5: avro_file_writer_create (datafile.c:179)
==1209== by 0x10F97C: create_writer (test_avro_commons_schema.c:70)
==1209== by 0x10F97C: read_data (test_avro_commons_schema.c:92)
==1209== by 0x10F97C: run_tests (test_avro_commons_schema.c:113)
==1209== by 0x10F97C: main (test_avro_commons_schema.c:139)
==1209==
==1209== LEAK SUMMARY:
==1209== definitely lost: 131,392 bytes in 4 blocks
==1209== indirectly lost: 57,315 bytes in 146 blocks
==1209== possibly lost: 0 bytes in 0 blocks
==1209== still reachable: 1,888 bytes in 4 blocks
==1209== suppressed: 0 bytes in 0 blocks
==1209==
==1209== For lists of detected and suppressed errors, rerun with: -s
==1209== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)