all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: esr@thyrsus.com
Cc: emacs-devel@gnu.org
Subject: Re: Strange hangs when visiting .el and .html files
Date: Wed, 07 Feb 2024 22:13:43 +0200	[thread overview]
Message-ID: <86o7csxcaw.fsf@gnu.org> (raw)
In-Reply-To: <ZcPgM0XvLypq6dcL@thyrsus.com> (esr@thyrsus.com)

> Date: Wed, 7 Feb 2024 14:55:31 -0500
> From: "Eric S. Raymond" <esr@thyrsus.com>
> Cc: emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org>:
> 
> > Attach the debugger to a hung Emacs and produce a backtrace from all
> > the threads?
> 
> 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.



  reply	other threads:[~2024-02-07 20:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 19:28 Strange hangs when visiting .el and .html files Eric S. Raymond
2024-02-07 19:33 ` Eli Zaretskii
2024-02-07 19:55   ` Eric S. Raymond
2024-02-07 20:13     ` Eli Zaretskii [this message]
2024-02-07 21:00       ` Eric S. Raymond
2024-02-08  9:14 ` Andreas Schwab
2024-02-09 18:09   ` Eric S. Raymond
2024-02-09 18:50     ` Adam Porter
2024-02-09 21:06       ` Eric S. Raymond
2024-02-10  0:19         ` T.V Raman
2024-02-10  6:59       ` Eli Zaretskii
2024-02-10  6:57     ` Eli Zaretskii
2024-02-11 18:05       ` Eric S. Raymond

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86o7csxcaw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=esr@thyrsus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.