ParaView segmentation fault when reading GMSH files (GmshIO Plugin)

When attempting to load a GMSH file with the GmshIO plugin that is included in ParaView 5.10.0-RC1+.
ParaView suddenly aborts and throws an error about libc. I suspect that this is a bug related to different versions of libc.
Can someone verify that this is not just happening to me?

Additional info

OS: Linux (Ubuntu 20.04)
Paraview affected versions: 5.10.0-RC1+
GMSH version: tested against 4.0.1 and 4.8.4 (problem is probably present for all 4+ versions)

Loguru caught a signal: SIGSEGV
Stack trace:
0       0x7f90e5102210 /lib/x86_64-linux-gnu/ [0x7f90e5102210]
(  45.741s) [paraview        ]                       :0     FATL| Signal: SIGSEGV

Test files

Some simple ASCII and binary format v4 GMSH files
test-ascii.msh (23.5 KB)
test-bin.msh (32.8 KB)

Steps to recreate

  1. Launch ParaView
  2. Load GmshIO Plugin, Tools> Manage Plugins> GmshIO and press Load Selected
  3. Open one of the supplied test files, ParaView should segfault

I reproduce, FYI @timothee.chabat @Charles_Gueunet

@gnikit build paraview and the plugin yourself should work around it.

This is a known issue impacting our ParaView binary, generated by the superbuild.
There is an issue here about it:

As told by @mwestphal , this can be solved by compiling ParaView yourself with PARAVIEW_PLUGIN_ENABLE_GmshIO set to ON

1 Like