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 71CC917D788E for ; Sat, 11 Jul 2015 08:43:56 +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 3CB8CB5D8AD for ; Sat, 11 Jul 2015 09:11:32 +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 3349D97A84E for ; Sat, 11 Jul 2015 09:11:33 +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 T9nJzFZgxsex for ; Sat, 11 Jul 2015 09:11:33 +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 EBC1397A820 for ; Sat, 11 Jul 2015 09:11:32 +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 D0C84952439 for ; Sat, 11 Jul 2015 09:11:31 +0900 (JST) Received: from [221.186.184.76] (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 7D83B1204F5; Sat, 11 Jul 2015 09:11:30 +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 03AB2120400 for ; Sat, 11 Jul 2015 09:11:26 +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=fion/rcxJNwfNjBTCb4c4QmQwsg=; b=gio2SvvWAqLgoh6eH+ dHYWPcKuSX/T+w1Q3FDOZCSIczRomkLv+Zqln3oORwQ4DscoPxaEOiXSw0TniftA VpAG3nIClJ38es6vvYhaHtCOiQqvqqiyARSya5FsCx9uSh8RPvaZnjQXKBjnIqEt 5Ae9vB0bTksPRGqfUMTom7Gvk= Received: by filter0660p1mdw1.sendgrid.net with SMTP id filter0660p1mdw1.2629.55A05F294 2015-07-11 00:11:21.972694748 +0000 UTC Received: from herokuapp.com (ec2-54-91-161-184.compute-1.amazonaws.com [54.91.161.184]) by ismtpd-050 (SG) with ESMTP id 14e7a73bb3e.104b.67ab Sat, 11 Jul 2015 00:11:21 +0000 (UTC) Date: Sat, 11 Jul 2015 00:11:21 +0000 From: nobu@ruby-lang.org 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: 44563 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 10968 X-Redmine-Issue-Author: geoffroy X-Redmine-Issue-Assignee: ko1 X-Redmine-Sender: nobu 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS7tNxPat/tesKB7lDj1qVGqxZd2sKTsBRVjpT 9mne0rf1XWRlS1vPycODcOmV61mZ0wNgQZUD1ACrtLGokea4ujFZgxeI+5GwatjSLJ6YnCmw9CH9N+ BFIm3SoM+neHf7E= X-ML-Name: ruby-core X-Mail-Count: 69946 Subject: [ruby-core:69946] [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 Nobuyoshi Nakada. `crash_thin.txt` seems related to EventMachine. Maybe it didn't acquire GVL properly. ---------------------------------------- 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-53373 * 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) crash_webrick.txt (346 KB) -- https://bugs.ruby-lang.org/