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


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Steve Kemp <steve <at> steve.org.uk>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 27585 <at> debbugs.gnu.org
Subject: Re: bug#27585: segfault when evaluating a file containing only
 backticks
Date: Fri, 14 Jul 2017 22:12:08 -0700
Steve Kemp wrote:
>      $ /tmp/emacs/bin/emacs -Q --batch --script ./t.el
>      Re-entering top level after C stack overflow
>      [emacs still running]
> 
>    Compare that with the normal example:
> 
>      $ echo "(defun foo() "Test")" > t.el
>      $ /tmp/emacs/bin/emacs -Q --batch --script ./t.el
>      $
> 
>    Perhaps not a huge problem, but it is a change I think?

After a stack overflow, Emacs drops what it's doing and goes to the top level, 
regardless of its command-line arguments. Perhaps it would be better if Emacs 
did something else for this particular case. It's low priority, though.




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.