Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2017-01-11 Thread Alessandro De Maio
Hi David, thank you for the correction. It should solve the problem. Without increasing sub it will remain 0 and the Resize call does nothing. A. On Tue, Jan 10, 2017 at 10:20 PM, David E DeMarle wrote: > Thanks Allesandro. > > From your long message ;), I think

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2017-01-10 Thread David E DeMarle
Thanks Allesandro. >From your long message ;), I think that the fix then is to not overcount the space taken for the polyhedral cells. https://gitlab.kitware. com/vtk/vtk/merge_requests/2346 thoughts? David E DeMarle Kitware, Inc. R Engineer 21 Corporate Drive Clifton Park, NY 12065-8662

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-16 Thread Alessandro De Maio
I've done some more debugging on this topic. The problem is not related only to windows machines: the easy example that I attached at the beginning of this post (polyhedron.xmf) seems to be correctly opened on Linux machines, but if you try to reopen it several times (for example using the new

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-15 Thread David E DeMarle
On Thu, Dec 15, 2016 at 4:39 PM, David E DeMarle wrote: > fails on windows some of the time. ;) If you open it up with the spreadsheet view (so no rendering), you can see that the cell connectivity array gets nonsense in it - some of the time. When you then open a

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-15 Thread David E DeMarle
Can confirm that it Alessangro's initial xdmf file fails on windows (crash is in somewhere in the rendering stack - need a debug build to diagnose further) but works OK on Linux. Please submit an issue on the ParaView issue tracker. David E DeMarle Kitware, Inc. R Engineer 21 Corporate Drive

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-01 Thread Alessandro De Maio
Both the cases are ok on the Windows PC. On Thu, Dec 1, 2016 at 6:19 PM, Armin Wehrfritz wrote: > To follow up on this issue, I have done some more testing. From the link > below you can find two datasets with polyhedral cells, where one is > working just fine and the other

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-12-01 Thread Armin Wehrfritz
To follow up on this issue, I have done some more testing. From the link below you can find two datasets with polyhedral cells, where one is working just fine and the other one is crashing consistently when opening it in ParaView 5.2. The XDMF files are created form the respective .vtu files with

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-11-30 Thread Alessandro De Maio
You're right: the polyhedral cells of the cube.vtu example do not guarantee the planarity of faces, but this is a typical case of a polyhedral mesh automatically generated starting from a tetrahedral one (this example has been built using the Ansys-Fluent converter) and I think it's quite a usual

Re: [Paraview] Fwd: Segfault reading polyhedral cells xdmf3 file

2016-11-30 Thread Armin Wehrfritz
In attach you can find the output of the saving of the polyhedron.vtu (saved.xmf and saved.h5) from the Windows machine. OK, I tested the "saved.xmf" file and I can open it on my Linux machine without issues. Also, I compared the files generated on windows and linux machines, and the topology