Single Installation Only: Batch Program, Command Line Display, and Stack Overflow Error
On a single installation of BricsCAD on former and current BricsCAD (now running the latest version of V26) a stack overflow error occurs running the attached batch processing LISP program.
COMMANDLINEHIDE = No Error
When the command line is hidden, no stack overflow error occurs.
COMMANDLINE = Error
When the command line is displayed, the stack overflow occurs.
Provide any insights and suggested edits of program code to eliminate the stack overflow error when the command line is displayed.
Thanks,
Clint Hill
Comments
-
One way to find problem is in each defun put (princ "\ndefunname") at start, when it crashes you should be able to see which defun it got to.
Just a suggestion, If not using ent in defun then dont need that setq ent.
(repeat (setq i (sslength ss5))
(setq obj (vlax-ename->vla-object (ssname ss5 (setq i (1- i)))))0

