Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: "Lin Jen-Shin (godfat)" <godfat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: "Rainbows! list" <rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org>
Cc: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>,
	"Lin Jen-Shin \(godfat\)"
	<godfat-hOE/xeEBYYIdnm+yROfE0A@public.gmane.org>
Subject: Re: Weird app error: uninitialized fiber (FiberError)
Date: Fri, 30 Dec 2011 08:55:11 +0800	[thread overview]
Message-ID: <CANhhkiGe7Eqw1CupBY0JSkzD1MMuuX6aN7hUGoMHK3F43fcbCA@mail.gmail.com> (raw)
In-Reply-To: <20111230004413.GA12870-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>

On Fri, Dec 30, 2011 at 8:44 AM, Eric Wong <normalperson@yhbt.net> wrote:
> This looks like a Ruby bug, possibly related to combining Fibers with
> fork()...
>
> Can you reproduce this with zbatery?  (zbatery is Rainbows!, without fork()),
> just s/rainbows/zbatery/ in the command-line).
>
> This may be related to https://bugs.ruby-lang.org/issues/5700

Thanks for the quick response.

I can reproduce this under zbatery as well, so I guess this is
not related to fork()? My ruby and gem versions:

ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]
zbatery (4.1.2)
rainbows (4.3.1)
unicorn (4.1.1)
cool.io (1.1.0)

I am not sure if I should be happy if this is really a ruby's bug.
I thought I just couldn't figure out how do fibers work, looking
through a lot of sources and doing a lot of experiments.
_______________________________________________
Rainbows! mailing list - rainbows-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying

  parent reply	other threads:[~2011-12-30  1:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-30  0:28 Weird app error: uninitialized fiber (FiberError) Lin Jen-Shin (godfat)
     [not found] ` <CAA2_N1vcNCgKKr8RQ7QDmsudShHD6g5ONnAhzCxocDyBkTesVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-30  0:44   ` Eric Wong
     [not found]     ` <20111230004413.GA12870-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-12-30  0:55       ` Lin Jen-Shin (godfat) [this message]
     [not found]         ` <CANhhkiGe7Eqw1CupBY0JSkzD1MMuuX6aN7hUGoMHK3F43fcbCA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-12-30  1:35           ` Eric Wong
     [not found]             ` <20111230013547.GA30808-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2011-12-30  2:20               ` Lin Jen-Shin (godfat)
2011-12-30 17:03               ` Lin Jen-Shin (godfat)

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=CANhhkiGe7Eqw1CupBY0JSkzD1MMuuX6aN7hUGoMHK3F43fcbCA@mail.gmail.com \
    --to=godfat-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=godfat-hOE/xeEBYYIdnm+yROfE0A@public.gmane.org \
    --cc=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).