X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 08D7F3858C2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=roumenpetrov.info Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=roumenpetrov.info DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roumenpetrov.info; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V4RBVoX9mK/LkY2dpNbKxn+n3I9k+NhGXAgAUoP86KY=; b=XNRDL3VOG0V8eDv72FIAErHPT7 xGDDV0SkG3LYMv4OelJSHVdm+2XtKopVD5UyEDoLTRcgcUyWln6zlLhpmirW2akoOfO330EF1isKL r4bzE6qCvlnqR/ftR3nlGFi7NC/i8SpPnDdKIGpQ1dKhV+BVVOPHEa/TGNdj3pgRNr94cRdiR7gDV jRiRx5GDIgceC3wmSCVE9GdVqjwAYkesh5UyvleSxmvRIn4jNmiAUsaSE5ajs+d/v2EHhJdDMtb6U 5iMSIgYt71OhqXo2IfmT4HT5/cT8exPp/vjUJFikOxQjm6OGHPP80DmBCu88l5FTfLDmNTahren13 q3E24XOA==; Subject: Re: pipe hang issue when running as SYSTEM To: cygwin AT cygwin DOT com References: <20220322191807 DOT 8348f074683c127b1723c5c2 AT nifty DOT ne DOT jp> <20220322221756 DOT 2b7e80ec0a51e7ebd9df5a53 AT nifty DOT ne DOT jp> <20220325144253 DOT 4053d19d7e7b0243dcefa79e AT nifty DOT ne DOT jp> From: Roumen Petrov Message-ID: Date: Fri, 25 Mar 2022 09:48:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.7.1 MIME-Version: 1.0 In-Reply-To: <20220325144253.4053d19d7e7b0243dcefa79e@nifty.ne.jp> X-OutGoing-Spam-Status: No, score=-2.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rila.superhosting.bg X-AntiAbuse: Original Domain - cygwin.com X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roumenpetrov.info X-Get-Message-Sender-Via: rila.superhosting.bg: authenticated_id: master78 AT roumenpetrov DOT info X-Authenticated-Sender: rila.superhosting.bg: master78 AT roumenpetrov DOT info X-Source: X-Source-Args: X-Source-Dir: X-SA-Score: -2.1 (--) X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Hi, Takashi Yano wrote: > [SNIP] >> Just got another report to MSYS2 of this behavior, this time from a Gitlab >> CI runner that is running as a service and trying to pipe output from >> Microsoft cl.exe while running configure. This user reports that 3.3.4 >> with your "[PATCH v2] Cygwin: pipe: Avoid deadlock for non-cygwin writer." >> applied to it does not solve the problem. >> >> https://github.com/msys2/MSYS2-packages/issues/2893 > I can confirm the sample script hangs indeed if the script is > running as SYSTEM account. However, in my test, the patch solves > the issue. > > It would be very helpfull if a simple github repository with > github actions, which can reproduce the issue, is provided. In my environment with AD user account: $ cmd.exe /c "type big_file" | : The process tried to write to a nonexistent pipe. $ cat big_file | : *** starting debugger for pid NNN tid KKKKK $ uname -a CYGWIN_NT-10.0 ZZZZZZZ 3.3.4(0.341/5/3) 2022-01-31 19:35 x86_64 Cygwin Remarks: - no way to debug - no error if run as administrator Regards, Roumen Petrov -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple