From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 8523019601DF for ; Sat, 11 Jul 2015 02:42:29 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 87037B5D932 for ; Sat, 11 Jul 2015 03:10:02 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id B57BB97A827 for ; Sat, 11 Jul 2015 03:10:02 +0900 (JST) X-Virus-Scanned: amavisd-new at nagaokaut.ac.jp Authentication-Results: funfun.nagaokaut.ac.jp (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=sendgrid.me Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gm90odOry7Td for ; Sat, 11 Jul 2015 03:10:02 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 4EFBA97A826 for ; Sat, 11 Jul 2015 03:10:02 +0900 (JST) Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 069C795243A for ; Sat, 11 Jul 2015 03:10:01 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id C59BF120498; Sat, 11 Jul 2015 03:09:58 +0900 (JST) X-Original-To: ruby-core@ruby-lang.org Delivered-To: ruby-core@ruby-lang.org Received: from o10.shared.sendgrid.net (o10.shared.sendgrid.net [173.193.132.135]) by neon.ruby-lang.org (Postfix) with ESMTPS id 78127120421 for ; Sat, 11 Jul 2015 03:09:55 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.me; h=from:to:references:subject:mime-version:content-type:content-transfer-encoding:list-id; s=smtpapi; bh=gqkykzs3ORZUiE0CYWZwmPe6tI8=; b=dTBhaTrmMAgJeTd97H 20QwWnu2qJWnJXnwGNBKyueCz0KnrwLwN4w8sfFzJlYcrMCrOyfsvgl0eyV4Ydse RymALH1svRMjAHCZwGIU8HelCgOEfle9OaevDP3D7AlJBiboMeuTie5GynfkrqBK sHbbxpziohQ5spbRqnXkoU6ts= Received: by filter0835p1mdw1.sendgrid.net with SMTP id filter0835p1mdw1.7693.55A00A6D1D 2015-07-10 18:09:50.267131653 +0000 UTC Received: from herokuapp.com (ec2-54-204-121-14.compute-1.amazonaws.com [54.204.121.14]) by ismtpd-001 (SG) with ESMTP id 14e7928be23.5ddd.27269 Fri, 10 Jul 2015 18:09:50 +0000 (UTC) Date: Fri, 10 Jul 2015 18:09:49 +0000 From: storrence97@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 44559 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10968 X-Redmine-Issue-Author: geoffroy X-Redmine-Issue-Assignee: ko1 X-Redmine-Sender: grey-owl X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS4qaIfhV6G5D7494K/PJKxU2fu+Z7yO2pS56c 58j1H0jtEaV9Gk/H6lPg05y/zzoGFWamh59cLNFfO80Wf1fOvE1Q59pYZ+ut0wqFfF6aU+hivvD0KY IvCOhSLdofd6OZFrhfPcMYPUqvH92Fd4baLm X-ML-Name: ruby-core X-Mail-Count: 69942 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 X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/