View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010447ITKpublic2010-03-22 08:382010-11-07 08:58
Reporterjan menssen 
Assigned ToVince Magnotta 
PrioritynormalSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
PlatformWindowsOSXPOS Version
Product VersionITK-3-16 
Target VersionFixed in Version 
Summary0010447: bug in SimplexMeshAdaptTopology (and other meshfilters), pointer of GeometryData is copied instead of contents
DescriptionIn 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
Steps To ReproduceUse 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
Additional InformationI 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
TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files? file icon modiified_DeformableModelApplication.cc [^] (20,747 bytes) 2010-03-22 08:38

 Relationships

  Notes
(0023029)
Hans Johnson (developer)
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

 Issue History
Date Modified Username Field Change
2010-03-22 08:38 jan menssen New Issue
2010-03-22 08:38 jan menssen File Added: modiified_DeformableModelApplication.cc
2010-11-07 08:57 Hans Johnson Status new => assigned
2010-11-07 08:57 Hans Johnson Assigned To => Vincent Magnotta
2010-11-07 08:58 Hans Johnson Note Added: 0023029


Copyright © 2000 - 2018 MantisBT Team