[zeromq-dev] JeroMQ 0.3.5 - Purpose of assert on line 173 Signaler.java
Dongmin Yu
miniway at gmail.com
Tue Jul 28 21:43:40 CEST 2015
That could happens if you share zeromq socket between threads or Thread.interrupt is used.
Could you upload your test case?
Thanks
Min
> On Jul 28, 2015, at 12:32 PM, Telford Berkey <tberkey at synthostech.com> wrote:
>
> While running load tests with JeroMQ 0.3.5, I’ve periodically received an assertion error for line 173 in Signaler.java.
>
> Other than the assert, there isn’t any error handling related to the number of bytes not being equal to 1. If asserts are disabled for this class, everything runs correctly and messages are received fine.
>
> …
> assert nbytes == 1;
> …
>
> Are there any issues with disabling asserts for Signaler.java? If not, what is the purpose of line 173?
>
> Regards.
>
> Telford Berkey
> Software Architect
> tberkey at synthostech.com
>
> <image001.jpg>
>
> Synthos Technologies, A Division of Qbase, LLC
> 3800 Pentagon Blvd., Suite 110
> Beavercreek, OH 45431
>
> office: +937-521-4200
>
> www.synthostechnologies.com
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list