all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: gdb doesn't print Lisp backtrace in some circumstances.
Date: Sat, 13 Apr 2024 10:07:09 +0000	[thread overview]
Message-ID: <ZhpZTUPfqecNvGnW@ACM> (raw)
In-Reply-To: <86jzl2sogq.fsf@gnu.org>

Hello, Eli.

On Fri, Apr 12, 2024 at 16:24:53 +0300, Eli Zaretskii wrote:
> > Date: Fri, 12 Apr 2024 13:18:15 +0000
> > Cc: emacs-devel@gnu.org
> > From: Alan Mackenzie <acm@muc.de>

> > > One way of avoiding all this tedious manual work is to try to catch
> > > the problem with a breakpoint in a running Emacs, not in a core dump.

> > That won't work for this situation.  The seg fault is happening whilst
> > loading isearch.el from loadup.el during early building.  I don't have a
> > running Emacs to probe it with.

> I don't see why can't you have a running Emacs.  You just need to run
> temacs under GDB instead of emacs, and you need to run the exact
> command that crashes under GDB.  To see what command crashes, run
> "make V=1", to force make to display every command it runs in its
> entirety.

Maybe I'll try that.  What I eventually did yesterday was to code in a
limit of 150 to the length of the last argument in Fapply, signalling an
error when it was higher.  Even this (Lisp) backtrace is difficult to
decypher.

The backtrace I got is a mess.  The problem has a lot to do with generic
functions, and cl-generic.el is as good as entirely undocumented.
Didn't we have somebody volunteering to fix this some months ago?  Has
anything come of that, yet?

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2024-04-13 10:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-12 10:31 gdb doesn't print Lisp backtrace in some circumstances Alan Mackenzie
2024-04-12 11:11 ` Eli Zaretskii
2024-04-12 11:29   ` Alan Mackenzie
2024-04-12 12:03     ` Eli Zaretskii
2024-04-12 13:18       ` Alan Mackenzie
2024-04-12 13:24         ` Eli Zaretskii
2024-04-13 10:07           ` Alan Mackenzie [this message]
2024-04-12 14:48   ` Gerd Möllmann
2024-04-12 14:56     ` Gerd Möllmann
2024-04-12 15:08       ` Eli Zaretskii

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=ZhpZTUPfqecNvGnW@ACM \
    --to=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.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 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.