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#55832: 28.1; Emacs crashes when using tramp from helm in emacs-29 Date: Wed, 08 Jun 2022 21:25:40 +0300 Message-ID: <83sfof3tcr.fsf@gnu.org> References: <837d5s78xs.fsf@gnu.org> <87a6aop93i.fsf@posteo.net> <83y1y73yp7.fsf@gnu.org> <877d5r9g0u.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22560"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thievol@posteo.net, 55832@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 08 20:26:29 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 1nz0Nx-0005hg-9T for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jun 2022 20:26:29 +0200 Original-Received: from localhost ([::1]:52946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz0Nv-0004Bg-Aq for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jun 2022 14:26:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz0NX-0004BI-QX for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 14:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50381) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz0NV-0006Sx-R1 for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 14:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nz0NV-0001Gd-M0 for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 14:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2022 18:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55832 X-GNU-PR-Package: emacs Original-Received: via spool by 55832-submit@debbugs.gnu.org id=B55832.16547127544856 (code B ref 55832); Wed, 08 Jun 2022 18:26:01 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 8 Jun 2022 18:25:54 +0000 Original-Received: from localhost ([127.0.0.1]:44278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz0NN-0001GF-Ps for submit@debbugs.gnu.org; Wed, 08 Jun 2022 14:25:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz0NL-0001G0-NL for 55832@debbugs.gnu.org; Wed, 08 Jun 2022 14:25:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz0NG-0006SI-92; Wed, 08 Jun 2022 14:25:46 -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=Fr3MQvhptnbn0AufsoaQuT3uQSTVLJ3o2FAbZAWr6qc=; b=nKzZpEyg96jG znWbeDO4+cFzdsEMK/ajg4bt+7VnWxzm3WcriZJxlErxThQ25cjJkez2mUK6EeTkgisAB2UztaJl2 A0NDTfAcsimT2VaHt589s98JP0jfXiXw6ZTVkoSMCNA+BHGfV9V1yjjvEAo9Xu0xMtn+UvwXjqNEK GWydnhsSM8cAQFmi6crjEEu+xbSUCjEU1CAU0lQRTlW8dnBA/E0ZdGre9eRzhhHjk6yBkyQ0MFufj TBnnHT1WNhdM/yEtcoeM6Rtk1+MaSiqjjhPZ0bEsXa1h3HYw4XzmpbwHKT0buyfDHWCCsRZPCEv5v 6x+qjYiIfae4Y9lGzop1fQ==; Original-Received: from [87.69.77.57] (port=4723 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 1nz0NF-00028O-OS; Wed, 08 Jun 2022 14:25:46 -0400 In-Reply-To: <877d5r9g0u.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 08 Jun 2022 20:17:05 +0200) 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:233993 Archived-At: > From: Lars Ingebrigtsen > Cc: Thierry Volpiatto , 55832@debbugs.gnu.org > Date: Wed, 08 Jun 2022 20:17:05 +0200 > > Eli Zaretskii writes: > > > Sounds like C stack overflow trying to print a too-long variable-arg > > list? > > If that's the problem, then perhaps this problem is fixed in Emacs 29 -- > Mattias has reimplemented the printer to not be recursive (because > printing certain very deep structures will segfault Emacs versions > before 29). The non-recursive implementation of the printer AFAIU only helps when we need to print a deeply-recursive Lisp structure. Here, if I'm right, the problem is that the va_arg argument list is too long -- and all of them are pushed onto the C stack. So Mattias's changes could only help in this case if the complete backtrace will show recursive calls to print_object etc.