[Bugs] [Bug 1397177] New: memory leak when using libgfapi

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 21 19:32:10 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1397177

            Bug ID: 1397177
           Summary: memory leak when using libgfapi
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: rjoseph at redhat.com
        QA Contact: sdharane at redhat.com
                CC: bugs at gluster.org, jthottan at redhat.com,
                    ndevos at redhat.com, pgurusid at redhat.com,
                    piotr.rybicki at innervision.pl, rtalur at redhat.com,
                    sdharane at redhat.com, skoduri at redhat.com
        Depends On: 1370417



+++ This bug was initially created as a clone of Bug #1370417 +++

Description of problem:

valgrind reports memory leaks in simple C program using libgfapi

Version-Release number of selected component (if applicable):
3.8.3 (and I believe all previous versions, 3.8.X , 3.7.X , ...)

How reproducible:

just run valgrind on a compiled program

Steps to Reproduce:
1. simple C code:

# cat hellogluster-basic.c
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <glusterfs/api/glfs.h>

int main (int argc, char** argv) {
        glfs_t *fs = NULL;

        fs = glfs_new ("pool");
        if (!fs) {
          fprintf (stderr, "glfs_new: returned NULL\n");
          return 1;
        }

        glfs_fini (fs);

        return 0;
}


2. compile 

gcc hellogluster-basic.c -lgfapi

3. run valgrind

