From: Alasdair G Kergon <agk@redhat.com>
To: Hubert Kario <hubert@kario.pl>
Cc: linux-lvm@redhat.com
Subject: Re: [linux-lvm] [lvm2cmd] Heap destruction by lvm2_exit()?
Date: Wed, 1 Aug 2012 13:24:13 +0100 [thread overview]
Message-ID: <20120801122413.GF11876@agk-dp.fab.redhat.com> (raw)
In-Reply-To: <1912398.2IYGSI2Xbi@bursa22>
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
next prev parent reply other threads:[~2012-08-01 12:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-31 23:23 [linux-lvm] [lvm2cmd] Heap destruction by lvm2_exit()? Hubert Kario
2012-08-01 12:24 ` Alasdair G Kergon [this message]
2012-08-01 16:17 ` Hubert Kario
2012-08-02 1:46 ` Alasdair G Kergon
2012-08-02 1:50 ` Alasdair G Kergon
2012-08-02 10:16 ` Hubert Kario
2012-08-03 9:56 ` Hubert Kario
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120801122413.GF11876@agk-dp.fab.redhat.com \
--to=agk@redhat.com \
--cc=hubert@kario.pl \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).