[Insight-users] Errors with Insight Applications on the Mac
Robb Brown
brownr@ucalgary.ca
Wed, 12 Mar 2003 17:21:18 -0700
I've gotten two errors when running examples from the Insight
Applications 1.2.0, using ITK 1.2.0 and VTK 4.2.
The first is a problem with the raw file reader in the
AntiAliasBinaryImageFilterExample program. Using data generated by the
included utility, the program reports:
itk::ExceptionObject (0x2cd260)
Location: "Unknown"
File: /usr/local/include/InsightToolkit/IO/itkRawImageIO.txx
Line: 190
Description: itk::ERROR: RawImageIO(0x2c8bf0): Read failed: Wanted
262144 bytes, but read 262144 bytes.
Note that the expected file size and the read file size ARE the same.
The second problem involves the Gradient Magnitude filter used in
several of the segmentation applications (GeodesicActiveContour is
one). It crashes when run with a bus error. The crash log reports:
Date/Time: 2003-03-10 14:30:33 -0700
OS Version: 10.2.4 (Build 6I32)
Host: mrc-brownr.crha-health.ab.ca
Command: GeodesicActiveContour
PID: 1115
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00553ff8
Thread 0 Crashed:
#0 0x00126070 in
itk::RecursiveSeparableImageFilter<itk::Image<float, (unsigned)3>,
itk::Image<float, (unsigned)3> >::FilterDataArray(double*, double
const*, unsigned)
#1 0x00108cac in
itk::RecursiveSeparableImageFilter<itk::Image<float, (unsigned)3>,
itk::Image<float, (unsigned)3> >::GenerateData()
#2 0x0001ef18 in
itk::ProcessObject::UpdateOutputData(itk::DataObject*)
#3 0x0001951c in itk::DataObject::UpdateOutputData()
#4 0x0001eb74 in
itk::ProcessObject::UpdateOutputData(itk::DataObject*)
#5 0x0001951c in itk::DataObject::UpdateOutputData()
#6 0x0001909c in itk::DataObject::Update()
#7 0x0001e260 in itk::ProcessObject::Update()
#8 0x00105db0 in
itk::GradientMagnitudeRecursiveGaussianImageFilter<itk::Image<float,
(unsigned)3>, itk::Image<float, (unsigned)3> >::GenerateData()
#9 0x0001ef18 in
itk::ProcessObject::UpdateOutputData(itk::DataObject*)
#10 0x0001951c in itk::DataObject::UpdateOutputData()
etc.
Are these problems just on the Mac? Thanks for any help,
Robb
_____________________________
Robb Brown
Seaman Family MR Center
Calgary, AB