Re: [lvm2cmd] Heap destruction by lvm2_exit()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Your test program works for me:

$ valgrind ./a.out
==14092== Memcheck, a memory error detector
==14092== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==14092== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==14092== Command: ./a.out
==14092== 
Some text to output
Variable before: "Other text"
Variable after: "Other text"
==14092== 
==14092== HEAP SUMMARY:
==14092==     in use at exit: 0 bytes in 0 blocks
==14092==   total heap usage: 161 allocs, 161 frees, 10,620,400 bytes allocated
==14092== 
==14092== All heap blocks were freed -- no leaks are possible
==14092== 
==14092== For counts of detected and suppressed errors, rerun with: -v
==14092== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 6 from 6)

What version of lvm2 are you using?
Retest with upstream source?
What lvm configure options are you using?

Alasdair

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux