My apologies.
The error is at line 390.

[EMAIL PROTECTED] src]$ cover
Reading database from /home/manishs/CodeCoverage/tcpflow-0.21/src/cover_db
Argument "\x{2f}\x{30}..." isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Devel/Cover/DB.pm line 390.


I was trying to check whats causing the error and pasted the output of modified file.
Sorry for inconvinience.


I basically wanted to convert my gcov profiling data to Devel::Cover format to get unified
coverage report of my c and perl code. To experiment I chose tcpflow open source c code
and while getting coverage info I ran into this problem.


I can provide you all the gcov file if it helps. (I am not sure whether I can attach files
when CCing to the list.)


Thanks and Regards,
Manish

On 03/09/2005 06:20 PM, Paul Johnson wrote:

On Wed, Mar 09, 2005 at 05:16:31PM +0530, Manish Sapariya wrote:



Hi,
I am getting following error when I try to convert my gcov output files
to Devel::Cover output format.

[EMAIL PROTECTED] src]$ cover
Reading database from /home/manishs/tcpflow-0.21/src/cover_db
Argument "\x{2f}\x{30}..." isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Devel/Cover/DB.pm line 393.
Argument "\x{2f}\x{30}..." isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Devel/Cover/DB.pm line 393.
A



That's very strange. I have line 393 in that file as a comment. Line 390 might produce that error however.



[EMAIL PROTECTED] src]$ gcov -v
gcov (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[EMAIL PROTECTED] src]$ cover -v
/usr/bin/cover version 0.52

Is there anything obvious that I am missing here.
Any help will be appreciated. I am a perl beginer and could not figure
out whats going wrong in DB.pm.



Your perl and gcov are both a little old but I wouldn't expect problems there. You're not somehow running cover with a different release of Devel::Cover to that which ran gcov2perl?

Other than that, I'm not sure what to suggest.  If you can send me
enough to reproduce the problem I'd be glad to look into it.






Reply via email to