netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gilad Benjamini" <gilad.benjamini@gmail.com>
To: "Pablo Neira Ayuso" <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: conntrack & valgrind
Date: Thu, 10 Jan 2008 12:21:15 -0800	[thread overview]
Message-ID: <d95317090801101221w5ac29c19i2e6e9d493dfa1114@mail.gmail.com> (raw)
In-Reply-To: <478611EC.1050205@netfilter.org>

I am actually not sure what version combination I initially had. Some
mix-n-match.
I tried this on my Ubuntu, with the latest binary packages from
apt-get, and got the same errors.
I then tried downloading latest release (having some local problem
with snapshots)
conntrack-tools-0.9.5.tar.bz2
libnetfilter_conntrack-0.0.82.tar.bz2
libnfnetlink-0.0.30.tar.bz2
... and conntrack failed to compile ;-(

At this point I gave up. I'll wait for the next releases and try again

2008/1/10, Pablo Neira Ayuso <pablo@netfilter.org>:
> Gilad Benjamini wrote:
> > Is conntrack supposed to be "valgrind clean" ?
> > I ran a few times "valgrind  --tool=memcheck --show-reachable=yes conntrack -L"
> > and I always get different "Invalid read of size " messages.
>
> # valgrind --tool=memcheck --show-reachable=yes conntrack -L
> ==15883== Memcheck, a memory error detector.
> ==15883== [...]
> ==15883==
> tcp      6 [...]
> ==15883==
> ==15883== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1)
> ==15883== malloc/free: in use at exit: 18 bytes in 1 blocks.
> ==15883== malloc/free: 19 allocs, 18 frees, 3,966 bytes allocated.
> ==15883== For counts of detected errors, rerun with: -v
> ==15883== searching for pointers to 1 not-freed blocks.
> ==15883== checked 100,072 bytes.
> ==15883==
> ==15883== LEAK SUMMARY:
> ==15883==    definitely lost: 0 bytes in 0 blocks.
> ==15883==      possibly lost: 0 bytes in 0 blocks.
> ==15883==    still reachable: 18 bytes in 1 blocks.
> ==15883==         suppressed: 0 bytes in 0 blocks.
> ==15883== Rerun with --leak-check=full to see details of leaked memory.
>
> I can't reproduce the problem with current libraries and conntrack-tools
> SVN snapshots. Which version are you using?
>
> --
> Los honestos son inadaptados sociales -- Les Luthiers
>

  reply	other threads:[~2008-01-10 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d95317090801080112v662f7fcdk36b582d14557896d@mail.gmail.com>
2008-01-10  1:57 ` conntrack & valgrind Gilad Benjamini
2008-01-10 12:39   ` Pablo Neira Ayuso
2008-01-10 20:21     ` Gilad Benjamini [this message]
2008-01-11  1:27       ` Pablo Neira Ayuso

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=d95317090801101221w5ac29c19i2e6e9d493dfa1114@mail.gmail.com \
    --to=gilad.benjamini@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    /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).