google-code-export / fluorinefx

Automatically exported from code.google.com/p/fluorinefx
2 stars 4 forks source link

Crash for 'System.FormatException' #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
 Error: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at FluorineFx.Net.RtmpClientConnection.HandleError(Exception exception)
   at FluorineFx.Net.RtmpClientConnection.BeginReadCallbackProcessing(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

-----------------------------
In FluorineFx.Net.RtmpClientConnection.HandleError: 
log.Debug(__Res.GetString(__Res.Rtmp_SocketConnectionReset, _connectionId));

the res string for Rtmp_SocketConnectionReset is '{0} Connection reset by peer 
({1})' which has 2 parameter, while only on arg '_connectionId' is provided.

Original issue reported on code.google.com by yuan.198...@gmail.com on 12 May 2014 at 7:34