From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74805: 30.0.92; Trying to build scratch/igc on Cygwin Date: Sat, 21 Dec 2024 17:34:30 +0000 Message-ID: <87zfkpgcub.fsf@protonmail.com> References: <0e6c2f69-9c33-48d7-87ab-2b13de857f71@cornell.edu> <86pllx1lh8.fsf@gnu.org> <86v7vd8pnd.fsf@gnu.org> Reply-To: Pip Cet Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29439"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74805@debbugs.gnu.org, Eli Zaretskii , Ken Brown , rb@ravenbrook.com To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 18:35:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tP3Nq-0007WW-83 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 18:35:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP3NY-0002hR-7P; Sat, 21 Dec 2024 12:35:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tP3NW-0002gG-74 for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 12:35:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tP3NV-0001hn-UY for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 12:35:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=cFWfmXKS4066osZpJl7CeFDfc6PHZziWDcS1/kdi9vE=; b=DWUV4lDbmnJGCpvlWhQBSmiVw0x3tQdKmZe9qbA/w00roiz7D8KBLf3a8+KWljS2v4pxzHPvD6SDpWxl14N2D4i8YR0oZUvAyUQOPjCrPdV5oe3Fvl3LKJXrlU+lDr9g3i/7jntK4hiYEZFW3eVuWJFCZP8tZJ9juPrFs6RBaFoX3WGxdbqHbTngf8CTeDFY+xWKQ5xkbu3D3gtM9uaUE868ZwoOWbhQQiWXZLARckqDerKnLZxzOeWq2CK+Odw4biIlJnq2EKGEcP3QqraMQHPNbsoxuARC0zYSq/leU2z52bqKWDnibFRmpy95aSjqo0Mm8VTkrrYh6vwRI6EjJw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tP3NV-0006lZ-Od for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 12:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74805 X-GNU-PR-Package: emacs Original-Received: via spool by 74805-submit@debbugs.gnu.org id=B74805.173480248425978 (code B ref 74805); Sat, 21 Dec 2024 17:35:01 +0000 Original-Received: (at 74805) by debbugs.gnu.org; 21 Dec 2024 17:34:44 +0000 Original-Received: from localhost ([127.0.0.1]:47593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP3NE-0006kw-E7 for submit@debbugs.gnu.org; Sat, 21 Dec 2024 12:34:44 -0500 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]:55429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP3NB-0006kY-P7 for 74805@debbugs.gnu.org; Sat, 21 Dec 2024 12:34:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1734802475; x=1735061675; bh=cFWfmXKS4066osZpJl7CeFDfc6PHZziWDcS1/kdi9vE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=sQp1SbZ2ffQzUVxC6qLJihXlP5cYzoggXSAK7P7RiV0DboRposoIg0hN7i3YZEReL 5NphA6AKxqTqtAzYwdPoeNTebP4I3jMs0KK0bEPr6S9eWuptFUFd4wdL0iTfdSr1oN nCRAJPJISV+usxcQ5XIdGWa20b2sxFwHz+l10Pw3Nutjc5x5/cyFLQsQ4JKsvvLRZD EzAK5VhqS65IsDi9R9okmTuwKeQOOFbtGwjskpkvdtRufxw1iThx1KhymcULC50Xov 8PR9TQ35TNjsagUOStDH9qDZLQNveQKIHZ0I9wG2ijineMGa0v+lVY3isI+VmcSfJp tG+nd68kpn9Nw== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: ca3d67b5322be13df2fc0296edcf8a46aa50dafb X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297544 Archived-At: Gerd M=C3=B6llmann writes: > Ken Brown writes: > >> On 12/21/2024 2:24 AM, Eli Zaretskii wrote: >>>> Date: Fri, 20 Dec 2024 18:48:37 -0500 >>>> Cc: 74805@debbugs.gnu.org, Richard Brooksby >>>> From: Ken Brown >>>> 3. The "mmap" branch is a straightforward port, mostly imitating the >>>> FreeBSD port. It currently (with Cygwin 3.5.5) fails because of a >>>> limitation of Cygwin's mmap. But I have a simple patch to Cygwin in t= he >>>> works that removes that limitation. With that patch, 37 of the 38 MPS >>>> tests pass. I still need to debug the failing test. I'm cautiously >>>> optimistic that I can get this approach to work. Either way, I expect >>>> the Cygwin patch to soon be available in a test release of Cygwin 3.6.= 0 >>>> so that other Cygwin users can try it. >>> Thanks for the update, I think this is very good news. >> >> I could use some help from the MPS experts in debugging the failing >> test, which is arenacv. I ran the test under strace and didn't see >> any mmap or munmap failures. I'm attaching the test log, which What about mprotect, or whatever the equivalent is? >> doesn't mean a thing to me. I also built an unoptimized arenacv and >> can run it under gdb if someone tells me what to look for. >> >> TIA. >> >> Ken > > Hi Ken. > > I'm not an MPS internals expert, but AFAICT, this likely comes from here > in arenacv.c, but without being able to debug this, I find it hard to > tell what's going on in the allocator->alloc. > > static void testAllocAndIterate(Arena arena, Pool pool, > Size pageSize, Count numPerPage, > AllocatorClass allocator) Can you check pageSize is correct? Pip