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

--- Comment #10 from Thiago Macieira <thi...@kde.org> ---
(In reply to Paul Floyd from comment #9)
> The 1st error that Valgrind is seeing comes from this (trimmed)
> 
> static int detect_clone_pidfd_support()
> {
>     sys_waitid(P_PIDFD, INT_MAX, NULL, WEXITED|WNOHANG, NULL);
>     return errno == EBADF ? 1 : -1;
> }
> 
> Passing a dummmy siginfo_t for arg3 would fix the error.

I know, but this error is innocuous and the kernel doesn't complain, so I
didn't feel the need to pass something there.

> However the detection function is still doing its job. Valgrind says
> 
> SYSCALL[1740,1](247) ... [async] --> Failure(0x9) 
> 
> where 9 is EBADF.
> 
> After that, the clone is succeeding. I need to do more analysis and
> debugging to see what is causing the fd warning and assert.

Thank you for the effort.

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

Reply via email to