[ITK-dev] Lingering Valgrind defect

Matt McCormick matt.mccormick at kitware.com
Mon Nov 30 20:46:25 EST 2015


Hi Bill,

Many thanks for stepping towards a clean Valgrind status!

I tried reproducing the dashboard errors locally, and I could not reproduce
them.  Were you able to reproduce them? What version of valgrind was used?

Thanks,
Matt



On Mon, Nov 30, 2015 at 1:36 PM, Bill Lorensen <bill.lorensen at gmail.com>
wrote:

> If I change the it.Value() and it2.Value() to it.Get() and it2.Get(),
> the defect goes away. Value() returns a reference. I suspect that the
> new comparisons are somehow accessing too much memory.
>
> I'll put a patch in with the replacement.
>
> Bill
>
> On Mon, Nov 30, 2015 at 12:31 PM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > Folks,
> >
> > This gerrit commit in August
> > http://review.source.kitware.com/#/c/20081/
> >
> > is causing this valgrind defect:
> > https://open.cdash.org/viewDynamicAnalysisFile.php?id=3624555
> >
> > Related to the NotAlmostEquals access. If that is replaced with == the
> > defect gpoes away, but the test fails.
> >
> > If I understood how those new functions work, I might have been able
> > to give a solution.
> >
> > Bill
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-developers/attachments/20151130/7b539325/attachment.html>


More information about the Insight-developers mailing list