From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: MPS: a random backtrace while toying with gdb Date: Sun, 30 Jun 2024 09:59:17 +0000 Message-ID: References: <87bk3jh8bt.fsf@localhost> 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="17117"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , emacs-devel@gnu.org, Eli Zaretskii , eller.helmut@gmail.com To: =?utf-8?Q?Gerd_M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 30 12:07:40 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 1sNrT9-0004Hk-F8 for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jun 2024 12:07:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNrSn-000478-Dn; Sun, 30 Jun 2024 06:07:17 -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 1sNrLE-0001jG-8V for emacs-devel@gnu.org; Sun, 30 Jun 2024 05:59:28 -0400 Original-Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNrLC-0001lX-Nf; Sun, 30 Jun 2024 05:59:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1719741562; x=1720000762; bh=KdDGQbHRH1VWjpvOD8TjXckkzML60MweRvSpcwyRjqk=; 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; b=qUHb1KI+r82tBzxjy878xDoEGlMwXhRm4bXQpLQIqEY4DU/F26GT5mxP0LTeUGEWE ddTYl2COPt2lADWz909NwX1YFF0KuU2c/RAyj9CPE+ucDwe+29mGfQKrjTcBTUBSxw YVPyINNHVYXCdDl7/Hcyg9QWQN3Nn97+eivvqKR5AeC1jVg20b1yMffgMq5qIyrh1E TfdT/m5LaKDbOPLOXL+u09lJXuuF6hUBKfkBG6yWqWoBkWlepEPJnnH083HzMu3EH9 6zDJa3ruGZXYsiJ5/vexuITMbai5puh+uuZy+2bxPWycFlSxzm4ruBcGZxnfS/Xr2/ tnv6NzbDXVGPg== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: e38d9f7d571e11094a18ad74cde44e16ea9e0df0 Received-SPF: pass client-ip=185.70.43.22; envelope-from=pipcet@protonmail.com; helo=mail-4322.protonmail.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 30 Jun 2024 06:07:12 -0400 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:320933 Archived-At: On Saturday, June 29th, 2024 at 21:46, Gerd M=C3=B6llmann wrote: > Pip Cet pipcet@protonmail.com writes: >=20 > > On Saturday, June 29th, 2024 at 19:11, Ihor Radchenko yantar92@posteo.n= et wrote: > >=20 > > > I just got this while starting up Emacs on the latest scratch/igc (wi= th > > > native-comp). > >=20 > > Looks like the same double-signal situation we saw with the profiler, o= nly this time it's SIGCHLD interrupting an MPS scan. > >=20 > > Pip >=20 >=20 > Indeed >=20 > #10 0x0000555555827385 in PSEUDOVECTORP (a=3DXIL(0x7fffeb90875d), code=3D= 9) at /home/yantar92/Git/emacs/src/lisp.h:1105 > #11 PROCESSP (a=3DXIL(0x7fffeb90875d)) at /home/yantar92/Git/emacs/src/pr= ocess.h:212 > #12 XPROCESS (a=3DXIL(0x7fffeb90875d)) at /home/yantar92/Git/emacs/src/pr= ocess.h:224 > #13 handle_child_signal (sig=3Dsig@entry=3D17) at process.c:7660 >=20 > Someone has an idea what to do with that? And maybe how to reproduce? We could always "steal" the SIGSEGV handler and reinstall it with a sigmask= (without modifying the MPS source). My guess is that's equivalent to what = the macOS code does, essentially, by using a different class of signal that= blocks POSIX signals... Pip