GNU bug report logs - #55832
28.1; Emacs crashes when using tramp from helm in emacs-29

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Tue, 7 Jun 2022 15:24:02 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 55832 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: thievol <at> posteo.net, 55832 <at> debbugs.gnu.org
Subject: Re: bug#55832: 28.1; Emacs crashes when using tramp from helm in
 emacs-29
Date: Wed, 08 Jun 2022 21:25:40 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Thierry Volpiatto <thievol <at> posteo.net>,  55832 <at> debbugs.gnu.org
> Date: Wed, 08 Jun 2022 20:17:05 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> 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.




This bug report was last modified 2 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.