Assertion failed: check () (msg.cpp:207)

251 views
Skip to first unread message

Alexander Schumskich

unread,
Feb 9, 2013, 12:05:06 PM2/9/13
to zer...@googlegroups.com
I have a C application talking to a java server over zeromq / protobuf. The server is pretty mucht he same as in the examples ( https://github.com/imatix/zguide/blob/master/examples/Java/asyncsrv.java ) but the client is a C client.
I use windows 8 / MinGW. The communication runs well for a while but then crashes at the java server side, telling me the native code part failed: Assertion failed: check () (msg.cpp:207)
The messages I am sending are protocol buffers messages. Is this a known issue? I do not share sockets among threads.



Alexander Schumskich

unread,
Feb 9, 2013, 12:05:41 PM2/9/13
to zer...@googlegroups.com
I forgot to mention, I use zmq version 3.2.2.

Alexander Schumskich

unread,
Feb 9, 2013, 12:16:26 PM2/9/13
to zer...@googlegroups.com
Also, inserting "sleep(1)" between the message sends at the client side seems to avoid this problem.


Am Samstag, 9. Februar 2013 18:05:06 UTC+1 schrieb Alexander Schumskich:
Reply all
Reply to author
Forward
0 new messages