https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-04-26T02:19:52ZRuby Issue Tracking SystemRuby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=166342011-04-26T02:19:52Zderyldoucette (Deryl Doucette)
<ul><li><strong>File</strong> <a href="/attachments/1621">ruby_2011-04-25-125500_pgpmbp.crash</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/1621/ruby_2011-04-25-125500_pgpmbp.crash">ruby_2011-04-25-125500_pgpmbp.crash</a> added</li></ul><p>=begin<br>
This is the Ruby crashlog on Mac OS X 10.6.7 (on a 2011 Macbook Pro with quad core CPU and 8GB 1333MHz RAM in case you need that detail)</p>
<p>=end</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=166372011-04-26T02:40:27Zsorah (Sorah Fukumori)her@sorah.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>=begin<br>
could you attach a crash log in ~/Library/Logs/CrashReporter ?</p>
<p>P.S.: I don't recommend paste in textbox because it makes difficult to read. so I recommend add log as attachment.<br>
=end</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=166382011-04-26T02:41:13Zsorah (Sorah Fukumori)her@sorah.jp
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li></ul><p>=begin<br>
oops, I missed your crashlog post. sorry.<br>
=end</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=166402011-04-26T03:05:29Zderyldoucette (Deryl Doucette)
<ul></ul><p>=begin<br>
Shota Fukumori wrote:</p>
<blockquote>
<p>could you attach a crash log in ~/Library/Logs/CrashReporter ?</p>
<p>P.S.: I don't recommend paste in textbox because it makes difficult to read. so I recommend add log as attachment.</p>
</blockquote>
<p>I have added ruby-debug19 to the mix. would you like me to rerun and repost the output from <em>that</em>?<br>
=end</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=166412011-04-26T03:06:15Zderyldoucette (Deryl Doucette)
<ul></ul><p>=begin<br>
Shota Fukumori wrote:</p>
<blockquote>
<p>could you attach a crash log in ~/Library/Logs/CrashReporter ?</p>
<p>P.S.: I don't recommend paste in textbox because it makes difficult to read. so I recommend add log as attachment.</p>
</blockquote>
<p>Yeha I don't exactly like that either. I will start using gist.github.com and just post the link. Selecting Shell as the tet type makes it look fine.<br>
=end</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=173992011-05-31T23:23:20ZPeterBell (Peter Bell)peter@pbell.com
<ul></ul><p>Just some additional info. I have a very similar issue.</p>
<p>I've got a very simple OmniAuth install. I've registered the app with<br>
facebook and the login works fine. When Facebook runs it's callback<br>
and tries to pull up localhost:3000/auth/facebook/callback, I get a<br>
"page can't be displayed" in my browser and in the terminal window<br>
where I'm running "rails server" it crashes with a Ruby SegFault.</p>
<p>Here's the gist: <a href="https://gist.github.com/1000515" class="external">https://gist.github.com/1000515</a></p>
<p>Bottom line:<br>
Started GET "/auth/facebook" for 127.0.0.1 at 2011-05-31 09:32:48<br>
-0400<br>
/Users/peterbell/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/<br>
http.rb:678: [BUG] Segmentation fault<br>
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]</p>
<p>FWIW, this thread appears to be a related issue with a number of people<br>
posting that they're having a similar problem:<br>
<a href="https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f" class="external">https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f</a></p>
<p>And I can replicate that if I pull the postgres gem and<br>
replace it with SQLite, change the dev database setting to use SQLite<br>
and re-run bundle install, the segfault goes away.</p>
<p>Hope the additional information is of some help.</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=179782011-06-15T02:17:15Zruanltbg (Ruan Carlos)ruanltbg@gmail.com
<ul></ul><p>I have the same error here with rails 3.1-rc4.<br>
This bug is in WEBrick server, i have installed the Thin server and it works.</p>
<blockquote>
<p>gem install thin</p>
</blockquote>
<p>Att</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=184562011-06-26T18:49:26Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>nahi (Hiroshi Nakamura)</i></li></ul> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=184682011-06-26T19:03:58Znahi (Hiroshi Nakamura)nakahiro@gmail.com
<ul><li><strong>Target version</strong> set to <i>1.9.3</i></li></ul> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=185452011-06-27T11:53:06Znahi (Hiroshi Nakamura)nakahiro@gmail.com
<ul><li><strong>ruby -v</strong> changed from <i>ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.3]</i> to <i>-</i></li></ul><p>Hi,</p>
<p>On Tue, Apr 26, 2011 at 02:40, Shota Fukumori <a href="mailto:sorah@tubusu.net" class="email">sorah@tubusu.net</a> wrote:</p>
<blockquote>
<p>Issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: [BUG] Segementation fault reported (Closed)" href="https://redmine.ruby-lang.org/issues/4611">#4611</a> has been updated by Shota Fukumori.</p>
</blockquote>
<blockquote>
<p>could you attach a crash log in ~/Library/Logs/CrashReporter ?</p>
</blockquote>
<p>Shota, do you mind helping us to add above notification to crash log<br>
reporter of CRuby if it runs on OS X? Lack of C level backtrace<br>
information makes us hard to find the culprit.</p>
<p>Regards,<br>
// NaHi</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=185602011-06-27T16:53:07Znahi (Hiroshi Nakamura)nakahiro@gmail.com
<ul></ul><p>On Mon, Jun 27, 2011 at 11:32, Hiroshi Nakamura <a href="mailto:nakahiro@gmail.com" class="email">nakahiro@gmail.com</a> wrote:</p>
<blockquote>
<blockquote>
<p>could you attach a crash log in ~/Library/Logs/CrashReporter ?</p>
</blockquote>
<p>Shota, do you mind helping us to add above notification to crash log<br>
reporter of CRuby if it runs on OS X? Lack of C level backtrace<br>
information makes us hard to find the culprit.</p>
</blockquote>
<p>My bad. We already have it. (r29949)</p>
<p>Regards,<br>
// NaHi</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=191362011-07-13T17:21:37Znahi (Hiroshi Nakamura)nakahiro@gmail.com
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Feedback</i></li></ul><p>Deryl, Peter, I think it's related OpenSSL version conflict. Please see <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Segmentation fault in http.rb (Closed)" href="https://redmine.ruby-lang.org/issues/4875">#4875</a> and <a href="https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686" class="external">https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686</a></p>
<p>Would you please make sure you're using same OpenSSL libraries for every gem you're using?</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=191562011-07-14T22:38:38ZFallen_Zen (Piotr Panasewicz)
<ul></ul><p>Hiroshi Nakamura wrote:</p>
<blockquote>
<p>Deryl, Peter, I think it's related OpenSSL version conflict. Please see <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Segmentation fault in http.rb (Closed)" href="https://redmine.ruby-lang.org/issues/4875">#4875</a> and <a href="https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686" class="external">https://gist.github.com/863523/f367dcad815fad8b77e3ff594bc377dff396ab1f#gistcomment-36686</a></p>
<p>Would you please make sure you're using same OpenSSL libraries for every gem you're using?</p>
</blockquote>
<p>And how can I do that? Having similar issue:</p>
<p>Fallens-MacBook-Pro:trunk Fallen$ stalk config/jobs.rb<br>
Working 3 jobs: [ email.process email.send.answer user.fetch ]<br>
Working email.process (file=/Users/Fallen/Sites/support-app/trunk/tmp/mail_queue/<a href="mailto:E432812B-6294-4DAC-9491-74DB6983F4DD@me.com.eml" class="email">E432812B-6294-4DAC-9491-74DB6983F4DD@me.com.eml</a>)<br>
Finished email.process in 4520ms<br>
Working user.fetch (email_address=*****.<em><strong>@me.com ticket_id=1 delay=10)<br>
Looking for user by email: *****.</strong></em>@me.com<br>
/usr/local/lib/ruby/1.9.1/net/http.rb:678: [BUG] Segmentation fault<br>
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.8.0]</p>
<h2>-- control frame ----------<br>
c:0033 p:---- s:0182 b:0182 l:000181 d:000181 CFUNC :connect<br>
c:0032 p:0011 s:0179 b:0179 l:002640 d:000178 BLOCK /usr/local/lib/ruby/1.9.1/net/http.rb:678<br>
c:0031 p:0031 s:0177 b:0177 l:000176 d:000176 METHOD /usr/local/lib/ruby/1.9.1/timeout.rb:44<br>
c:0030 p:0026 s:0165 b:0165 l:000164 d:000164 METHOD /usr/local/lib/ruby/1.9.1/timeout.rb:87<br>
c:0029 p:0444 s:0159 b:0159 l:002640 d:002640 METHOD /usr/local/lib/ruby/1.9.1/net/http.rb:678<br>
c:0028 p:0011 s:0151 b:0151 l:000150 d:000150 METHOD /usr/local/lib/ruby/1.9.1/net/http.rb:637<br>
c:0027 p:0048 s:0148 b:0148 l:000147 d:000147 METHOD /usr/local/lib/ruby/1.9.1/net/http.rb:626<br>
c:0026 p:0646 s:0145 b:0145 l:000144 d:000144 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:306<br>
c:0025 p:0024 s:0125 b:0125 l:000124 d:000124 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:769<br>
c:0024 p:0047 s:0119 b:0119 l:001ef0 d:000118 BLOCK /usr/local/lib/ruby/1.9.1/open-uri.rb:203<br>
c:0023 p:---- s:0117 b:0117 l:000116 d:000116 FINISH<br>
c:0022 p:---- s:0115 b:0115 l:000114 d:000114 CFUNC :catch<br>
c:0021 p:0491 s:0111 b:0111 l:001ef0 d:001ef0 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:201<br>
c:0020 p:0328 s:0097 b:0097 l:000096 d:000096 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:146<br>
c:0019 p:0022 s:0086 b:0086 l:000085 d:000085 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:671<br>
c:0018 p:0096 s:0081 b:0081 l:000080 d:000080 METHOD /usr/local/lib/ruby/1.9.1/open-uri.rb:33<br>
c:0017 p:0151 s:0074 b:0074 l:000073 d:000073 METHOD /Users/Fallen/Sites/support-app/trunk/app/models/user.rb:45<br>
c:0016 p:0024 s:0062 b:0062 l:0010d8 d:000061 BLOCK /Users/Fallen/Sites/support-app/trunk/config/jobs.rb:37<br>
c:0015 p:---- s:0057 b:0057 l:000056 d:000056 FINISH<br>
c:0014 p:---- s:0055 b:0055 l:000054 d:000054 CFUNC :call<br>
c:0013 p:0049 s:0051 b:0051 l:001ec0 d:000050 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:83<br>
c:0012 p:0109 s:0049 b:0049 l:000390 d:000390 METHOD /usr/local/lib/ruby/1.9.1/timeout.rb:57<br>
c:0011 p:0125 s:0037 b:0037 l:001ec0 d:001ec0 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:77<br>
c:0010 p:0009 s:0029 b:0029 l:000021 d:000028 BLOCK /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64<br>
c:0009 p:---- s:0027 b:0027 l:000026 d:000026 FINISH<br>
c:0008 p:---- s:0025 b:0025 l:000024 d:000024 CFUNC :loop<br>
c:0007 p:0026 s:0022 b:0022 l:000021 d:000021 METHOD /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64<br>
c:0006 p:0205 s:0018 b:0018 l:000370 d:000370 TOP /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/bin/stalk:21<br>
c:0005 p:---- s:0013 b:0013 l:000012 d:000012 FINISH<br>
c:0004 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC :load<br>
c:0003 p:0127 s:0007 b:0007 l:0017a8 d:000e00 EVAL /opt/local/bin/stalk:19<br>
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH<br>
c:0001 p:0000 s:0002 b:0002 l:0017a8 d:0017a8 TOP</h2>
<p>-- Ruby level backtrace information ----------------------------------------<br>
/opt/local/bin/stalk:19:in <code><main>' /opt/local/bin/stalk:19:in </code>load'<br>
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/bin/stalk:21:in <code><top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64:in </code>work'<br>
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64:in <code>loop' /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:64:in </code>block in work'<br>
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:77:in <code>work_one_job' /usr/local/lib/ruby/1.9.1/timeout.rb:57:in </code>timeout'<br>
/usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:83:in <code>block in work_one_job' /usr/local/lib/ruby/gems/1.9.1/gems/stalker-0.9.0/lib/stalker.rb:83:in </code>call'<br>
/Users/Fallen/Sites/support-app/trunk/config/jobs.rb:37:in <code>block in <top (required)>' /Users/Fallen/Sites/support-app/trunk/app/models/user.rb:45:in </code>fetch'<br>
/usr/local/lib/ruby/1.9.1/open-uri.rb:33:in <code>open' /usr/local/lib/ruby/1.9.1/open-uri.rb:671:in </code>open'<br>
/usr/local/lib/ruby/1.9.1/open-uri.rb:146:in <code>open_uri' /usr/local/lib/ruby/1.9.1/open-uri.rb:201:in </code>open_loop'<br>
/usr/local/lib/ruby/1.9.1/open-uri.rb:201:in <code>catch' /usr/local/lib/ruby/1.9.1/open-uri.rb:203:in </code>block in open_loop'<br>
/usr/local/lib/ruby/1.9.1/open-uri.rb:769:in <code>buffer_open' /usr/local/lib/ruby/1.9.1/open-uri.rb:306:in </code>open_http'<br>
/usr/local/lib/ruby/1.9.1/net/http.rb:626:in <code>start' /usr/local/lib/ruby/1.9.1/net/http.rb:637:in </code>do_start'<br>
/usr/local/lib/ruby/1.9.1/net/http.rb:678:in <code>connect' /usr/local/lib/ruby/1.9.1/timeout.rb:87:in </code>timeout'<br>
/usr/local/lib/ruby/1.9.1/timeout.rb:44:in <code>timeout' /usr/local/lib/ruby/1.9.1/net/http.rb:678:in </code>block in connect'<br>
/usr/local/lib/ruby/1.9.1/net/http.rb:678:in `connect'</p>
<p>-- C level backtrace information -------------------------------------------</p>
<p>[NOTE]<br>
You may have encountered a bug in the Ruby interpreter or extension libraries.<br>
Bug reports are welcome.<br>
For details: <a href="http://www.ruby-lang.org/bugreport.html" class="external">http://www.ruby-lang.org/bugreport.html</a></p>
<p>Abort trap</p>
<p>Fallens-MacBook-Pro:mysql2 Fallen$ otool -L /opt/local/lib/ruby1.9/gems/1.9.1/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle<br>
/opt/local/lib/ruby1.9/gems/1.9.1/gems/mysql2-0.2.11/lib/mysql2/mysql2.bundle:<br>
/opt/local/lib/libruby.1.9.1.dylib (compatibility version 1.9.1, current version 1.9.1)<br>
/opt/local/lib/mysql5/mysql/libmysqlclient_r.16.dylib (compatibility version 17.0.0, current version 17.0.0)<br>
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)<br>
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)<br>
/opt/local/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)<br>
/opt/local/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)<br>
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)<br>
Fallens-MacBook-Pro:mysql2 Fallen$ otool -L /usr/local/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle<br>
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle:<br>
/usr/local/lib/libruby.1.9.1.dylib (compatibility version 1.9.1, current version 1.9.1)<br>
/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)<br>
/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, current version 0.9.8)<br>
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)<br>
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=191642011-07-15T13:34:09Znahi (Hiroshi Nakamura)nakahiro@gmail.com
<ul></ul><p>Piotr, thanks for feedback. Nice, it includes both OpenSSL 0.9.8 (from ruby) and 1.0.0 (from mysql).</p>
<p>Please try to compile your ruby (/usr/local/bin/ruby) with OpenSSL 1.0.0. I don't know much about Mac OS X but giving '--with-openssl-include=/path/to/ssl/include --with-openssl-lib=/path/to/ssl/lib' to configure works normally.</p>
<p>It could be '--with-openssl-include=/path/to/ssl/include --with-openssl-lib=/path/to/ssl/lib64' for 64bit box but anyway it depends on the system you're using.</p> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=370382013-02-26T10:19:41Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> changed from <i>1.9.3</i> to <i>2.6</i></li></ul> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=686832017-12-25T18:14:59Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Target version</strong> deleted (<del><i>2.6</i></del>)</li></ul> Ruby master - Bug #4611: [BUG] Segementation fault reportedhttps://redmine.ruby-lang.org/issues/4611?journal_id=796342019-07-15T19:31:29Zjeremyevans0 (Jeremy Evans)merch-redmine@jeremyevans.net
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul>