From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#55832: 28.1; Emacs crashes when using tramp from helm in emacs-29 Date: Thu, 09 Jun 2022 10:42:57 +0000 Message-ID: <874k0uazgd.fsf@posteo.net> References: <83sfof3tcr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1022"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 55832@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 09 15:09:42 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 1nzHuw-000Aed-Aq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 15:09:42 +0200 Original-Received: from localhost ([::1]:40742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzHuu-0001cD-Iz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jun 2022 09:09:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzFew-0005uy-Pp for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 06:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzFew-0004h4-Gi for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 06:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzFew-0002LA-Do for bug-gnu-emacs@gnu.org; Thu, 09 Jun 2022 06:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thierry Volpiatto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Jun 2022 10:45:02 +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.16547714748937 (code B ref 55832); Thu, 09 Jun 2022 10:45:02 +0000 Original-Received: (at 55832) by debbugs.gnu.org; 9 Jun 2022 10:44:34 +0000 Original-Received: from localhost ([127.0.0.1]:45119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzFeT-0002K3-NH for submit@debbugs.gnu.org; Thu, 09 Jun 2022 06:44:33 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:43705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzFeQ-0002Jl-VH for 55832@debbugs.gnu.org; Thu, 09 Jun 2022 06:44:31 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 38FBC240108 for <55832@debbugs.gnu.org>; Thu, 9 Jun 2022 12:44:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1654771464; bh=qK5h+XEZ5rBKLDgrZGEfNgHGbdtsfeM4BhoxQr2TGro=; h=From:To:Cc:Subject:Date:Autocrypt:From; b=MFirbIvMbY9crd6nkO+iCIt7gndGb0t1lzvl4Tfb3EAl6MTzgHU1k86lbko0U3IjP vfB6bq15GshwKr9iHyv3huk4pRPazPfHUmr8h21mv05n1ZD3krIRvvkKRNm1nrNG1g p7NtXN6ephd/nLNNRPvg1LqyGvGKAqlpV6sFtgvLjv6VAm4nVO0sIgNtNakxtamprV of1JIR4wmCyXLtaSTvJHoWymY5R+9n10he19N+y5QZU9r21Z948FNlOaKHI9JSPVvo Q9nz6jeX7HFRDG2gY9hJi6pf3A4as77YUt/266iBASPuLzs4XjoW96ZbGe1zbffWep 5d3FHFJ7cCesA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LJgh54zY9z6tmm; Thu, 9 Jun 2022 12:44:21 +0200 (CEST) In-reply-to: <83sfof3tcr.fsf@gnu.org> Autocrypt: addr=thievol@posteo.net; prefer-encrypt=mutual; keydata= mQGNBF8ylcIBDADG+hy+zR6L4/vbdDDZuSaMmSrU3A5QZJpeBCvxTr7MpzzruZbhLPW1K3R6N2MA edi8Y+C8o27FVRIjpdbaKMGu9je7JV/TbUQYo3SOwCK1vM4LUn4V6ZLzSYkuiEt4eyMoiDdyvN0p kcK6P9x9DCetcEVszXzQg+yzCVrQ2hXWDXWT4M18EC3wtO7RHPouMqGiwBFhBAYErCqFWFxQHkfb tG/4yGyJ58rglb65O3qijjMWvYwcWZun9/7qm8Z4/4mHopmo2zgU+OrptnLSZfkZGz3Y7Uf452xQ GVq0Fv75NPvQru7y+DYVhuVXXyAmGxt+vf4rIiixMBbhKEPjcxEPAa2LTzex2IsTZR+QVG9uDnqC WcgaOEQ58fzXNvNhtwwF/Rgio2XWAJVdmFWS59/k9W58CIUSNKBMZh2XeGdEmtHvDtCxW3z6FJha 36RzOM3fMNNiAGdFZJA84gcdloJR+sHCDTTPT3784fjr+V8An7sI581NGFzkRQqPvEQCZbUAEQEA AbQSdGhpZXZvbEBwb3N0ZW8ubmV0iQHUBBMBCgA+FiEEI9twfRN7r3nig/xwDsVtFB0W75MFAl8y lcICGwMFCQPCZwAFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQDsVtFB0W75MB3QwAlTsVzFmr +S/tMKwwwOibjhNPi/OZiUC2AYfaqfVAiIHDT3RbzDe03sAJoomJkJnYVjGzQZwibCMO2+ITkMPV 2wvrd4CbgS1KCVbrltwcuK/nxPCBaHytOCZUIInnhJo5PE/h03K 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:234046 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: >> From: Lars Ingebrigtsen >> Cc: Thierry Volpiatto , 55832@debbugs.gnu.org >> Date: Wed, 08 Jun 2022 20:17:05 +0200 >>=20 >> Eli Zaretskii writes: >>=20 >> > Sounds like C stack overflow trying to print a too-long variable-arg >> > list?=20 >>=20 >> 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. Let me know what you want exactly for the complete backtrace. =2D-=20 Thierry --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHHBAEBCgAxFiEEI9twfRN7r3nig/xwDsVtFB0W75MFAmKhzwITHHRoaWV2b2xA cG9zdGVvLm5ldAAKCRAOxW0UHRbvkxxgDACa0SESvFn2G/PhY7xM0qizevcBpFoy 0u0xW2F170GJdcOgdFF9IlsmrOPujAOXmdaaxdo+q6da9LZygHVOiFs+57+3tYxA SZdMrnZvW8NjVsAEklwcq4VCELFOXbBAQxoIbIwv6uLInjeI5NlD/ri+HmKmBoO5 5rU/8UOKxbq47qqLAUJbaOMptg/eb+obFYh629J8wan+cy4ei1CVaBNhYmEeanZy fJHKxylDtcIYOY2GoaoiZaxH68DdoPvAuCxfNvHmXLk/4uD5Hg5JeFCTAlSr5kof rgn/QPdhyNuteihfePDXzGvQBx8cIJZnbXvKUhUePCq119qmrfM5nySuEMd2ZZ9i Ew095dHTSTHhylzMovW/rp0lKgPHtiGlAKgkB+ZaPIkBuaYT5EeHX8JqizDtYBo1 mprvA/9aixK0yZ0FLG3crY5H6DUaMFCBBv60SZ9M80kCHbzwuiPiyrtETvmXhP4w j94lcD4YH6dTYFjT/Sfnhg+kFdV3kBR3b5s= =fFn7 -----END PGP SIGNATURE----- --=-=-=--