[zeromq-dev] System.AccessViolationException with multiple subscriptions

Michael Compton michael.compton at littleedge.co.uk
Wed Nov 17 20:04:20 CET 2010


On Wed, 2010-11-17 at 10:09 +0000, T-zex wrote:
> Hi,
> 
> I'm getting System.AccessViolationException: Attempted to read or
> write protected memory, when subscribing from multiple processes on
> the same port.
> I've noticed that if delay is introduced between each subscribtion
> this exception is not thrown anymore.
> Is it required to do some node coordination in such scenario? We are
> using c# binding on windows.
> 
> Stack:
>    at ZMQ.C.zmq_recv(IntPtr, IntPtr, Int32)
>    at ZMQ.Socket.Recv(ZMQ.SendRecvOpt[])
> 
> Thanks.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Hi,

I ran a test with 16 client applications subscribing to the same
publisher using TCP protocol and there was no exception generated.

I was using CLRZMQ2.

I think you will have to supply more information for the problem to be
identified

Michael





More information about the zeromq-dev mailing list