heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Heroku crashes on 2.0.0-p247 #1038

Open borisd opened 10 years ago

borisd commented 10 years ago

heroku [ruby-2.0.0-p247] 18:02 /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/common.rb:67: [BUG] Segmentation fault ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0]

-- Control frame information ----------------------------------------------- c:0023 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC :initialize c:0022 p:---- s:0070 b:0070 l:000069 d:000069 CFUNC :new c:0021 p:0099 s:0067 b:0065 l:000064 d:000064 METHOD /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/common.rb:67 c:0020 p:0090 s:0056 b:0055 l:000054 d:000054 CLASS /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:17 c:0019 p:0011 s:0053 b:0053 l:000052 d:000052 CLASS /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:12 c:0018 p:0074 s:0051 b:0051 l:000050 d:000050 TOP /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:9 c:0017 p:---- s:0049 b:0049 l:000048 d:000048 FINISH c:0016 p:---- s:0047 b:0047 l:000046 d:000046 CFUNC :require c:0015 p:0027 s:0043 b:0043 l:000042 d:000042 CLASS /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json.rb:58 c:0014 p:0021 s:0041 b:0041 l:000040 d:000040 TOP /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json.rb:54 c:0013 p:---- s:0039 b:0039 l:000038 d:000038 FINISH c:0012 p:---- s:0037 b:0037 l:000036 d:000036 CFUNC :require c:0011 p:0023 s:0033 b:0033 l:000032 d:000032 TOP /Users/boris/.heroku/client/lib/heroku/command/ps.rb:2 c:0010 p:---- s:0031 b:0031 l:000030 d:000030 FINISH c:0009 p:---- s:0029 b:0029 l:000028 d:000028 CFUNC :require c:0008 p:0012 s:0025 b:0025 l:000016 d:000024 BLOCK /Users/boris/.heroku/client/lib/heroku/command.rb:14 c:0007 p:---- s:0022 b:0022 l:000021 d:000021 FINISH c:0006 p:---- s:0020 b:0020 l:000019 d:000019 CFUNC :each c:0005 p:0051 s:0017 b:0017 l:000016 d:000016 METHOD /Users/boris/.heroku/client/lib/heroku/command.rb:13 c:0004 p:0090 s:0014 b:0014 l:000013 d:000013 METHOD /Users/boris/.heroku/client/lib/heroku/cli.rb:27 c:0003 p:0232 s:0008 b:0008 l:0002d8 d:0013b8 EVAL /usr/local/heroku/bin/heroku:24 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:0002d8 d:0002d8 TOP

-- Ruby level backtrace information ---------------------------------------- /usr/local/heroku/bin/heroku:24:in <main>' /Users/boris/.heroku/client/lib/heroku/cli.rb:27:instart' /Users/boris/.heroku/client/lib/heroku/command.rb:13:in load' /Users/boris/.heroku/client/lib/heroku/command.rb:13:ineach' /Users/boris/.heroku/client/lib/heroku/command.rb:14:in block in load' /Users/boris/.heroku/client/lib/heroku/command.rb:14:inrequire' /Users/boris/.heroku/client/lib/heroku/command/ps.rb:2:in <top (required)>' /Users/boris/.heroku/client/lib/heroku/command/ps.rb:2:inrequire' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json.rb:54:in <top (required)>' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json.rb:58:inmodule:JSON' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json.rb:58:in require' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:9:in<top (required)>' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:12:in <module:JSON>' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:17:inmodule:Ext' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/common.rb:67:in generator=' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/common.rb:67:innew' /Users/boris/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/common.rb:67:in `initialize'

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

See Crash Report log file under ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter, for the more detail of.

-- Other runtime 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

Looks like it is trying to use 1.9.1 and 2.0.0 at the same time

catsby commented 10 years ago

Is this a standalone install of the Heroku Toolbelt, or are you using the gem directly?

If it's the latter, please use the Toolbelt instead.

borisd commented 10 years ago

@catsby its a toolbelt intall

Using rvm 1.24.4 with multiple ruby version on Mavericks 10.9.1

catsby commented 10 years ago

its a toolbelt infall

The Toolbelt vendors it's own version of Ruby, 1.9.3 p.something

What do these tell you?

$ which heroku
/usr/local/heroku/bin/heroku
$ heroku version
heroku-toolbelt/3.3.0 (x86_64-darwin10.8.0) ruby/1.9.3
borisd commented 10 years ago

which heroku heroku: aliased to bundled_heroku

heroku version heroku-toolbelt/3.3.0 (x86_64-darwin10.8.0) ruby/1.9.3

trimble commented 7 years ago

Looking to clean things up in the archives...this issue seems to have been overcome by time and events. Can we close this one?