delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/09/06/13:40:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A41F93839416
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1630950004;
bh=q/rwPlqHzr6GfRHj/xLtHTg5TV01hx24hP04OanuaoM=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=oK7J4r5gB7wvJmDbkWqbaow+iZnMhrA1fLCSGsL4aOTV8wer7B08hvo99IfWlec50
IDN/+RdXZ0+/rX9xmFMV4+CR5NzeJjhwMVnPwLNUWI9k2nqyZhzMuEQpK0njS/lPGz
CjXQuNT810g3M1JShIXGwZFgkHa+ZEIGlUF8PKA0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 598A3385701B
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=XmaFrwZqbiyplliysXclHaiqY7xigsUBhAOEUjSSiKjEExUBW1LHLe6a+h5unyqiNpALA6fgrcnuJ9pAw8F7rW+cSkeY/anYF+fwervZh0Mi5cWb18ytCvBjKbmPbkLa6BIYygBYPhWYc6TuMt6TAn0z4Imi4K27fjWjOXudKVF1exXc7BMb95zGsal5R4wcQPKfRk3zZA0rvSNJIN95oSoOMVGavanHQ+zNwspgJyJ+CUG7LFLvkWgp6D9KZlUP1tbH/PH+RJJhdo+f71CnQcXHkb2Z0Kbmyi79ZlrV+lL2jAhEiMpKLC/yxcV//rCOq4ycP6SI2sWfNbDlF+SK0Q==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
bh=Ft58j2IMbogRQwbsia727o9zTNsW4+BRmZu7ZXmo2cA=;
b=kItIY0Ka+iYB0FoHcNCsRHHMbTxPO3/IMajUMWLISFMFDc9nvFrryOG8/52mA+HIMzC0AgW64X5gQfcKI6aLfQoIczUQ6OIYbzG/THZ/ymeOUEkpMoPISd2V8IOD1FXbMzYrSiAy9x7wwh8h0EHCeAtlrWxTz/IOn9s62NRv0U8TLvMIenbHiGhRfWKCKGhV+Byyu+gA3WttHye4Uzl9cyuxznX75yRkgG65qT+/lsE9xIpNcz+vTM7Mdi9RI/YQye+qix7St3qrD+8cssd3Wt6hPoCNnrnFrxHXMXvTjCvBgfOUK95ACsLjXf5qhyKggI7ReovLQLhzqgoeDmNTsQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: mmap failure [was: cygrunsrv + sshd + rsync = 20 times too slow
-- throttled?]
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>
<FFA666F7-7531-46D4-8A61-ED3D7F3FA210 AT house DOT org>
<YTJ9wwbHqeoGxZMP AT calimero DOT vinschen DOT de>
<c54c8815-44fe-a837-211e-6497a185c2e8 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>
<YTY0oN9x7wNtJAKx AT calimero DOT vinschen DOT de>
<d3c9bb17-b859-e7b1-d7e6-c421d0f37836 AT cornell DOT edu>
Message-ID: <33ae27cb-4e45-7484-40d1-6cbd88c958f1@cornell.edu>
Date: Mon, 6 Sep 2021 13:38:47 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <d3c9bb17-b859-e7b1-d7e6-c421d0f37836@cornell.edu>
X-ClientProxiedBy: CH0PR03CA0031.namprd03.prod.outlook.com
(2603:10b6:610:b3::6) To SN6PR04MB4399.namprd04.prod.outlook.com
(2603:10b6:805:30::12)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 7aba54ae-fdfe-49fb-e75a-08d9715d2fa7
X-MS-TrafficTypeDiagnostic: SN6PR04MB4046:
X-Microsoft-Antispam-PRVS: <SN6PR04MB4046A0FB982AA73D915F2AA7D8D29 AT SN6PR04MB4046 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:883;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: YPizWH7GrMRyiUnmHhj/i+q+Iw+jRFEAtAloXwROBnkJjrz5wLqA6KJFJjtTdNd6CLxMTc532sYTNSgwAV125p7rb5XIJTskXZB6jYTvprqNuHmmnSRLJ20fi4jHYdWgSfT1u1KXVI4AxFNWPE7tooSjKwPycBFUufxjeHxlaLx00moiFvOZOJZtbY08EarmYEZ13K61hD/zJn9cbuSALNtbBxCA4oFZvTkn7vK0vXWwDAOvbVvRBXaNk8nji2svsRYqNxBII8TiO+hjOqpglX5/nvtW1Msi8kwSWrH4RtN+paeGdbdEkn8FT8JAVkoZjTnEW6eLkOhDDi45G8paUmnTsUBzZnW6BVWPO+BsrlCNrO6nqV0gMbEXBHgxXls37B8QpXtw2rEXDJgk0UvfCC1xUZknEfUJBtmY55D3JAWsyu2C7VlFYxtpU0t+5gy/cuVPttRTl1jpXn9hOIbEb92noJ+YN9OWST/gWVv5TZhrBYPMiqAMQEcCTWtNqNkhof0BSNiW3SvMcCpmZzgzU+5yhOd0XmpEdMMIGi3+bbRsU7q/BYfq5eM2ovNMUjoOLyN44nPqa1cIX9dWTdJkM+/ihXzm/sd2Apy0fvQnGJsIeQzrPo3L2VO5MZgJjh1RSIPmwKXe82ahRNa20G4jYH1I1IaizGglX7PBaRX4c06bUuAUE4ki+yXTaxwFmXXSbiYiLax+JU0jhrumyPpK84uDniGwyIfeaokvGyM9PmY=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:SN6PR04MB4399.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(39860400002)(366004)(396003)(136003)(346002)(376002)(186003)(316002)(478600001)(31686004)(38100700002)(31696002)(2616005)(6486002)(86362001)(8936002)(83380400001)(66476007)(66556008)(66946007)(36756003)(2906002)(53546011)(6916009)(75432002)(8676002)(5660300002)(45980500001)(43740500002);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?Windows-1252?Q?Lv2ctcg2vTKmWfIj5Ne7c7o7e+I+8nOS4nhypW0ghzGplnrHctjPh94h?=
=?Windows-1252?Q?KeVcoRSgCT6fPrQsZpm/4mWU2Tc4R75qE4GkWv1YeFX8+fpep61aITRI?=
=?Windows-1252?Q?vUSEkhh9vjOlKRnV3gIl5Ob7cV2ErSdJo7p1wli8JqaU8itv4i1gek/8?=
=?Windows-1252?Q?e3mF45BdNXE4HV7BLbLC4o4c8jSHAY3toCprw7JXI3lpoZ5n6rK3F3Ii?=
=?Windows-1252?Q?cHD0PCWh2/gYGhxaiVnWalMZ6N8Esx0iMgt/aJlTSAMXe7SgbkK7PPbT?=
=?Windows-1252?Q?40hmRS+PRfsWjJjF+mU1nHUT059wq7ncN3mPl1cIT76htxqQioXvuXq1?=
=?Windows-1252?Q?nRBYXHFAwlT1xbPV7xPcUlYalISGHYG7b2r12aKKbzp346lc4CX47Q2f?=
=?Windows-1252?Q?BSdPzab1v0PRCN1RWXpNwmRsIkYuRf90gFy+E23uurq+nDOo0hy6N8fq?=
=?Windows-1252?Q?qa7EIuEGBrUaIFkQ9fFrDu8qpoOrLd2jvhZbmSdwYRnnTwNMhXG3ZX4/?=
=?Windows-1252?Q?ZlhXCDsC/TfOza0Qh2ufLaUjuWU815gQZDyVxv+9OTt6AkztI4zkl8Rr?=
=?Windows-1252?Q?BwYAh6eyK1rrTqur74RptkGr9mkDskIQ6I4t3VtI9RQ7dTM+eLqM4/B0?=
=?Windows-1252?Q?VHtxb3JwR7nBNG4KtaI9kqzwF1qdwkH5Oxy2T48Sd87xgtjB29VvwkB0?=
=?Windows-1252?Q?+BaL3U2du9XYzknIimopVmI4da20wf+yX+lrTrJ4c21UHzfXD00RRNYJ?=
=?Windows-1252?Q?1P1UcwXHzd3C99QPuKvzmL/TJq9+oSDZt1LPuCzT2PwxJMurnw9sbsuM?=
=?Windows-1252?Q?+udiWw1EA0Oql28lbWA8aOdDuTYZpimbqhmCyzEthyDfbs1JQmWjkJSQ?=
=?Windows-1252?Q?DR1ts21iBXOtK+s5AHYk7YD4bsRRHmRnfB2qv1iDQsCeBEPWoBvyYnGp?=
=?Windows-1252?Q?AB3NGDhACdWLg008de9WXUGxWOJi4Vs6WnPFsMrLceBm0I4UGLG9saIa?=
=?Windows-1252?Q?277P1dJtpL03ZQV9EfCjYvAkGBZJQ3oZFvp5ST216hD//x266OfmivNa?=
=?Windows-1252?Q?oBtm/dHgNbzFKq+GyM515tDRHVYdrSvPKxgXlXoy7hTsg8niPNeaX+fw?=
=?Windows-1252?Q?McTNW3wx3tIRwBCcvLRI9N7G9HEEKbFi5d9AAoSYDcZOIrkWpWYBQwZn?=
=?Windows-1252?Q?j8B6kOjju+ot9MElhbJcJV8o1s19Dk67qmRbJErgl5VPBnYy0sdAwh9u?=
=?Windows-1252?Q?Dd/OXdxBvwtnbBLDGbX6UkLrceT5NjP23IX/mlUUTBXTdfl7rLQXd0t3?=
=?Windows-1252?Q?zD1WEWuY0jN4cEznXpWksia2xZYMz1aN8rWYIloXLHHBidWwx9mooM5w?=
=?Windows-1252?Q?uL7GTx9Mqvgtk5/RNGWVTacGNHWFhQPC8JFuCYoPGPSDCZfwgmQC6NVy?=
=?Windows-1252?Q?s7bnmGW6qUHqTJ7ldSKOmdYfHtTwC8zDgbbXvIQ43H/fQuSGILCvYzBP?=
=?Windows-1252?Q?fn9FGIlt?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 7aba54ae-fdfe-49fb-e75a-08d9715d2fa7
X-MS-Exchange-CrossTenant-AuthSource: SN6PR04MB4399.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Sep 2021 17:38:49.8573 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: ruRR6BBp+gQTE38wMGDbFFyfYtl8y3IL23fNbz8EhohIf+Q5eEwwz0woq0P74FjmSK0yAb4hXDr57vRpARClJw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR04MB4046
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_INVALID,
DKIM_SIGNED, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 186He5fJ012598

On 9/6/2021 1:12 PM, Ken Brown via Cygwin wrote:
> On 9/6/2021 11:32 AM, Corinna Vinschen via Cygwin wrote:
>> 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?
> 
> I tried removing them, and I got the same error.  I also tried removing static, 
> and I tried removing both static and const.

BTW, when I reported that the test case succeeds under gdb, that only happens 
when I build the test case without optimization.  If I build with -O2, it fails 
under gdb also.  [In all my tests, I built cygwin1.dll without optimization.] 
This makes no sense to me at all.

Ken

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019