From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Building the igc branch on MS-Windows Date: Fri, 26 Apr 2024 12:56:29 +0200 Message-ID: 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> <86mspgza23.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="26708"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: eller.helmut@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 26 12:57:12 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 1s0JGR-0006j0-V0 for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Apr 2024 12:57:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0JFv-0006KY-RR; Fri, 26 Apr 2024 06:56:39 -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 1s0JFt-0006IV-Nx for emacs-devel@gnu.org; Fri, 26 Apr 2024 06:56:37 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0JFq-0007Hu-Ov; Fri, 26 Apr 2024 06:56:37 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-51bab51e963so2534526e87.1; Fri, 26 Apr 2024 03:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714128991; x=1714733791; 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=ZE8q1SBCV2BHjX/gGR3L61/6KGb+HC6aXmeKM8Vjf9k=; b=MyDlmKP9YhE9Z6RZY6JxrIOHUYHuIMdZBwjhGq83lHYgWkoSDdKGvavFhgTp2h7Xoi Qimy+/D7dWxUVr/E/XzLNUlq/wf0BP2XL9RpcsRLHQyPrb5GBh0Ew5x1zKjkG9s0xPaT U0IS1JoSK72wxPdvugDW3tFegitXy+uj7HB/AXC5/4CkU1sAXaOAsbCDFzsgwy2VLkdu YIEjrWKX2eCUNcW7RGB1qnp9gGQwy47Z5wRrNnzhHwH/Oc+r4eU5hCQ88pZquaQkrr1v pKBrKZ/6lJ5qrXyEibtQ8i27mlrD3DjCX/i6D/UnHMH4xLPBNqETZErJP6a2iMxwCtZ7 /J4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714128991; x=1714733791; 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=ZE8q1SBCV2BHjX/gGR3L61/6KGb+HC6aXmeKM8Vjf9k=; b=Ea+w8e7FLWStUnKDkj/TiV29RNQGB85ANZ81Hq1JcLgu3Q+fsOmTk9OVz5hV8VdTXZ rxUXQFdZo5eINm9QN1N7cHpvQmVPmlj5DmfCGWJZNOqMNYwKuBIfWWaQbf8PARb698x5 MyKMQHT499lCFg0iW9t0G1skpobUOcD1EzykIQYWaNc5nZI7L2tuOoQT2+7lJnZ6xMms r017CWahoapqazYCINAVdIJ8O6A4CQuTrh4ohFXx7wacq/x3tOaZON0bNX56QFk2CkJm /t26zFU/VV0omHkLJCE8I7eRHuo0AAOy122YI7AZ7s/vEaVeDdIMN+eInJrxMHTI2Gua /wSg== X-Forwarded-Encrypted: i=1; AJvYcCUe2QZR9OfxUMNp/YAPdfJZ8MqDByv+GeNYhZeJM5kwgMLLMBQKCi4rETx2t6ojTlnUcIDpd2XnzuAQDwOsSxeoI3tZ X-Gm-Message-State: AOJu0Yx3D7Ap7iXvkUc6pPremRZBatL2TqFiBEAy1sSaX32YJcSoFoPR Vduif3+BfQ+P5VwPajWDPaJEIsXuFMeHD1eDJyrFWypUcp+e00r/UGCDcQ== X-Google-Smtp-Source: AGHT+IE17bZ0OF0bpEhu2zwx5GAS/MIsd6nO0BQuu8icnOLZUxULS2/iQep8TZ2quZCkqxZmXA70TA== X-Received: by 2002:a19:5e14:0:b0:519:63c1:6f45 with SMTP id s20-20020a195e14000000b0051963c16f45mr1295900lfb.61.1714128991020; Fri, 26 Apr 2024 03:56:31 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a4eb.dip0.t-ipconnect.de. [79.227.164.235]) by smtp.gmail.com with ESMTPSA id u25-20020a056402111900b005720c59dc57sm5564970edv.23.2024.04.26.03.56.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 03:56:30 -0700 (PDT) In-Reply-To: <86mspgza23.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 Apr 2024 13:35:00 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x134.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:318121 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: Helmut Eller , emacs-devel@gnu.org >> Date: Fri, 26 Apr 2024 10:11:28 +0200 >>=20 >> > igc.c:1584: Emacs fatal error: assertion failed: !"other" >>=20 >> That's the PVEC_OTHER we talked about. >>=20 >> Maybe it would be a good idea to take the assert !"other" out for the >> moment? > > No, we should instead solve that. Moving assertions out of the way > just sweeps real problems under the carpet, which makes little sense > to me. These problems need to be solved, or else they will pile up > for no good reason. It isn't like we are going to release this branch > soon, so avoiding these aborts has no useful purpose, IMO. I've meanwhile pushed something that handles the use of PVEC_OTHER in modules. Nothing done for the scroll_bar struct in w32. Caution: I remved the assert. > xbacktrace (and some of the other .gdbinit commands, like "pp", which > calls into Emacs) are known not to work reliably when Emacs crashed, > so the fact that this happens here is not a surprise to me. Ok. > >> 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. >>=20 >> Does that make sense? > > Yes, it does. Maybe xbacktrace should do that automatically? What > are the downsides of calling igc_postmorten? I'd say that xpostmortem wouldn't make sense during normal debugging, when MPS is not dead in the water. I don't think one can get out of that state again.