View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012870VTK(No Category)public2012-01-23 14:042012-01-23 14:13
ReporterBryn Lloyd 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8.0 
Target VersionFixed in Version 
Summary0012870: Debugleaks reports a leak in vtkMath::Random
DescriptionDebugleaks reports a leak in vtkMath.

I used the function Random, and at the end of my program executation there is still a vtkBoxMuellerRandomSequence object around.

See the error in the screenshot.

My environment is: MSVC 2010, Windows 7, x64, vtk 5.8.0


This can be reproduced by following simple test:

int main(int argc, char** argv)
{
  {
    vtkMath::Random(-1.0,1.0);
  }

  if ( vtkDebugLeaks::PrintCurrentLeaks() == 0) return EXIT_SUCCESS;
  else return EXIT_FAILURE;
}

TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Filespng file icon vtkMath_Random.png [^] (4,538 bytes) 2012-01-23 14:04

 Relationships

  Notes
(0027963)
Bryn Lloyd (reporter)
2012-01-23 14:13

Sorry. I was incorrect in thinking there was a leak in vtkMath.

 Issue History
Date Modified Username Field Change
2012-01-23 14:04 Bryn Lloyd New Issue
2012-01-23 14:04 Bryn Lloyd File Added: vtkMath_Random.png
2012-01-23 14:13 Bryn Lloyd Note Added: 0027963
2012-01-23 14:13 Bryn Lloyd Status backlog => closed
2012-01-23 14:13 Bryn Lloyd Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team