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: Sat, 22 Jul 2017 09:32:44 -0700

Setting `ulimit -S -s unlimited` from the terminal prior to launching the GUI 
version of Emacs 26.0.50 from the same terminal session on OSX 10.6.8 does NOT 
resolve/fix the "Re-entering top level after C stack overflow" that appears in 
the *Messages* buffer.  :(

Emacs 25.2.1, on the other hand, IS able to successfully handle the following 
example:

(require 'cl-lib)

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

(let* ((print-circle t)
       (max-lisp-eval-depth most-positive-fixnum)
       (max-specpdl-size most-positive-fixnum)
       (deep-object (make-deep-object 4600))
       (string (prin1-to-string deep-object))
       (result (read string)))
  (when result
    (message "Success!")))





reply via email to

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