findvarsha / coverstory

Automatically exported from code.google.com/p/coverstory
Apache License 2.0
0 stars 0 forks source link

Deadlock when analyzing many files that have been compiled with gcc 4.2 #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When one lets CoverStory analyze a folder containing more than about 40 gcda 
files which have 
been created by gcc 4.2, CoveStory deadlocks in the process.
I traced this down to a bug in GTMScriptRunner class:
When analyzing gcc 4.2 files, gcov produces error messages of the kind

version '402*', prefer '400A'

which quickly fill the standardError pipe. GTMScriptRunner only drains the 
standard error pipe after 
it has waited for the standardOutput to close. This is a deadlock situation.
I also filed this as a bug in the google toolbox project:
http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=25

Original issue reported on code.google.com by frank.il...@googlemail.com on 27 May 2009 at 8:31

GoogleCodeExporter commented 8 years ago
I've opened issue 20 here to track that CoverStory needs to do a better job of 
realizing the output is from a 4.2 
tools chain and use the over version of gcov.

I'm gonna close this as a dup so it links to issue 20 for that, and the hang is 
a gtm bug which you already filed 
(thanks again for doing that).

Original comment by thoma...@gmail.com on 8 Jun 2009 at 3:04