[#3113] Problem in RSS library, or problem in my blog :) — Dave Thomas <dave@...>
I've been trying to use the new RSS library to parse a number of
7 messages
2004/07/01
[#3136] Wrong rdoc formatting in {array,pack}.c — Johan Holmberg <holmberg@...>
7 messages
2004/07/05
[#3162] Re: [doc-patch] Wrong rdoc formatting in {array,pack}.c
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2004/07/09
Hello.
[#3170] Another rdoc formatting error in array.c
— Johan Holmberg <holmberg@...>
2004/07/10
[#3172] Re: [doc-patch] Another rdoc formatting error in array.c
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2004/07/12
Hello.
[#3141] rexml/validation/validationexception is missing. — nobu.nokada@...
Hi,
5 messages
2004/07/06
[#3154] Nonblocking socket connect - Win32 - 181 — "Jean-Francois Nadeau" <jean-francois.nadeau@...>
Hi,
4 messages
2004/07/08
[#3167] Inconsistent "call-seq" usage etc. — Johan Holmberg <holmberg@...>
7 messages
2004/07/09
[#3168] Re: [doc] Inconsistent "call-seq" usage etc.
— Dave Thomas <dave@...>
2004/07/09
[#3171] binding a URL to a label in RDoc — Ian Macdonald <ian@...>
Hello,
6 messages
2004/07/12
[#3199] Trying to understand \G — Dave Thomas <dave@...>
I'm being silly again, but I can't get \G to work with String.index. If
12 messages
2004/07/16
[#3213] Typo and grammar/style fixes for ext/win32ole/win32ole.c — Jos Backus <jos@...>
The attached patch attempts to create a more consistent style for error
4 messages
2004/07/19
[#3216] Re: Incident Analysis of the intrusion on helium.ruby-lang.org May 2004 — "Sean E. Russell" <ser@...>
Hi,
6 messages
2004/07/21
[#3228] Core support for Gems, and namespace — "Luke A. Kanies" <luke@...>
Hi all,
21 messages
2004/07/27
[#3229] Re: Core support for Gems, and namespace
— Dave Thomas <dave@...>
2004/07/27
[#3232] Re: Core support for Gems, and namespace
— "Luke A. Kanies" <luke@...>
2004/07/27
On Tue, 27 Jul 2004, Dave Thomas wrote:
[#3233] Re: Core support for Gems, and namespace
— Gavin Sinclair <gsinclair@...>
2004/07/27
On Wednesday, July 28, 2004, 12:48:07 AM, Luke wrote:
[#3235] Re: Core support for Gems, and namespace
— "Luke A. Kanies" <luke@...>
2004/07/27
On Wed, 28 Jul 2004, Gavin Sinclair wrote:
[#3230] Re: Core support for Gems, and namespace
— Austin Ziegler <halostatue@...>
2004/07/27
On Tue, 27 Jul 2004 11:39:08 +0900, Luke A. Kanies <luke@madstop.com> wrote:
[#3234] Re: Core support for Gems, and namespace
— "Luke A. Kanies" <luke@...>
2004/07/27
On Tue, 27 Jul 2004, Austin Ziegler wrote:
[#3238] Re: Core support for Gems, and namespace
— Austin Ziegler <halostatue@...>
2004/07/27
On Wed, 28 Jul 2004 00:14:29 +0900, Luke A. Kanies <luke@madstop.com> wrote:
[#3243] Re: Core support for Gems, and namespace
— Gavin Sinclair <gsinclair@...>
2004/07/28
On Wednesday, July 28, 2004, 3:23:46 AM, Austin wrote:
[#3248] Re: Core support for Gems, and namespace
— Austin Ziegler <halostatue@...>
2004/07/28
On Wed, 28 Jul 2004 11:29:53 +0900, Gavin Sinclair
[#3249] Re: Core support for Gems, and namespace
— Mauricio Fern疣dez <batsman.geo@...>
2004/07/28
On Wed, Jul 28, 2004 at 11:29:53AM +0900, Gavin Sinclair wrote:
[PATCH] Infinite recursion in rdoc
From:
Mauricio Fern疣dez <batsman.geo@...>
Date:
2004-07-31 17:59:48 UTC
List:
ruby-core #3259
While generating Borges' rdoc documentation, rdoc began to demand in
excess of 700MB RAM (before I killed it, that is ;). This is the rdoc
shipped with ruby 1.8.2 (2004-07-30).
A typical backtrace would be:
/home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:310:in `toplevel': Interrupt from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
from /home/batsman/usr//lib/ruby/1.8/rdoc/code_objects.rb:328:in `find_symbol'
... 89803 levels...
from /home/batsman/usr//lib/ruby/1.8/rdoc/generators/html_generator.rb:1210:in `generate_html'
from /home/batsman/usr//lib/ruby/1.8/rdoc/generators/html_generator.rb:1130:in `generate'
from /home/batsman/usr//lib/ruby/1.8/rdoc/rdoc.rb:269:in `document'
from /home/batsman/usr//bin/rdoc:63
The trivial patch below makes sense and once applied the problem went away:
diff -ru ruby.orig/lib/rdoc/code_objects.rb ruby/lib/rdoc/code_objects.rb
--- ruby.orig/lib/rdoc/code_objects.rb 2004-07-31 19:43:55.000000000 +0200
+++ ruby/lib/rdoc/code_objects.rb 2004-07-31 19:44:37.000000000 +0200
@@ -325,7 +325,7 @@
result = nil
case symbol
when /^::(.*)/
- result = toplevel.find_symbol(symbol)
+ result = toplevel.find_symbol($1)
when /::/
modules = symbol.split(/::/)
unless modules.empty?
--
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com