Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347353 - Says file can't be found but it exists
Summary: Says file can't be found but it exists
Status: RESOLVED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: GCov (show other bugs)
Version: 0.4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Xavier Raynaud CLA
QA Contact: Xavier Raynaud CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 13:37 EDT by Tim Anderson CLA
Modified: 2014-04-14 08:47 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Anderson CLA 2011-05-26 13:37:32 EDT
After clicking the main.gcda file and accepting the binary location I get a Gcov Parsing Error popup stating "An error has ocured when parsing the coverage data file:8@<filename>.gcno (No such file or directory)"

I am able to find the <filename> specified right where it says it doesn't exist.
Comment 1 Andrew Overholt CLA 2011-05-26 13:49:29 EDT
What OS was used to create the gcda and gcdo files?
Comment 2 Tim Anderson CLA 2011-05-26 13:53:51 EDT
Fedora 13

2.6.34.7-61.fc13.x86_64
Comment 3 Andrew Overholt CLA 2011-05-26 15:09:36 EDT
Are you able to provide us with a test case that we can use to reproduce the error?
Comment 4 Tim Anderson CLA 2011-05-26 15:10:47 EDT
Unfortunately I can't, but if it helps, it is a C++ file (extension .cpp).  Don't know if that makes a difference or not.
Comment 5 Xavier Raynaud CLA 2011-05-27 04:04:44 EDT
Hi,

It perhaps a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=329710

Xavier
Comment 6 Andrew Overholt CLA 2011-05-27 11:24:32 EDT
Tim, is there any way you can try from what will become our Indigo release?  You can install it from a few different p2 repositories:

  http://download.eclipse.org/technology/linuxtools/updates-nightly/

or

  http://download.eclipse.org/technology/linuxtools/update-indigo

or

  http://download.eclipse.org/releases/staging/

You'll need an Indigo base Eclipse.  You could start with the SDK:

  http://download.eclipse.org/eclipse/downloads/drops/S-3.7RC2-201105191138/index.php
Comment 7 Tim Anderson CLA 2011-05-31 10:32:11 EDT
We're under pretty tight CM and upgrading will only occur if everyone decides that is needed.  Also, I was able to get what I needed out of command-line version of gcov using various hand-written scripts to find all of the files and get the information I was after.

If at some later time we upgrade to Indigo I'll try it and let you all know.
Comment 8 Andrew Overholt CLA 2011-05-31 10:46:43 EDT
What's "CM"?  What version of the gcov plugin are you using?  There's the possibility of a bug-fix release built on top of Helios.
Comment 9 Tim Anderson CLA 2011-05-31 10:49:37 EDT
CM is Configuration Management.  The computer that I run on is on a network that is tightly controlled for various reasons and it is not a simple process to just upgrade a software package.

# gcov -version
gcov (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
Comment 10 Andrew Overholt CLA 2011-05-31 11:06:41 EDT
Thanks for the clarification, Tim.  What's the version of the gcov Eclipse plugin?
Comment 11 Tim Anderson CLA 2011-05-31 12:01:54 EDT
0.4.1.20100910102
Comment 12 Andrew Overholt CLA 2011-05-31 14:35:23 EDT
I realized after I had asked what version you're on that you aren't likely able to upgrade anyway.  Thanks and do let us know if you can upgrade to Indigo.  We appreciate the report and the information.
Comment 13 Andrew Overholt CLA 2011-09-30 15:17:56 EDT
Updating Xavier's email address for existing bugs.
Comment 14 Alexander Kurtakov CLA 2013-02-19 04:19:31 EST
Is this bug still reproducible with 1.2 release?
Comment 15 Tim Anderson CLA 2013-02-19 10:28:04 EST
Alexander,
I am currently on a different project from when I initially entered this.  Our SysAdmins have installed a different OS and Eclipse so that I am now working with Red Hat Enterprise Linux Workstation 6.3 (Santiago) and am using Eclipse Indigo with Gcov Plug-in 4.1.1.201202152.

I haven't had a need to run Gcov on my current project but if I have time I will check to see if it has been fixed in my current environment.
Comment 16 Alexander Kurtakov CLA 2014-04-14 08:47:36 EDT
After more than a year and few Linux Tools releases since last comment, I'm closing this one.
If the problem still persists with latest version please open a new bug report with details.