Export of post-processing data to .pvtu crashes
Dear all, I am running into the following bug: When trying to export post-processing data to ".pvtu" format, gmsh crashes with segmentation fault:
"gmsh" received signal SIGSEGV, Segmentation fault.
0x000000000131ffaa in adaptiveElements<adaptiveTetrahedron>::addInViewForVTK(int, PViewData*, VTKData&, bool, bool) ()
This problem is reproducible with scalar or vector data on windows and linux with the last stable and development versions. It is not present in gmsh 2.11.0.
Some more info from valgrind:
==10453== Process terminating with default action of signal 11 (SIGSEGV)
==10453== Access not within mapped region at address 0x0
==10453== at 0x131FFAA: adaptiveElements<adaptiveTetrahedron>::addInViewForVTK(int, PViewData*, VTKData&, bool, bool) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1303845: adaptiveData::changeResolutionForVTK(int, int, double, int, bool, std::string const&, int) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x12D6E9E: PViewData::saveAdaptedViewForVTK(std::string const&, int, int, int, double, int, bool) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x12CC147: PView::writeAdapt(std::string const&, int, bool, int, double, int, bool) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1473B70: ??? (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x14747FE: pvtuAdaptFileDialog(char const*) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x141905E: ??? (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1AAF0BD: Fl_Menu_::picked(Fl_Menu_Item const*) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1AAF7F2: Fl_Menu_Bar::handle(int) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1A9FFCD: Fl_Group::handle(int) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1A93223: ??? (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)
==10453== by 0x1A93CE8: Fl::handle_(int, Fl_Window*) (in /home/rouckas/Downloads/gmsh-git-Linux64/bin/gmsh)