bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56369: 29.0.50; abort-redisplay: Crash after 'recenter'


From: Florian Rommel
Subject: bug#56369: 29.0.50; abort-redisplay: Crash after 'recenter'
Date: Sun, 03 Jul 2022 17:55:50 +0200
User-agent: Evolution 3.44.2

Tags: patch

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.

[1] https://github.com/akermu/emacs-libvterm

Attachment: backtrace.txt
Description: Text document

Attachment: 0001-abort-redisplay-Add-missing-unbind_to-in-recenter.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]