View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012186ITKITKpublic2011-05-12 07:532011-05-25 19:17
ReporterErik Türke 
Assigned ToNick Tustison 
PriorityhighSeveritycrashReproducibilityalways
StatusresolvedResolutionunable to reproduce 
PlatformIntel Pentium i5OSLinuxOS VersionDebian Lenny 5.0
Product VersionITK-4-A0 
Target VersionFixed in Version 
Summary0012186: itkBSplineDeformableTransform throws error when enabling multithreading
DescriptionWhen enabling multithreading in itk and set the number of threads > 1, the itkBSplineDeformableTransform throws an error saying:

itk::ExceptionObject (0x24efee0)
Location: "void itk::BSplineDeformableTransform<TScalarType, NDimensions, VSplineOrder>::SetParameters(const typename itk::Transform<TScalarType, NDimensions, NDimensions>::ParametersType&) [with TScalarType = double, unsigned int NDimensions = 3u, unsigned int VSplineOrder = 3u]"
File: /scr/morse1/programming/src/ITK/Modules/Core/Transform/include/itkBSplineDeformableTransform.txx
Line: 354
Description: itk::ERROR: BSplineDeformableTransform(0x24efc40): Mismatch between parameters size 19728016 and expected number of parameters 1536

If you set the number of threads to 1 it works perfectly.
I encountered this error with the ITK release 3.20 (review code) as well.
TagsNo tags attached.
Resolution Date2011-05-25
Sprint
Sprint Statusbacklog
Attached Files

 Relationships

  Notes
(0026602)
Nick Tustison (developer)
2011-05-25 19:16

As an ITK object, the B-spline deformable transform does not operate with a specific number of threads.
I suspect that the reporter is referring to some specific application, like image registration, in which the failing occurs. I was able to load a b-spline deformable transform into the itkResampleImageFilter, set the number of threads > 1, and it ran for me just fine. I'm setting this issue resolved until I get more feedback as to the specific cause, hopefully with some code to reproduce the error.

 Issue History
Date Modified Username Field Change
2011-05-12 07:53 Erik Türke New Issue
2011-05-19 16:33 Hans Johnson Assigned To => Nick Tustison
2011-05-19 16:33 Hans Johnson Status new => assigned
2011-05-25 19:16 Nick Tustison Note Added: 0026602
2011-05-25 19:17 Nick Tustison Resolution Date => 2011-05-25
2011-05-25 19:17 Nick Tustison Status assigned => resolved
2011-05-25 19:17 Nick Tustison Resolution open => unable to reproduce


Copyright © 2000 - 2018 MantisBT Team