Using the official ParaView binaries
ParaView-5.8.0-MPI-Linux-Python3.7-64bit on Ubuntu 16.04, I get an error when doing
where foo.py only contains the line
from paraview.simple import *
Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion `map->l_init_called' failed!
My colleague with the same OS can reproduce on his machine.
Any ideas on what might cause this?
When I add to
foo.py the following commands, there is no more error:
Using strace we found that the following libraries are loaded additionally when we
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so /usr/lib/x86_64-linux-gnu/libdrm_intel.so.1 /usr/lib/x86_64-linux-gnu/libdrm_nouveau.so.2 /usr/lib/x86_64-linux-gnu/libdrm_radeon.so.1
The strace command:
strace -e open pvpython foo.py |& grep "\.so" | grep -v "= -1" | grep -o '".*"' | sed 's/"//g' | sort | uniq
So apparantly loading these libraries fixes the issues at hand. However, it is still not expected behavior I would say…