Closed JaRoSchm closed 2 years ago
@JaRoSchm -- I am not able to reproduce this on MacOS. What platform are you trying this on? I also added a test case for this that should catch the error on all platforms but then you seem to be getting this intermittently. Are you sure you don't have a lingering older version of Mayavi? Can you try to pip uninstall mayavi and then re-install it and try then?
This happened on two PCs with Ubuntu 21.10 and 20.04. Mayavi and VTK are installed in a conda environment with Python 3.9.7. I tried it again with a new environment with the installed packages listed below.
Could you run this under gdb and show a traceback?
This is quite interesting. If I run the program under gdb it works all the time. Without gdb the problem is still present. This sounds like described in this StackOverflow question: https://stackoverflow.com/questions/30043750/no-segmentation-fault-if-program-running-under-gdb. So this could be a VTK error?
Using VTK 9.0.3 fixed this problem for now. This is at least a temporary solution for me. Unfortunately, I don't have any knowledge about C or the pure VTK Python library to report this issue at the VTK repo. From reading some things I suspect that a race condition is the origin of this issue.
This seems to be fixed by uninstalling libtcmalloc-minimal4 although I have no idea how this could be related.
Hi, while my first issue with clipping using the GeometryFilter (#1071) was fixed, I now noticed a new error with the newest Mayavi 4.7.4 and VTK 9.1.0. The example below fails in about 50 % of the cases with
The example (same as in #1071) reproducing this error is adopted from https://docs.enthought.com/mayavi/mayavi/auto/example_adjust_cropping_extents.html