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
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 ;
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Date: Wed, 18 Jan 2012 10:10:43 -0500
To: bug-Jifty [...] rt.cpan.org
From: Thomas Sibley <tsibley [...] cpan.org>
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
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Date: Wed, 18 Jan 2012 17:14:16 +0100
To: bug-Jifty [...] rt.cpan.org
From: Charles <charles.minc [...] wanadoo.fr>
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
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Date: Wed, 18 Jan 2012 11:34:06 -0500
To: bug-Jifty [...] rt.cpan.org
From: Thomas Sibley <tsibley [...] cpan.org>
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
Subject: Re: [rt.cpan.org #74120] crash on fork in Jifty::Server
Date: Fri, 20 Jan 2012 15:30:47 +0100
To: bug-Jifty [...] rt.cpan.org
From: Charles <charles.minc [...] wanadoo.fr>
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

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