View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002950VTK(No Category)public2006-03-09 15:562016-08-12 09:54
ReporterClinton Stimpson 
Assigned ToWill Schroeder 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002950: vtk crash on shutdown with release build and debug leaks
DescriptionIn a release build with vtk debug leaks on in Windows.....

VTK has static objects instantiated in separate object files that depend on each other. So the order of cleanup is important.
However, the linker makes no guarentee of the order of static object cleanup if they are in separate object files.
So vtkDebugLeaks is being invoked from vtkCleanUpObjectFactory, but vtkDebugLeaks has already been destroyed. Which results in a crash when trying to lock the NULL critical section.

This problem is why there is a popup window that reports one leak, which is the vtkCleanUpObjectFactory that isn't cleaned up before vtkDebugLeaks.

It happens on Windows, but it might happen on other OS's.

One could replicate this by running a vtkMFC example in release mode with debug leaks on.
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0036843)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036843
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team