MantisBT - ITK
View Issue Details
0010447ITKpublic2010-03-22 08:382010-11-07 08:58
jan menssen 
Vince Magnotta 
normalcrashalways
assignedopen 
WindowsXP
ITK-3-16 
 
0010447: bug in SimplexMeshAdaptTopology (and other meshfilters), pointer of GeometryData is copied instead of contents
In the SimplexMeshAdaptTopology filter the pointer of the GeometryData of the input is copied to the output instead of teh contents. Using this filter or (other mesh filters) in a loop (like in InsightApplication DeformableSimplexMesh) may causes to a referencecount of 1 (and a free contents) in SetInput and GetOutput methods
Use the added "modified DeformableModelApplication" instead of standard "DeformableModelApplication" in the InsightApplication "DeformableSimplexMesh"
Use application as it should be (select image, select point, create mesh, preprocess and deform mesh), the program crashes after some iterations. Inspecting m_SimplexMesh, the contents of m_GeometryData is empty
I think in the SetInput and GetOutput and (maybe others), the referencecount of the m_GeometryData object becomes 1 and so the contents is freed
I think copying the contents instead of the pointer updates the internal referencount of the m_GeometryData opbject and so the contents is not deleted
No tags attached.
? modiified_DeformableModelApplication.cc (20,747) 2010-03-22 08:38
https://public.kitware.com/Bug/file/2988/modiified_DeformableModelApplication.cc
Issue History
2010-03-22 08:38jan menssenNew Issue
2010-03-22 08:38jan menssenFile Added: modiified_DeformableModelApplication.cc
2010-11-07 08:57Hans JohnsonStatusnew => assigned
2010-11-07 08:57Hans JohnsonAssigned To => Vincent Magnotta
2010-11-07 08:58Hans JohnsonNote Added: 0023029

Notes
(0023029)
Hans Johnson   
2010-11-07 08:58   
Vince,

There are several bugs related to the DeformableMesh algorithms lately. If you are not working on these, please help find the appropriate person to assign these to.

Thanks,
Hans