From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: Please check if scratch/igc builds with native compilation Date: Tue, 21 May 2024 21:35:09 +0300 Message-ID: <86a5kj8142.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acorallo@gnu.org, emacs-devel@gnu.org, eller.helmut@gmail.com To: Gerd =?iso-8859-1?Q?M=F6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 21 20:35:33 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 1s9UKg-00057C-05 for ged-emacs-devel@m.gmane-mx.org; Tue, 21 May 2024 20:35:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9UKS-0006xR-J0; Tue, 21 May 2024 14:35:16 -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 1s9UKQ-0006wn-H4 for emacs-devel@gnu.org; Tue, 21 May 2024 14:35:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9UKQ-0005Jy-91; Tue, 21 May 2024 14:35:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2A9OuXdchrHLaLp4ZsLwBuw9dokwe1d7GlTx/c7xNaA=; b=kfC+dqbiCQxyA9xCJyW7 I+Cppxm+b1PUMW/HskJwHgwzoTnJuOtG8XKff1ZKsZ3uQ0GdCL9WGgAD2VMMLJAKK2LLrNvOn7NuA nbVTz7oDOCcTL15KIRzFPV/n/8XAWxq1W/Ck/Pu6ZSdYHhSs+8ecvj7+9b7HcYvSmC3GW3HyuHYpN iDnoiqdvjoA6eN4s8zRkDAaO21X2h3/qYY3UCvyG+q0TPUEptJipzEoTbULzzMNpjRY39ukR6tKKc ni381tuRYC8hin1WsJtRTUTSTJtVvO2nQRgYDIlBJr/5FioLOchn/ynA64NZbW2LdAhgArZGZpqvu /ZBHfmL6sMTqKA==; In-Reply-To: (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Tue, 21 May 2024 20:09:50 +0200) 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:319452 Archived-At: > From: Gerd Möllmann > Cc: Emacs Devel , Eli Zaretskii , > Helmut Eller > Date: Tue, 21 May 2024 20:09:50 +0200 > > Andrea Corallo writes: > > > At least here the error seems reproducible. Bootstrapping with -j1 > > makes native compiling leim/ja-dic/ja-dic.el always fail. > > > > And if I run it under gdb I see we get a SIGSEGV in > > 'maybe_resize_hash_table' at fns.c:4987 > > > > memcpy (key, h->key, old_size * sizeof *key); > > That's a new one for me. Maybe you are hitting a read/write barrier? > I think Eli & Helmut can help here with what to do for the signals in > GDB. (On macOS, MPS is using Mach exceptions, not signals.) If this is a SIGSEGV due to a write barrier, you can "continue" the program and it continues running. If it's a real SIGSEGV, typing "continue" will hit the same SIGSEGV again.