#Issue with server

11 messages · Page 1 of 1 (latest)

crisp hedge
#

Hi, I have an issue with server. It only appears on linux. On windows it was fine.

Could not terminate pathfinding thread[3] in 50ms, trying Thread.Abort
SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
  at (wrapper managed-to-native) System.Threading.Monitor.Exit(object)
  at Pathfinding.ThreadControlQueue.Pop () [0x0013c] in <7917705e4e234a22a35698385db01373>:0
  at AstarPath.CalculatePathsThreaded (System.Object _threadInfo) [0x00075] in <7917705e4e234a22a35698385db01373>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
AstarPath:CalculatePathsThreaded(Object)
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart(Object)

Unhandled exception during pathfinding. Terminating.
Could not terminate pathfinding thread[7] in 50ms, trying Thread.Abort
SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.
  at (wrapper managed-to-native) System.Threading.Monitor.Exit(object)
  at Pathfinding.ThreadControlQueue.Pop () [0x0013c] in <7917705e4e234a22a35698385db01373>:0
  at AstarPath.CalculatePathsThreaded (System.Object _threadInfo) [0x00075] in <7917705e4e234a22a35698385db01373>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
AstarPath:CalculatePathsThreaded(Object)
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart(Object)

Unhandled exception during pathfinding. Terminating.
Setting up 6 worker threads for Enlighten.
TypeLoadException: Failure has occurred while loading a type.
  at Rocket.Core.Plugins.RocketPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x0003b] in <09b6a6e399e5417eb969381ca3201ce1>:0
  at Rocket.Core.Plugins.RocketPlugin.OnDisable () [0x00000] in <09b6a6e399e5417eb969381ca3201ce1>:0

FileNotFoundException: Could not load file or assembly 'Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at Rocket.Core.Plugins.RocketPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x0003b] in <09b6a6e399e5417eb969381ca3201ce1>:0
  at Rocket.Core.Plugins.RocketPlugin.OnDisable () [0x00000] in <09b6a6e399e5417eb969381ca3201ce1>:0

TypeLoadException: Failure has occurred while loading a type.
  at Rocket.Core.Plugins.RocketPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x0003b] in <09b6a6e399e5417eb969381ca3201ce1>:0
  at Rocket.Core.Plugins.RocketPlugin.OnDisable () [0x00000] in <09b6a6e399e5417eb969381ca3201ce1>:0

TypeLoadException: Failure has occurred while loading a type.
  at Rocket.Core.Plugins.RocketPlugin.UnloadPlugin (Rocket.API.PluginState state) [0x0003b] in <09b6a6e399e5417eb969381ca3201ce1>:0
  at Rocket.Core.Plugins.RocketPlugin.OnDisable () [0x00000] in <09b6a6e399e5417eb969381ca3201ce1>:0

It shows when shutting server down and then it freezes for like a minute and then it shuts down.
Also when starting server up it shows 3 times:
TypeLoadException: Failure has occurred while loading a type.

I would be grateful for any help

tired hinge
sharp hollow
#

pathfinding errors on shutdown shouldn't be cause for concern (and shouldn't cause such a long freeze), it's probably one of your plugins not shutting down properly

crisp hedge
sharp hollow
#

for plugins it could just be some weird interaction where they weren't tested on linux (which is fun considering most servers are on linux) and somehow that's causing some kind of error, but in general if these errors aren't actually causing other big issues for you (the freezing could be an issue for some but that's not for me to decide) you can probably just ignore them

#

some people run servers that get probably 10k+ lines of errors on every start up and things usually still work out

crisp hedge
#

I had many shader errors but never with plugins. Anyway, thanks : )

sharp hollow
#

shader errors are, I believe, just an unity thing, as far as I know even Nelson doesn't know if it's even possible to get rid of those 😄

crisp hedge
#

Yeah, they are no concern for me. I just thought these plugin errors were serious

sharp hollow
#

Honestly can't guarantee there isn't something that actually needs fixing but at least my policy on this is that it's only serious if end users notice an issue or things corrupt