| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0008288 | ITK | public | 2008-12-11 11:53 | 2010-11-17 21:01 | |||||||||
| Reporter | Julien Michel | ||||||||||||
| Assigned To | Bradley Lowekamp | ||||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||||
| Status | assigned | Resolution | open | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Product Version | ITK-3-10 | ||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0008288: itk::NCCRegistrationFunction produces segfault when used in a streaming context | ||||||||||||
| Description | The segmentation fault occurs in the ComputeUpdate() method when accessing to the deformation field pixels : const DeformationPixelType vec = this->GetDeformationField()->GetPixel(index); There is no check on index to see if it is inside the buffered region, and in a streamed context it might be off the region. Replacing this line by : DeformationPixelType vec; vec.Fill(0); if(this->GetDeformationField()->GetBufferedRegion().IsInside(index)) { vec = this->GetDeformationField()->GetPixel(index); } fixed the problem, without any changes on the non-streamed version results. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Resolution Date | |||||||||||||
| Sprint | |||||||||||||
| Sprint Status | |||||||||||||
| Attached Files | |||||||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0023371) Hans Johnson (developer) 2010-11-17 21:01 |
Brad, The proposed solution does not seem appropriate for this problem. As the defacto streaming expert, would you take a look at the proposed solution? Thanks, Hans |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-12-11 11:53 | Julien Michel | New Issue | |
| 2010-11-02 13:35 | Hans Johnson | Status | new => assigned |
| 2010-11-02 13:35 | Hans Johnson | Assigned To | => kentwilliams |
| 2010-11-17 20:59 | Hans Johnson | Assigned To | kentwilliams => Bradley Lowekamp |
| 2010-11-17 21:01 | Hans Johnson | Note Added: 0023371 | |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |