From: Eli Zaretskii <eliz@gnu.org>
To: Florian Rommel <mail@florommel.de>
Cc: 56369@debbugs.gnu.org
Subject: bug#56369: 29.0.50; abort-redisplay: Crash after 'recenter'
Date: Sun, 03 Jul 2022 19:08:13 +0300 [thread overview]
Message-ID: <83edz29o2a.fsf@gnu.org> (raw)
In-Reply-To: <0114d3daab13a4de33711ba8fd5e0c21091bbb6b.camel@florommel.de> (message from Florian Rommel on Sun, 03 Jul 2022 17:55:50 +0200)
> From: Florian Rommel <mail@florommel.de>
> Date: Sun, 03 Jul 2022 17:55:50 +0200
>
> I get a crash caused by a failed free() [see attached backtrace] when
> running vterm [1] which calls 'recenter' from a loaded module.
> With gdb, in 'safe_free' I see that the address of the to-be-freed
> arguments array (allocated in 'module_funcall') is off by one word.
>
> I don't know the details of the specpdl stack but I assume that there
> is a missing 'ubind_to' in 'recenter' before an early return. When I
> add it (see the attached patch) the problem is gone.
Thanks, installed.
next prev parent reply other threads:[~2022-07-03 16:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-03 15:55 bug#56369: 29.0.50; abort-redisplay: Crash after 'recenter' Florian Rommel
2022-07-03 16:08 ` Eli Zaretskii [this message]
2022-07-03 16:11 ` 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
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=83edz29o2a.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=56369@debbugs.gnu.org \
--cc=mail@florommel.de \
/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).