From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
To: Rainbows! list <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Subject: Re: Weird random Zbatery exception
Date: Fri, 2 Dec 2011 15:40:03 -0800 [thread overview]
Message-ID: <20111202234003.GA27418@dcvr.yhbt.net> (raw)
In-Reply-To: <20111202224711.GA23422-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> diff --git a/lib/zbatery.rb b/lib/zbatery.rb
> index 735b1e6..17d7c06 100644
> --- a/lib/zbatery.rb
> +++ b/lib/zbatery.rb
> @@ -82,6 +82,7 @@ module Rainbows
> trap(:USR1) { Thread.new { reopen_logs } }
> trap(:USR2) { Thread.new { reexec } }
> trap(:HUP) { Thread.new { reexec; stop } }
> + trap(:CHLD, "IGNORE")
On second thought, "IGNORE" will probably break existing code.
trap(:CHLD, "DEFAULT") should be better.
Btw, this issue shouldn't affect Rainbows!, only Zbatery.
Can you confirm?
_______________________________________________
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
next prev parent reply other threads:[~2011-12-02 23:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 19:39 Weird random Zbatery exception Damian Janowski
[not found] ` <CABAijKG5VwHN9p9p_4R4oSruFVH7j3TY0Z6twxLSLpKoxcO8jw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-02 22:47 ` Eric Wong
[not found] ` <20111202224711.GA23422-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-12-02 23:40 ` Eric Wong [this message]
[not found] ` <20111202234003.GA27418-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-12-03 1:46 ` Eric Wong
[not found] ` <20111203014632.GA3639-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-12-05 18:29 ` Damian Janowski
2011-12-05 18:02 ` Damian Janowski
2011-12-05 18:02 ` Damian Janowski
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-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/rainbows/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111202234003.GA27418@dcvr.yhbt.net \
--to=normalperson-rmlxzr9ms24@public.gmane.org \
--cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.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.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/rainbows.git/
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).