[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35199] [Ruby 1.9-Bug#4373] http.rb:677: [BUG] Segmentation fault

From: Christian Fazzini <redmine@...>
Date: 2011-02-11 12:10:46 UTC
List: ruby-core #35199
Issue #4373 has been updated by Christian Fazzini.


I don't think you understand the issue. 

Christian-Fazzinis-MacBook-Pro:~ Chris$ rvm install 1.9.2 --with-openssl-dir=/usr/local
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)...

ruby-1.9.2-p136 - #fetching 
ruby-1.9.2-p136 - #extracted to /Users/Chris/.rvm/src/ruby-1.9.2-p136 (already extracted)
ruby-1.9.2-p136 - #configuring 
ruby-1.9.2-p136 - #compiling 
ruby-1.9.2-p136 - #installing 
ruby-1.9.2-p136 - Updating #rubygems to the latest.
Removing old Rubygems files...
Installing rubygems dedicated to ruby-1.9.2-p136...
Installing rubygems for /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Installation of rubygems completed successfully.
ruby-1.9.2-p136 - Updating #rubygems to the latest.
Removing old Rubygems files...
Installing rubygems dedicated to ruby-1.9.2-p136...
Installing rubygems for /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby
Installation of rubygems completed successfully.
ruby-1.9.2-p136 - adjusting #shebangs for (gem).
ruby-1.9.2-p136 - #importing default gemsets (/Users/Chris/.rvm/gemsets/)
Install of ruby-1.9.2-p136 - #complete 

Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

Christian-Fazzinis-MacBook-Pro:~ Chris$ rvm use 1.9.2
Using /Users/Chris/.rvm/gems/ruby-1.9.2-p136

Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -r twitter -e 'puts Twitter.user("sferik").location'
San Francisco

As you can see above. Rvm is also fine with openssl. However, if I try to access rails console:

Christian-Fazzinis-MacBook-Pro:~ Chris$ cd Sites/site_name/
Loading development environment (Rails 3.0.3)
ruby-1.9.2-p136 :001 > Twitter.user("sferik").location

I get the same error as above:
/Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677: [BUG] Segmentation fault
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]

-- control frame ----------
c:0044 p:---- s:0194 b:0194 l:000193 d:000193 CFUNC  :connect
c:0043 p:0440 s:0191 b:0191 l:001128 d:001128 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677
......

So the issue is not OpenSSL or RVM. Its lib/ruby/1.9.1/net/http.rb:677


----------------------------------------
http://redmine.ruby-lang.org/issues/show/4373

----------------------------------------
http://redmine.ruby-lang.org

In This Thread