[zeromq-dev] [zmq-3.2.4] Assertion failed: ok (mailbox.cpp:84)

Charles Remes lists at chuckremes.com
Fri Jun 20 18:29:51 CEST 2014


It’s very difficult to say what the cause might be.

Generally when I see this error, it’s due to multiple threads trying to read or write the same socket without using a proper mutex.

As for why the library asserts, I’ll direct you to the FAQ:  http://zeromq.org/area:faq

cr

On Jun 20, 2014, at 10:19 AM, Dmitry Antipov <antipov at dev.rtsoft.ru> wrote:

> Irregular and without a recipe to reproduce, but still happens from time to time:
> 
> Assertion failed: ok (mailbox.cpp:84)
> 
> Without even a backtrace, is it possible to guess what may be a reason?
> Note that the system is ancient and running Linux 2.4.32-based kernel.
> 
> And, why so many internal asserts that calls abort? Shouldn't the library
> notify an application with error code instead of terminating it?
> 
> Dmitry
> _______________________________________________
> 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