MantisBT - VTK | |||||||||||
| View Issue Details | |||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004687 | VTK | (No Category) | public | 2007-03-27 09:34 | 2013-04-05 20:24 | ||||||
| Reporter | Jean Favre | ||||||||||
| Assigned To | Robert Maynard | ||||||||||
| Priority | low | Severity | major | Reproducibility | always | ||||||
| Status | closed | Resolution | fixed | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | |||||||||||
| Target Version | Fixed in Version | ||||||||||
| Project | |||||||||||
| Type | |||||||||||
| Summary | 0004687: wrong endianess decision for EnSight Binary Gold file bigger then 4 Gbytes | ||||||||||
| Description | I 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 | ||||||||||
| Steps To Reproduce | |||||||||||
| Additional Information | |||||||||||
| Tags | No tags attached. | ||||||||||
| Relationships |
| ||||||||||
| Attached Files | |||||||||||
| 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 | ||||||||
| Notes | |||||
|
|
|||||
|
|
||||