-
Notifications
You must be signed in to change notification settings - Fork 762
Description
Environment
NetMQ Version: 4.0.1.8
Operating System: win10
.NET Version: .NET6
Expected behaviour
An error occurred while executing concurrent testing.
invoke this is _publisherSocket.SendMoreFrame("A:b")
.SendFrame(DateTimeOffset.Now.ToString());
An unhandled exception has occurred while executing the request:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at NetMQ.Core.Utils.YQueue1.Push(T& val) at NetMQ.Core.YPipe1.Write(T& value, Boolean incomplete)
at NetMQ.Core.Pipe.Write(Msg& msg)
at NetMQ.Core.Patterns.Utils.Distribution.Write(Pipe pipe, Msg& msg)
at NetMQ.Core.Patterns.Utils.Distribution.Distribute(Msg& msg)
at NetMQ.Core.Patterns.Utils.Distribution.SendToMatching(Msg& msg)
at NetMQ.Core.Patterns.XPub.XSend(Msg& msg)
at NetMQ.Core.SocketBase.TrySend(Msg& msg, TimeSpan timeout, Boolean more)
at NetMQ.NetMQSocket.TrySend(Msg& msg, TimeSpan timeout, Boolean more)
at NetMQ.OutgoingSocketExtensions.Send(IOutgoingSocket socket, Msg& msg, Boolean more)
at NetMQ.OutgoingSocketExtensions.SendFrame(IOutgoingSocket socket, String message, Boolean more)
at NetMQ.OutgoingSocketExtensions.SendMoreFrame(IOutgoingSocket socket, String message)
at XXX.Plugin.Tdengine.ZeroMQController.PublisherSocket() in ZeroMQ\Controller\ZeroMQController.cs:line 55
Actual behaviour
project code github address:https://github.com/LeonKou/NetPro/blob/dev_6.0/src/sample/XXX.Plugin.ZeroMQ/Controller/ZeroMQController.cs



