IRL2 / nanover-server-rs

Other
0 stars 1 forks source link

Server sometimes crashes when loading new simulations when using the server via the command line #196

Open rhoslynroebuck opened 9 months ago

rhoslynroebuck commented 9 months ago

Using server via GUI:

  1. Load simulations: nanotube, 17-ala, buckyballs
  2. Run game as written on git repo (puppeteering client + VR client)
  3. Normal behaviour, game runs through to the end and server never crashes (unless the energy of the sim becomes too high too quickly).

Using server via command line:

  1. Load same simulations as above
  2. Run game as above
  3. There is inconsistent behaviour, but the server will sometimes crash when a new simulation is loaded (using NarupaIMDClient.run_command("playback/load", index=n)). This has happened for both the buckyball and 17-ala simulations.
    • Error message: fatal runtime error: Rust cannot catch foreign exceptions

The server has crashed when using the puppeteering client and a basic python client in a Jupyter notebook.