Got this today:
with_reader.rb: /usr/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:384:
[BUG] Segmentation fault
T.
Got this today:
with_reader.rb: /usr/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:384:
[BUG] Segmentation fault
T.
On Apr 12, 2006, at 4:46 PM, TRANS wrote:
Got this today:
with_reader.rb: /usr/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:384:
[BUG] Segmentation fault
Wow… that is really unhelpful. Do you at least have a repro?
On Apr 12, 2006, at 9:24 PM, Ryan D. wrote:
On Apr 12, 2006, at 4:46 PM, TRANS wrote:
Got this today:
with_reader.rb: /usr/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:384:
[BUG] Segmentation faultWow… that is really unhelpful. Do you at least have a repro?
Here’s one, but from a different lineno than the original poster (and
probably a different OS):
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.6.0]
Abort trap
No core, alas.
Interestingly, this didn’t fail after an uninstall. Instead, I got:
$ ~ 1005 $ sudo gem install zentest
Attempting local installation of ‘zentest’
Local gem file not found: zentest*.gem
Attempting remote installation of ‘zentest’
Successfully installed ZenTest-3.2.0
Installing RDoc documentation for ZenTest-3.2.0…
ERROR: While executing gem … (TypeError)
can’t dup Fixnum
I’ve been trying other examples of gem installation (for this book
I’m writing), and getting a lot of such errors:
$ ~/writing/BMSFT/Book 959 $ sudo gem install watir
[…]
Installing RDoc documentation for watir-1.4.1…
[…]
RDoc failure in readme.rb at or around line 63 column 3
[…]
ERROR: While executing gem … (TypeError)
can’t convert Fixnum into String
$ /usr/local/lib/ruby/gems/1.8/doc/watir-1.4.1/rdoc 986 $ sudo gem
install rake
[…]
RDoc failure in lib/rake.rb at or around line 42 column 10
[…]
ERROR: While executing gem … (TypeError)
can’t convert Fixnum into String
To make it worse, another zentest install/uninstall worked:
$ ~/writing/BMSFT/Book 1012 $ sudo gem install zentest
Attempting local installation of ‘zentest’
Local gem file not found: zentest*.gem
Attempting remote installation of ‘zentest’
Successfully installed ZenTest-3.2.0
Installing RDoc documentation for ZenTest-3.2.0…
What’s up with that?
Brian M., independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.testing.com/cgi-bin/blog
For what it’s worth, I’ve had trouble all day when rubygems runs rdoc
on gems. I blew away 1.8.4 and reverted to the 1.8.2 that comes with
OSX Tiger.
With 1.8.4, I got:
Installing RDoc documentation for rake-0.7.1…
RDoc failure in lib/rake.rb at or around line 42 column 10
The internal error was:ERROR: While executing gem … (TypeError)
can’t convert Fixnum into String
Installing RDoc documentation for rake-0.7.1…
ERROR: While executing gem … (NoMethodError)
undefined method `text’ for -517611318:Fixnum
Installing RDoc documentation for rake-0.7.1…
Error in template: private method `gsub!’ called for -517611318:Fixnum
Original line: -517611318
On 1.8.2, all went well. Rdoc generation also worked for zentest and
watir, which had both failed before. The Zentest errors I gave
earlier in this thread. The watir error was this:
Installing RDoc documentation for watir-1.4.1…
RDoc failure in readme.rb at or around line 63 column 3
The internal error was:ERROR: While executing gem … (TypeError)
can’t convert Fixnum into String
Brian M., independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.testing.com/cgi-bin/blog
On Apr 26, 2006, at 1:57 PM, Brian M. wrote:
For what it’s worth, I’ve had trouble all day when rubygems runs
rdoc on gems. I blew away 1.8.4 and reverted to the 1.8.2 that
comes with OSX Tiger.
This is a bug in ruby where VALUEs collide exacerbated by GCC4 on
PPC. We’ve partially fixed it on the 1.8 branch in CVS, but it is
still there (just a lot less–feels like 60-80% less). I’ve found
that rdoc seems to push it more. It probably generates a lot more
symbols than most programs. I’ve found that if you keep running the
rdoc command, it’ll eventually generate everything and be fine. Not
good, I know, but better than rolling back to stock 1.8.2 in many
situations.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs