Bug #1657
closedWindows XP segmentation fault error Ruby 1.9.1 version
Description
=begin
hi
on Windows XP when performing >> gem install db2
I got a segmentation fault error
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems.rb:405: [BUG] Segmentation
fault
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
-- control frame ----------
c:0025 p:---- s:0134 b:0134 l:000133 d:000133 CFUNC :(null)
c:0024 p:---- s:0132 b:0132 l:000131 d:000131 CFUNC :new
c:0023 p:0064 s:0128 b:0128 l:000127 d:000127 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems.rb:405
c:0022 p:0066 s:0124 b:0124 l:000123 d:000123 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:143
c:0021 p:0131 s:0116 b:0116 l:000115 d:000115 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:197
c:0020 p:0128 s:0104 b:0104 l:000093 d:000103 BLOCK C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:173
c:0019 p:---- s:0099 b:0099 l:000098 d:000098 FINISH
c:0018 p:---- s:0097 b:0097 l:000096 d:000096 CFUNC :each
c:0017 p:0047 s:0094 b:0094 l:000093 d:000093 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:165
c:0016 p:0027 s:0088 b:0088 l:000087 d:000087 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:116
c:0015 p:0025 s:0080 b:0080 l:000079 d:000079 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:62
c:0014 p:0201 s:0072 b:0072 l:000071 d:000071 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/dependency_installer.rb:96
c:0013 p:0175 s:0063 b:0063 l:000062 d:000062 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/dependency_installer.rb:189
c:0012 p:0051 s:0053 b:0053 l:000052 d:000052 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/dependency_installer.rb:210
c:0011 p:0049 s:0048 b:0048 l:000037 d:000047 BLOCK C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/commands/install_command.rb:86
c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH
c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :each
c:0008 p:0241 s:0038 b:0038 l:000037 d:000037 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/commands/install_command.rb:83
c:0007 p:0071 s:0031 b:0031 l:000030 d:000030 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/command.rb:136
c:0006 p:0194 s:0027 b:0027 l:000026 d:000026 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/command_manager.rb:105
c:0005 p:0013 s:0021 b:0021 l:000020 d:000020 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/command_manager.rb:75
c:0004 p:0089 s:0016 b:0016 l:000015 d:000015 METHOD C:/ruby-1.9.1-p0-i386-mswin
32/lib/ruby/1.9.1/rubygems/gem_runner.rb:39
c:0003 p:0212 s:0009 b:0009 l:000214 d:0019e0 EVAL C:/ruby-1.9.1-p0-i386-mswin
32/bin/gem.bat:32
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000214 d:000214 TOP :484
-- Ruby level backtrace information-----------------------------------------
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems.rb:405:in (null)' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems.rb:405:in
new'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems.rb:405:in gunzip' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/remote_fetcher.rb:143:in
fetch_path'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:197:in lo ad_specs' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:173:in
bl
ock in list'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:165:in ea ch' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:165:in
li
st'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:116:in fi nd_matching' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:62:in
fet
ch'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/dependency_installer.rb:96
:in find_gems_with_sources' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/dependency_installer.rb:18 9:in
find_spec_by_name_and_version'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/dependency_installer.rb:21
0:in install' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/commands/install_command.r b:86:in
block in execute'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/commands/install_command.r
b:83:in each' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/commands/install_command.r b:83:in
execute'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/command.rb:136:in `invoke'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/command_manager.rb:105:in
process_args' C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in
run'
C:/ruby-1.9.1-p0-i386-mswin32/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in run' C:/ruby-1.9.1-p0-i386-mswin32/bin/gem.bat:32:in
'
=end
Updated by luislavena (Luis Lavena) over 15 years ago
=begin
Two questions:
Do you have zlib.dll (renamed from zlib1.dll) installed? If so, which version?
Do you have OpenSSL dependencies properly installed? If so, which version?
Since you're using mswin32 platform, did you follow the instructions here:
http://www.garbagecollect.jp/ruby/mswin32/en/documents/install.html
--
Luis Lavena
=end
Updated by karim (karim rayani) over 15 years ago
=begin
i have installed 1.8.6 using the ruby oneclick installer, i have ruby 1.9.1 is a seperate directory so does it matter to do the above configuration stuff again??
=end
Updated by karim (karim rayani) over 15 years ago
=begin
the solution to this is there in issue 1668, this is a frequently recurring issue for many users so if we could put up the same steps mentioned in issue 1668 would be great for windows users
thanx
=end