[Insight-developers] why do I get segfaults
Henning Meyer
tutmann at gmail.com
Mon Mar 27 09:46:50 EST 2006
Hello,
I try to write a wrapper-Class for itk::Transform, which gets a Mask
(Vector<bool>), which decides which parameters are visible through the
wrapper.
But when trying it out I always end up with Segfaults by SIGSEGV in mallocpt().
This time the stacktrace looked like:
Thread [1] (Suspended: Signal 'SIGSEGV' received. Description:
Segmentation fault.)
11 mallopt()
10 malloc()
9 operator new()
8 itk::MultiResolutionPyramidImageFilter<itk::Image<float, 3u>,
itk::Image<float, 3u> >::GenerateInputRequestedRegion() at
itkMultiResolutionPyramidImageFilter.txx:572
7 itk::ProcessObject::PropagateRequestedRegion()
6 itk::DataObject::PropagateRequestedRegion()
5 itk::DataObject::Update()
4 itk::ProcessObject::UpdateLargestPossibleRegion()
3 itk::MultiResolutionImageRegistrationMethod<itk::Image<float, 3u>,
itk::Image<float, 3u> >::PreparePyramids() at
itkMultiResolutionImageRegistrationMethod.txx:169
2 itk::MultiResolutionImageRegistrationMethod<itk::Image<float, 3u>,
itk::Image<float, 3u> >::StartRegistration() at
itkMultiResolutionImageRegistrationMethod.txx:229
1 main() at ../registerer.cpp:449
What did I do wrong? What do I have to care about? How is the memory
management of Vector< xyz> handled?
Thanks,
Henning
More information about the Insight-developers
mailing list