MantisBT - VTK | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008537 | VTK | (No Category) | public | 2009-02-16 04:31 | 2016-08-12 09:55 |
Reporter | Jens Thielemann | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | |||||
Type | |||||
Summary | 0008537: vtkCommonInformationKeyManager singleton is not initialized properly | ||||
Description | When 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. | ||||
Steps To Reproduce | |||||
Additional Information | Replacing 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. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | vtkCommonInformationKeyManager.cxx (3,653) 2009-02-16 04:31 https://www.vtk.org/Bug/file/7055/vtkCommonInformationKeyManager.cxx | ||||
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 |
Notes | |||||
|
|||||
|
|