X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8FCA73AA9B53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1671355181; bh=SrhWzoYk+x+BFIouQD+8MU2fXmXns3d6XfcxJBShrHA=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=quoptbiRqRTe81tyoF6K48VSSmB9U87AG4YMkIWKgDldoYf9PM915ANxT59UopcKi 6tnMzbkaxRnJ+hhDAWZGjoyXAVc6VcnMha7ETHBFrVGeeKm8gSOGQKcT7zqweRILeM Py3qV+0KKkzD6DN/cMcWNPIN78QBGCJ8HBEBk3VE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5407538E35BE X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NWx/pFWNSikjqURiE7TfGDvrkLcKMjwqChRDCci/ZHQ=; b=RNIULROZjLnwN5GXXfjd4R2pPCIgn3BgROLFL5xzpjnR5JqT2/6Ouu2+J65/pDSQM/ RJ/W1yE5e8kdJyDFKR8F7DhhZEDRvceehsiIt3h3MRq/PxGaVmKQJdjUXIAirPoPeJ45 2HL7ZotDHat/rBH9UHxicxDYCeIkr8gNzL0qcfWCR7LePt6sSXa6/PzBktD7pBif9PNw qERWsSmJLHxAzxsuIejPVst7LdjLYApTf24vnfQS9GLSXbVrxibEXhazeeQqdUry56yk 05pgQu2CGeYHOFvL4m6csAD5ST9DRffuPsCI7fksiey13i7si6gDIdM+G0eEZnP5Osr/ heXg== X-Gm-Message-State: AFqh2koMAl0IaLraPbESGBReWkWhOZhPvbis/4KPwR9QAMpNbNuab1f2 rUNaKpux7TUaXOGPHd9VgsS6c0S5uYf4MPiADkoYbWbKdRdgbA== X-Google-Smtp-Source: AMrXdXsHtfRxvT+KhtHnuPKTzvt4EHWvGJV95Guxwixwhsxz+ojxrzcbq4smyRs5jo4GyL95qQJh+CboC1beEvGbvA8= X-Received: by 2002:a7b:ca59:0:b0:3d2:2fa9:cfee with SMTP id m25-20020a7bca59000000b003d22fa9cfeemr513911wml.9.1671355146127; Sun, 18 Dec 2022 01:19:06 -0800 (PST) MIME-Version: 1.0 Date: Sun, 18 Dec 2022 10:18:55 +0100 Message-ID: Subject: Fork issues with 3.4 in Docker only To: cygwin AT cygwin DOT com X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Christoph Reiter via Cygwin Reply-To: Christoph Reiter Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" After the upgrade to 3.4 (disclaimer: in MSYS2) I'm seeing, and getting reports of, various things failing in Docker only, for example: 1 [main] pacman 252 child_copy: dll data read copy failed, 0x7FF8C816C000..0x7FF8C8178EB0, done 0, windows pid 5096, Win32 error 299 0 [main] pacman 251 dofork: child -1 - forked process 5096 died unexpectedly, retry 0, exit code 0xC0000005, errno 11 0 [main] pacman 253 child_copy: dll data read copy failed, 0x7FF8C816C000..0x7FF8C8178EB0, done 0, windows pid 584, Win32 error 299 67887 [main] pacman 251 dofork: child -1 - forked process 584 died unexpectedly, retry 0, exit code 0xC0000005, errno 11 0 [main] pacman 254 child_copy: dll data read copy failed, 0x7FF8C816C000..0x7FF8C8178EB0, done 0, windows pid 2336, Win32 error 299 124719 [main] pacman 251 dofork: child -1 - forked process 2336 died unexpectedly, retry 0, exit code 0xC0000005, errno 11 Reverting https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=943433b00cacdde0cb9507d0178770a2fb67bd71 fixes things again. Note that this doesn't happen outside of Docker, I've built more than 100 packages with 3.4 on different hosts without any issues, and the errors in Docker are pretty consistent, so I'm guessing that something with ASLR behaves differently under Docker(?) Note that I haven't had time to look into reproducing it with cygwin itself. I can try to do that if needed. thanks -- 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