Tags:
create new tag
, view all tags

Problem: FormattedSearch hangs

A user of mine reported that FormattedSearch doesn't answer.

A deep investigation with debug log revealed Time::Local::localtime is the one which hangs. It is called through $TIME of SpreadSheetPlugin example.

ActivePerl 5.8.6.811 comes with Time::Local 1.10, which seems to trigger the hang.

Cause

Not known.

My environment is fairly special and I'm not sure whether this is reproducible on other installations. I just want to leave a hint for those who might happen to face the same problem.

Work Around

Replacing Perl/lib/Time/Local.pm with that of version 1.07 (from ActivePerl 5.8.4.810 distro) solved the problem.

Environment

TWiki version: TWikiRelease01Sep2004
TWiki plugins: SpreadSheetPlugin
Server OS: Windows 2003 Server Japanese, Cygwin 1.5.16
Web server: Apache 2.0.54 binary dist, no mod_perl
Perl version: ActivePerl 5.8.6.811

testenv output is here: http://twiki.org/p/pub/Codev/TimeLocalHangsOnPerl5dot8dot6/testenv.htm
(with some obfuscation)

See Also

IssuesWithPerl5dot8

-- KaoruMaeda - 23 Jun 2005

Follow-ups

This might be related to TWikiOnApache2dot0Hangs. Time::Local version 1.10 has nome warn() call added since 1.07.

-- KaoruMaeda - 24 Jun 2005

 
Topic attachments
I Attachment Action Size Date Who Comment
htmlhtm testenv.htm manage 12.2 K 23 Jun 2005 - 09:07 KaoruMaeda  
Topic revision: r2 - 24 Jun 2005 - 12:04:03 - KaoruMaeda
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback