From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by sourceware.org (Postfix) with ESMTPS id 728E3385800C for ; Sat, 6 Nov 2021 12:02:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 728E3385800C Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MpTpc-1mOXJP0mnU-00pxS5 for ; Sat, 06 Nov 2021 13:02:51 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id C3E30A80D53; Sat, 6 Nov 2021 13:02:50 +0100 (CET) Date: Sat, 6 Nov 2021 13:02:50 +0100 From: Corinna Vinschen To: cygwin-developers@cygwin.com Subject: Re: 3.3.0: Possible regression in cygwin DLL (Win10); fixed in snapshot Message-ID: Reply-To: cygwin-developers@cygwin.com Mail-Followup-To: cygwin-developers@cygwin.com References: <20211105123950.b118a7f2ba38379764df4c12@nifty.ne.jp> <20211105170542.96ce6dd4ca32880ddfddd660@nifty.ne.jp> <20211106044116.698b465a5d8ed6ce2cc75c99@nifty.ne.jp> <2cfa5de7-3b95-9062-4572-f36d304bc916@cornell.edu> <20211106151047.4d8f626bd6ebe9e4d8017f3b@nifty.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:3aFtwHFig6+dFAJVJuRdR60go8C7IlyPf92sTQeRhZ6OgpljQQ6 3efWt1cUm4/1OGOUj4vO0MD5Ms20e/0b0Q6qL0pAMEXdr+qX3svwEKH8E/gXGQV2sK8Bpa6 XsOFuk+p3pjmnx8ukYG38g/+3fooutQbhJeEGiC+iAnYT1cBHA5QQIW9lC/G6QjKcsBqP/x h9A4p6ShL6e+Ui9ZLDgTw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Np9Lxd6VPQU=:g0QAUmoVEsE5Ceoc05dnqv LpeS4xaJlIabZgmzuFmkCsAAusv53u5enhXhdDJjIfH3W4LJvjjtYqXvazI3qA53lE02IuTCx ZAfIozNvJ3idKKC7p1/6SkLSn28gw8JXlfH8X+3rKdwhgCJrMG8igpc1wE17jLMaTdN/lMQUz y0wfWVwYRJMH3Wlgc3AGhuzASq0pILoF84wRbzADAXiahilKxDUkOvZl682rzT8PngJfR/0WV Z5WuCrw72sXs3QRB7r2xKRHyxwvhUVb2srdg+JdOt8xm9f1aDDvYH1GKpcjgE/tP9zOCLMUy5 y1s5ChmP+2XuW6pqDFTiLOaKMidoicqg80DMEWOx6tTDE+oTI51XkNjnIBve/9ayHdN09eYVK NRFNlhCKzwj9X8N+o79D0F+CfWUkAtaWft68ebpZ0icDhPCa1Fi8Kt6pwZKU//6mW3CeegZMi Luj4ZWiAVgZgFwvOewgwPByKyNhLfT8CO4lT0ws8PguRnnxlJin9E4euW+J2gDZf4P2ea9AzU 7Y0SNj5j6kJSd9U+HXKCW64m6DyI9Zwj/NPHVCp5CDNfxv+FcifHRdIPGSptdQ66bVzLnL65N HOBHtyMEXjNpuoCyFaDHfvA2fSBOND/76MqbVp40ZX1xLdUwdT9itIu3FZ66HxbQx6mw5Z4Bs xm9TgxMDmOB6eb3q6lSBi+54I7xR5hpYthOKM/GrzQqPy1PR22GVKnx8OChHyc8tYkOdLNMus VPm6yUBm7078m7Dh X-Spam-Status: No, score=-99.3 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham 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-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2021 12:02:54 -0000 On Nov 6 12:42, Corinna Vinschen wrote: > On Nov 6 15:10, Takashi Yano wrote: > > P.S. > > Unfortunately, these solutions do not resolve the issue > > which is another issue with C# program: > > https://cygwin.com/pipermail/cygwin/2021-March/247987.html > > This still needs FILE_SYNCHRONOUS_IO_NONALERT flag. > > If we want to add FILE_SYNCHRONOUS_IO_NONALERT, this would have to be > solved by running NtReadFile/NtWriteFile synchronously in a thread, > started on every invocation of raw_read/raw_write. raw_read/raw_write > would then call cygwait on the thread object. To break on signal or > thread cancallation events, it would have to call CancelSynchronousIo. > That's certainly doable. That would be something for 3.4, though. For 3.3.2, we should just fix the other problem. Ignoring 0 byte packets is probably the most easy way out. With this fixed, I think I should release 3.3.2 soon. We can have as much 3.3 bugfix releases as we want, anyway. Thanks, Corinna