GNU bug report logs - #27585
segfault when evaluating a file containing only backticks

Previous Next

Package: emacs;

Reported by: Steve Kemp <steve <at> steve.org.uk>

Date: Wed, 5 Jul 2017 06:29:02 UTC

Severity: minor

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: steve <at> steve.org.uk, 27585 <at> debbugs.gnu.org
Subject: bug#27585: segfault when evaluating a file containing only backticks
Date: Thu, 06 Jul 2017 20:27:59 +0300
> Date: Thu, 06 Jul 2017 09:37:30 -0700
> CC: steve <at> steve.org.uk,27585 <at> debbugs.gnu.org
> From: Daniel Colascione <dancol <at> dancol.org>
> 
> In this instance, couldn't we add a hard threshold to limit recursion?

I'm not sure I understand the proposal.  Could you elaborate?

> >> Recovering when elisp blows the stack is a different matter.
> >
> >I believe we already do that.
> 
> We have a threshold. It's conservative, but it works most of the time. IMHO, explicit stack probing would be both less conservative and note robust.

Won't it be expensive?  Or maybe I don't have a clear idea what you
meant by "stack probing".





This bug report was last modified 7 years and 298 days ago.

Previous Next


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