From: Rick Lloyd Date: 2009-02-28T14:57:21+09:00 Subject: [ruby-core:22583] [Bug #1142] /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error Issue #1142 has been updated by Rick Lloyd. I was able to trigger the same bus error with ruby-1.9.1p1. /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error ruby 1.9.1 (2008-10-28 revision 19983) [powerpc-darwin9.6.0] -- control frame ---------- c:0059 p:---- s:0221 b:0221 l:000220 d:000220 CFUNC :initialize c:0058 p:---- s:0219 b:0219 l:000218 d:000218 CFUNC :new c:0057 p:0063 s:0216 b:0216 l:000215 d:000215 CLASS /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:31 c:0056 p:0011 s:0214 b:0214 l:000213 d:000213 CLASS /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:23 c:0055 p:0011 s:0212 b:0212 l:000211 d:000211 CLASS /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:22 c:0054 p:0045 s:0210 b:0210 l:000209 d:000209 TOP /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:21 c:0053 p:---- s:0208 b:0208 l:000207 d:000207 FINISH :set_encoding c:0052 p:---- s:0206 b:0206 l:000205 d:000205 CFUNC :require c:0051 p:0012 s:0202 b:0202 l:000191 d:000201 BLOCK /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156 c:0050 p:0055 s:0200 b:0200 l:000199 d:000199 METHOD /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:521 c:0049 p:0041 s:0192 b:0192 l:000191 d:000191 METHOD /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156 c:0048 p:0059 s:0186 b:0186 l:000185 d:000185 TOP /opt/local/lib/ruby/1.9.1/openssl.rb:22 c:0047 p:---- s:0184 b:0184 l:000183 d:000183 FINISH :set_encoding c:0046 p:---- s:0182 b:0182 l:000181 d:000181 CFUNC :require c:0045 p:0012 s:0178 b:0178 l:000167 d:000177 BLOCK /opt/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.0/lib/active_support/dependencies.rb:156 . . . I traced the cause to be running thin (web server) against ruby where thin was linked with libssl.0.9.dylib and ruby with libssl.0.9.8.dylib. Obvious cockpit error... NOT A RUBY OR THIN BUG. Rick Lloyd ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1142 ---------------------------------------- http://redmine.ruby-lang.org