My Java server runs pretty well for a while with JZMQ. And suddenly it got Assertion failed: check () (msg.cpp:220)
It cannot be caught in JAVA. And the java process is down itself. It seems like Cpp issue in JNI
May I know if any one know what happens in this exception?
Thanks
I've seen this during my first ZMQ tests. In my case the exception was caused by a thread closing a socket opened by another thread. It also happened when two threads used one socket at the same time.
I was breaking ZMQ's rule of sharing sockets among threads.
I suggest to check if a thread is using or closing a socket while it's being in use by another thread.