bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27779: 26.0.50: read -- Re-entering top level after C stack overflow


From: Keith David Bershatsky
Subject: bug#27779: 26.0.50: read -- Re-entering top level after C stack overflow
Date: Thu, 20 Jul 2017 20:03:04 -0700

Perhaps we can use a prior function written by @npostavs -- (make-deep-object 
DEPTH) -- to create a large enough example of nested vectors and lists such 
that someone on the Emacs development team can duplicate the C stack overflow 
with `read`:

    (require 'cl-lib)

    (defun make-deep-object (depth)
      (let ((obj 1))
        (while (> (cl-decf depth) 0)
          (setq obj (vector (list obj))))
        obj))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]