View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015243ParaViewBugpublic2015-01-07 16:522015-06-02 19:02
ReporterHermann Rochholz 
Assigned ToJoachim Pouderoux 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
Platformwin7 64OSwin 64OS Version7
Product Version4.2 
Target VersionFixed in Version4.1 
Summary0015243: Paraview 4.1 reads a stl-file but Paraview 4.2 doesn't; 64 bit Win7 HE
DescriptionI read huge stl-files with Paraview (13MB). By chance I have 2 Paraview-Version on my PC. When I read one file in 4.1.0 I get the message:
ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\Geometry\vtkSTLReader.cxx, line 378
vtkSTLReader (00000000154D2BC0): STLReader error reading file: D:\RochholzH\...deleted_path...\PREBEND_GRID.stl Premature EOF while reading point.
What is a little bit strange because C:\DBD\... is not existent on my PC. But File is displayed and I can view it.
----
But when I try to read the same file in 4.2.0 I get:
ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\IO\Geometry\vtkSTLReader.cxx, line 380
vtkSTLReader (000000000E324E00): STLReader error reading file: D:\RochholzH\...deleted_path...\PREBEND_GRID.stl Premature EOF while reading point.

ERROR: In C:\DBD\pvs-x64\paraview\src\paraview\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 783
vtkPVCompositeDataPipeline (000000000E330310): Algorithm vtkFileSeriesReader(000000000E3307C0) returned failure for request: vtkInformation (0000000015E54740)
  Debug: Off
  Modified Time: 363427
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0
  FROM_OUTPUT_PORT: 0
-------------
And data is not read in.
There is no difference in installation place
Steps To ReproduceReading in stl doesn't work.
TagsNo tags attached.
ProjectKitware
Topic Namefix_vtklegacy_loading_crash
Typeusability
Attached Files

 Relationships
related to 0015257closedJoachim Pouderoux Crash when loading a VTK legacy file (.vtk) 

  Notes
(0034064)
Joachim Pouderoux (developer)
2015-01-12 05:42

The problem is the same than the one appears when loading a VTK legacy file (and maybe some other file formats). The patch has been commited for review in the related ticket.
(0034066)
Hermann Rochholz (reporter)
2015-01-12 09:33

Thank You. Is it also connected to the Issue with the wrong path?
C:\DBD\pvs-x64\paraview\...
(This nonexisting "DBD")
Maybe it's only me, but wrong error messages are something contradictory.
(0034067)
Joachim Pouderoux (developer)
2015-01-12 09:36

No, this fixes the crash only.
Regarding the error message, this is due to a bad formatting or your STL file OR an unsupported feature in the STL file reader. I have not been able to reproduce the issue with all the STL files I have. Could you share a file that generate such an error?
(0034073)
Joachim Pouderoux (developer)
2015-01-13 03:49

Topic Pushed/Merged on stage
(0034076)
Hermann Rochholz (reporter)
2015-01-13 10:08

