NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item9693 for docu changes for 1.2 and 2.0.

Item11225: Complex searches can fail with deep recursion

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Urgent Duplicate Engine SEARCH  
The search in ComponentSearch loops and generates 20-30,000 deep recursion errors. Here are a few: (The search now has a &t;nop> to prevent the error.)

[Mon Oct 31 19:34:55 2011] [warn] [client 66.92.72.73] mod_fcgid: stderr: Deep recursion on subroutine "Foswiki::Query::Node::evaluatesToConstant" at /usr/home/foswiki.org/public_html/lib/Foswiki/Query/OP_or.pm line 34.
[Mon Oct 31 19:34:55 2011] [warn] [client 66.92.72.73] mod_fcgid: stderr: Deep recursion on subroutine "Foswiki::Query::OP_or::evaluatesToConstant" at /usr/home/foswiki.org/public_html/lib/Foswiki/Query/Node.pm line 215.
[Mon Oct 31 19:34:55 2011] [warn] [client 66.92.72.73] mod_fcgid: stderr: Deep recursion on subroutine "Foswiki::Query::Node::evaluatesToConstant" at /usr/home/foswiki.org/public_html/lib/Foswiki/Query/OP_or.pm line 35.
[Mon Oct 31 19:34:55 2011] [warn] [client 66.92.72.73] mod_fcgid: stderr: Deep recursion on subroutine "Foswiki::Query::Node::evaluatesToCo
[Mon Oct 31 19:34:55 2011] [warn] [client 66.92.72.73] mod_fcgid: stderr: nstant" at /usr/home/foswiki.org/public_html/lib/Foswiki/Query/BinaryOP.pm line 66.
... (deleted)
-- GeorgeClark - 31 Oct 2011

I'm going to close this as a dup, and re-open Item10479

-- GeorgeClark - 31 Oct 2011

 

ItemTemplate edit

Summary Complex searches can fail with deep recursion
ReportedBy GeorgeClark
Codebase 1.1.4 beta2, 1.1.4 beta1, 1.1.3
SVN Range
AppliesTo Engine
Component SEARCH
Priority Urgent
CurrentState Duplicate
WaitingFor
Checkins
TargetRelease patch
ReleasedIn 1.1.4
Topic revision: r2 - 31 Oct 2011, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads