View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004687VTK(No Category)public2007-03-27 09:342013-04-05 20:24
ReporterJean Favre 
Assigned ToRobert Maynard 
PrioritylowSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004687: wrong endianess decision for EnSight Binary Gold file bigger then 4 Gbytes
DescriptionI have a 5.6 Gbytes geometry file for an EnSight Gold Binary case. 467 millions cells. The reader falsely estimates that the endianness is wrong based on some code comparing FileSize and grid dimensions. The reader refuses to read the file.

However, this->FileSize is declared as int and assigned with a cast to (int).

When the physical size is greater than 4Gb, the result stored is actually the real size minus 2^32. The tests evaluate to true and execution is interrupted.

I tested declaring FileSize as a long and removing the cast to (int) on line 82 of vtkEnSightGoldBinaryReader.cxx

the test on line 2973 rightfully evaluates to false and execution continues correctly. I am able to visualize my large file.

Can this patch be generalized? and included in future paraview releases? I tested under 2.6.0
TagsNo tags attached.
Project
Type
Attached Files

 Relationships
has duplicate 0012041closedRobert Maynard ParaView Problems with Ensight-Files larger 2GB once more 

  Notes
(0025759)
Robert Maynard (developer)
2011-03-11 09:29

Merge topic 'ensight-large-file-bug'

1521544 Bug 0004687 Support ensight gold files larger than 2GB on 64bit machines.

 Issue History
Date Modified Username Field Change
2008-02-06 10:07 Jeff Baumes Assigned To Will Schroeder => Berk Geveci
2011-03-07 11:06 Robert Maynard Assigned To Berk Geveci => Robert Maynard
2011-03-11 09:29 Robert Maynard Note Added: 0025759
2011-03-11 09:29 Robert Maynard Status tabled => @80@
2011-03-11 09:29 Robert Maynard Resolution open => fixed
2011-03-11 10:00 Robert Maynard Source_changeset_attached => VTK master ee91e85e
2011-03-11 10:00 Robert Maynard Source_changeset_attached => VTK master 15215445
2011-04-04 13:10 Robert Maynard Relationship added has duplicate 0012041
2011-04-05 11:00 David Partyka Source_changeset_attached => VTK master 2063bdc1
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2013-04-05 20:24 Berk Geveci Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team