I could share. I tried to reduce the problem.
But then Error message is away. :-(
reduced it's about 2MB, I can't put on net.
My email is username
at yahoo dot de

It's generated by a fortran routine always with the same triangles.
I show you the structure:

 solid PREBEND_GRID
facet normal -0.001068 0.994520 0.104537
outer loop
vertex 0.000 1658.290 75.399
vertex -2330.448 1655.773 75.543
vertex 0.000 1637.728 271.011
end loop
endfacet
facet normal -0.001071 0.994516 0.104576
outer loop
vertex -2330.448 1635.211 271.084
vertex 0.000 1637.728 271.011
vertex -2330.448 1655.773 75.543
end loop
endfacet
facet normal -0.001055 0.981938 0.189202
outer loop
vertex 0.000 1637.728 271.011
vertex -2330.448 1635.211 271.084
vertex 0.000 1621.172 356.940
end loop
endfacet
...... repetitions of 7 Lines ................
 endsolid MOULD_GRID
(0034077)
Joachim Pouderoux (developer)
2015-01-13 11:12
edited on: 2015-01-13 11:24

OK. The problem is due to the "NaN" values in your files. Replace them by 0 and it works.
I will probably submit a patch anyway.

(0034078)
Hermann Rochholz (reporter)
2015-01-13 11:51

Sorry: Everything is written in Double Precision.
And I saw: Message in 4.1, Error in 4.2.
Therefore I submitted this Bug report.
Maybe some error message that
"there is some nonsense in line xxx" would be best...
Thank you.
(0034079)
Joachim Pouderoux (developer)
2015-01-13 12:16

Change I843b44ce: Clean and fix STL reader.

STL reader used to fail loading ASCII files in some situation.
See ParaView tickt 0015243.
Fix that and now print the line count on error.

Change-Id: I843b44ce29257450b96ee67778ab09d82445892d

http://review.source.kitware.com/#/c/18850/ [^]
(0034081)
Joachim Pouderoux (developer)
2015-01-14 03:48

The patch which allows to load your file without any problem has been pushed into the VTK code tree. Hopefully it will be applied for ParaView 4.3.
(0034446)
Alan Scott (manager)
2015-06-02 19:02

Closing.
* One bug was fixed in 15257.
* The other one is in the file given by the reporter. Trusting Joachim both to the cause of the error, and his patch to make ParaView not error out on this issue (i.e., NAN's in the file).

 Issue History
Date Modified Username Field Change
2015-01-07 16:52 Hermann Rochholz New Issue
2015-01-07 16:52 Hermann Rochholz Assigned To => Sören Gebbert
2015-01-07 16:56 Hermann Rochholz Project TBD => Kitware
2015-01-07 16:56 Hermann Rochholz Type incorrect functionality => usability
2015-01-07 16:56 Hermann Rochholz Severity minor => feature
2015-01-07 16:56 Hermann Rochholz Reproducibility have not tried => always
2015-01-07 16:56 Hermann Rochholz Category (No Category) => Bug
2015-01-07 16:56 Hermann Rochholz OS => win 64
2015-01-07 16:56 Hermann Rochholz OS Version => 7
2015-01-07 16:56 Hermann Rochholz Platform => win7 64
2015-01-07 16:56 Hermann Rochholz Fixed in Version => 4.1
2015-01-07 16:56 Hermann Rochholz Steps to Reproduce Updated
2015-01-12 05:40 Joachim Pouderoux Assigned To Sören Gebbert => Joachim Pouderoux
2015-01-12 05:40 Joachim Pouderoux Status backlog => active development
2015-01-12 05:41 Joachim Pouderoux Relationship added related to 0015257
2015-01-12 05:42 Joachim Pouderoux Note Added: 0034064
2015-01-12 05:43 Joachim Pouderoux Topic Name => fix_vtklegacy_loading_crash
2015-01-12 09:33 Hermann Rochholz Note Added: 0034066
2015-01-12 09:36 Joachim Pouderoux Note Added: 0034067
2015-01-13 03:49 Joachim Pouderoux Note Added: 0034073
2015-01-13 03:49 Joachim Pouderoux Status active development => gatekeeper review
2015-01-13 03:49 Joachim Pouderoux Resolution open => fixed
2015-01-13 10:08 Hermann Rochholz Note Added: 0034076
2015-01-13 11:12 Joachim Pouderoux Note Added: 0034077
2015-01-13 11:23 Joachim Pouderoux Status gatekeeper review => active development
2015-01-13 11:24 Joachim Pouderoux Note Edited: 0034077
2015-01-13 11:51 Hermann Rochholz Note Added: 0034078
2015-01-13 12:16 Joachim Pouderoux Note Added: 0034079
2015-01-14 03:48 Joachim Pouderoux Note Added: 0034081
2015-05-27 04:13 Joachim Pouderoux Status active development => gatekeeper review
2015-06-02 08:42 Utkarsh Ayachit Status gatekeeper review => customer review
2015-06-02 19:02 Alan Scott Note Added: 0034446
2015-06-02 19:02 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team