unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vincenzo Pupillo <vincenzo.pupillo@mailbox.org>
Cc: 56277@debbugs.gnu.org
Subject: bug#56277: 29.0.50; Vterm crash after last git pull. Can be related to the 'abort-redisplay' patch?
Date: Tue, 28 Jun 2022 18:50:28 +0300	[thread overview]
Message-ID: <83ilok7pob.fsf@gnu.org> (raw)
In-Reply-To: <87pmit9dtb.fsf@3-191.divsi.unimi.it> (bug-gnu-emacs@gnu.org)

> Date: Tue, 28 Jun 2022 14:23:44 +0200
> From:  Vincenzo Pupillo via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> Hi, today I pulled the latest changes and re-built emacs. But now vterm crash,
> just after invoked.
> The backtrace show that the vterm call thei own recenter function:
> 
> #10 0x00007fffbb19181d in recenter (env=env@entry=0x7fffffff8950,
>  pos=<optimized out>) at
>  /home/vincenzo/.emacs.d/elpa/vterm-20220613.1614/elisp.c:147
> 
> the corrisponding function is:
> void recenter(emacs_env *env, emacs_value pos) {
>   env->funcall(env, Frecenter, 1, (emacs_value[]){pos});
> }
> 
> Can be relate to "Merge branch 'abort-redisplay'" or  "Minor
> optimization of the "abort redisplay" feature" ?

Could be, although the changes introduced there don't do anything by
default, only if you customize a new variable.

The problem sounds like it's related to some memory allocation, and
the abort-redisplay feature didn't add any such allocations to the
code.

However, since I have no idea what vterm does, and from the backtrace
it sounds like it replaces some very low-level code in Emacs, such as
the implementation of recenter, I really cannot say.  Someone who
knows about vterm will have to debug this.





  reply	other threads:[~2022-06-28 15:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 12:23 bug#56277: 29.0.50; Vterm crash after last git pull. Can be related to the 'abort-redisplay' patch? Vincenzo Pupillo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-28 15:50 ` Eli Zaretskii [this message]
2022-06-29 10:17   ` Lars Ingebrigtsen
2022-06-29 15:30     ` Vincenzo Pupillo
2022-06-30  9:13       ` Lars Ingebrigtsen
2022-07-06 19:37         ` Vincenzo Pupillo
2022-07-07  5:36           ` 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=83ilok7pob.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56277@debbugs.gnu.org \
    --cc=vincenzo.pupillo@mailbox.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).