https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112009-02-28T14:58:23ZRuby Issue Tracking SystemRuby master - Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Errorhttps://redmine.ruby-lang.org/issues/1142?journal_id=33882009-02-28T14:58:23Zrick (Rick Lloyd)Richard.T.Lloyd@gmail.com
<ul></ul><p>=begin<br>
I was able to trigger the same bus error with ruby-1.9.1p1.</p>
<p>/opt/local/lib/ruby/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error<br>
ruby 1.9.1 (2008-10-28 revision 19983) [powerpc-darwin9.6.0]</p>
<p>-- control frame ----------<br>
c:0059 p:---- s:0221 b:0221 l:000220 d:000220 CFUNC :initialize<br>
c:0058 p:---- s:0219 b:0219 l:000218 d:000218 CFUNC :new<br>
c:0057 p:0063 s:0216 b:0216 l:000215 d:000215 CLASS /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:31<br>
c:0056 p:0011 s:0214 b:0214 l:000213 d:000213 CLASS /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:23<br>
c:0055 p:0011 s:0212 b:0212 l:000211 d:000211 CLASS /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:22<br>
c:0054 p:0045 s:0210 b:0210 l:000209 d:000209 TOP /opt/local/lib/ruby/1.9.1/openssl/ssl.rb:21<br>
c:0053 p:---- s:0208 b:0208 l:000207 d:000207 FINISH :set_encoding<br>
c:0052 p:---- s:0206 b:0206 l:000205 d:000205 CFUNC :require<br>
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<br>
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<br>
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<br>
c:0048 p:0059 s:0186 b:0186 l:000185 d:000185 TOP /opt/local/lib/ruby/1.9.1/openssl.rb:22<br>
c:0047 p:---- s:0184 b:0184 l:000183 d:000183 FINISH :set_encoding<br>
c:0046 p:---- s:0182 b:0182 l:000181 d:000181 CFUNC :require<br>
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<br>
.<br>
.<br>
.</p>
<p>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.</p>
<p>Obvious cockpit error... NOT A RUBY OR THIN BUG.</p>
<p>Rick Lloyd<br>
=end</p> Ruby master - Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Errorhttps://redmine.ruby-lang.org/issues/1142?journal_id=59272009-09-21T01:54:18Zmarcandre (Marc-Andre Lafortune)marcandre-ruby-core@marc-andre.ca
<ul><li><strong>Category</strong> set to <i>lib</i></li><li><strong>Assignee</strong> set to <i>gotoyuzo (GOTOU Yuuzou)</i></li></ul><p>=begin</p>
<p>=end</p> Ruby master - Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Errorhttps://redmine.ruby-lang.org/issues/1142?journal_id=101712010-04-14T03:10:41Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Assignee</strong> changed from <i>gotoyuzo (GOTOU Yuuzou)</i> to <i>mame (Yusuke Endoh)</i></li></ul><p>=begin<br>
Hi, Ricard</p>
<p>2009/2/12 Ricard Forniol Agusti <a href="mailto:redmine@ruby-lang.org" class="email">redmine@ruby-lang.org</a>:</p>
<blockquote>
<p>After executing ruby19 test.rb of the project: git://rubyforge.org/dram.git</p>
</blockquote>
<p>I could not reproduce with trunk on Linux.<br>
Can you still reproduce this?<br>
If so, does the crash occur just by require "openssl"?</p>
<p>2009/2/28 Rick Lloyd <a href="mailto:redmine@ruby-lang.org" class="email">redmine@ruby-lang.org</a>:</p>
<blockquote>
<p>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.</p>
<p>Obvious cockpit error... NOT A RUBY OR THIN BUG.</p>
</blockquote>
<p>Ricard, could you confirm this?</p>
<p>If you don't answer, I'm sorry but I'll close this ticket.</p>
<p>--<br>
Yusuke ENDOH <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a><br>
=end</p> Ruby master - Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Errorhttps://redmine.ruby-lang.org/issues/1142?journal_id=104912010-04-23T19:31:05Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>3</i></li></ul><p>=begin</p>
<p>=end</p> Ruby master - Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Errorhttps://redmine.ruby-lang.org/issues/1142?journal_id=109442010-05-11T22:25:47Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Rejected</i></li></ul><p>=begin</p>
<p>=end</p>