[jifty-devel] jifty segfault with threads

Matt Zagrabelny mzagrabe at d.umn.edu
Thu Dec 9 15:57:28 EST 2010


On Thu, Dec 9, 2010 at 2:52 PM, Thomas Sibley <trs at bestpractical.com> wrote:
> On 09 Dec 2010 15:48, Matt Zagrabelny wrote:
>> The segfault seems to come from:
>>
>> Jifty.pm
>>
>> use encoding 'utf8';
>>
>> Which is not thread safe according to:
>>
>> http://perldoc.perl.org/encoding.html#KNOWN-PROBLEMS
>
> AFAIK, Jifty has never attempted to be thread-safe.

Not a lot of perl modules do. But I have a thread-necessary app that I
would like to graft a Jifty web app on top of.

>From initial tests, the following works:

use Jifty::Everything;
BEGIN { Jifty->new() }

no encoding;

use threads;

-matt


More information about the jifty-devel mailing list