Subject: | Recursion in test suite |
Hello Mark.
When running "make test" for Log-Report 0.20 under MSWin32, it starts to
consume all available memory and resources when reaching t/50file.t
Last warnings before resource consuming are:
t/50file.........1/38 Deep recursion on subroutine "Log::Report::report"
at lib/Log/Report.pm line 272.
Deep recursion on subroutine "Log::Report::Dispatcher::File::log" at
lib/Log/Report.pm line 145.
Deep recursion on subroutine "Log::Report::Dispatcher::translate" at
lib/Log/Report/Dispatcher/File.pm line 66.
Deep recursion on subroutine "Log::Report::Message::toString" at
lib/Log/Report/Dispatcher.pm line 166.
Deep recursion on subroutine "Log::Report::Translator::POT::translate"
at lib/Log/Report/Message.pm line 69.
Deep recursion on subroutine "Log::Report::Translator::POT::load" at
lib/Log/Report/Translator/POT.pm line 36.
Deep recursion on subroutine "Log::Report::Lexicon::Index::find" at
lib/Log/Report/Translator/POT.pm line 52.
Deep recursion on subroutine "Log::Report::warning" at
lib/Log/Report/Lexicon/Index.pm line 92.
Then it goes for all the memory and CPU. I didn't have patience to see
what happens when it runs over all the virtual memory though, but anyway
it doesn't seem to be correct working. Killing a process leads to
repeating the same symptoms for the following test cases up to t/pod.t.
Let me know, if I can provide more specific details about the problem.
--
Serguei Trouchelle