Looks like changes where made to "DOL.GS.Util.GetThreadStack(Thread thread) in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\Util.cs:line 412"
in SVN 3358
It seems like its trying to restore the already restored thread???
I just reverted this section to 3357 on my server to see if it happens again... Any other tips let me know. I haven't found any other errors to point at other issues...
- Code: Select all
/// <summary> /// Gets the stacktrace of a thread /// </summary> /// <remarks> /// The use of the deprecated Suspend and Resume methods is necessary to get the StackTrace. /// Suspend/Resume are not being used for thread synchronization (very bad). /// It may be possible to get the StackTrace some other way, but this works for now /// So, the related warning is disabled /// --- This can cause a lot of trouble for Mono Users. /// </remarks> /// <param name="thread">Thread</param> /// <returns>The thread's stacktrace</returns> public static StackTrace GetThreadStack(Thread thread) { #pragma warning disable 0618 try { thread.Suspend(); } catch(Exception e) { return new StackTrace(e); } finally { thread.Resume(); } StackTrace trace; try { trace = new StackTrace(thread, true); } catch(Exception e) { trace = new StackTrace(e); } finally { thread.Resume(); } #pragma warning restore 0618 return trace; }
- Code: Select all
22:24:07,279 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Found Frozen Region Timer ----- Name: RegionTime1 - Current Time: 7303483 22:24:17,281 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Failed to stop the TimeManager: RegionTime1 22:24:22,747 - [18] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Found Frozen Region Timer ----- Name: RegionTime1 - Current Time: 7303483 22:24:33,225 - [18] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Failed to stop the TimeManager: RegionTime1 22:24:36,526 - [10] - ERROR - DOL.GS.GameEvents.StatPrint - stats Log callback System.Threading.ThreadStateException: Thread is not user-suspended; it cannot be resumed. at System.Threading.Thread.ResumeInternal() at System.Threading.Thread.Resume() at DOL.GS.Util.GetThreadStack(Thread thread) in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\Util.cs:line 412 at DOL.GS.GameTimer.TimeManager.GetStacktrace() in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\GameTimer.cs:line 528 at DOL.GS.GameEvents.StatPrint.PrintStats(Object state) in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\StatPrint.cs:line 204 22:24:38,181 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Found Frozen Region Timer ----- Name: RegionTime1 - Current Time: 7303483 22:24:47,117 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Failed to stop the TimeManager: RegionTime1 22:24:51,990 - [18] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Found Frozen Region Timer ----- Name: RegionTime1 - Current Time: 7303483 22:25:02,257 - [18] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Failed to stop the TimeManager: RegionTime1 22:25:05,844 - [10] - ERROR - DOL.GS.GameEvents.StatPrint - stats Log callback System.Threading.ThreadStateException: Thread is not user-suspended; it cannot be resumed. at System.Threading.Thread.ResumeInternal() at System.Threading.Thread.Resume() at DOL.GS.Util.GetThreadStack(Thread thread) in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\Util.cs:line 412 at DOL.GS.GameTimer.TimeManager.GetStacktrace() in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\GameTimer.cs:line 528 at DOL.GS.GameEvents.StatPrint.PrintStats(Object state) in c:\DOLSharp\DOLSharp\trunk\GameServer\gameutils\StatPrint.cs:line 204 22:25:07,645 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Found Frozen Region Timer ----- Name: RegionTime1 - Current Time: 7303483 22:25:17,376 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Failed to stop the TimeManager: RegionTime1 22:25:22,362 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Found Frozen Region Timer ----- Name: RegionTime1 - Current Time: 7303483 22:25:32,362 - [40] - ERROR - DOL.GS.GameEvents.RegionTimersResynch - ----- Failed to stop the TimeManager: RegionTime1 22:25:35,704 - [40] - ERROR - DOL.GS.GameEvents.StatPrint - stats Log callback