Segfault crash when opening a file from GUI

Hello Alex,

Description: I discovered a very peculiar issue when loading a file. It looks like it has to do with file's path. When trying to open the attached xyz file (single H atom at origin but the file doesn't matter) repeatedly in the given directory structure, OVITO crashes via segmentation fault.

OVITO Basic version: 3.7.2

OS: Ubuntu Linux (Pop!_OS 21.10)

How to reproduce:

  1. Unpack the attached directory structure in /home/$USERNAME.
  2. Open OVITO.
  3. Open the xyz file.
  4. Open the same xyz file again via "Pick new file" in Data source sub-window.

Sometimes, it will happen the first time the file is opened.

GDB backtrace and a zip archive with the directory structure are attached.

Best,

Arkadi

backtrace_ovito_bugreport.logTest.zip