[cmake-developers] [CMake 0014613]: ctest crashes with large output

Mantis Bug Tracker mantis at public.kitware.com
Mon Dec 2 10:19:45 EST 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14613 
====================================================================== 
Reported By:                Clinton Stimpson
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14613
Category:                   CTest
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-12-02 10:19 EST
Last Modified:              2013-12-02 10:19 EST
====================================================================== 
Summary:                    ctest crashes with large output
Description: 
I ran into a case where the software being tested was misbehaving, and it was
printing out large amounts of text (around 2 GB).  CTest cannot handle that
amount of text and aborts in cmCTestRunTest::CheckOutput() where ProcessOutput
overflows.

It would be nice to have ctest not abort so a submission to cdash can help
identify the problem.
Perhaps it could recognize the large output and kill the child process, if it
can't read any more output from the child process.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-12-02 10:19 Clinton StimpsonNew Issue                                    
======================================================================




More information about the cmake-developers mailing list