| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000511 | VTK | (No Category) | public | 2004-01-13 05:31 | 2013-04-05 20:24 | ||||
| Reporter | Jean Favre | ||||||||
| Assigned To | Robert Maynard | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000511: ambiguous Byte Order setting in EnSight Reader | ||||||||
| Description | I have a binary EnSight6 file which VTK fails to read with either Little or Big Endian set. The heuristic in vtkEnSight6BinaryReader.cxx seems to fail for large grid size. I can supply Debug output to help debug and the file can also be made available (94 Mbytes geom file). I have been able to read the file by changing the source code around line 2630: // If they are both valid, use the larger one. if (tmp > 0 && tmp > *result) I changed "tmp > *result" to "tmp < *result" and it allows VTK to continue without errors. This is only a work-around for the particular file, not a solution to the problem. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0000474) Amy Squillacote (reporter) 2004-01-14 11:06 |
In the same part of the code, the following comparison was made: if ((tmp*(int)(sizeof(int))) > this->FileSize) The problem was that if tmp was large enough, then multiplying it by sizeof(int) could overflow an int, making the test fail when we actually want it to pass. |
|
(0025760) Robert Maynard (developer) 2011-03-11 09:31 |
Merge topic 'ensight-large-file-bug' 1521544 Bug 0004687 Support ensight gold files larger than 2GB on 64bit machines. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2007-08-03 18:06 | Berk Geveci | Note Deleted: 0008300 | |
| 2007-08-03 18:07 | Berk Geveci | Assigned To | Sean McBride => |
| 2007-08-03 18:07 | Berk Geveci | Status | backlog => closed |
| 2007-08-03 18:07 | Berk Geveci | Resolution | reopened => fixed |
| 2007-08-03 18:07 | Berk Geveci | Summary | Goodsite => ambiguous Byte Order setting in EnSight Reader |
| 2007-08-03 18:07 | Berk Geveci | Project | @3@ => VTK |
| 2007-08-03 18:07 | Berk Geveci | Status | closed => tabled |
| 2007-08-03 18:07 | Berk Geveci | Assigned To | => Amy Squillacote |
| 2011-03-11 09:31 | Robert Maynard | Note Added: 0025760 | |
| 2011-03-11 09:31 | Robert Maynard | Status | tabled => @80@ |
| 2011-03-11 09:31 | Robert Maynard | Assigned To | Amy Squillacote => Robert Maynard |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2013-04-05 20:24 | Berk Geveci | Status | customer review => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |