Scott Wang wrote:
We are trying to use Devel::Cover module and "cover"
in our regression tests run to generate product code
coverage data. However, we met two big problems:
(1) Lots of our perl test scripts failed in code
coverage run and seems related to B::Deparse and we
got million lines of messages like below in our logs:
----
Deep recursion on subroutine "B::Deparse::find_scope"
at
....../glibc-2.3.4/x86_64/perl/....../lib/5.8.8/x86_64-linux-thread-multi/B/Deparse.pm
line 1321.
B::Deparse:….../glibc-2.3.4/x86_64/perl/….../lib/5.8.8/x86_64-linux-thread-multi/B/Deparse.pm:1309
called B::Deparse::find_scope
---
Those failed tests would pass if we did not use
Devel::Cover.
This is on the verge of becoming Frequently Asked.
http://tinyurl.com/o2f4y
http://tinyurl.com/n9ujt
Based on the discussion in the threads in those two links, I suspect
that Devel::Cover is discovering code that compiles but is slightly not
right. You'd have to post samples of the code that's failing for us to
examine it further.
jimk