Ruby Issue Tracking System: Issues
https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2015-03-16T08:50:22Z
Ruby Issue Tracking System
Redmine
Ruby master - Bug #10978 (Closed): [mswin32, mswin64] SignalException: SIGSEGV
https://bugs.ruby-lang.org/issues/10978
2015-03-16T08:50:22Z
Javix (Sergueï Cambour)
s.cambour@gmail.com
<p>I have an error when running rake command on a simple minitest demo project:</p>
<pre><code>C:\Users\XXXX\Documents\projects\tests_projects\minitest-project>rake --trace
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
rake aborted!
SignalException: SIGSEGV
C:/Ruby22-x64/lib/ruby/2.2.0/rake/testtask.rb:106:in `block (3 levels) in define'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils.rb:57:in `call'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils.rb:57:in `sh'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils_ext.rb:37:in `sh'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils.rb:96:in `ruby'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils_ext.rb:37:in `ruby'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/testtask.rb:104:in `block (2 levels) in define'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/file_utils_ext.rb:58:in `verbose'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/testtask.rb:100:in `block in define'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:240:in `call'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:235:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:235:in `execute'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:199:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `each'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'
C:/Ruby22-x64/lib/ruby/2.2.0/rake/application.rb:75:in `run'
C:/Ruby22-x64/bin/rake:33:in `<main>'
Tasks: TOP => default => test
OS: Windows 7 Enterprise, SP1, 64 bits
Ruby version:ruby 2.2.1p85 (2015-02-26 revision 49769) [x64-mingw32]
Rake version: rake (10.4.2)
</code></pre>
Ruby master - Bug #10842 (Closed): rake update to 10.4.2 -> Segmentation fault : ruby 2.1.5p273 (...
https://bugs.ruby-lang.org/issues/10842
2015-02-09T12:44:48Z
Javix (Sergueï Cambour)
s.cambour@gmail.com
<p>I tried to update the existing rake gem up to 10.4.2:</p>
<ul>
<li>download the latest version from rubygems and save it locally</li>
<li>run <code>gem install rake -l -N</code> to install it locally</li>
<li>got the below error:</li>
</ul>
<pre><code>C:\Users\XXXXX\Documents\Soft\gems>gem update rake -l
Updating installed gems
ERROR: While executing gem ... (Gem::RemoteFetcher::UnknownHostError)
no such name (https://rubygems.org/specs.4.8.gz)
C:\Users\XXXXX\Documents\Soft\gems>gem install rake -l
rake's executable "rake" conflicts with C:/Ruby21-x64/bin/rake
Overwrite the executable? [yN] C:/Ruby21-x64/lib/ruby/2.1.0/rubygems/user_interaction.rb:286: [BUG] Segmentat
ion fault
ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32].
</code></pre>
<p>See the full stack trace at this gist: <a href="https://gist.github.com/Javix/d9b8e820dbb6943827aa" class="external">https://gist.github.com/Javix/d9b8e820dbb6943827aa</a>.</p>
<p>Reproduced on a Windows PC:</p>
<ul>
<li>Windows 7, 64 bits</li>
<li>Ruby ruby 2.1.5p273 (2014-11-13 revision 48405) [x64-mingw32]</li>
</ul>
Ruby master - Bug #2434 (Rejected): Ruby gem update --system /gem install [any_gem_name] ERROR
https://bugs.ruby-lang.org/issues/2434
2009-12-04T17:58:08Z
Javix (Sergueï Cambour)
s.cambour@gmail.com
<h2>=begin<br>
No matter on which OS you are, - XP Family, XP Pro or Ubuntu 9.10. Noo matter if you have firewall 'hyper-sensitive' or proxy. When trying to do gem update --system or even when trying to install a new gem like 'gem install [gem_name] I always got the below error:</h2>
<p>serge@serge-laptop:~$ sudo gem install heroku<br>
ERROR: Error installing heroku:<br>
invalid gem format for /usr/lib/ruby/gems/1.8/cache/heroku-1.4.gem</p>
<p>serge@serge-laptop:~$ ruby -v<br>
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]<br>
serge@serge-laptop:~$<br>
=end</p>
Ruby master - Bug #2433 (Rejected): Ruby gem update --system /gem install [any_gem_name] ERROR
https://bugs.ruby-lang.org/issues/2433
2009-12-04T17:57:07Z
Javix (Sergueï Cambour)
s.cambour@gmail.com
<p>=begin<br>
No matter on which OS you are, - XP Family, XP Pro or Ubuntu 9.10. Noo matter if you have firewall 'hyper-sensitive' or proxy. When trying to do gem update --system or even when trying to install a new gem like 'gem install [gem_name] I always got the below error:<br>
[code]<br>
serge@serge-laptop:~$ sudo gem install heroku<br>
ERROR: Error installing heroku:<br>
invalid gem format for /usr/lib/ruby/gems/1.8/cache/heroku-1.4.gem</p>
<p>serge@serge-laptop:~$ ruby -v<br>
ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]<br>
serge@serge-laptop:~$ gem environment<br>
RubyGems Environment:</p>
<ul>
<li>RUBYGEMS VERSION: 1.3.5</li>
<li>RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]</li>
<li>INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8</li>
<li>RUBY EXECUTABLE: /usr/bin/ruby1.8</li>
<li>EXECUTABLE DIRECTORY: /usr/bin</li>
<li>RUBYGEMS PLATFORMS:
<ul>
<li>ruby</li>
<li>x86-linux</li>
</ul>
</li>
<li>GEM PATHS:
<ul>
<li>/usr/lib/ruby/gems/1.8</li>
<li>/home/serge/.gem/ruby/1.8</li>
</ul>
</li>
<li>GEM CONFIGURATION:
<ul>
<li>:update_sources => true</li>
<li>:verbose => true</li>
<li>:benchmark => false</li>
<li>:backtrace => false</li>
<li>:bulk_threshold => 1000</li>
<li>:sources => ["http://gems.rubyforge.org/", "http://gemcutter.org", "http://gemcutter.org", "http://gemcutter.org"]</li>
</ul>
</li>
<li>REMOTE SOURCES:
<ul>
<li><a href="http://gems.rubyforge.org/" class="external">http://gems.rubyforge.org/</a></li>
<li><a href="http://gemcutter.org" class="external">http://gemcutter.org</a></li>
<li><a href="http://gemcutter.org" class="external">http://gemcutter.org</a></li>
<li>
<a href="http://gemcutter.org" class="external">http://gemcutter.org</a><br>
serge@serge-laptop:~$</li>
</ul>
</li>
</ul>
<p>[/code]<br>
=end</p>