From: michael@... Date: 2015-06-21T11:00:51+00:00 Subject: [ruby-core:69696] [Ruby trunk - Bug #10968] [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177 Issue #10968 has been updated by Micha��l Rigart. File stacktrace.txt added Zachary Scott wrote: > Do you know how to reproduce it? > > Rails+Ruby 2.2 isn't enough for me to make a crash. I was able to reduce the frequency by updating some gems. Now, instead of happening in different cases, it only seems to happen on routines that fetch data from an external API's ( yammer and Diigo ). Going to have a look in more detail if I find a common denominator. ---------------------------------------- Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177 https://bugs.ruby-lang.org/issues/10968#change-53072 * Author: Geoffroy Montel * Status: Feedback * Priority: Normal * Assignee: Koichi Sasada * ruby -v: 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- Hello I'm running a Rails 4.2 app in production with chruby 0.3.9 and Ruby 2.2.1p85 on Ubuntu 14.04TLS. I have several unicorn and workers processes. I got this crash on my cron jobs several times Thu Mar 12 08:30:01 CET 2015 /usr/local/share/chruby/chruby-cron-wrapper.sh instatube:clean_up_assets - started by deployer on /bin/bash /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177: [BUG] object allocation during garbage collection phase ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0028 p:---- s:0134 e:000133 CFUNC :peer_cert c:0027 p:0016 s:0131 e:000129 METHOD /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177 c:0026 p:0584 s:0126 e:000125 METHOD /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/http.rb:925 Full stack trace attached. Many thanks in advance for your help, best regards Geoffroy ---Files-------------------------------- object allocation bug ssl.txt (203 KB) stacktrace.txt (215 KB) stacktrace.txt (201 KB) -- https://bugs.ruby-lang.org/