# valgrind --leak-check=full --show-reachable=yes --show-leak-kinds=all ./a.out
==13758== Memcheck, a memory error detector
==13758== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==13758== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==13758== Command: ./a.out
==13758==
==13758==
==13758== HEAP SUMMARY:
==13758==     in use at exit: 12,598,862 bytes in 57 blocks
==13758==   total heap usage: 141 allocs, 84 frees, 25,119,811 bytes allocated
==13758==
==13758== 8 bytes in 1 blocks are still reachable in loss record 1 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A8B576: __gf_default_calloc (mem-pool.h:118)
==13758==    by 0x5A8B576: __glusterfs_this_location (globals.c:147)
==13758==    by 0x4E3DA7C: glfs_new@@GFAPI_3.4.0 (glfs.c:724)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 82 bytes in 1 blocks are definitely lost in loss record 2 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A625BF: gf_strdup (mem-pool.h:185)
==13758==    by 0x5A625BF: gf_log_init (logging.c:735)
==13758==    by 0x4E3DE35: glfs_set_logging@@GFAPI_3.4.0 (glfs.c:862)
==13758==    by 0x4E3DACC: glfs_new@@GFAPI_3.4.0 (glfs.c:737)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 89 bytes in 1 blocks are possibly lost in loss record 3 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CC29: glusterfs_ctx_defaults_init (glfs.c:127)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 89 bytes in 1 blocks are possibly lost in loss record 4 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CC75: glusterfs_ctx_defaults_init (glfs.c:136)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 92 bytes in 1 blocks are possibly lost in loss record 5 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CC9B: glusterfs_ctx_defaults_init (glfs.c:140)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 94 bytes in 1 blocks are possibly lost in loss record 6 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CC03: glusterfs_ctx_defaults_init (glfs.c:122)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 94 bytes in 1 blocks are possibly lost in loss record 7 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CC4F: glusterfs_ctx_defaults_init (glfs.c:131)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 95 bytes in 1 blocks are possibly lost in loss record 8 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CBBD: glusterfs_ctx_defaults_init (glfs.c:112)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 95 bytes in 1 blocks are possibly lost in loss record 9 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A86AED: __gf_malloc (mem-pool.c:142)
==13758==    by 0x5A86E11: gf_vasprintf (mem-pool.c:221)
==13758==    by 0x5A86F03: gf_asprintf (mem-pool.c:240)
==13758==    by 0x5A87172: mem_pool_new_fn (mem-pool.c:365)
==13758==    by 0x4E3CBE0: glusterfs_ctx_defaults_init (glfs.c:117)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 116 bytes in 1 blocks are possibly lost in loss record 10 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A6C82B: gf_strdup (mem-pool.h:185)
==13758==    by 0x5A6C82B: generate_glusterfs_ctx_id (common-utils.c:2936)
==13758==    by 0x4E3CB16: glusterfs_ctx_defaults_init (glfs.c:82)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 152 bytes in 1 blocks are possibly lost in loss record 11 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x4E3CB9B: glusterfs_ctx_defaults_init (glfs.c:105)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 192 bytes in 1 blocks are possibly lost in loss record 12 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A6FCD6: gf_timer_registry_init (timer.c:222)
==13758==    by 0x5A6FCD6: gf_timer_call_after (timer.c:40)
==13758==    by 0x5A63B32: __gf_log_inject_timer_event (logging.c:1792)
==13758==    by 0x5A63B32: gf_log_inject_timer_event (logging.c:1814)
==13758==    by 0x4E3DE70: glfs_set_logging@@GFAPI_3.4.0 (glfs.c:866)
==13758==    by 0x4E3DACC: glfs_new@@GFAPI_3.4.0 (glfs.c:737)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 13 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CBBD: glusterfs_ctx_defaults_init (glfs.c:112)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 14 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CBE0: glusterfs_ctx_defaults_init (glfs.c:117)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 15 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CC03: glusterfs_ctx_defaults_init (glfs.c:122)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 16 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CC29: glusterfs_ctx_defaults_init (glfs.c:127)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 17 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CC4F: glusterfs_ctx_defaults_init (glfs.c:131)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 18 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CC75: glusterfs_ctx_defaults_init (glfs.c:136)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 224 bytes in 1 blocks are possibly lost in loss record 19 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A87141: mem_pool_new_fn (mem-pool.c:361)
==13758==    by 0x4E3CC9B: glusterfs_ctx_defaults_init (glfs.c:140)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 248 bytes in 1 blocks are possibly lost in loss record 20 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A894FC: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 288 bytes in 1 blocks are possibly lost in loss record 21 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x4011981: allocate_dtv (dl-tls.c:322)
==13758==    by 0x401234D: _dl_allocate_tls (dl-tls.c:539)
==13758==    by 0x5F3DF04: allocate_stack (allocatestack.c:586)
==13758==    by 0x5F3DF04: pthread_create@@GLIBC_2.2.5 (pthread_create.c:543)
==13758==    by 0x5A6DF83: gf_thread_create (common-utils.c:3549)
==13758==    by 0x5A6FD37: gf_timer_registry_init (timer.c:236)
==13758==    by 0x5A6FD37: gf_timer_call_after (timer.c:40)
==13758==    by 0x5A63B32: __gf_log_inject_timer_event (logging.c:1792)
==13758==    by 0x5A63B32: gf_log_inject_timer_event (logging.c:1814)
==13758==    by 0x4E3DE70: glfs_set_logging@@GFAPI_3.4.0 (glfs.c:866)
==13758==    by 0x4E3DACC: glfs_new@@GFAPI_3.4.0 (glfs.c:737)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 22 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A8939E: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 23 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A893C3: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 24 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A893F8: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 25 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A8942F: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 26 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A89464: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 27 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A89499: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 28 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A894D0: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 29 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88A24: __iobuf_arena_alloc (iobuf.c:174)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A894FC: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are possibly lost in loss record 30 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A8951A: iobuf_create_stdalloc_arena (iobuf.c:367)
==13758==    by 0x5A8951A: iobuf_pool_new (iobuf.c:431)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 360 bytes in 1 blocks are definitely lost in loss record 31 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A8951A: iobuf_create_stdalloc_arena (iobuf.c:367)
==13758==    by 0x5A8951A: iobuf_pool_new (iobuf.c:431)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DAB3: glfs_new@@GFAPI_3.4.0 (glfs.c:731)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 576 bytes in 2 blocks are possibly lost in loss record 32 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x4011981: allocate_dtv (dl-tls.c:322)
==13758==    by 0x401234D: _dl_allocate_tls (dl-tls.c:539)
==13758==    by 0x5F3DF04: allocate_stack (allocatestack.c:586)
==13758==    by 0x5F3DF04: pthread_create@@GLIBC_2.2.5 (pthread_create.c:543)
==13758==    by 0x5A6DF83: gf_thread_create (common-utils.c:3549)
==13758==    by 0x5A99EA1: syncenv_new (syncop.c:827)
==13758==    by 0x4E3CB70: glusterfs_ctx_defaults_init (glfs.c:100)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 576 bytes in 2 blocks are possibly lost in loss record 33 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x4011981: allocate_dtv (dl-tls.c:322)
==13758==    by 0x401234D: _dl_allocate_tls (dl-tls.c:539)
==13758==    by 0x5F3DF04: allocate_stack (allocatestack.c:586)
==13758==    by 0x5F3DF04: pthread_create@@GLIBC_2.2.5 (pthread_create.c:543)
==13758==    by 0x5A6DF83: gf_thread_create (common-utils.c:3549)
==13758==    by 0x5A99EA1: syncenv_new (syncop.c:827)
==13758==    by 0x4E3CB70: glusterfs_ctx_defaults_init (glfs.c:100)
==13758==    by 0x4E3DAB3: glfs_new@@GFAPI_3.4.0 (glfs.c:731)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 776 bytes in 1 blocks are possibly lost in loss record 34 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A894D0: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 1,848 bytes in 1 blocks are possibly lost in loss record 35 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A89068: iobuf_pool_new (iobuf.c:396)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 2,888 bytes in 1 blocks are possibly lost in loss record 36 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A89499: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 5,120 bytes in 1 blocks are still reachable in loss record 37 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5AB588F: glusterfs_ctx_new (ctx.c:24)
==13758==    by 0x4E3DB64: glfs_init_global_ctx (glfs.c:669)
==13758==    by 0x4E3DB64: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 5,704 bytes in 1 blocks are possibly lost in loss record 38 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A89464: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 11,336 bytes in 1 blocks are possibly lost in loss record 39 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A8942F: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 12,768 bytes in 1 blocks are possibly lost in loss record 40 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5AB9743: event_pool_new_epoll (event-epoll.c:243)
==13758==    by 0x5A86051: event_pool_new (event.c:37)
==13758==    by 0x4E3CB55: glusterfs_ctx_defaults_init (glfs.c:94)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 12,768 bytes in 1 blocks are definitely lost in loss record 41 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5AB9743: event_pool_new_epoll (event-epoll.c:243)
==13758==    by 0x5A86051: event_pool_new (event.c:37)
==13758==    by 0x4E3CB55: glusterfs_ctx_defaults_init (glfs.c:94)
==13758==    by 0x4E3DAB3: glfs_new@@GFAPI_3.4.0 (glfs.c:731)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 13,096 bytes in 1 blocks are still reachable in loss record 42 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A60854: __gf_default_malloc (mem-pool.h:106)
==13758==    by 0x5A60854: xlator_mem_acct_init (xlator.c:520)
==13758==    by 0x4E3CB07: glusterfs_ctx_defaults_init (glfs.c:68)
==13758==    by 0x4E3DAB3: glfs_new@@GFAPI_3.4.0 (glfs.c:731)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 13,096 bytes in 1 blocks are possibly lost in loss record 43 of 55
==13758==    at 0x4C29FE0: malloc (vg_replace_malloc.c:299)
==13758==    by 0x5A60854: __gf_default_malloc (mem-pool.h:106)
==13758==    by 0x5A60854: xlator_mem_acct_init (xlator.c:520)
==13758==    by 0x4E3CB07: glusterfs_ctx_defaults_init (glfs.c:68)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 15,600 bytes in 1 blocks are possibly lost in loss record 44 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A99DEE: syncenv_new (syncop.c:808)
==13758==    by 0x4E3CB70: glusterfs_ctx_defaults_init (glfs.c:100)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 15,600 bytes in 1 blocks are possibly lost in loss record 45 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A99DEE: syncenv_new (syncop.c:808)
==13758==    by 0x4E3CB70: glusterfs_ctx_defaults_init (glfs.c:100)
==13758==    by 0x4E3DAB3: glfs_new@@GFAPI_3.4.0 (glfs.c:731)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 35,912 bytes in 1 blocks are possibly lost in loss record 46 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CC9B: glusterfs_ctx_defaults_init (glfs.c:140)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 45,128 bytes in 1 blocks are possibly lost in loss record 47 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A893C3: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 45,128 bytes in 1 blocks are possibly lost in loss record 48 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A893F8: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 90,184 bytes in 1 blocks are possibly lost in loss record 49 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A88686: __iobuf_arena_init_iobufs (iobuf.c:84)
==13758==    by 0x5A88AE6: __iobuf_arena_alloc (iobuf.c:208)
==13758==    by 0x5A88D5D: __iobuf_pool_add_arena (iobuf.c:272)
==13758==    by 0x5A88E24: iobuf_pool_add_arena (iobuf.c:297)
==13758==    by 0x5A8939E: iobuf_pool_new (iobuf.c:425)
==13758==    by 0x4E3CB36: glusterfs_ctx_defaults_init (glfs.c:89)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 704,584 bytes in 1 blocks are possibly lost in loss record 50 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CC29: glusterfs_ctx_defaults_init (glfs.c:127)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 868,424 bytes in 1 blocks are possibly lost in loss record 51 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CBBD: glusterfs_ctx_defaults_init (glfs.c:112)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 1,114,184 bytes in 1 blocks are possibly lost in loss record 52 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CC4F: glusterfs_ctx_defaults_init (glfs.c:131)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 1,507,400 bytes in 1 blocks are possibly lost in loss record 53 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CC75: glusterfs_ctx_defaults_init (glfs.c:136)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 1,896,520 bytes in 1 blocks are possibly lost in loss record 54 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CBE0: glusterfs_ctx_defaults_init (glfs.c:117)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== 6,172,744 bytes in 1 blocks are possibly lost in loss record 55 of 55
==13758==    at 0x4C2C0D0: calloc (vg_replace_malloc.c:711)
==13758==    by 0x5A869B9: __gf_calloc (mem-pool.c:117)
==13758==    by 0x5A871E2: mem_pool_new_fn (mem-pool.c:383)
==13758==    by 0x4E3CC03: glusterfs_ctx_defaults_init (glfs.c:122)
==13758==    by 0x4E3DB96: glfs_init_global_ctx (glfs.c:680)
==13758==    by 0x4E3DB96: glfs_new@@GFAPI_3.4.0 (glfs.c:725)
==13758==    by 0x4007D6: main (in /root/gf-test2/a.out)
==13758==
==13758== LEAK SUMMARY:
==13758==    definitely lost: 13,210 bytes in 3 blocks
==13758==    indirectly lost: 0 bytes in 0 blocks
==13758==      possibly lost: 12,567,428 bytes in 51 blocks
==13758==    still reachable: 18,224 bytes in 3 blocks
==13758==         suppressed: 0 bytes in 0 blocks
==13758==
==13758== For counts of detected and suppressed errors, rerun with: -v
==13758== ERROR SUMMARY: 52 errors from 52 contexts (suppressed: 0 from 0)

Actual results:

reported memory leaks

Expected results:

no memory leaks reported

Additional info:

--- Additional comment from Niels de Vos on 2016-09-12 01:39:53 EDT ---

All 3.8.x bugs are now reported against version 3.8 (without .x). For more
information, see
http://www.gluster.org/pipermail/gluster-devel/2016-September/050859.html


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1370417
[Bug 1370417] memory leak when using libgfapi
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list