Full Version : Crash then fatal error
xmlspawner >>SpawnEditor 2 Troubleshooting >>Crash then fatal error


<< Prev | Next >>

Gembone- 06-29-2006
imported some .map files from Neruns spawner. saved them then loaded into the server(2.0). ran a save/restart and found there were some bad spawns. so I went into game and used the [xmlfind. found all the bad spawners and removed them. went to run save/restart and server crashed.
CODE
Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.42
Time: 6/29/2006 9:28:05 PM
Mobiles: 8907
Items: 120023
Clients:
- Count: 0

Exception:
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
  at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
  at System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
  at Server.StandardSaveStrategy.SaveMobiles(SaveMetrics metrics)
  at Server.StandardSaveStrategy.Save(SaveMetrics metrics)
  at Server.World.Save(Boolean message)
  at Server.World.Save()
  at Server.Misc.ServerConsole.Next(String input)
  at Server.Misc.ServerConsole.ConsoleListen()
  at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  at System.Threading.ThreadHelper.ThreadStart()


now after this I cannot boot server. it compiles and move on to load the world and then gets fatal error.

CODE


RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2137 items, 512 mobiles)
ACC Registered: Server.ACC.PG.PGSystem
ACC Registered: Server.ACC.CM.CentralMemory
Regions: Loading...done
World: Loading...Error:
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
  at System.IO.__Error.EndOfFile()
  at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
  at System.IO.BinaryReader.ReadInt32()
  at Server.World.Load()
  at Server.ScriptCompiler.Compile(Boolean debug)
  at Server.Core.Main(String[] args)
This exception is fatal, press return to exit



any help would be appreciated.

ArteGordon- 06-29-2006
no idea why it would have crashed. It looks like a core problem. You might try getting the latest 2.0 SVN instead of using RC1 which had quite a few bugs.

I will post a compiled server executable made from the latest SVN in the Files section.

I'm afraid that save is corrupted. You will have to restore a backup in order to restart the server.

Gembone- 06-29-2006
yes its odd because I loaded a backup and it ran fine. already had all the good spawns and no bad spawns. seems to be running fine now. I always get the weird stuff no one can explain. hehe.




Edit: updated with your RunUO.exe and all is still running fine

thanks