MantisBT - CMake
View Issue Details
0012922CMakeCTestpublic2012-01-31 04:352012-09-03 16:02
RolandSchulz 
Brad King 
normalmajoralways
closedfixed 
CMake 2.8.5 
CMake 2.8.8CMake 2.8.8 
0012922: CTest ignores certain valgrind errors
Ctest ignores valgrind errors of the format: "Syscall param ... points to uninitialised byte(s)"
No tags attached.
gz repro.bug12922.tar.gz (748) 2012-02-12 23:35
https://public.kitware.com/Bug/file/4215/repro.bug12922.tar.gz
patch 0001-fixes-bug-12922.patch (1,022) 2012-02-12 23:35
https://public.kitware.com/Bug/file/4216/0001-fixes-bug-12922.patch
Issue History
2012-01-31 04:35RolandSchulzNew Issue
2012-01-31 04:40RolandSchulzNote Added: 0028430
2012-02-12 23:35Alexandru CiobanuFile Added: repro.bug12922.tar.gz
2012-02-12 23:35Alexandru CiobanuFile Added: 0001-fixes-bug-12922.patch
2012-02-12 23:42Alexandru CiobanuNote Added: 0028566
2012-02-12 23:43Alexandru CiobanuNote Edited: 0028566bug_revision_view_page.php?bugnote_id=28566#r526
2012-02-12 23:43Alexandru CiobanuNote Edited: 0028566bug_revision_view_page.php?bugnote_id=28566#r527
2012-02-13 10:44Alexandru CiobanuNote Edited: 0028566bug_revision_view_page.php?bugnote_id=28566#r528
2012-03-09 09:36Brad KingNote Added: 0028881
2012-03-09 09:36Brad KingStatusnew => resolved
2012-03-09 09:36Brad KingFixed in Version => CMake 2.8.8
2012-03-09 09:36Brad KingResolutionopen => fixed
2012-03-09 09:36Brad KingAssigned To => Brad King
2012-04-19 15:45David ColeTarget Version => CMake 2.8.8
2012-09-03 16:02David ColeNote Added: 0030878
2012-09-03 16:02David ColeStatusresolved => closed

Notes
(0028430)
RolandSchulz   
2012-01-31 04:40   
Sorry copied the wrong error message. Ctest reports "uninitialized bytes" correctly. Ctest ignores the message: "Syscall param sched_setaffinity(mask) points to unaddressable byte(s)".
(0028566)
Alexandru Ciobanu   
2012-02-12 23:42   
(edited on: 2012-02-13 10:44)
Hi,

This bug is in current master too.

The attached patch based on 62952bc9b451b2b658c20756fc4c714945d84b45 fixes this.

I also attach a small repro test case. Use it like this:
   $ ctest -VV -S CTestScript.cmake

Last few lines of output before fix:
   -- Processing memory checking output:
   Memory checking results:

and after fix:
   -- Processing memory checking output:
   Memory checking results:
   Invalid syscall param - 1

Alex Ciobanu

(0028881)
Brad King   
2012-03-09 09:36   
Applied, thanks!

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ea4416cf [^]
(0030878)
David Cole   
2012-09-03 16:02   
Closing resolved issues that have not been updated in more than 4 months.