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

--- Comment #6 from Philippe Waroquiers <philippe.waroqui...@skynet.be> ---
(In reply to megahallon from comment #5)
> Also, as has been noted in bug 342040, it seems the clone call is not
> handled correctly when looking with strace:
> 
> strace valgrind ~/spawn|& grep clone
> =>
> clone(child_stack=NULL, flags=SIGCHLD)
> 
> strace ~/spawn|& grep clone
> =>
> clone(child_stack=0x7f13dd5d6ff0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD)

This is normal. Valgrind transforms a vfork into a fork, as it does
not support vfork semantic.
See the following code in e.g. syswrap-amd64-linux.c:
   case VKI_CLONE_VFORK | VKI_CLONE_VM: /* vfork */
      /* FALLTHROUGH - assume vfork == fork */
      cloneflags &= ~(VKI_CLONE_VFORK | VKI_CLONE_VM);

   case 0: /* plain fork */
      ...

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

Reply via email to