From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PUSHED/OBVIOUS] Re-fix leak in source.c (open_source_file).
Date: Thu, 29 Nov 2018 23:14:00 -0000 [thread overview]
Message-ID: <1543533240.4149.9.camel@skynet.be> (raw)
In-Reply-To: <87ftvjbvmc.fsf@tromey.com>
On Thu, 2018-11-29 at 11:12 -0700, Tom Tromey wrote:
> > > > > > "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
>
> Philippe> Leak fixed in '8e6a5953e1d Fix 4K leak in open_source_file' has been partially
> Philippe> undone by '2179fbc36d23 Return scoped_fd from open_source_file'. Re-add the
> Philippe> transfer of current s->fullname to the unique_xmalloc_ptr fullname given to
> Philippe> find_and_open_source.
>
> Sorry about that, and thank you for fixing it.
No problem.
Note that after having run all GDB tests under valgrind, I still
see some 4K leaks in open_source_file appearing (I suspect)
when GDB reloads an executable that has changed.
Philippe
next prev parent reply other threads:[~2018-11-29 23:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20181124115237.8943-1-philippe.waroquiers@skynet.be>
2018-11-29 18:13 ` Tom Tromey
2018-11-29 23:14 ` Philippe Waroquiers [this message]
2018-11-29 23:29 ` Tom Tromey
2018-11-29 23:45 ` Philippe Waroquiers
2018-11-30 16:39 ` Tom Tromey
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=1543533240.4149.9.camel@skynet.be \
--to=philippe.waroquiers@skynet.be \
--cc=gdb-patches@sourceware.org \
--cc=tom@tromey.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