[cmake-developers] [CMake 0013804]: CTest Debug CTestGTMCoverage (cmParseGTMCoverage.cxx): *hangs*, with out-of-bounds exception dialog on XINDEX.m

Mantis Bug Tracker mantis at public.kitware.com
Wed Dec 19 11:39:00 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.itk.org/Bug/view.php?id=13804 
====================================================================== 
Reported By:                Andreas Mohr
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13804
Category:                   CTest
Reproducibility:            have not tried
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2012-12-19 11:39 EST
Last Modified:              2012-12-19 11:39 EST
====================================================================== 
Summary:                    CTest Debug CTestGTMCoverage
(cmParseGTMCoverage.cxx): *hangs*, with out-of-bounds exception dialog on
XINDEX.m
Description: 
Attempted executing a manually built ctest (Debug config) on git master,
MSVS10 10.0.40219.1 SP1Rel.
Progressed up to test 153/262 (CTestGTMCoverage).

Tests processing then hung with an out-of-bounds exception.

FindFunctionInMumpsFile() called with the following context:
filepath ....XINDEX.m
function "Q"
lineoffset currently 120
linenum currently 19
line " Q"

entered pos == 1 branch, there:
prevchar 32 (' ')
line[function.size()+1] is INVALID since line.size() is 2 (capacity() 127).

Probably the " Q" line *is* a valid candidate for locating this function,
so the evaluation here is both out-of-bounds and not sufficient since it
*should* return true in case this line is a valid candidate. But I'm not MUMPS
experienced by any stretch.


Severity major, prio high since it causes ongoing test processing to break, hard
(not that myself I'd care all too much, locally... ;).

Thanks!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-12-19 11:39 Andreas Mohr   New Issue                                    
======================================================================




More information about the cmake-developers mailing list