View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008153CMakeCTestpublic2008-11-24 11:542009-05-27 11:14
ReporterJ. Bedouet 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0008153: Patch proposal for Purify (Source/CTest/cmCTestMemCheckHandler.cxx)
DescriptionWhen CTest read Purify output, this output is all on one line (visible under CDash). So, CTest can't analyse Purify output and no problems are detected.

I solved this bug by adding a newline after each line read in output.


Now, CTest could analyse output. CTest prints some errors about EXI and EXH
*** Unknown Purify memory fault: EXI
*** Unknown Purify memory fault: EXH
EXI and EXH messages are not really faults. It indicates that an exception is thrown (EXI, Ignored Exception) or catched (EXH, Handled Exception).
I have sent an email to IBM to ask how to suppress, under Windows, these messages by specifying a suppression file.
Additional InformationContext:
Purify 7 under Windows.

I can't test under Linux because I can't manage to run Purify when making MemCheck tests. I don't know what I make wrong. I must explore it.
I have no problem to run purified tests with ctest -D ExperimentalTest.
TagsNo tags attached.
Attached Filespatch file icon cmCTestMemCheckHandler.cxx.patch [^] (285 bytes) 2008-11-24 11:54 [Show Content]
? file icon cmCTestMemCheckHandler.cxx.patch.2 [^] (1,276 bytes) 2009-01-05 10:56

 Relationships

  Notes
(0014168)
J. Bedouet (reporter)
2008-11-24 17:47

Sorry for the big big fault.
is thrown or caught (and not is thrown or catched)
(0014467)
J. Bedouet (reporter)
2009-01-05 11:19

I modified the patch to be able to specify a suppression file under Windows.
With Purify, it is possible to specify several suppression files. So, I reused the
MEMORYCHECK_SUPPRESSIONS_FILE option to specify one suppression file. It would be better to specify several suppression files but this way mimics valgrind.
(0016580)
Bill Hoffman (manager)
2009-05-27 11:14

$ cvs commit -m "BUG: fix for bug 0008153 add purify suppression file and fix output to not be one big line" cmCTestMemCheckHandler.cxx
Committer: Bill Hoffman <bill.hoffman@kitware.com>
/cvsroot/CMake/CMake/Source/CTest/cmCTestMemCheckHandler.cxx,v <-- cmCTestMemCheckHandler.cxx
new revision: 1.23; previous revision: 1.22

 Issue History
Date Modified Username Field Change
2008-11-24 11:54 J. Bedouet New Issue
2008-11-24 11:54 J. Bedouet File Added: cmCTestMemCheckHandler.cxx.patch
2008-11-24 17:47 J. Bedouet Note Added: 0014168
2009-01-05 10:56 J. Bedouet File Added: cmCTestMemCheckHandler.cxx.patch.2
2009-01-05 11:19 J. Bedouet Note Added: 0014467
2009-01-07 14:25 Bill Hoffman Status new => assigned
2009-01-07 14:25 Bill Hoffman Assigned To => Bill Hoffman
2009-05-27 11:14 Bill Hoffman Note Added: 0016580
2009-05-27 11:14 Bill Hoffman Status assigned => closed
2009-05-27 11:14 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team