https://bugs.kde.org/show_bug.cgi?id=427433
            Bug ID: 427433
           Summary: Unable to run QProcess: invalid file descriptor in
                    syscall clone()
           Product: valgrind
           Version: unspecified
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: critical
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: matthias.kl...@optimeas.de
  Target Milestone: ---

Created attachment 132203
  --> https://bugs.kde.org/attachment.cgi?id=132203&action=edit
Source code of example to reproduce and valgrind logfile

A simple Qt program with QProcess running under valgrind/memcheck will cause
the child process not to run, and valgrind will write errors/stacktraces. See
attachment. A test with Qt 5.12.9 ran without problems.

- Distribution: Arch Linux
- GCC 10.2.0
- Valgrind: 3.16.1
- Kernel: 5.8.13-arch1-1
- Qt 5.15.1

I have previously reported the problem to Qt, and they think it is a valgring
bug: https://bugreports.qt.io/browse/QTBUG-87230

> The clone syscall doesn't get a file descriptor as a parameter, only as 
> output, which means Valgrind is failing to interpret correctly what the 
> kernel returned.
> This looks like a valgrind bug.

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

Reply via email to