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

--- Comment #20 from Thiago Macieira <thi...@kde.org> ---
(In reply to Christoph Cullmann from comment #19)
> I compiled now the 6.1 branch locally with
> 
> -DFEATURE_forkfd_pidfd=OFF
> 
> That triggers (at least if I don't read the Qt sources wrongly)
> 
>     int ffdflags = FFD_CLOEXEC;
> 
>     // QTBUG-86285
> #if !QT_CONFIG(forkfd_pidfd)
>     ffdflags |= FFD_USE_FORK;
> #endif

> Naturally I assume that is not the "proper" fix.

No. That forces Qt to the old and pre-Linux 5.4 implementation that uses fork()
directly (which is a clone() call with only the flag SIGCHLD). Since it's not
using CLONE_PIDFD, it doesn't trigger whatever the issue in Valgrind is.

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

Reply via email to