Skip Menu |
 

This queue is for tickets about the Jifty CPAN distribution.

Report information
The Basics
Id: 74120
Status: open
Priority: 0/
Queue: Jifty

People
Owner: Nobody in particular
Requestors: charles.minc [...] wanadoo.fr
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.10518
Fixed in: (no value)



Subject: crash on fork in Jifty::Server
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 257
Download (untitled) / with headers
text/plain 257b
Environment : XP ; Perl 5.12.3 ; jifty 1.10518 Following >jifty server provoke a crash of MS which ask for an error report about the Perl Command Interpreter. The statement which causes the above problem is in Jifty::Server at line 148 : my $pid=fork ;
From tsibley [...] cpan.org Wed Jan 18 10: 11:07 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-3.983 tagged_above=-99.9 required=10 tests=[AWL=-2.083, BAYES_00=-1.9] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-6889-1326899038-1875.74120-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-74120 [...] rt.cpan.org> <rt-3.8.HEAD-6889-1326899038-1875.74120-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4F16E0F3.4020901 [...] cpan.org>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.983
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1E766241381 for <cpan-bug+Jifty [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 10:11:07 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Bsq78CxITKq for <cpan-bug+Jifty [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 10:11:05 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 82E552411DF for <bug-Jifty [...] rt.cpan.org>; Wed, 18 Jan 2012 10:11:05 -0500 (EST)
Received: (qmail 21177 invoked by uid 103); 18 Jan 2012 15:11:04 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Jan 2012 15:11:04 -0000
Received: from vms173001pub.verizon.net (HELO vms173001pub.verizon.net) (206.46.173.1) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 18 Jan 2012 07:11:00 -0800
Received: from mail.zulutango.net ([unknown] [72.94.255.59]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LY000K0W25W0KGG [...] vms173001.mailsrvcs.net> for bug-Jifty [...] rt.cpan.org; Wed, 18 Jan 2012 09:10:57 -0600 (CST)
Received: from [10.1.10.22] (75-147-59-54-NewEngland.hfc.comcastbusiness.net [75.147.59.54]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.zulutango.net (Postfix) with ESMTPSA id 784C91F81CA for <bug-Jifty [...] rt.cpan.org>; Wed, 18 Jan 2012 15:10:44 +0000 (UTC)
Delivered-To: cpan-bug+Jifty [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Return-Path: <tsibley [...] cpan.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Jifty [...] hipster.bestpractical.com
X-RT-Mail-Extension: jifty
Date: Wed, 18 Jan 2012 10:10:43 -0500
X-Spam-Level:
To: bug-Jifty [...] rt.cpan.org
X-Enigmail-Version: 1.3.4
Content-Transfer-Encoding: 7bit
From: Thomas Sibley <tsibley [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-10497-1326899467-91.74120-0-0 [...] rt.cpan.org>
Content-Length: 377
Download (untitled) / with headers
text/plain 377b
On 01/18/2012 10:03 AM, Charles MINC via RT wrote: Show quoted text
> Environment : XP ; Perl 5.12.3 ; jifty 1.10518
Unfortunately, Jifty's compatibility with Windows hasn't been updated in a while since none of the developers use that OS. If you have patches that improve Windows compat, please send them or make pull requests on github: https://github.com/bestpractical/jifty Best, Thomas
From charles.minc [...] wanadoo.fr Wed Jan 18 11: 16:29 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-3.15 tagged_above=-99.9 required=10 tests=[AWL=-1.250, BAYES_00=-1.9] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-10497-1326899468-696.74120-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-74120 [...] rt.cpan.org> <rt-3.8.HEAD-6889-1326899038-1875.74120-4-0 [...] rt.cpan.org> <4F16E0F3.4020901 [...] cpan.org> <rt-3.8.HEAD-10497-1326899468-696.74120-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4F16EFD8.7000402 [...] wanadoo.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.15
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DAF1F241379 for <cpan-bug+jifty [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 11:16:28 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3t4CFHYOdhpL for <cpan-bug+jifty [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 11:16:27 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 28B7A2412BF for <bug-jifty [...] rt.cpan.org>; Wed, 18 Jan 2012 11:16:26 -0500 (EST)
Received: (qmail 28282 invoked by uid 103); 18 Jan 2012 16:16:26 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Jan 2012 16:16:26 -0000
Received: from smtp06.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.128) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 18 Jan 2012 08:16:23 -0800
Received: from [192.168.1.11] ([82.123.123.29]) by mwinf5d41 with ME id P4GK1i0060e9xii034GKPP; Wed, 18 Jan 2012 17:16:19 +0100
Delivered-To: cpan-bug+jifty [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Return-Path: <charles.minc [...] wanadoo.fr>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+jifty [...] hipster.bestpractical.com
X-RT-Mail-Extension: jifty
Date: Wed, 18 Jan 2012 17:14:16 +0100
X-Spam-Level:
To: bug-Jifty [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: Charles <charles.minc [...] wanadoo.fr>
RT-Message-ID: <rt-3.8.HEAD-10497-1326903389-1555.74120-0-0 [...] rt.cpan.org>
Content-Length: 1336
Download (untitled) / with headers
text/plain 1.3k
Seems very strange, the last Jifty running version I used before, was Jifty-091117. Checking back the module Jifty::Script::Server against the two versions they are no differences on the routine sub _fork. Could be a problem between Perl version changing the "fork", but using forker.pl under Perl/eq/fork (under Activestate distri ) works fine ? I'm sorry but I think this problem it's a bit above my knowledges. Anyway, thank you for your answer. Regards. Charles Le 18/01/2012 16:11, Thomas Sibley via RT a écrit : Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=74120> > > On 01/18/2012 10:03 AM, Charles MINC via RT wrote:
>> Environment : XP ; Perl 5.12.3 ; jifty 1.10518
> Unfortunately, Jifty's compatibility with Windows hasn't been updated in > a while since none of the developers use that OS. > > If you have patches that improve Windows compat, please send them or > make pull requests on github: https://github.com/bestpractical/jifty > > Best, > Thomas > >
-- Les mouvements totalitaires avaient moins besoin de l'absence de structure d'une société de masse, que des conditions spécifiques d'une masse atomisée. Hannah Arendt Une idéologie est précisément ce que son nom indique : elle est la logique d’une idée. L’émancipation de la pensée à l’égard de l’expérience. Hannah Arendt
From tsibley [...] cpan.org Wed Jan 18 11: 34:22 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-3.686 tagged_above=-99.9 required=10 tests=[AWL=-1.786, BAYES_00=-1.9] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-10497-1326903389-164.74120-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-74120 [...] rt.cpan.org> <rt-3.8.HEAD-6889-1326899038-1875.74120-4-0 [...] rt.cpan.org> <4F16E0F3.4020901 [...] cpan.org> <rt-3.8.HEAD-10497-1326899468-696.74120-6-0 [...] rt.cpan.org> <4F16EFD8.7000402 [...] wanadoo.fr> <rt-3.8.HEAD-10497-1326903389-164.74120-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4F16F47E.9080102 [...] cpan.org>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -3.686
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 48E352413D5 for <cpan-bug+Jifty [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 11:34:22 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u1JJyP00DmkM for <cpan-bug+Jifty [...] hipster.bestpractical.com>; Wed, 18 Jan 2012 11:34:17 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 5F3A2241383 for <bug-Jifty [...] rt.cpan.org>; Wed, 18 Jan 2012 11:34:17 -0500 (EST)
Received: (qmail 29733 invoked by uid 103); 18 Jan 2012 16:34:16 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 18 Jan 2012 16:34:16 -0000
Received: from vms173017pub.verizon.net (HELO vms173017pub.verizon.net) (206.46.173.17) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Wed, 18 Jan 2012 08:34:14 -0800
Received: from mail.zulutango.net ([unknown] [72.94.255.59]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LY00036B60VXQY0 [...] vms173017.mailsrvcs.net> for bug-Jifty [...] rt.cpan.org; Wed, 18 Jan 2012 10:34:08 -0600 (CST)
Received: from [10.1.10.22] (75-147-59-54-NewEngland.hfc.comcastbusiness.net [75.147.59.54]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.zulutango.net (Postfix) with ESMTPSA id 32F751F81CA for <bug-Jifty [...] rt.cpan.org>; Wed, 18 Jan 2012 16:34:07 +0000 (UTC)
Delivered-To: cpan-bug+Jifty [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Return-Path: <tsibley [...] cpan.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+Jifty [...] hipster.bestpractical.com
X-RT-Mail-Extension: jifty
Date: Wed, 18 Jan 2012 11:34:06 -0500
X-Spam-Level:
To: bug-Jifty [...] rt.cpan.org
X-Enigmail-Version: 1.3.4
Content-Transfer-Encoding: 7bit
From: Thomas Sibley <tsibley [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-6893-1326904462-514.74120-0-0 [...] rt.cpan.org>
Content-Length: 384
Download (untitled) / with headers
text/plain 384b
On 01/18/2012 11:16 AM, Charles MINC via RT wrote: Show quoted text
> Seems very strange, the last Jifty running version I used before, was > Jifty-091117. > Checking back the module Jifty::Script::Server against the two versions > they are no differences > on the routine sub _fork.
0.91117 is pretty old. It's well before Jifty moved to Plack, which might have something to do with it. Thomas
From charles.minc [...] wanadoo.fr Fri Jan 20 09: 31:13 2012
MIME-Version: 1.0
X-Spam-Status: No, score=-2.733 tagged_above=-99.9 required=10 tests=[AWL=-0.833, BAYES_00=-1.9] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-6893-1326904463-37.74120-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-74120 [...] rt.cpan.org> <rt-3.8.HEAD-6889-1326899038-1875.74120-4-0 [...] rt.cpan.org> <4F16E0F3.4020901 [...] cpan.org> <rt-3.8.HEAD-10497-1326899468-696.74120-6-0 [...] rt.cpan.org> <4F16EFD8.7000402 [...] wanadoo.fr> <rt-3.8.HEAD-10497-1326903389-164.74120-5-0 [...] rt.cpan.org> <4F16F47E.9080102 [...] cpan.org> <rt-3.8.HEAD-6893-1326904463-37.74120-6-0 [...] rt.cpan.org>
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <4F197A97.3040902 [...] wanadoo.fr>
Content-Type: multipart/mixed; boundary="------------070301080200030907030502"
X-Spam-Score: -2.733
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 7772024154F for <cpan-bug+jifty [...] hipster.bestpractical.com>; Fri, 20 Jan 2012 09:31:13 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VPS6XoI9amsV for <cpan-bug+jifty [...] hipster.bestpractical.com>; Fri, 20 Jan 2012 09:31:11 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 85A642412C8 for <bug-jifty [...] rt.cpan.org>; Fri, 20 Jan 2012 09:31:11 -0500 (EST)
Received: (qmail 28017 invoked by uid 103); 20 Jan 2012 14:31:10 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 20 Jan 2012 14:31:10 -0000
Received: from smtp06.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.128) by 16.mx.develooper.com (qpsmtpd/0.80/v0.80-19-gf52d165) with ESMTP; Fri, 20 Jan 2012 06:31:07 -0800
Received: from [192.168.1.11] ([82.123.123.29]) by mwinf5d63 with ME id PqX31i00E0e9xii03qX3il; Fri, 20 Jan 2012 15:31:03 +0100
Delivered-To: cpan-bug+jifty [...] hipster.bestpractical.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Return-Path: <charles.minc [...] wanadoo.fr>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+jifty [...] hipster.bestpractical.com
X-RT-Mail-Extension: jifty
Date: Fri, 20 Jan 2012 15:30:47 +0100
X-Spam-Level:
To: bug-Jifty [...] rt.cpan.org
From: Charles <charles.minc [...] wanadoo.fr>
RT-Message-ID: <rt-3.8.HEAD-14882-1327069874-1808.74120-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: utf-8
Content-Length: 1512
Download (untitled) / with headers
text/plain 1.4k
I have run a small application with Dancer and Plack without any problem, so I think the problem is out of concern with this module. I joined a test program which shows we got error when the 'use base qw/Jifty::Script/' and the fork are active as included in Jifty::Script::Server . The package in_empty is introduced only to test against a basic malfunction between the fork and 'use base' that don't happened. In XP the spawned pid is a negative integer but into the child fork return 0. So I think, as I seen in some previous test as we can loop on _fork, we have some kind of recursion whithin Jifty;;Script::Server Regards. Charles Le 18/01/2012 17:34, Thomas Sibley via RT a écrit : Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=74120> > > On 01/18/2012 11:16 AM, Charles MINC via RT wrote:
>> Seems very strange, the last Jifty running version I used before, was >> Jifty-091117. >> Checking back the module Jifty::Script::Server against the two versions >> they are no differences >> on the routine sub _fork.
> 0.91117 is pretty old. It's well before Jifty moved to Plack, which > might have something to do with it. > > Thomas > >
-- Les mouvements totalitaires avaient moins besoin de l'absence de structure d'une société de masse, que des conditions spécifiques d'une masse atomisée. Hannah Arendt Une idéologie est précisément ce que son nom indique : elle est la logique d’une idée. L’émancipation de la pensée à l’égard de l’expérience. Hannah Arendt
content-type: application/x-perl; name="surlefil.pl"
content-disposition: attachment; filename="surlefil.pl"
Content-Transfer-Encoding: 7bit
Content-Length: 788
Download surlefil.pl
text/x-perl 788b

Message body is not shown because sender requested not to inline it.



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.