From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: Weird random Zbatery exception Date: Fri, 2 Dec 2011 17:46:32 -0800 Message-ID: <20111203014632.GA3639@dcvr.yhbt.net> References: <20111202224711.GA23422@dcvr.yhbt.net> <20111202234003.GA27418@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322876806 7300 80.91.229.12 (3 Dec 2011 01:46:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 01:46:46 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Sat Dec 03 02:46:42 2011 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: <20111202234003.GA27418-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:306 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWegc-0004Qy-5n for gclrrg-rainbows-talk@m.gmane.org; Sat, 03 Dec 2011 02:46:42 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 683321858367; Fri, 2 Dec 2011 20:46:41 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 4DFE91858300 for ; Fri, 2 Dec 2011 20:46:31 -0500 (EST) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8B2D61F4DD; Sat, 3 Dec 2011 01:46:30 +0000 (UTC) Eric Wong wrote: > Eric Wong wrote: > > + trap(:CHLD, "IGNORE") > > On second thought, "IGNORE" will probably break existing code. > trap(:CHLD, "DEFAULT") should be better. I just pushed out Zbatery 4.1.1.2.g3693 (prerelease) to RubyGems.org with trap(:CHLD,"DEFAULT") + test cases. You can install it with: gem install --pre zbatery Let me know if it fixes your problem since I've been meaning to release for 90d1d769b9af83d6d1 anyways (unlink oldbin pid file during graceful shutdown). (I also found https://redmine.ruby-lang.org/issues/5700 while working on this :o) _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying