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: a random backtrace while toying with gdb Date: Mon, 01 Jul 2024 05:35:21 +0300 Message-ID: <86o77hg7py.fsf@gnu.org> References: <87bk3jh8bt.fsf@localhost> <87wmm6rcv1.fsf@gmail.com> <86le2mhhsj.fsf@gnu.org> <875xtqramd.fsf@gmail.com> <86cynyhfsn.fsf@gnu.org> <87v81qp91g.fsf@gmail.com> <86tthafbix.fsf@gnu.org> <87plry6sv3.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28892"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, gerd.moellmann@gmail.com, pipcet@protonmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 01 04:35: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 1sO6tI-0007FQ-Ex for ged-emacs-devel@m.gmane-mx.org; Mon, 01 Jul 2024 04:35:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sO6t5-00088e-2s; Sun, 30 Jun 2024 22:35:27 -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 1sO6t2-00088L-7K for emacs-devel@gnu.org; Sun, 30 Jun 2024 22:35:24 -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 1sO6t1-0006c5-Rn; Sun, 30 Jun 2024 22:35:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ruaEL27PUSe/2e8gw+qrJWtC3xGgtJh6HNMjt8a8CRo=; b=iR4ji99NKhq3 J+6DuVlIBLjOgOKndf6pHlat6c62meQtebApbM2si4dWVf/rtzzEEDyyE5wlULsRL0F5WmOIcCmVc bAAZVo3q0PgSZCwmH4gYs4dgDROmH64aUuYai8A4+YQa3aV5KFnmawrka00OC67cHnkd3ccx2Iw7c 30gMnHVDBPkgfylMXPbfliG1Vc+BI1e5cf0hY7htVgjc08mMzk/9vgbpN8DM94/4ex+D7u/81fecL wKj5CbZNIONfWQRNILDgBP0F4tooY5FptKkBSStbSdukn6kGsZv0H0T32GiGPbmW0PRtGdkQW12YD YG8cDHesBVsbMzUX7lxKHA==; In-Reply-To: <87plry6sv3.fsf@localhost> (message from Ihor Radchenko on Sun, 30 Jun 2024 21:08:48 +0000) 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:320994 Archived-At: > From: Ihor Radchenko > Cc: Helmut Eller , gerd.moellmann@gmail.com, > pipcet@protonmail.com, emacs-devel@gnu.org > Date: Sun, 30 Jun 2024 21:08:48 +0000 > > If my understanding is correct, the situation we have is when MPS is > performing root scan while also receiving another signal. During the > root scan, all other Emacs threads are suspended, and no state changes > are taking place - everything is locked by MPS thread, which is the only > thread running. To be sure we are on the same page: the aborts we are discussing happened when MPS code was running in the context of the Emacs Lisp (main) thread, not when it was running in a separate MPS thread.