https://bugs.kde.org/show_bug.cgi?id=351043

Andrew Kraslavsky <andyk...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andyk...@hotmail.com

--- Comment #1 from Andrew Kraslavsky <andyk...@hotmail.com> ---
I hit the same issue and observed that it applies to both --log-file and
--xml-file and that the issue exists in valgrind version 3.11.

I brought the patch at the link below forward to version 3.11 and it seems to
address the issue.

https://chromium.googlesource.com/chromium/src/tools/valgrind/+/77eb74bd17f76978be25436f17025a29ba3b9a1f/fork.patch

I'm not sure the valgrind developers would accept this patch as is because it
seems just a tiny bit messy in incidental ways (e.g. print_preamble()
declaration probably belongs in a header file, VG_(reopen_fd) may not really
belong in m_main.c, etc...) but the basic notion of closing the original file
and opening a new on in the child side atfork function seems sound.

In any case, I will attach the revised version of the patch I applied to my
local valgrind v3.11 build to this bug report.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to