Hi Paul,

You are right, I found a 0 size file under the
"cover_db/structure" folder. After I removed that 0
size file, my "cover" worked fine to merge all the
data and generated HTML file.

The 0 size file, I think, is because some test was
killed for timeout because of the slow-down of the
test process since we instrumented all test and
product scripts with Devel::Cover. When the test
process was killed and terminated abnormal, I think,
Devel::Cover was still trying to grab the test process
to generate data, so there was no any data actually
got generated because the test processes had been
killed. Is this a reasonable explaination to the 0
size data file?

Thanks,

Scott


--- Paul Johnson <[EMAIL PROTECTED]> wrote:

> On Mon, Jun 05, 2006 at 08:13:38PM -0700, Scott Wang
> wrote:
> 
> > Hi All,
> > 
> > I got below error message from running "cover" to
> > merge my coverage data, any clue? The "Magic
> number
> > checking on storable file ..." message also shows
> up
> > in my test log, I am wondering if this means that
> my
> > coverage database has corrupted somehow.
> > 
> > =============
> > Reading database from ...
> > Magic number checking on storable file failed at
> > ../../lib/Storable.pm (autosplit into
> > ../../lib/auto/Storable/_retrieve.al) line 331, at
> > Devel/Cover/DB/Structure.pm line 269
> > =============
> 
> I think so.  Perhaps nothing was written to the
> database at all?
> 
> $ perl -MStorable -e 'retrieve "/dev/null"'
> Magic number checking on storable file failed at
> ../../lib/Storable.pm
> (autosplit into
> ../../lib/auto/Storable/_retrieve.al) line 331, at
> -e
> line 1
> 
> -- 
> Paul Johnson - [EMAIL PROTECTED]
> http://www.pjcj.net
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to