Project

General

Profile

Actions

Bug #3355

closed

Stack overflow executing rdoc

Added by romuloceccon (Rômulo Ceccon) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-05-27 trunk 28040) [i386-mswin32_90]
Backport:
[ruby-core:30467]

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


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #3358: -I switch fails to work on the trunk versionClosed05/28/2010Actions
Actions #1

Updated by romuloceccon (Rômulo Ceccon) over 14 years ago

=begin
r28037 is ok. The issue appeared in r28038.
=end

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0