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

Strange Crash 2x when starting server after updating torch/se... unknown reasons? #109

Closed XeroCreator closed 7 years ago

XeroCreator commented 7 years ago

**Happens on latest torch/SE version. info should be in log for when it happened this time, but it has happened on the previous version as well.

Expected Behavior

What did you expect to happen? -Server to start without issue?

Observed Behavior

What actually happened? This?! I'm not really sure tbh. https://cdn.discordapp.com/attachments/262467504830414848/355656155650850816/EXCEPTIONNN.txt

Steps to Reproduce

  1. Updated server via manually copy/pasting torch files into directory, as well as concealment and essentials.
  2. Tried to repro but it seems to only happen when SE updates so far.

What happened was, when I started the server after updating SE, then later Torch/Essentials/Concealment all together... I got the exception here: https://cdn.discordapp.com/attachments/262467504830414848/355656155650850816/EXCEPTIONNN.txt

  1. After completing this, I only re-started the server, and got the exception for the second time.
  2. Upon the third time... everything was fine, no exception.

I've tried to re-produce it on LAN by making a new server instance and have no luck... It's happened once before with a similar exception but I did not see any exception the first time.

Other Information

exception: https://cdn.discordapp.com/attachments/262467504830414848/355656155650850816/EXCEPTIONNN.txt

this was the only exception i could find in the logs. other than the config being invalid or w/e from vanilla issues.

Equinox- commented 7 years ago

Suspect that this issue is related to the console stream getting plugged up. With WPF the console stream should be a pipe, and if it's not getting drained that would be a problem. Try launching with -nogui and seeing if you can reproduce.

XeroCreator commented 7 years ago

no dice.

Equinox- commented 7 years ago

As in "no you couldn't reproduce it" or "no it still had the same issue"?

XeroCreator commented 7 years ago

no dice as in no i couldn't reporoduce it. no dice is generally saying no. if it still had the same issue i'd be like YEAH I DID IT ... but no... i didn't do it.

Equinox- commented 7 years ago

Will be addressed in #129

Varaxian commented 7 years ago

Reproduced:

When pasting files into the same directory that TORCH was previously, Windows Firewall faults. It is referencing the exact same file location, but isn't actually giving permissions to allow it through.

Resolve: Remove all instances of TORCH from Windows firewall COMPLETELY, then add them to the allow list again after you have updated to new torch files.

Note: All new DLL files that are unpacked are blocked by default. It is advisable to right click each DLL and go to Properties, then tick the "Unblock" checkbox, then press apply (shouldn't have to do this often for all, but will need to everytime Essentials or Concealment is updated).

XeroCreator commented 7 years ago

That might be related but I replace all torch files manually and it only errors like this a few times and then stops and everything is fine. It's been reproduced with just updating SE, but again it's fine after 2-3 startups. Torch is run as admin as well, which I setup UAC to give permissions for. I'm going to continue to update except try overwriting instead of manual delete and see if it happens again.

That may be temporary solution but it could also just be your settings on uac. Either way this should already be fixed anyway.