MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012786 | VTK | (No Category) | public | 2011-12-09 09:35 | 2012-04-16 20:22 |
| Reporter | Pavel Pokutnev | ||||
| Assigned To | Lisa Avila | ||||
| Priority | high | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 5.8.0 | ||||
| Target Version | Fixed in Version | ||||
| Project | TBD | ||||
| Type | crash | ||||
| Summary | 0012786: BUG in vtkFixedPointVolumeRayCastMapper | ||||
| Description | There are some int overflow bugs in vtkFixedPointVolumeRayCastMapper, if used with big volumes [2000 * 2000 * 2000] > [max(int) = 2147483647] and shading enabled. BUG 1: Line 2787 / 2788 int sliceSize = dim[0]*dim[1]*((independent)?(components):(1)); int numSlices = dim[2]; should be: vtkIdType sliceSize = dim[0]*dim[1]*((independent)?(components):(1)); vtkIdType numSlices = dim[2]; because of line 2840, 2848, … where the actual int overflow happens (numSlices * sliceSize)! BUG 2: Line 98 int x, y, z; should be: vtkIdType x, y, z; because of line 171, where the actual int overflow happens (dptr = dataPtr + z * dim[0] * dim[1] + y * dim[0] + xlow;) Attached to this bug report you will find the fixed version of vtkFixedPointVolumeRayCastMapper.cxx. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/9087/vtkFixedPointVolumeRayCastMapper.cxx | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-12-09 09:35 | Pavel Pokutnev | New Issue | |||
| 2011-12-09 09:35 | Pavel Pokutnev | File Added: vtkFixedPointVolumeRayCastMapper.cxx | |||
| 2011-12-09 09:56 | Utkarsh Ayachit | Assigned To | => Lisa Avila | ||
| 2011-12-09 09:56 | Utkarsh Ayachit | Status | backlog => tabled | ||
| 2012-02-21 18:03 | David Gobbi | Note Added: 0028316 | |||
| 2012-04-16 20:22 | David Gobbi | Note Added: 0028481 | |||
| 2012-04-16 20:22 | David Gobbi | Status | tabled => closed | ||
| 2012-04-16 20:22 | David Gobbi | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||