[Insight-developers] Insight version of GDCM dumping core
kent williams
norman-k-williams at uiowa.edu
Wed Nov 11 12:42:14 EST 2009
I've logged the bug here:
http://www.itk.org/Bug/view.php?id=9882
The real question is whether Matthieu (or anyone else) will have the time or
desire to look at this problem. At this point I have not tried it with gdcm
2.x.
The problem boils down to GDCM destroying a BinEntry as part
gdcm::Document::Backtrack, but not apparently removing it properly from it's
internal lists. Consequently, it gets freed a second time wne the gdcm::File
instance is destroyed, which with most versions of G++ causes a segfault.
I attached to my bug report a small test program + the offending DICOM slice
file + CMakeLists.txt. Running Ctest -V -D NightlyMemCheck on a system with
valgrind shows the problem.
More information about the Insight-developers
mailing list