delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/09/04/18:40:02

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2D2E385782D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1630795200;
bh=YjuMm6Cj0L8FZ/omWs/TC5gI/dcBC78vl8YUNb99OVo=;
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=dRRYU+tZqR0cX27ouuXHJxqqkNqyHuLZ9fx/qjIZ3ZHetGN0nsiipQM05H3uv9abN
OykMaWWmyOL5OL77COELQ1rn5LUIEFcRwnXEfkthGYEy/ojxLtMjUzwoz7oEa7keAz
TSuT6M2hpVHBv5Kp5O9ZiMp3CUy8lgn6Wuxmi3eA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B8550385703C
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=DUoAydwWZuDWjV5rcngeR3PVjL/xD82AnVR+yx3MMcw61kxO7TCqzKCFEsgzC+sE4v9T1FeASrq2B7qZLnW4seVRqrcvYFPqtZR+Ud+kN9vZWpsNhOKkErwEUwDxFNSUKoD4p7VdgxwQifavaWyqaR12Dr6rOM+vIdT6WUWlOHEOk7DYWwtLxEwYpzNpJKfP2SoAXXHXLl17PRhp2Dew8g66qWpxLGpDe+44dicVVGmbqgBsz874Q5Wu/RZRM2zZLAjzpKSrHOTbvqPjd7UMT0KbB08IpwJnlcjmn8ev+ZjkJJo6XlPwH/o6GxzxoqAqd8raL4FHeemdxsrhw70ZoA==
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=FKMgs7pYXfKGDGREYs9JGcSuKhEouHgYSOu05hg+dNI=;
b=K4aD/FViqJQ6QxgowWyr7f+gLI5WEYfNvduTxASUDy4jJQ8dtuk8Zx9c5OdKd3t4YQlI4uMYFoVlLjwaDrFm+KeKqfs87TiVg6YZ19CeA/D2YTWyHVg+OdYbZTtW7/St6hgpIVnMzznbX4gBVK/RL9Ry1aUE0kGjt63F9V0PWbWKDP9K9Gtka2N0iV5dPwOLvGYwd4idfAUP3bwe3DhpUfrsqHhIa275L0tA+B2LC2ma61AjBmTqn04ZPxyXMkUy7Pe+0Asjs6jfLwk9xmIxh0uneoK3IO2dmEQHSVzDyL/s7tWYLzyr5oHmKOabG1wLosbZ21qAeFFxGBrWAa3NEw==
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: mmap failure [was: cygrunsrv + sshd + rsync = 20 times too slow --
throttled?]
To: cygwin AT cygwin DOT com
References: <789f056a-f164-d71d-1dc9-230f5a41846d AT cornell DOT edu>
<46906957-5850-4D7E-8D5A-EFF3C4068C0D AT house DOT org>
<f5f70ca3-0ea2-180d-87ef-deae5929f013 AT cornell DOT edu>
<EE8CC346-CB87-459C-9CE6-5CB2EFBA63EA AT house DOT org>
<58bdc0c3-d843-343f-d88e-c8a44ec33a15 AT cornell DOT edu>
<3DB951FB-FC3F-4EE8-B5E0-6137B305B873 AT house DOT org>
<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>
Message-ID: <c54c8815-44fe-a837-211e-6497a185c2e8@cornell.edu>
Date: Sat, 4 Sep 2021 18:37:35 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <YTJ9wwbHqeoGxZMP@calimero.vinschen.de>
X-ClientProxiedBy: CH0PR03CA0213.namprd03.prod.outlook.com
(2603:10b6:610:e7::8) To BN7PR04MB4388.namprd04.prod.outlook.com
(2603:10b6:406:f8::19)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: dc828595-aded-47c8-d234-08d96ff4985c
X-MS-TrafficTypeDiagnostic: BN8PR04MB5474:
X-Microsoft-Antispam-PRVS: <BN8PR04MB5474F06B51564ADA622F475FD8D09 AT BN8PR04MB5474 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: EZBC1m6R2ACt+yHmND4LeS6/2ZZUpRyN8Nu3ScNpUPFSRSwYCrq2DGGXh/JVNi5Zz1uRvM2DEK7Vy/HChgMS5Rq/UKEtLMdprnLc1AY6lZF+L2KlqWDjyUfk4pWRJhYCy++yZovC1g9wxqU3RdwS1gTCC0hwVJmiB55f7drsH+C2ioJfEsql8+N7wYxbqEoHokcUJajnYeGBpPHW80basdLMNQlc11IJAq3JiFY66OT2mIezjQoBDENbmSp7R+bJmokKGjSW+2caWRfeKWLUdXXZrQoLs4ZQ0bZmDFTj3Xg/0oP5/e/j/bsoPJ9PCu3/lWCNxZuUi45+mUkMIb1fICbN8nEcsDhBGahNyhdL6HOqdAEE39uV53T6rfzJmE8IkC27dVX60q7yUGfTYF+xzqDBqi+lEOUegsi5HTDaA706csmwb/aJ6iz7JfbvfCcoHgKfdmrICW7LBUt/gH337PMN7Xg+E5deWd6uX48owcjLUAOQAUVc9jg3J5SKavUnpRkcq6DNKcsQkyEDiv5miMb3izGyz4oo90Jm0OR+Hhk2DG+l8sUqNaWi9OX0Kecft3FqDoEtQsN/CosqZOcwcMS34t4UvC0xc6MxKj2HdPwN4fkUsM/L4n76EXQYcj5OUSTVtewdA7dlNxE/0ZCA3wIlcuacgTIP5B4xpMyv7EywFBoXbziF0ZaaNIg127xJ/fQPQxqJ1yM3xh1WGPmf3lbbww+1p/Fztqs5HQWQXiU=
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:BN7PR04MB4388.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(376002)(136003)(346002)(396003)(39860400002)(366004)(5660300002)(2616005)(86362001)(31696002)(478600001)(8936002)(316002)(36756003)(75432002)(2906002)(6916009)(6486002)(66476007)(66556008)(186003)(83380400001)(38100700002)(31686004)(8676002)(66946007)(43740500002)(45980500001);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?Windows-1252?Q?VZhltk5Vu4T5+HKfWM0SeOIqF59L0dIIdz7epNRUIQQzVy7DrqUXxrY1?=
=?Windows-1252?Q?41F4pc8EqaRcIle/BPFCz6Wwuf9sgsuKwBpzKQVrshhztBfSVY7L0iqe?=
=?Windows-1252?Q?/2tZXJ/F0hPSJMlapaGFYgEGZLQp9q3aK7qKoGwi9RMas2DTngMJySP/?=
=?Windows-1252?Q?hxV+IeuVW8S9Mkfs/WhLUvVfooU/CHNw2hxDpaHKTLqhizLyEQGU7eWv?=
=?Windows-1252?Q?P8nF75mnIdORq2uoUdUGFk3LTdWSP+/3yI+hqSWbPg3ldfHrj6L15ea5?=
=?Windows-1252?Q?KFs2yMGHCSPIrfNy6G4v4MHrZEFQLeGcuMLTl0UDweU3A8mScrjBKQvP?=
=?Windows-1252?Q?0ox7ULXMualcY8BQjz7OYy3HK0oyUZ3leDKxf9ybUeRrp+n/iwfaEawP?=
=?Windows-1252?Q?Szs6t2l6xKCVCcvbDCBZSewWSRjtpNRp623DPi4Shx1lLtzj9BcwCJ37?=
=?Windows-1252?Q?RB3U0MANSOPYfdmj3e30PWcicF/CNbvoKhsV8G76DsWtbM3/JMb3k1rN?=
=?Windows-1252?Q?jqAI9U7t6Xt0FudD0eB0Rg8ULODB6XmD4+QfOxNsdrg/neFAvHM6uIhE?=
=?Windows-1252?Q?KDAHFKHkDXmxMrQwY+52RKNMazyzITMVL2gnyMa6rFsZnIfaF7eRSYEj?=
=?Windows-1252?Q?vixwoBhfeH6I8xhfRZqCKmdMmjDW1rKO7xHs7gCfZKNu5OlHIQOSCxOh?=
=?Windows-1252?Q?8kaoXxXenwlEcXGf++Htf4q9oxvXtm7hf/9woWz0xZCBp8fMocoIixn7?=
=?Windows-1252?Q?cQFku1tJvheqTyVa/w8/FlpYAOLFgCH+kY7AyqybY/XcW8/w14sdW8AQ?=
=?Windows-1252?Q?yLDbx05HA5CZQxQLE4iw9XSr7BgDiBXF3mXQJjairh3P0RC5XSIadOKm?=
=?Windows-1252?Q?Cu6vg3vKsnMxbUv0s+ZM9SPgtYGES0SkcBBQ2BhCXRunpokm9j5TIKGb?=
=?Windows-1252?Q?9Bx0thOWev1v4+WIXnT/XYpj4Nkpc2fdWSp0007UGBloXllZQOxnYMth?=
=?Windows-1252?Q?kiCGIFotlPgbwhaBTjNwzdWPMNZHLH7R9uGWEvFq4UxooakIerTriawY?=
=?Windows-1252?Q?la05PdzbW0sENCJFoz5lNbsOESkdw42u1jdc4NILfIVbgPk5ONOtoird?=
=?Windows-1252?Q?UyHCFcujSS3fsVF+W5CQ7MerfNzwfW6L9G4QZpcr48imR8hcjVL0zixp?=
=?Windows-1252?Q?nzbNw8W0MA4iWMc7dk4drvblsnbQdWuAAnCkgdC3etmpJClwVLCdtzT2?=
=?Windows-1252?Q?isz97cssv8dZmcHwEBJavXQAJV4c+E9O+eWyuXY4sq7TyY1kAE49yy1k?=
=?Windows-1252?Q?krTrzVSc8sWRxBgoJrSV25IWAS9DN1RtP5K4rf2B/VKC9F0EcT+aImM5?=
=?Windows-1252?Q?RgH39qUEDJ4IwowFCPjNz2Wvd6VLUAjKDar/efhYpm0+VkvPRbDcLm55?=
=?Windows-1252?Q?wlfGFWM9rewGEl7xFLF2ERHhOHv0GzfGurl0QBILQ9MGbxcf7VC9DVle?=
=?Windows-1252?Q?9W9KjQyh?=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: dc828595-aded-47c8-d234-08d96ff4985c
X-MS-Exchange-CrossTenant-AuthSource: BN7PR04MB4388.namprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Sep 2021 22:37:37.0907 (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: Yt6Pt+4k5SiZBXrxmRo622b79lNUSeUKAevZ/+glSp+jT9ft0eyybYvJcak1RDULCxY9p3S/ZHwHNO8fmxHqhQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR04MB5474
X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL,
MSGID_FROM_MTA_HEADER, 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>

I've reduced the procps failure to the following test case:

$ cat mmap_test.c
#include <unistd.h>
#include <stdio.h>
#include <sys/mman.h>

int
main ()
{
   void *addr;
   int page_size = getpagesize ();

   addr = mmap (0, page_size, PROT_READ | PROT_WRITE,
                MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
   if (addr == MAP_FAILED)
     perror ("mmap");
}

$ gcc mmap_test.c

$ ./a
mmap: Invalid argument

This happens if I use cygwin1.dll built from the current git master.  But it 
also happens if I build from cygwin-3_2_0-release with the recent patches 
applied that make Cygwin build without error:

0e12b4939 Cygwin: C++17: register keyword is deprecated
a7340e0c0 Cygwin: dumper: fix up GCC pragma for g++ 11.2
2a212c086 Cygwin: workaround a g++ 11.2 initialization bug
9e3f1737e Cygwin: loader script: add DWARF 5 sections
bdfd2b004 Cygwin: testsuite: avoid "conflicting types" gcc warning
6fc498e2e strstr: avoid warnings
26da270b2 ldexp/ldexpf: avoid assembler warning
edce2a557 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).

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