ParaView 5.7.0-RC2: pvpython crashes on exit on Ubuntu 16.04
When running in an Ubuntu 16.04 docker container, pvpython from the ParaView-5.7.0-RC2 binary distribution exits with error
Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion `map->l_init_called' failed!
when paraview.simple was imported, e.g., if from paraview.simple import *
was executed and pvpython was quit.
This error does not occur if Show()
was successfully called.
For example, echo "from paraview.simple import *; Sphere()" | pvpython
will crash on exit, but echo "from paraview.simple import *; Sphere(); Show()" | pvpython
will not. The error only occurs on exit, all commands seem to be executed without problems.
Steps to reproduce
docker run -it ubuntu:16.04
apt-get update
apt-get install -y wget
wget "https://www.paraview.org/files/v5.7/ParaView-5.7.0-RC2-osmesa-MPI-Linux-Python3.7-64bit.tar.gz"
tar xf ParaView-5.7.0-RC2-osmesa-MPI-Linux-Python3.7-64bit.tar.gz
echo "from paraview.simple import *" | ./ParaView-5.7.0-RC2-osmesa-MPI-Linux-Python3.7-64bit/bin/pvpython
- The binaries from the ParaView-5.7.0-RC2-MPI-Linux-Python3.7-64bit release raise the same error (with additional packages
libglu1-mesa libsm6 libxt6
installed). - The error does not occur with
ubuntu:18.04
. - The error does not occur with ParaView-5.6.0-osmesa-MPI-Linux-64bit on
ubuntu:16.04
.