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

Ivo Raisr <iv...@ivosh.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |iv...@ivosh.net
           Assignee|jsew...@acm.org             |iv...@ivosh.net

--- Comment #19 from Ivo Raisr <iv...@ivosh.net> ---
I've encountered this problem (%p format specifier basically not working for
forked children without exec) as well. Current Valgrind behaviour contradicts
the manual:

"%p is replaced with the current process ID. This is very useful for program
that invoke multiple processes. WARNING: If you use --trace-children=yes and
your program invokes multiple processes OR your program forks without calling
exec afterwards, and you don't use this specifier (or the %q specifier below),
the Valgrind output from all those processes will go into one file, possibly
jumbled up, and possibly incomplete."

So basically we need to re-evaluate --[log|xml]-file in the after-fork handler.
I'll have a look at the patch provided and see if it fits in the SVN trunk.

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

Reply via email to