ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: storrence97@gmail.com
To: ruby-core@ruby-lang.org
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
Date: Fri, 10 Jul 2015 18:09:49 +0000	[thread overview]
Message-ID: <redmine.journal-53369.20150710180949.1e5085c88bde1f56@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-10968.20150312085248@ruby-lang.org

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/

  parent reply	other threads:[~2015-07-10 17:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-10968.20150312085248@ruby-lang.org>
2015-03-12  8:52 ` [ruby-core:68505] [Ruby trunk - Bug #10968] [Open] [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177 g_montel
2015-03-30 11:40 ` [ruby-core:68687] [Ruby trunk - Bug #10968] [Feedback] " Martin.Bosslet
2015-03-30 19:48 ` [ruby-core:68698] [Ruby trunk - Bug #10968] " dmarkow
2015-06-13  7:51 ` [ruby-core:69565] " ko1
2015-06-15 13:59 ` [ruby-core:69591] " michael
2015-06-15 23:02 ` [ruby-core:69593] " e
2015-06-21 11:00 ` [ruby-core:69696] " michael
2015-06-21 12:30 ` [ruby-core:69697] " nobu
2015-07-10 18:09 ` storrence97 [this message]
2015-07-10 18:10 ` [ruby-core:69943] " storrence97
2015-07-11  0:11 ` [ruby-core:69946] " nobu
2015-07-11  0:11 ` [ruby-core:69947] " nobu
2015-07-13 14:11 ` [ruby-core:69956] " kechinoff
2015-07-23 20:01 ` [ruby-core:70106] " kechinoff
2015-08-04 17:09 ` [ruby-core:70242] " bmishkin
2015-08-04 22:31 ` [ruby-core:70245] " nobu
2015-08-21 15:32 ` [ruby-core:70521] [Ruby trunk - Bug #10968] [Closed] " ko1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.journal-53369.20150710180949.1e5085c88bde1f56@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).