You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2023/06/14 16:33:00 UTC

[jira] [Commented] (AVRO-3737) [C] memcheck_test_avro_commons_schema is failing

    [ https://issues.apache.org/jira/browse/AVRO-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732621#comment-17732621 ] 

Ryan Skraba commented on AVRO-3737:
-----------------------------------

As discussed, this has been cherry-picked to [branch-1.11|http://example.com://github.com/apache/avro/commit/db70e1fa9706051fcaa26301a5d06b885138ac90].  Thanks for the contribution!

> [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
>            Assignee: Christophe Le Saec
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)