From: Eli Zaretskii <eliz@gnu.org>
To: Arthur Miller <arthur.miller@live.com>
Cc: 64450-done@debbugs.gnu.org
Subject: bug#64450: 30.0.50; char-table-subtype aborts emacs
Date: Sat, 08 Jul 2023 11:16:30 +0300 [thread overview]
Message-ID: <83sf9yddi9.fsf@gnu.org> (raw)
In-Reply-To: <AM9PR09MB4977FA498DC2CD272A03C1059629A@AM9PR09MB4977.eurprd09.prod.outlook.com> (message from Arthur Miller on Tue, 04 Jul 2023 00:47:56 +0200)
> From: Arthur Miller <arthur.miller@live.com>
> Date: Tue, 04 Jul 2023 00:47:56 +0200
>
>
>
> > (insert (pp Info-mode-map))
> >
> > (keymap
> > #^[nil nil keymap
> > #^^[3 0 nil nil nil nil nil nil nil nil nil Info-next-reference nil nil nil Info-follow-nearest-node nil nil nil nil nil nil nil nil nil nil nil nil nil
> >
> > I have removed rest of printed code for the brewity for the mail, but if you
> > eval above and place the cursor somewhere after the "keymap", or before the char
> > table, and then try to read the subtype with:
> >
> > (char-table-subtype (read (current-buffer)))
> >
> > Then Emacs dumps core in version 26 up to current master. Emacs 25 actually ends
> > up in debugger instead of crashing:
>
> (It is not a crash, it's abort.)
>
> Please report a bug with all these details.
>
> AFAICT, this happens because the debugger now uses cl-print to display
> objects in the backtrace, and cl-print calls type-of, which aborts if
> presented with a sub-char-table:
>
> /* "Impossible" cases. */
> case PVEC_MISC_PTR:
> case PVEC_OTHER:
> case PVEC_SUB_CHAR_TABLE:
> case PVEC_FREE: ;
> }
> emacs_abort ();
Fixed on the master branch by a patch proposed by Stefan Monnier on
emacs-devel. See
https://lists.gnu.org/archive/html/emacs-devel/2023-07/msg00121.html.
prev parent reply other threads:[~2023-07-08 8:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-03 22:47 bug#64450: 30.0.50; char-table-subtype aborts emacs Arthur Miller
2023-07-08 8:16 ` 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=83sf9yddi9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=64450-done@debbugs.gnu.org \
--cc=arthur.miller@live.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 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).