MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0007082 | VTK | (No Category) | public | 2008-05-23 07:57 | 2016-08-12 09:54 |
| Reporter | Charl Botha | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0007082: vtkMetaImageReader fails on a simple 256 x 256 signed short file | ||||
| Description | Running the attached python example on the included fixed.mhd breaks in one of two ways: 1. either the vtkMetaImageReader complains that it cannot allocate 1.5 million 2 byte units 2. if 1. coincidentally does succeed, the GetScalarRange() segfaults (an access violation - null pointer deref - on Windows) | ||||
| Steps To Reproduce | |||||
| Additional Information | We checked and double-checked this on Windows XP (SP2 and SP3) with a VS.NET 2005 build of the ParaView-3-2-1 tagged VTK, as well as on Ubuntu 7.10. Example back trace of case 2: (gdb) bt #0 vtkDataArrayTemplate<short>::ComputeScalarRange (this=0x822c958, comp=0) at /data/scratch/jwd/archive/VTK/Common/vtkDataArrayTemplate.txx:856 #1 0xb7977c9f in vtkDataArrayTemplate<short>::ComputeRange (this=0x822c958, comp=0) at /data/scratch/jwd/archive/VTK/Common/vtkDataArrayTemplate.txx:819 #2 0xb724b573 in vtkDataSet::ComputeScalarRange (this=0x8059a10) at /data/scratch/jwd/archive/VTK/Common/vtkDataArray.h:295 #3 0xb7249735 in vtkDataSet::GetScalarRange (this=0x8059a10) at /data/scratch/jwd/archive/VTK/Filtering/vtkDataSet.cxx:151 #4 0xb74b05ce in PyvtkDataSet_GetScalarRange (self=0xb7c8f728, args=0xb7c8f02c) at /data/scratch/jwd/build/VTK-build/Filtering/vtkDataSetPython.cxx:1252 #5 0xb7ecde0d in PyCFunction_Call (func=0xb713e7ec, arg=0xb7c8f02c, kw=0x0) at Objects/methodobject.c:108 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/6492/vtkmetaimagereader_bug.zip | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-05-23 07:57 | Charl Botha | New Issue | |||
| 2008-05-23 07:57 | Charl Botha | File Added: vtkmetaimagereader_bug.zip | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036976 | |||
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||