From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Eric S. Raymond" Newsgroups: gmane.emacs.devel Subject: Re: Strange hangs when visiting .el and .html files Date: Wed, 7 Feb 2024 16:00:04 -0500 Organization: Eric Conspiracy Secret Labs Message-ID: References: <20240207192829.C61B818A1F07@snark.thyrsus.com> <86plx8xe5k.fsf@gnu.org> <86o7csxcaw.fsf@gnu.org> Reply-To: esr@thyrsus.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21144"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 07 22:01:13 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 1rXp2e-0005Ih-IZ for ged-emacs-devel@m.gmane-mx.org; Wed, 07 Feb 2024 22:01:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXp1f-0001iN-FH; Wed, 07 Feb 2024 16:00:11 -0500 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 1rXp1d-0001hu-4o for emacs-devel@gnu.org; Wed, 07 Feb 2024 16:00:10 -0500 Original-Received: from thyrsus.com ([71.162.243.5] helo=snark.thyrsus.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXp1b-0006Ug-Ej; Wed, 07 Feb 2024 16:00:08 -0500 Original-Received: by snark.thyrsus.com (Postfix, from userid 1000) id 02C9018A1F07; Wed, 7 Feb 2024 16:00:05 -0500 (EST) Content-Disposition: inline In-Reply-To: <86o7csxcaw.fsf@gnu.org> X-Eric-Conspiracy: There is no conspiracy Received-SPF: pass client-ip=71.162.243.5; envelope-from=esr@thyrsus.com; helo=snark.thyrsus.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:316000 Archived-At: Eli Zaretskii : > > Is this procedure documented anywhere? > > Possibly etc/DEBUG, but I can give instructions, if that's what you > need. > > Basically, "gdb -p PID", where PID is the Emacs' process ID, > preferably from the src directory of the tree from which Emacs was > built (there's a .gdbinit file there that can help), then, when GDB > shows it prompt "(gdb)", type "thread apply all bt", which will > produce backtrace from every thread in the process. I can budget time to work on thuis after the 15th. When I do, I will make notes on what I learn and feed them back into etc/DEBUG. -- Eric S. Raymond