From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83ilok7pob.fsf@gnu.org> References: <87pmit9dtb.fsf@3-191.divsi.unimi.it> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56277@debbugs.gnu.org To: Vincenzo Pupillo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 28 17:59:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6DcU-0008hB-T5 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 17:59:19 +0200 Original-Received: from localhost ([::1]:44946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6DcT-0003aH-DV for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 11:59:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6DUU-0007lZ-QW for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 11:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6DUU-0002Xb-ID for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 11:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6DUU-0002DZ-Hc for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 11:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jun 2022 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56277 X-GNU-PR-Package: emacs Original-Received: via spool by 56277-submit@debbugs.gnu.org id=B56277.16564314328473 (code B ref 56277); Tue, 28 Jun 2022 15:51:02 +0000 Original-Received: (at 56277) by debbugs.gnu.org; 28 Jun 2022 15:50:32 +0000 Original-Received: from localhost ([127.0.0.1]:56159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6DU0-0002Cb-DD for submit@debbugs.gnu.org; Tue, 28 Jun 2022 11:50:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6DTy-0002CN-R6 for 56277@debbugs.gnu.org; Tue, 28 Jun 2022 11:50:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6DTt-0002NM-Dq; Tue, 28 Jun 2022 11:50:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gyY7UcdY3Q52uP6v7y3gPpwEGYP7GxV/prJCyFM72v8=; b=TNIzcNZZL/mb jFVKPNzxz69RtQsSUpcZCNJ4DP3WvpJigJD59BqD+51Vo/WLafUbYgs8Lg6Irp0EnMyhutriE+ZFh QEW6BqBdx8wv8vZAt4dmJ/dVl2dXlDMEHFdWbcI44I5+En1KfQgcTWVMgbWMJl0GwrffVwSjrkQ9r 6okGlz7j0IVhztAL7zaujoHaRRPojW7Arbyo8+V81QzJ4X9Zzu6Ah1arYrrxEn+0WrcSDHg+KdSCF OkYjcGf4ySI9In+RquluQngErYeXwfvoSZXIx6g7i1nbD20r+8vrU4KdslOBexOKAagXxjD5whXOj S88bsZbwWIz8XQiVLpqrhg==; Original-Received: from [87.69.77.57] (port=4771 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6DTs-000797-Sx; Tue, 28 Jun 2022 11:50:25 -0400 In-Reply-To: <87pmit9dtb.fsf@3-191.divsi.unimi.it> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235559 Archived-At: > 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" > > 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=) 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.