From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Building the igc branch on MS-Windows Date: Fri, 26 Apr 2024 11:13:30 +0200 Message-ID: <87y190ebb9.fsf@gmail.com> References: <86il063imh.fsf@gnu.org> <87ttjqghyd.fsf@gmail.com> <86zfti101u.fsf@gnu.org> <87pluegd4z.fsf@gmail.com> <86ttjp20je.fsf@gnu.org> <87y191fwnd.fsf@gmail.com> <87cyqcfv6k.fsf@gmail.com> <86o79wzi31.fsf@gnu.org> 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="8264"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 26 11:14:34 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s0Hf7-00022U-Mr for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Apr 2024 11:14:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0HeE-0006Xs-DL; Fri, 26 Apr 2024 05:13:38 -0400 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 1s0HeC-0006W8-F9 for emacs-devel@gnu.org; Fri, 26 Apr 2024 05:13:36 -0400 Original-Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0HeA-0004FP-Ry; Fri, 26 Apr 2024 05:13:36 -0400 Original-Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a58c09e2187so144850466b.3; Fri, 26 Apr 2024 02:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714122812; x=1714727612; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cYXewhwmz0p2kLRvJ80CXFIj9x352ZE3+ww5gx59ecQ=; b=O7dMBxKT+/7dkqSCcWGjs51RAt6IfAfzQb374zKf1176aeE5g208GW3YRtHFmWaWZb 6/ryZ2s9/aSChucUG4mxQjmZXy1BtNpgBWNYQH82psF3cK1M6uVRXimeOaQQ/6mEqdmL iZHIPfqlPxw0qH7aTyqgKWWuLDjx5SCKBORukB+BFTie61+NKu3WnD6lHL4ky+dbX3og JKnTAc89SXTnK9B0Vs+00YtO3vKf+e8h8Z5Q0ySlEvEDd0Kl0nVEMXYaH21mXPzwzP4K 4KrNcWTw3kc1AILSdCKNYSOch1RV9oly7hoOv5d5BG0sWqpzuqbmNb34IMxRNx7cHo64 gM9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714122812; x=1714727612; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=cYXewhwmz0p2kLRvJ80CXFIj9x352ZE3+ww5gx59ecQ=; b=Crb5uJAXnECL4XZlHJdhirnZ5U7PBszp3c2gKHFWe/fGy+pUhYVyH2eAZb2kfeSXYd 3ePfUABalyYLmKOfrHNhL4kAushNKdwo8ugMn6RLdRwBMzicwsuVZg2myPWFYcWCx3ch /NEmC1w5KTaW06ia8y6+eS6QwjnfN8Q7a+X8bsaRIymYLvbwpdUt16morK/Gsm/ij77o EPLHZEoJsuTe8An9RT9x2evzfS6bILk1GBUzICvwZlLo1P/8eyIfw2N83XsDSFoKvLZG bPlNJt5MRhRPGAv8loFFuu7X1ZeG3DiHVTyV6D1Cg7fpqPtSqBVvO9odg4KZaSAZ03HG 1pPA== X-Forwarded-Encrypted: i=1; AJvYcCX5Z9WTBw4Z2SfpmblUfgsokeua8IYx6Ck7IlGR2skkpzYG/E1QHq5JEFEMQpNUAwgpUpHVxdUg28+I4gcvj/jDW/SY X-Gm-Message-State: AOJu0YzmWUyFJQU0pP23af17ocFOsVYtLEFsHC9RjIlbFPQgC0s70cqN v3p4NKi/5vE/qh/Svu5UWvytPFfl+YW3pc0i3JBaOgTJ/X0rLcfd4uGzMw== X-Google-Smtp-Source: AGHT+IEplxUDEpUx7cZHxfwCoDt0/QGFPIhTazIYlcrMLueOHBq62QY6WJmLQXbzaK3Srq97+eQoBg== X-Received: by 2002:a17:906:3145:b0:a58:7ce0:8e13 with SMTP id e5-20020a170906314500b00a587ce08e13mr1352027eje.34.1714122811557; Fri, 26 Apr 2024 02:13:31 -0700 (PDT) Original-Received: from caladan ([89.107.106.118]) by smtp.gmail.com with ESMTPSA id wk14-20020a170907054e00b00a55bd88c98esm5368292ejb.208.2024.04.26.02.13.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 02:13:31 -0700 (PDT) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llman?= =?utf-8?Q?n=22's?= message of "Fri, 26 Apr 2024 10:11:28 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=eller.helmut@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318115 Archived-At: On Fri, Apr 26 2024, Gerd M=C3=B6llmann wrote: > Maybe it would be a good idea to take the assert !"other" out for the > moment? Unlikely. > Sometimes it helps to put MPS into a post-mortem state, as MPS calls it. > There is igc_postmorten which can be called from the debugger. That at > least lifts the memory barriers. I guess I need to have a deeper look at MPS documentation better someday. > Does that make sense? > > I think we should first get to a state where we don't fail asserts, > because it's hard to tell if followup errors are "real", so to say. One way to reproduce this (or something very similar) is this: ./src/emacs -Q src/xdisp.c -eval '(progn (igc--collect) (redisplay) (igc--collect)' Unfortunately, redisplay is a relatively big function. Are there any good places in the display code where I could insert an explicit call to igc_collect so that it crashes earlier?