View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007082VTK(No Category)public2008-05-23 07:572016-08-12 09:54
ReporterCharl Botha 
Assigned ToKitware Robot 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007082: vtkMetaImageReader fails on a simple 256 x 256 signed short file
DescriptionRunning 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)
Additional InformationWe 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
TagsNo tags attached.
Project
Type
Attached Fileszip file icon vtkmetaimagereader_bug.zip [^] (45,409 bytes) 2008-05-23 07:57

 Relationships

  Notes
(0036976)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 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


Copyright © 2000 - 2018 MantisBT Team