From: Eric Hodel Date: 2004-12-05T08:40:48+09:00 Subject: Re: OpenSSL bus error if no args to PKey::RSA.new, bug? On 04 Dec 2004, at 08:46, Sam Roberts wrote: > uname -a > > Darwin ensemble.local. 6.8 Darwin Kernel Version 6.8: Wed Sep 10 > 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power > Macintosh powerpc > > $ ruby18 exossl.rb > /usr/local/lib/ruby/1.8/pp.rb:290: [BUG] Bus Error > ruby 1.8.2 (2004-11-12) [powerpc-darwin6.8] > > Abort trap > > $ cat exossl.rb > require 'openssl' > require 'pp' > > include OpenSSL > > pp PKey::RSA.new I think I have 1.8-p3 installed, but I'm not sure because yours is 6 days newer. Oh, and I'm on 10.3. $ ruby require 'openssl' require 'pp' include OpenSSL pp PKey::RSA.new -----BEGIN RSA PUBLIC KEY----- MAA= -----END RSA PUBLIC KEY----- $ ruby -v ruby 1.8.2 (2004-11-06) [powerpc-darwin7.6.0]