View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008537VTK(No Category)public2009-02-16 04:312016-08-12 09:55
ReporterJens Thielemann 
Assigned ToKitware Robot 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008537: vtkCommonInformationKeyManager singleton is not initialized properly
DescriptionWhen linking statically using Visual C++ 2005, for some projects the program will always crash at startup.

This is due to that vtkCommonInformationKeyManager::Register(vtkInformationKey* key) is called by the runtime before vtkCommonInformationKeyManager::vtkCommonInformationKeyManager(). The singleton initialization procedure is thus unsafe.
Additional InformationReplacing the code with the included file should fix the problem.

This is a quick fix, a more robust way of initializing singletons would clearly be preferred.


TagsNo tags attached.
Project
Type
Attached Filescxx file icon vtkCommonInformationKeyManager.cxx [^] (3,653 bytes) 2009-02-16 04:31

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0037054)
Kitware Robot (administrator)
2016-08-12 09:55

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
2009-02-16 04:31 Jens Thielemann New Issue
2009-02-16 04:31 Jens Thielemann File Added: vtkCommonInformationKeyManager.cxx
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037054
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker