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.
Wow... that is really unhelpful. Do you at least have a repro?
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
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):
$ ~/writing/BMSFT/Book 957 $ sudo gem install zentest
Password:
Attempting local installation of 'zentest'
Local gem file not found: zentest*.gem
Attempting remote installation of 'zentest'
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed ZenTest-3.2.0
Installing RDoc documentation for ZenTest-3.2.0...
/usr/local/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:539: [BUG] Segmentation fault
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?
On Apr 12, 2006, at 9:24 PM, Ryan Davis wrote:
On Apr 12, 2006, at 4:46 PM, TRANS wrote:
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.testing.com/cgi-bin/blog
-----
Brian Marick, 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 Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.testing.com/cgi-bin/blog
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.
On Apr 26, 2006, at 1:57 PM, Brian Marick 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.