From: storrence97@... Date: 2015-07-10T18:09:49+00:00 Subject: [ruby-core:69942] [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 Steve Torrence. File crash_thin.txt added I have recently experienced two crashes (stack traces attached) that appear similar to Mr. Rigart's. Both appear to involve creation of a new array in methods called indirectly from the block passed to Thread.new. Both occurred when running cucumber tests in a rails app. Unfortunately I haven't figured out how to reproduce them. crash_webrick.txt happened under rails 4.1.6 when using webrick as the http server for the tests. crash_thin.txt happened under rails 4.1.11 when using thin as the http server for the tests. ---------------------------------------- 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-53369 * 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) crash_thin.txt (358 KB) -- https://bugs.ruby-lang.org/