Bug #3355
closedStack overflow executing rdoc
Description
=begin
Ruby-trunk (r28040) compiles fine with VS2008 but when it starts generating RDoc documentation it crashes with a stack overflow:
(...)
Generating RDoc documentation
.\ruby.exe -I./lib -I".ext/i386-mswin32_90" "./tool/runruby.rb" --extout=".ext" -- "./bin/rdoc" --no-force-update --all --ri --op ".ext/rdoc" "."
NMAKE : fatal error U1077: '.\ruby.exe' : return code '0xc00000fd'
Stop.
More information from the application log:
Faulting application ruby.exe, version 1.9.3.0, time stamp 0x4bfe8abc, faulting module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e03821, exception code 0xc00000fd, fault offset 0x00066578, process id 0x33c, application start time 0x01cafdb25d481203.
Ruby-1.9.2 (ruby 1.9.2dev (2010-05-27 revision 28042) [i386-mswin32_90]) exhibits exactly the same problem.
=end
Updated by romuloceccon (Rômulo Ceccon) over 14 years ago
=begin
r28037 is ok. The issue appeared in r28038.
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
- Status changed from Open to Assigned
- Assignee set to usa (Usaku NAKAMURA)
- Target version set to 2.0.0
=begin
succeeded to reproduce.
memo:
ruby crashes in ruby_xrealloc() because ptr is invalid.
objspace = 0
ptr = 0x85fffffd
size = 3893786111
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
=begin
Oh, this is the well known problem (by especially Naruse and me)
as "infinity require loop of encoding".
Now Naruse and I discussing about this.
=end
Updated by usa (Usaku NAKAMURA) over 14 years ago
- Assignee changed from usa (Usaku NAKAMURA) to naruse (Yui NARUSE)
- Priority changed from Normal to 6
=begin
=end
Updated by naruse (Yui NARUSE) over 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r28063.
Romulo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end