GNU bug report logs - #29107
27.0.50; Infinite recursion in Ruby mode

Previous Next

Package: emacs;

Reported by: Anders Lindgren <andlind <at> gmail.com>

Date: Wed, 1 Nov 2017 19:53:01 UTC

Severity: normal

Tags: confirmed

Found in versions 27.0.50, 24.4

Fixed in version 28.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #12 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Anders Lindgren <andlind <at> gmail.com>
Cc: 29107 <at> debbugs.gnu.org
Subject: Re: bug#29107: 27.0.50; Infinite recursion in Ruby mode
Date: Thu, 09 Nov 2017 21:13:12 -0500
tags 29107 + confirmed
quit

Anders Lindgren <andlind <at> gmail.com> writes:

> I just noticed that Ruby mode can go into infinite recursion (or
> "Lisp nesting exceeds ‘max-lisp-eval-depth’"). I managed to boil it
> down to the following:
>
>     Evaluate (setq debug-on-error t)
>
>     Open a new file, say test.rb
>     Type:
>
>         func do {
>
>     And press return.



> Entering debugger...
> Error in debug printer: (void-function t) [1113 times]

By the way, this funny message seems to be caused by loading cl-print
while stack has been used up by the inf looping.  If setting
debugger-print-function to prin1, or loading cl-print before triggering
the bug, that message doesn't show up.




This bug report was last modified 4 years and 135 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.