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 #73 received at 27585 <at> debbugs.gnu.org (full text, mbox):

From: Steve Kemp <steve <at> steve.org.uk>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 27585 <at> debbugs.gnu.org
Subject: Re: bug#27585: segfault when evaluating a file containing only
 backticks
Date: Sat, 15 Jul 2017 05:03:08 +0000
On Fri Jul 14, 2017 at 16:30:16 +0300, Eli Zaretskii wrote:

> > It's good that we fixed this bug (though I hope "normal" users never
> > notice the bug fix :-).
> 
> Indeed, thanks.

  Thanks again.  I  do note one behaviour change though, which is
 perhaps worth noting.

  Previously this segfaulted:

    $ perl -e 'print "," x ( 1024 * 1024  * 12);' > t.el
    $ /tmp/emacs/bin/emacs -Q --batch --script ./t.el

  Now it does not, as the bug is fixed, but I'd expect the
 emacs process to terminate when the script is loaded. 

  That doesn't happen though:

    $ /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?

Steve
-- 
https://steve.fi/




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.