rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
From: Johan Buts <johan.bolleke@gmail.com>
To: rack-devel@googlegroups.com
Subject: Possible threading issues with Rack::Mount
Date: Thu, 2 May 2013 23:04:23 -0700 (PDT)	[thread overview]
Message-ID: <f0a7f454-e5f6-4fd7-89f9-56efb89e52b5@googlegroups.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]

Hi all,

I would like to refer to intridea/grape#281<https://github.com/intridea/grape/issues/281> for 
the issue we were experiencing a couple of days ago with running grape 
(with has rack-mount as a dependency) and puma as a webserver. After a 
restart we were able to fix it but it seems to us that Rack::Mount could 
have some threading issues. I am not an expert at this and i can only try 
to pinpoint where the potential issue is located.

It seems that regin.rb is autoloading the Parser class ('regin/parser') and 
at the end of the parser.rb it requires 'regin/tokenizer' which then 
defines the scan_str method which the stacktrace is complaining about. I 
think in line 545 it could go wrong if tokenizer is not loaded yet.

Any feedback?


You received this message because you are subscribed to the Google Groups "Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[-- Attachment #2: Type: text/html, Size: 2123 bytes --]

                 reply	other threads:[~2013-05-03 13:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-list from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0a7f454-e5f6-4fd7-89f9-56efb89e52b5@googlegroups.com \
    --to=rack-devel@googlegroups.com \
    --subject='Re: Possible threading issues with Rack::Mount' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).