[Interest] Qt 5.6.0: Strange "QProcess: CreateNamedPipe failed. (access denied)" messages

Rainer Wiesenfarth rainer_wiesenfarth at trimble.com
Mon Nov 14 13:26:05 CET 2016


2016-11-10 17:08 GMT+01:00 Joerg Bornemann <joerg.bornemann at qt.io>:

> On 09/11/2016 14:24, Rainer Wiesenfarth wrote:
>
> Environment 1: Windows 10.
>> - Dad starts first instance of Son => error message from Qt "QProcess:
>> CreateNamedPipe failed. (access denied)" (3 times)
>>
>
> This indicates that the pipes for stdin/stdout/stderr could not be created
> for whatever reason. Would it be possible to provide an example that
> exhibits the issue?
>

​I attach the four files I also added to the issue created with Qt support.
Unfortunately, they could not reproduce the observed behavior on Windows
10. Here the text of the support issue:

I create multiple QProcess instances from a worker thread, tying their
> output
> to the GUI. With Windows 7 this works as expected.
> With Windows 10 the first (and only the first!) attempt fails, issueing
> three
> warnings "QProcess: CreateNamedPipe failed. (access denied)" and
> showing no output of this first child process. However, any subsequent try
> on
> Windows 10 then also succeeds.
> I attached two example programs (parent and child) and screenshots of both
> Windows 7 and Windows 10.
> Please build the child and parent program and place them in the same
> folder,
> then start the parent. Clicking the "Create Child" button stimulates
> the desired action.


​I ran the test on multiple machines with both Windows 7 and Windows 10,
but ran into that issue only on one of them​. I would be happy if you could
run the test on other machines (preferably Windows 10) to help locating the
reason for this behavior.


-- 
Software Engineer | Trimble Imaging Division
Rotebühlstraße 81 | 70178 Stuttgart | Germany
Office +49 711 22881 0 | Fax +49 711 22881 11
http://www.trimble.com/imaging/ | http://www.inpho.de/

Trimble Germany GmbH, Am Prime Parc 11, 65479 Raunheim
Eingetragen beim Amtsgericht Darmstadt unter HRB 83893,
Geschäftsführer: Dr. Frank Heimberg, Jürgen Kesper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161114/d20df125/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreateNamedPipeProblemChild.7z
Type: application/octet-stream
Size: 524 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161114/d20df125/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CreateNamedPipeProblemParent.7z
Type: application/octet-stream
Size: 2675 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161114/d20df125/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Windows_7.png
Type: image/png
Size: 14327 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161114/d20df125/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Windows_10.png
Type: image/png
Size: 11325 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161114/d20df125/attachment-0001.png>


More information about the Interest mailing list