[Insight-developers] IO filters

Lorensen, William E (CRD) lorensen@crd.ge.com
Tue, 26 Feb 2002 16:55:03 -0500


Will,
Has the API changed for the file readers. I have several tests that are crashing that worked before
the latest checkins.

For example, itkIsolatedConnectedImageFilterTest.

They seem to be crashing in ImportImageContainer

(gdb) up
#1  0xff2457fc in _malloc_unlocked ()
(gdb) up
#2  0xff24559c in malloc ()
(gdb) up
#3  0xd3e98 in __builtin_new (sz=65536) at ../../gcc-2.95/gcc/cp/new1.cc:84
../../gcc-2.95/gcc/cp/new1.cc:84: No such file or directory.
(gdb) up
#4  0xd3f8c in __builtin_vec_new (sz=65536) at ../../gcc-2.95/gcc/cp/new2.cc:39
../../gcc-2.95/gcc/cp/new2.cc:39: No such file or directory.
(gdb) up
#5  0xf5bb0 in itk::ImportImageContainer<unsigned long, unsigned char>::Reserve (this=0x186388,
size=65536) at /home/lorensen/Insight/Code/Common/itkImportImageContainer.txx:77
77          m_ImportPointer = new TElement[size];
(gdb) print size
$1 = 65536
(gdb) up
#6  0xf5c4c in itk::Image<unsigned char, 2>::Allocate (this=0x1862a8) at
/home/lorensen/Insight/Code/Common/itkImage.txx:68
68        m_Buffer->Reserve(num);

Bill