Project

General

Profile

Actions

Bug #1149

closed

gem update --system failed

Added by wzstar2008 (Nick Wang Wang) about 15 years ago. Updated almost 13 years ago.

Status:
Rejected
Assignee:
-
ruby -v:
ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32]
Backport:
[ruby-core:22032]

Description

=begin
when I had a try to update with command "gem update --system", there was somethings wrong with rubygems.rb. I think it might be a bug.

[detail]:
C:/ruby/lib/ruby/1.9.1/rubygems.rb:405: [BUG] Segmentation fault
ruby 1.9.1 (2008-10-28 revision 19983) [i386-mswin32]

-- control frame ----------
c:0022 p:---- s:0113 b:0113 l:000112 d:000112 CFUNC :(null)
c:0021 p:---- s:0111 b:0111 l:000110 d:000110 CFUNC :new
c:0020 p:0064 s:0107 b:0107 l:000106 d:000106 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems.rb:405
c:0019 p:0066 s:0103 b:0103 l:000102 d:000102 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/remote_fetcher.rb:143
c:0018 p:0131 s:0095 b:0095 l:000094 d:000094 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/spec_fetcher.rb:197
c:0017 p:0128 s:0083 b:0083 l:000074 d:000082 BLOCK C:/ruby/lib/ruby/1.9.1/ruby
gems/spec_fetcher.rb:173
c:0016 p:---- s:0080 b:0080 l:000079 d:000079 FINISH :empty?
c:0015 p:---- s:0078 b:0078 l:000077 d:000077 CFUNC :each
c:0014 p:0047 s:0075 b:0075 l:000074 d:000074 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/spec_fetcher.rb:165
c:0013 p:0027 s:0069 b:0069 l:000068 d:000068 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/spec_fetcher.rb:116
c:0012 p:0110 s:0061 b:0061 l:000047 d:000060 BLOCK C:/ruby/lib/ruby/1.9.1/ruby
gems/commands/update_command.rb:148
c:0011 p:---- s:0053 b:0053 l:000052 d:000052 FINISH :puts
c:0010 p:---- s:0051 b:0051 l:000050 d:000050 CFUNC :each
c:0009 p:0018 s:0048 b:0048 l:000047 d:000047 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/commands/update_command.rb:140
c:0008 p:0231 s:0042 b:0042 l:000041 d:000041 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/commands/update_command.rb:75
c:0007 p:0071 s:0031 b:0031 l:000030 d:000030 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/command.rb:136
c:0006 p:0194 s:0027 b:0027 l:000026 d:000026 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/command_manager.rb:105
c:0005 p:0013 s:0021 b:0021 l:000020 d:000020 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/command_manager.rb:75
c:0004 p:0089 s:0016 b:0016 l:000015 d:000015 METHOD C:/ruby/lib/ruby/1.9.1/ruby
gems/gem_runner.rb:39
c:0003 p:0207 s:0009 b:0009 l:000008 d:000008 TOP C:/ruby/bin/gem.bat:32
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP :33

DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems.rb:405:in (null)'" DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems.rb:405:in new'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems.rb:405:in gunzip'" DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:143:in fetch_path'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:197:in load_specs'" DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:173:in block in list'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:165:in each'" DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:165:in list'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:116:in find_matching'" DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/commands/update_command.rb:148:in block
in which_to_update'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/commands/update_command.rb:140:in each' " DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/commands/update_command.rb:140:in which
_to_update'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/commands/update_command.rb:75:in execut e'" DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/command.rb:136:in invoke'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:105:in process_args' " DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in run'"
DBG> : "C:/ruby/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in run'" DBG> : "C:/ruby/bin/gem.bat:32:in '"

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
=end

Actions

Also available in: Atom PDF

Like0
Like0