Skip to content

The valgrind test is failing #36

@andy5995

Description

@andy5995

When running meson test --setup=valgrind

==22041== Memcheck, a memory error detector
==22041== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22041== Using Valgrind-3.17.0 and LibVEX; rerun with -h for copyright info
==22041== Command: /home/andy/src/modemu2k/builddir/tests/test_connect
==22041== 
==22041== 
==22041== HEAP SUMMARY:
==22041==     in use at exit: 10,332 bytes in 27 blocks
==22041==   total heap usage: 985 allocs, 958 frees, 311,710 bytes allocated
==22041== 
==22041== 64 bytes in 1 blocks are definitely lost in loss record 3 of 10
==22041==    at 0x483E7C5: malloc (vg_replace_malloc.c:380)
==22041==    by 0x4959045: gaih_inet.constprop.0 (in /usr/lib/libc-2.33.so)
==22041==    by 0x495A898: getaddrinfo (in /usr/lib/libc-2.33.so)
==22041==    by 0x10BB1D: sockDial (sock.c:87)
==22041==    by 0x10A3CA: test_connect (test_connect.c:9)
==22041==    by 0x10A5D7: main (test_connect.c:55)
==22041== 
==22041== 64 bytes in 1 blocks are definitely lost in loss record 4 of 10
==22041==    at 0x483E7C5: malloc (vg_replace_malloc.c:380)
==22041==    by 0x4959045: gaih_inet.constprop.0 (in /usr/lib/libc-2.33.so)
==22041==    by 0x495A898: getaddrinfo (in /usr/lib/libc-2.33.so)
==22041==    by 0x10BB1D: sockDial (sock.c:87)
==22041==    by 0x10A44D: test_connect (test_connect.c:14)
==22041==    by 0x10A5D7: main (test_connect.c:55)
==22041== 
==22041== 64 bytes in 1 blocks are definitely lost in loss record 5 of 10
==22041==    at 0x483E7C5: malloc (vg_replace_malloc.c:380)
==22041==    by 0x4959045: gaih_inet.constprop.0 (in /usr/lib/libc-2.33.so)
==22041==    by 0x495A898: getaddrinfo (in /usr/lib/libc-2.33.so)
==22041==    by 0x10BB1D: sockDial (sock.c:87)
==22041==    by 0x10A4D0: test_connect (test_connect.c:19)
==22041==    by 0x10A5D7: main (test_connect.c:55)
==22041== 
==22041== LEAK SUMMARY:
==22041==    definitely lost: 192 bytes in 3 blocks
==22041==    indirectly lost: 0 bytes in 0 blocks
==22041==      possibly lost: 0 bytes in 0 blocks
==22041==    still reachable: 10,140 bytes in 24 blocks
==22041==         suppressed: 0 bytes in 0 blocks
==22041== Reachable blocks (those to which a pointer was found) are not shown.
==22041== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==22041== 
==22041== For lists of detected and suppressed errors, rerun with: -s
==22041== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
------------------------------------------------------------------------------


Summary of Failures:

1/1 test_connect FAIL            1.39s   exit status 1


Ok:                 0   
Expected Fail:      0   
Fail:               1   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededtests

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions