Project

General

Profile

Actions

Bug #4054

closed

Segmentation Fault

Added by kurko (Alexandre de Oliveira) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.3.1]
Backport:
[ruby-core:33169]

Description

=begin
My environment: ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.3.1]

After coding for more than 7 hours, no script works anymore. Everytime I try to run a script I get the backtrace below.

===============================

/Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:268: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.3.1]

-- control frame ----------
c:0042 p:---- s:0181 b:0181 l:000180 d:000180 CFUNC :scan
c:0041 p:0029 s:0177 b:0177 l:000176 d:000176 METHOD /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:268
c:0040 p:0077 s:0174 b:0174 l:000173 d:000173 METHOD /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:188
c:0039 p:0017 s:0170 b:0170 l:000169 d:000169 METHOD /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:235
c:0038 p:---- s:0166 b:0166 l:000165 d:000165 FINISH
c:0037 p:---- s:0164 b:0164 l:000163 d:000163 CFUNC :load
c:0036 p:0212 s:0160 b:0160 l:000159 d:000159 METHOD /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:254
c:0035 p:0058 s:0148 b:0146 l:000137 d:000145 BLOCK /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:214
c:0034 p:---- s:0143 b:0143 l:000142 d:000142 FINISH
c:0033 p:---- s:0141 b:0141 l:000140 d:000140 CFUNC :each
c:0032 p:0112 s:0138 b:0138 l:000137 d:000137 METHOD /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:210
c:0031 p:0031 s:0129 b:0129 l:000128 d:000128 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:233
c:0030 p:0063 s:0125 b:0125 l:001058 d:001ac0 BLOCK /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:214
c:0029 p:---- s:0122 b:0122 l:000121 d:000121 FINISH
c:0028 p:---- s:0120 b:0120 l:000119 d:000119 CFUNC :each
c:0027 p:0067 s:0117 b:0117 l:001058 d:001058 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:211
c:0026 p:0065 s:0112 b:0111 l:000103 d:000110 BLOCK /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:158
c:0025 p:0020 s:0108 b:0108 l:000107 d:000107 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/index.rb:7
c:0024 p:0017 s:0104 b:0104 l:000103 d:000103 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:155
c:0023 p:0025 s:0101 b:0101 l:000100 d:000100 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:70
c:0022 p:0014 s:0098 b:0097 l:000081 d:000096 BLOCK /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:161
c:0021 p:---- s:0094 b:0094 l:000093 d:000093 FINISH
c:0020 p:---- s:0092 b:0092 l:000091 d:000091 CFUNC :each
c:0019 p:0011 s:0089 b:0089 l:000081 d:000088 BLOCK /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:160
c:0018 p:0020 s:0086 b:0086 l:000085 d:000085 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/index.rb:7
c:0017 p:0031 s:0082 b:0082 l:000081 d:000081 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:159
c:0016 p:0104 s:0079 b:0076 l:000075 d:000075 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:153
c:0015 p:0027 s:0071 b:0071 l:000070 d:000070 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:93
c:0014 p:0047 s:0066 b:0066 l:000065 d:000065 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:88
c:0013 p:0238 s:0063 b:0063 l:000062 d:000062 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/installer.rb:35
c:0012 p:0033 s:0057 b:0057 l:000056 d:000056 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/installer.rb:8
c:0011 p:0139 s:0050 b:0050 l:000049 d:000049 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/cli.rb:267
c:0010 p:0036 s:0045 b:0045 l:000044 d:000044 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22
c:0009 p:0071 s:0039 b:0039 l:000038 d:000038 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb:118
c:0008 p:0221 s:0033 b:0033 l:000032 d:000032 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb:246
c:0007 p:0102 s:0022 b:0022 l:000021 d:000021 METHOD /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb:389
c:0006 p:0054 s:0016 b:0016 l:000015 d:000015 TOP /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/bin/bundle:13
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load
c:0003 p:0127 s:0007 b:0007 l:001588 d:0011d0 EVAL /Users/kurko/.rvm/gems/ruby-1.9.2-head/bin/bundle:19
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:001588 d:001588 TOP

-- Ruby level backtrace information ----------------------------------------
/Users/kurko/.rvm/gems/ruby-1.9.2-head/bin/bundle:19:in <main>' /Users/kurko/.rvm/gems/ruby-1.9.2-head/bin/bundle:19:in load'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/bin/bundle:13:in <top (required)>' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb:389:in start'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb:246:in dispatch' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in run' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/cli.rb:267:in update'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/installer.rb:8:in install' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/installer.rb:35:in run'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:88:in resolve_remotely!' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:93:in specs'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:153:in resolve' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:159:in index'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/index.rb:7:in build' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:160:in block in index'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:160:in each' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/definition.rb:161:in block (2 levels) in index'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:70:in specs' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:155:in fetch_specs'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/index.rb:7:in build' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:158:in block in fetch_specs'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:211:in remote_specs' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:211:in each'
/Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:214:in block in remote_specs' /Users/kurko/.rvm/gems/ruby-1.9.2-head/gems/bundler-1.0.3/lib/bundler/source.rb:233:in fetch_all_remote_specs'
/Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:210:in list' /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:210:in each'
/Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:214:in block in list' /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:254:in load_specs'
/Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/spec_fetcher.rb:254:in load' /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:235:in marshal_load'
/Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:188:in initialize' /Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:268:in segments'
/Users/kurko/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/version.rb:268:in `scan'

-- C level backtrace information -------------------------------------------

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap
=end

Actions #1

Updated by tenderlovemaking (Aaron Patterson) over 13 years ago

=begin
On Sun, Nov 14, 2010 at 07:17:36PM +0900, Alexandre de Oliveira wrote:

Bug #4054: Segmentation Fault
http://redmine.ruby-lang.org/issues/show/4054

Author: Alexandre de Oliveira
Status: Open, Priority: Normal
Category: core, Target version: 1.9.2
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.3.1]

My environment: ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.3.1]

After coding for more than 7 hours, no script works anymore. Everytime I try to run a script I get the backtrace below.

Did you do something during the 7 hours to make this happen? It looks
like you're using RVM. I'm not very familiar with RVM, but your
backtrace says "ruby-1.9.2-head". Are you actually running against the
1.9.2p0 release, or against the 1.9.2 release branch?

Thanks.

--
Aaron Patterson
http://tenderlovemaking.com/

Attachment: (unnamed)
=end

Actions #2

Updated by naruse (Yui NARUSE) over 13 years ago

  • Status changed from Open to Feedback

=begin

=end

Updated by naruse (Yui NARUSE) almost 13 years ago

  • Status changed from Feedback to Closed

I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0