Subject: Re: bug#24692: 25.1; simple, reproducible Emacs 25.1 crash on MS Windows

From: martin rudalics <[email-masked]>
Date: Fri, 14 Oct 2016 20:16:08 +0200

>> A simple recipe would be to run
 >>
 >> (defun foo ()
 >>     ""
 >>     (interactive)
 >>     (let ((max-win-width  0)
 >>           (max-win-height 1))
 >>       (save-excursion
 >>         (goto-char (point-min))
 >>         (while (not (eobp))

Then put a message reporting ‘max-win-height’ in here.

 >>           (end-of-line)
 >>           (setq max-win-width  (max (current-column) max-win-width))
 >>           (when (zerop (forward-line 1))
 >>             (setq max-win-height  (1+ max-win-height)))))
 >>       (cons max-win-width max-win-height)))
 >>
 >> on simple.el.  Does that crash?
 >
 > Yes.
 >
 > With emacs -Q, I visit simple.el and M-x foo crashes.

martin