Stab in the dark: as Ian mentioned, you are probably overwriting your messages before they are fully sent / received, that's why sleep() helps.
-- Gonzalo Diethelm DCV Chile From: [email protected] [mailto:[email protected]] On Behalf Of Ian Barber Sent: Sunday, February 10, 2013 6:58 AM To: ZeroMQ development list Subject: Re: [zeromq-dev] Assertion failed: check () (msg.cpp:207) On Sat, Feb 9, 2013 at 5:05 PM, Alexander Schumskich <[email protected]<mailto:[email protected]>> wrote: 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. No known issue - try cutting the client and server down as much as possible and posting them for us to take a look at. That check is a pretty simple message validity check, so if it's failing there it may be that there's some bad message reuse happening somewhere. Could be something weird with the win8/mingw building the lib. Ian ----------------------------------------- Declaración de confidencialidad: Este Mensaje esta destinado para el uso de la o las personas o entidades a quien ha sido dirigido y puede contener información reservada y confidencial que no puede ser divulgada, difundida, ni aprovechada en forma alguna. El uso no autorizado de la información contenida en este correo podrá ser sancionado de conformidad con la ley chilena. Si usted ha recibido este correo electrónico por error, le pedimos eliminarlo junto con los archivos adjuntos y avisar inmediatamente al remitente, respondiendo este mensaje. "Before printing this e-mail think if is really necesary". Disclosure: This Message is to be used by the individual, individuals or entities that it is addressed to and may include private and confidential information that may not be disclosed, made public nor used in any way at all. Unauthorized use of the information in this electronic mail message may be subject to the penalties set forth by Chilean law. If you have received this electronic mail message in error, we ask you to destroy the message and its attached file(s) and to immediately notify the sender by answering this message.
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
