[zeromq-dev] Bad Pointer Exception with ZMQ 2.2.X
Viviano, Aaron
Aaron.Viviano at quadTechWorld.com
Fri Jul 20 18:28:40 CEST 2012
Hello ZMQ Devs,
I found the issue and it is with CLRZMQ and not LIBZMQ. Turns out that CLRZMQ was using the same object for both sending and receiving. When sending messages at a high enough rate of speed CLRZMQ was deleting the message at the same time that LIBZMQ was using it.
For those curious the issue is with "private IntPtr _msg;" in Socket.cs. Remove that variable and put unique instances in the send, forward, and receive functions that previously used the _msg variable.
My apologies for not finding that the flaw was outside LIBZMQ earlier. I will contact the CLRZMQ Devs about this.
Thank you,
Aaron Viviano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120720/8effc151/attachment.htm>
More information about the zeromq-dev
mailing list