Forum: Ruby-core [ruby-trunk - Bug #7441][Open] Segmentation Fault generated with 1.9.3 installed by library1.8.so.1.

Posted by agenerette (Anthony Generette) (Guest)
on 2012-11-26 17:12
(Received via mailing list)
Issue #7441 has been reported by agenerette (Anthony Generette).

----------------------------------------
Bug #7441: Segmentation Fault generated with 1.9.3 installed by 
library1.8.so.1.8.7
https://bugs.ruby-lang.org/issues/7441

Author: agenerette (Anthony Generette)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux]


Hi,

I reported this under issue #7428 which was closed with the 
recommendation that I move to 1.9.3 and see if the problem persists.

Well, the problem, now, is that though I've installed 1.9.3, 1.8 is 
still in place and I don't know how to change the shebang header
in my scripts such that they point to the newer version.  the current 
header causes 1.8 to be used, which ends in the segfault
that I mentioned in issue #7428:


# which ruby
/usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby
# head /home/helib/change_pkg/buildQA.rb
#!/usr/bin/env ruby

# Logging library
require 'logger'

# Date/time library
require 'date'

# Library for smtp
require 'net/smtp'
Posted by Nobuyoshi Nakada (nobu)
on 2013-01-27 03:13
(Received via mailing list)
Issue #7441 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Third Party's Issue

Ask RVM project about installation problem with RVM.
----------------------------------------
Bug #7441: Segmentation Fault generated with 1.9.3 installed by 
library1.8.so.1.8.7
https://bugs.ruby-lang.org/issues/7441#change-35671

Author: agenerette (Anthony Generette)
Status: Third Party's Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux]


Hi,

I reported this under issue #7428 which was closed with the 
recommendation that I move to 1.9.3 and see if the problem persists.

Well, the problem, now, is that though I've installed 1.9.3, 1.8 is 
still in place and I don't know how to change the shebang header
in my scripts such that they point to the newer version.  the current 
header causes 1.8 to be used, which ends in the segfault
that I mentioned in issue #7428:


# which ruby
/usr/local/rvm/rubies/ruby-1.9.3-p327/bin/ruby
# head /home/helib/change_pkg/buildQA.rb
#!/usr/bin/env ruby

# Logging library
require 'logger'

# Date/time library
require 'date'

# Library for smtp
require 'net/smtp'
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.