MantisBT - ParaView | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012842 | ParaView | (No Category) | public | 2012-01-05 19:48 | 2012-02-08 17:24 |
| Reporter | Burlen | ||||
| Assigned To | Bob O'Bara | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | no change required | ||
| Platform | OS | OS Version | |||
| Product Version | 3.12 | ||||
| Target Version | Fixed in Version | 3.14 | |||
| Project | TBD | ||||
| Topic Name | |||||
| Type | crash | ||||
| Summary | 0012842: segfault in vtkVolumeRayCastSpaceLeapingImageFilter | ||||
| Description | Hi, In 3.12 when volume rendering on image data I'm experiencing segfaults in vtkVolumeRayCastSpaceLeapingImageFilter in vtkVolumeRayCastSpaceLeapingImageFilterMinMaxExecute. The issue seems to be that vtkImageData::ComputeIncrements relies on active scalars being set. However, for use with ParaView I don't think this can be guaranteed. for instance how would an object that produces multiple arrays, eg a reader, correctly set active scalars? A quick fix is below, the real fix probably is quite a bit more involved. --- ParaView-3.12.0-base/VTK/VolumeRendering/vtkVolumeRayCastSpaceLeapingImageFilter.cxx 2011-11-08 12:56:45.000000000 -0800 +++ ParaView-3.12.0/VTK/VolumeRendering/vtkVolumeRayCastSpaceLeapingImageFilter.cxx 2012-01-05 16:34:06.217415840 -0800 @@ -801,6 +801,10 @@ return; } + // FIXME --- this keeps things running smoothly when active scalars + // are not set but modifies the input + inData[0][0]->GetPointData()->SetScalars(this->GetCurrentScalars()) + const int components = this->GetCurrentScalars()->GetNumberOfComponents(); const unsigned int nComponents = (this->GetIndependentComponents()) ? components : 1; | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-01-05 19:48 | Burlen | New Issue | |||
| 2012-01-13 09:51 | Utkarsh Ayachit | Note Added: 0027934 | |||
| 2012-01-13 09:51 | Utkarsh Ayachit | Status | backlog => gatekeeper review | ||
| 2012-01-13 09:51 | Utkarsh Ayachit | Fixed in Version | => git-master | ||
| 2012-01-13 09:51 | Utkarsh Ayachit | Resolution | open => no change required | ||
| 2012-01-13 09:51 | Utkarsh Ayachit | Assigned To | => Bob O'Bara | ||
| 2012-01-20 14:20 | Utkarsh Ayachit | Status | gatekeeper review => customer review | ||
| 2012-01-20 14:20 | Utkarsh Ayachit | Note Added: 0027953 | |||
| 2012-02-08 17:21 | Utkarsh Ayachit | Fixed in Version | git-master => 3.14 | ||
| 2012-02-08 17:24 | Utkarsh Ayachit | Status | customer review => closed | ||
| 2012-02-08 17:24 | Utkarsh Ayachit | Note Added: 0028119 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||