TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Torch.server.exe crash at startup #385

Closed sollevix67 closed 4 years ago

sollevix67 commented 4 years ago

Torch Version: v1.3.1.118-master SE Version: 1.194.207

Expected Behavior

Running the STEAMcmd then loading the GUI.

Observed Behavior

What actually happened?

18:24:03.7514 [INFO]   SteamCMD: Checking for DS updates.
18:24:05.2336 [INFO]   SteamCMD: Steam Console Client (c) Valve Corporation
18:24:05.3429 [INFO]   SteamCMD: -- type 'quit' to exit --
18:24:05.4680 [INFO]   SteamCMD: Loading Steam API...OK.
18:24:05.5779 [INFO]   SteamCMD: Logging in user 'boblefurieu' to Steam Public ...
18:24:06.7804 [INFO]   SteamCMD: Logged in OK
18:24:07.6085 [INFO]   SteamCMD: Waiting for user info...OK
18:24:08.8740 [INFO]   SteamCMD: Success! App '298740' already up to date.
18:24:09.2803 [INFO]   SteamCMD: force_install_dir ../
18:24:09.3897 [INFO]   Initializer: Loading config C:\TorchServer\Torch.cfg
C:\Users\sollevix67\AppData\Roaming\SpaceEngineersDedicated
C:\TorchServer\Instance

Exception non gérée : System.TypeInitializationException: Une exception a été levée par l'initialiseur de type pour 'Torch.TorchBase'. ---> System.TypeLoadException: La méthode 'get_IsCriticalMemory' du type 'VRage.Platform.Windows.MyCrashReporting' de l'assembly 'VRage.Platform.Windows, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' n'a pas d'implémentation.
   à VRage.Platform.Windows.MyVRagePlatform..ctor(String applicationName, MyLog log, String appDataPath, Boolean detectLeaks)
   à VRage.Platform.Windows.MyVRageWindows.Init(String applicationName, MyLog log, String appDataPath, Boolean detectLeaks, Boolean performInit)
   à Torch.TorchBase..cctor() dans C:\jenkins\workspace\Torch_Torch_master\Torch\TorchBase.cs:ligne 69
   --- Fin de la trace de la pile d'exception interne ---
   à Torch.TorchBase..ctor()
   à Torch.Server.TorchServer..ctor(TorchConfig config) dans C:\jenkins\workspace\Torch_Torch_master\Torch.Server\TorchServer.cs:ligne 61
   à Torch.Server.Initializer.Run() dans C:\jenkins\workspace\Torch_Torch_master\Torch.Server\Initializer.cs:ligne 127
   à Torch.Server.Program.Main(String[] args) dans C:\jenkins\workspace\Torch_Torch_master\Torch.Server\Program.cs:ligne 76
   à System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
   à System.AppDomain.ExecuteAssemblyByName(String assemblyName, String[] args)
   à Torch.Utils.TorchLauncher.Launch(String entryPoint, String[] args, String[] binaryPaths) dans C:\jenkins\workspace\Torch_Torch_master\Torch\Utils\TorchLauncher.cs:ligne 38
   à Torch.Server.Program.Main(String[] args) dans C:\jenkins\workspace\Torch_Torch_master\Torch.Server\Program.cs:ligne 76

Steps to Reproduce

Just run in Administrator Torch.Server.exe on a virtualized Win Server 2016 with 8 GB vRAM & 4 core vCPU @ 3.1GHz

Other Information

Provide links to game logs or saves here if necessary.

Jimmacle commented 4 years ago

Manually delete VRage.Platform.Windows.dll from the Torch root and update to v1.3.1.118-master to get running again after the SE update today: https://build.torchapi.net/job/Torch/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/torch-server.zip