File Open can cause ParaView to crash when invalid volume mounted
Multiple users have reported that ParaView crashes immediately on mac after clicking on File
-> Open
. The crash happens before the file browser appears, so it has nothing to do with a malformed file. Here are two references to such a problem:
- https://www.paraview.org/pipermail/paraview/2017-March/039781.html
- https://discourse.paraview.org/t/paraview-crashes-immediately-when-opened/6278
In both cases, the problem appeared to be an issue with the system having mounted a volume that cannot be accessed. One of the users reported that running ls -l /Volumes
caused the error ls: volume_name: Permission denied
to occur. Unmounting the inaccessible volume seems to fix the problem with ParaView.
ParaView seems to be crashing when it is not able to access mounted volumes (probably when it is collecting the "special" directories). ParaView should instead either issue a warning or just ignore the directory.
This might be related to #17536 (closed), which appears to be a similar problem on Windows.
A workaround to this problem is to unmount any file system that you don't have access to.