unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: 18420@debbugs.gnu.org
Subject: bug#18420: 24.3; interaction with external process hangs emacs
Date: Tue, 09 Sep 2014 17:30:00 +0300	[thread overview]
Message-ID: <8361gwc1ef.fsf@gnu.org> (raw)
In-Reply-To: <85egvmyrlx.fsf@stephe-leake.org>

> From: Stephen Leake <stephen_leake@stephe-leake.org>
> Date: Mon, 08 Sep 2014 12:00:42 -0500
> 
> Is there any way to get lisp names from the Ffuncall entries? That would
> be nice.

"xbacktrace" 9defined in src/.gdbinit) should display the Lisp-level
backtrace.  But beware: it calls functions inside Emacs, so it could
hang if Emacs is stuck.

The (tedious) fallback is to do this:

  #12 0x0110521b in Ffuncall (nargs=nargs@entry=1, args=args@entry=0x88ea34)
      at eval.c:2876

  (gdb) p args[0]
  (gdb) xtype # will usually say "Lisp symbol"
  (gdb) xsymbol





      parent reply	other threads:[~2014-09-09 14:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-07  8:04 bug#18420: 24.3; interaction with external process hangs emacs stephen_leake
2014-09-07 15:38 ` Eli Zaretskii
2014-09-09  4:18   ` Stephen Leake
2014-09-09 14:26     ` Eli Zaretskii
2014-09-09 21:54       ` Stephen Leake
2014-09-08 17:00 ` Stephen Leake
2014-09-09  3:10   ` Stephen Leake
2014-09-09 14:17     ` Eli Zaretskii
2014-09-09 21:48       ` Stephen Leake
2014-09-14 15:20         ` Eli Zaretskii
2014-09-09 14:30   ` Eli Zaretskii [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8361gwc1ef.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18420@debbugs.gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).