View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016019ParaViewBugpublic2016-03-03 06:542016-04-18 12:52
ReporterAntech 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSWindows-7 x64OS Version7
Product Version5.0 
Target VersionFixed in Version5.0.1 
Summary0016019: ParaView 5.0 for Windows fails to open EnSight files larger than 2 GiB
DescriptionWhen I open EnSight (version Gold or 6) case with geometry file larger than 2 GiB in ParaView 5.0 x64 for Windows (version 7 x64) I receive a geometry file reading error: stat failed. On smaller files or under Linux (CentOS 6.7 x64) this error doesn't occour. The ParaView Windows binary installer (version 5.0.0) downloaded from official website.

I took a look at the code and, possibly, found the reason for this bug. The error occures in line 114 of vtkEnSightGoldBinaryReader.cxx (stat failed). In this file stat() function and stat structure is used. For correct functionality of this syntax under 64-bit OS the macro _FILE_OFFSET_BITS should be set to 64 (otherwise 32-bit stat function and struct will be used). I didn't find _FILE_OFFSET_BITS definition in vtkEnSightGoldBinaryReader.cxx or relevant headers (I didn't check all headers cause they are related to geometry, not file operations).
Steps To Reproduce1. Open EnSight binary case with geometry file larger than 2 GiB.
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0035844)
Utkarsh Ayachit (administrator)
2016-03-16 11:28

MR: https://gitlab.kitware.com/vtk/vtk/merge_requests/1320 [^]
(0035845)
Utkarsh Ayachit (administrator)
2016-03-16 11:29

The fix is now merged in `master` and `5.0.1` release branch for ParaView.
(0035895)
Alan Scott (manager)
2016-04-15 22:25

Antech - can you test this fix? Just put a note in here if it is fixed, and I will close the bug. Thanks - Alan
(0035898)
Antech (reporter)
2016-04-18 01:42

Sorry, forgot about this bug report (I only posted on the mailing list). I already tested official precompiled ParaView version 5.0.1 RC2 for Windows x64 as it was introduced and there was no issue with large EnSight file (around 150 millions of cells). Thanks for debugging!
(0035899)
Alan Scott (manager)
2016-04-18 12:52

Tested by reporter. Closing.

 Issue History
Date Modified Username Field Change
2016-03-03 06:54 Antech New Issue
2016-03-03 07:02 Antech Assigned To => Utkarsh Ayachit
2016-03-03 07:02 Antech Severity minor => major
2016-03-03 07:02 Antech Reproducibility have not tried => always
2016-03-03 07:02 Antech Category (No Category) => Bug
2016-03-03 07:02 Antech OS => Windows-7 x64
2016-03-03 07:02 Antech OS Version => 7
2016-03-03 07:02 Antech Steps to Reproduce Updated
2016-03-16 11:28 Utkarsh Ayachit Note Added: 0035844
2016-03-16 11:29 Utkarsh Ayachit Note Added: 0035845
2016-03-16 11:29 Utkarsh Ayachit Status backlog => customer review
2016-03-16 11:29 Utkarsh Ayachit Fixed in Version => 5.0.1
2016-03-16 11:29 Utkarsh Ayachit Resolution open => fixed
2016-04-15 22:25 Alan Scott Note Added: 0035895
2016-04-18 01:42 Antech Note Added: 0035898
2016-04-18 12:52 Alan Scott Note Added: 0035899
2016-04-18 12:52 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team