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

From: Keith David Bershatsky <[email-masked]>
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))