X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4591D385BF83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1630942441; bh=uIUc9zi7hfCznQ5TZ0hmR8H3Xhzj1Z7PVyn2OWh/rBg=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=uB9N/+YB98hEF1j4Gw/wXDhchxFKdiWzCXR+UjM/Quf7aDOOYTEDjdDrFOsBI/nlC pdTTyXD6Ld3lyivNczCOW10rqsGxZ+Wlg0qNBd9Ba889HOE+F9p5PlQ7VPUb/AlrIa CyyJa/4tcFf7OheLYuTldZsymRgUVRz55arUH8YU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 609FF3858407 Date: Mon, 6 Sep 2021 17:32:48 +0200 To: cygwin AT cygwin DOT com Subject: Re: mmap failure [was: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?] Message-ID: Mail-Followup-To: cygwin AT cygwin DOT com References: <72F25EBC-6801-4C96-8F6C-48F09B25B712 AT house DOT org> <6105153B-D145-449D-97FE-D6F17BEB2032 AT house DOT org> <6beb1156-931e-0380-ee60-2ca519f49a2f AT cornell DOT edu> <88fde5d5-4897-8792-576a-a62be0092ad8 AT cornell DOT edu> <94b5b6cf-1670-cbdd-2f51-84dae09d27b6 AT cornell DOT edu> <387d9062-1ff9-6eab-e268-e5070352a193 AT cornell DOT edu> <40275f71-7c10-55a9-e6c8-a948e32c37ac AT cornell DOT edu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <40275f71-7c10-55a9-e6c8-a948e32c37ac@cornell.edu> X-Provags-ID: V03:K1:q/8CzPMWMBMjdp/4gTC+bCy/wxS3l/kphpwKsycphb2Jyr5oo3x 9hsWwGCT67kmp6lV93ft3A+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ONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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 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: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Sep 5 09:24, Ken Brown via Cygwin wrote: > On 9/4/2021 8:04 PM, Ken Brown via Cygwin wrote: > > On 9/4/2021 6:58 PM, Ken Brown via Cygwin wrote: > > > Here are the correct commits: > > > > > > 8169e39ab Cygwin: C++17: register keyword is deprecated > > > 3ca80b360 Cygwin: dumper: fix up GCC pragma for g++ 11.2 > > > bdb7991db Cygwin: workaround a g++ 11.2 initialization bug > > > 801120c1f Cygwin: loader script: add DWARF 5 sections > > > d5cc66426 Cygwin: testsuite: avoid "conflicting types" gcc warning > > > c2fe205b5 strstr: avoid warnings > > > 76c2c7a89 ldexp/ldexpf: avoid assembler warning > > > eeeb5650c Cygwin: fix declaration of RtlInitEmptyUnicodeString > > > > > > > > > > > > So there appears to be something wrong with cygwin1.dll > > > > > built with the current build tools (gcc 11.2.0, binutils > > > > > 2.37, not sure what else is relevant). > > > > Wait a minute...I'll bet this is related to the MEM_EXTENDED_PARAMETER > > initialization problem that was dealt with in commit bdb7991db. > > More data: When I run the test case under gdb, it succeeds. When I run it > under strace, I see VirtualAlloc2 in fhandler_dev_zero::mmap failing with > windows error 87. Are the const's I added to the MEM_EXTENDED_PARAMETER data invalid, perhaps? Corinna -- 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