From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.227.175.12 with SMTP id v12csp18861wbz; Fri, 3 May 2013 06:19:54 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncBDI6JI723IOBB57SR2GAKGQEETKPKTA@googlegroups.com designates 10.49.1.197 as permitted sender) client-ip=10.49.1.197 Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncBDI6JI723IOBB57SR2GAKGQEETKPKTA@googlegroups.com designates 10.49.1.197 as permitted sender) smtp.mail=rack-devel+bncBDI6JI723IOBB57SR2GAKGQEETKPKTA@googlegroups.com; dkim=pass header.i=@googlegroups.com X-Received: from mr.google.com ([10.49.1.197]) by 10.49.1.197 with SMTP id 5mr4027919qeo.24.1367587193928 (num_hops = 1); Fri, 03 May 2013 06:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:x-received:date:from:to :message-id:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=fzyQLgLLj7BC0E1PyFBTcf7VcVpxSxLeAsPMSJmvFwY=; b=DSbO2wz8oqMUe2/R8JRV9yI4dB9+RrkTa3PHlLVJ/ll4g0ip9WAjD1xCOWbjssZyUY MXJHEoFdYizP84xY7yTuKQcCStNLSlkdvxux3cC9N52T903QF3s3QJAssqVRnxv7gf6o 9IPSycCByI0sfKwzM0s3szJjgjQtx2LvxEFcQWuScuNgx6qugX1glw9lwhcsE9BEfN9Q OTXRoV/Od5o9TjR2Nnhwlsv8OcmGYh7Syl6MDO8NA6rxsXB4ji7uevuduQjY5OhZOVFD bR7EfAK210HNBHomhufV+z2/GU0g71XubrhpH0slFOeYS60oE4LYS87ONTUtj0sMFmyU deEQ== X-Received: by 10.49.1.197 with SMTP id 5mr928348qeo.24.1367587193485; Fri, 03 May 2013 06:19:53 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.49.37.33 with SMTP id v1ls1707671qej.76.gmail; Fri, 03 May 2013 06:19:51 -0700 (PDT) X-Received: by 10.224.215.194 with SMTP id hf2mr17437721qab.0.1367587191124; Fri, 03 May 2013 06:19:51 -0700 (PDT) Received: by 10.224.181.200 with SMTP id bz8msqab; Thu, 2 May 2013 23:04:23 -0700 (PDT) X-Received: by 10.49.72.130 with SMTP id d2mr869437qev.42.1367561063645; Thu, 02 May 2013 23:04:23 -0700 (PDT) Date: Thu, 2 May 2013 23:04:23 -0700 (PDT) From: Johan Buts To: rack-devel@googlegroups.com Message-Id: Subject: Possible threading issues with Rack::Mount MIME-Version: 1.0 X-Original-Sender: johan.bolleke@gmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: multipart/alternative; boundary="----=_Part_375_12224469.1367561063231" ------=_Part_375_12224469.1367561063231 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I would like to refer to intridea/grape#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. ------=_Part_375_12224469.1367561063231 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

Hi all,

I would like to refer to intridea/grape#281 for the issue we were experiencing a cou= ple of days ago with running grape (with has rack-mount as a dependency) an= d 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 locate= d.

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 whi= ch the stacktrace is complaining about. I think in line 545 it could go wro= ng if tokenizer is not loaded yet.

Any feedback?

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