В течение CQWW160 постоянно выскакивала ошибка связанная с Телнет. Всего за 18 часов работы получил 178 exceptions. Иногда ошибки сыпались с такой скоростью, что прекратить безобразие можно было только прибив процесс n1mm.exe , рискуя потерять лог
Я один такой был или кто-то тоже может подтвердить такую проблему?
Для NA3M пример одного из exceptions:
Код:
Thread # 36 @ 2021-01-28 02:01:44.482 AM
N1MMLogger.net - Version 1.0.8930.0
Built: 2021-01-26 16:31:10
Microsoft Windows NT 10.0.19042.0,64:1,en-US,en-US
Error occurred at: 2021-01-28 04:01:44 in Thread: Name: 'TelnetWindow UI Thread', Id: '36', Prio: 'Normal'
---------------------------------------------------------------------------------------
System.ArgumentException: File format is not valid.
at System.Windows.Forms.RichTextBox.StreamIn(Stream data, Int32 flags)
at System.Windows.Forms.RichTextBox.StreamIn(String str, Int32 flags)
at System.Windows.Forms.RichTextBox.set_SelectedRtf(String value)
at N1MMLogger.Net.TelnetClient._Closure$__106-0._Lambda$__0() in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Forms\Telnet Client.vb:line 1077
at N1MMLogger.Net.SharedCode._Closure$__223-0._Lambda$__0() in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Modules\SharedCode.vb:line 2541
at N1MMLibrary.SharedCode.InvokeIfRequired(Control control, MethodInvoker action) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Library\Classes\SharedCode.vb:line 572
at N1MMLogger.Net.SharedCode.DoWhileSuspendLayout(Control target, Action action) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Modules\SharedCode.vb:line 2536
at N1MMLogger.Net.TelnetClient.SafelyAppendText(String aMsg, PacketMessageExtraInfo packetMessageInfo) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Forms\Telnet Client.vb:line 991
at N1MMLogger.Net.TelnetClient.AccumulateMessages(String aMsg, PacketMessageExtraInfo packetMessageInfo) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Forms\Telnet Client.vb:line 973
---------------------------------------------------------------------------------------
Call Stack before the runtime error: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at N1MMLibrary.SharedLib.CallStackString() in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Library\Classes\SharedCode.vb:line 91
at N1MMLogger.Net.SharedCode.HandleError(Exception e, String PortName, String Info, String additionalInfoForLogFile) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Modules\SharedCode.vb:line 213
at N1MMLogger.Net.TelnetClient.AccumulateMessages(String aMsg, PacketMessageExtraInfo packetMessageInfo) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Forms\Telnet Client.vb:line 982
at N1MMLogger.Net.TelnetClient._Closure$__104-0._Lambda$__0() in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Forms\Telnet Client.vb:line 960
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at N1MMLogger.Net.TelnetClient.WndProc(Message& m) in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Forms\Telnet Client.vb:line 127
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at N1MMLogger.Net.SharedCode._Closure$__193`1._Lambda$__193-3() in C:\Users\micro\source\Workspaces\N1MM Logger on .NET\main\N1MM Logger.Net\Modules\SharedCode.vb:line 2043
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Похоже по телнету прилетали какие-то символы, которые не нравятся коду логгера.
Социальные закладки