From: Jeff Garzik <jeff@garzik.org>
To: Jim Meyering <jim@meyering.net>
Cc: Project Hail <hail-devel@vger.kernel.org>,
Pete Zaitcev <zaitcev@redhat.com>
Subject: Re: [PATCH hail] chunkd: don't leak an FS object iterator
Date: Thu, 30 Sep 2010 14:44:14 -0400 [thread overview]
Message-ID: <4CA4DA7E.3040801@garzik.org> (raw)
In-Reply-To: <87aan0k249.fsf@meyering.net>
On 09/29/2010 11:20 AM, Jim Meyering wrote:
>
> chk_list_objs called fs_list_objs_open without also calling
> fs_list_objs_close.
>
> 32,808 bytes in 1 blocks are definitely lost in loss record 413 of 419
> at 0x4A0515D: malloc (vg_replace_malloc.c:195)
> by 0x31BA8A26D0: __alloc_dir (opendir.c:184)
> by 0x405619: fs_list_objs_open (be-fs.c:974)
> by 0x40B202: chk_list_objs (selfcheck.c:41)
> by 0x40B575: chk_dbscan (selfcheck.c:131)
> by 0x40B628: chk_thread_scan (selfcheck.c:147)
> by 0x40B757: chk_thread_command (selfcheck.c:179)
> by 0x40B890: chk_thread_func (selfcheck.c:219)
> by 0x31BC464E83: g_thread_create_proxy (gthread.c:1893)
> by 0x31BB407760: start_thread (pthread_create.c:301)
> by 0x31BA8E151C: clone (clone.S:115)
After seeing a few valgrind references from you, I'm curious... do you
by chance happen to have a valgrind suppression file for openssl on Fedora?
I've been wanting to run valgrind on chunkd, but each time I attempt it,
I -- and valgrind -- have been overwhelmed by openssl false positives.
openssl, deep in its RAND_xxx functions, intentionally does crazy stuff
like using random, uninitialized stack contents as RNG entropy. Cute,
but valgrind quite rightly complains loudly about it.
It's a topic I've been meaning to research, because I currently lack the
valgrind-fu necessary to have an effective valgrind+chunkd session.
Thanks,
Jeff
next prev parent reply other threads:[~2010-09-30 18:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 15:20 [PATCH hail] chunkd: don't leak an FS object iterator Jim Meyering
2010-09-30 18:44 ` Jeff Garzik [this message]
2010-10-03 7:00 ` Jim Meyering
2010-09-30 18:52 ` Jeff Garzik
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=4CA4DA7E.3040801@garzik.org \
--to=jeff@garzik.org \
--cc=hail-devel@vger.kernel.org \
--cc=jim@meyering.net \
--cc=zaitcev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.