sourcebitapps / coverstory

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

When loading a lot of files, the loading is stuck. #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have 300 files or more in one directory.
2. Open the directory.
3. CoverStory never ends the loading.

What is the expected output? What do you see instead?

The files should be successfully loaded.

What version of the product are you using? On what operating system?

Current version from trunk (October 30, 2012). Mac Lion 10.7.5

Please provide any additional information below.

When debugging the code, the program is stuck in GTMScriptRunner class when 
waiting for the result of the "gcov" script. I believe it is stuck because the 
contents of standard error pipe are not read and the pipe is full. This gets 
fixed if error ouput is ignored (redirected to CoverStory standard error).
This error pipe overflows probably because of issue 
http://code.google.com/p/coverstory/issues/detail?id=37.

Recommended fix - read error output periodically or redirect it to a file, do 
not wait until the task is finished.

Original issue reported on code.google.com by ondrej.h...@jetminds.com on 30 Oct 2012 at 1:25

GoogleCodeExporter commented 8 years ago
Yup, there is a bug for the deadlock on the problem in GTM: 
http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=25

Original comment by thoma...@gmail.com on 30 Oct 2012 at 7:03