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

            Bug ID: 486512
           Summary: --log-fd does not mix well with --trace-children=yes
    Classification: Developer tools
           Product: valgrind
           Version: 3.24 GIT
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: o...@kde.org
  Target Milestone: ---

i have a daemon that re-opens stderr to its own log file.
it also fork-execs child processes. notably, it closes all file descriptors
except stdio after forking.

this doesn't seem to play well with valgrind: valgrind's output for the child
goes to the daemon's log, while the child's stderr apparently goes to nirvana.

clearly, valgrind fails to rewrite the command line for recursive invocation to
use the cloned/protected fd.
the follow-up effects are likely bug 486488.

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

Reply via email to