Using a publisher socket in a tight loop, sending random packets will occasionally trigger this exception.
It's either using the SendFrames(byte[], int) overload or just the (byte[]), I'm not sure which causes it.
NetMQ.FaultException: Cannot close an uninitialised Msg.
at NetMQ.Msg.Close()
at NetMQ.Core.Transports.EncoderBase.Encode(ByteArraySegment& data, Int32 size)
at NetMQ.Core.Transports.StreamEngine.BeginSending()
at NetMQ.Core.Transports.StreamEngine.FeedAction(Action action, SocketError socketError, Int32 bytesTransferred)
at NetMQ.Core.ZObject.ProcessCommand(Command cmd)
at NetMQ.Core.IOThread.Ready()
at NetMQ.Core.Utils.Proactor.Loop()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Environment
Using a publisher socket in a tight loop, sending random packets will occasionally trigger this exception. It's either using the SendFrames(byte[], int) overload or just the (byte[]), I'm not sure which causes it.