[zeromq-dev] Assertion failure in libzm msg.cpp:296 when reading from ZMQ_STREAM socket

Auer, Jens jens.auer at cgi.com
Tue Nov 17 15:36:18 CET 2015

Hi Pieter,

I don't understand. Do you think it is a problem in our code, and the assertion failure is just random? I am having doubts about this, because the stack trace for the io thread is identical everytime, but the application thread backtrace differs. It also did not happen before I introduced the ZMQ_STREAM socket.

The stack trace fails with an assertion which is checked in frame 4. The source code of src/msg.cpp, l. 296 is
assert (u.base.metadata == NULL);

Any idea what would cause this?

It happens randomly, but I can reproduce it in reasonable time (15 min.).


Jens Auer | CGI | Software-Engineer
CGI (Germany) GmbH & Co. KG
Rheinstraße 95 | 64295 Darmstadt | Germany
T: +49 6151 36860 154
jens.auer at cgi.com
Unsere Pflichtangaben gemäß § 35a GmbHG / §§ 161, 125a HGB finden Sie unter de.cgi.com/pflichtangaben.

CONFIDENTIALITY NOTICE: Proprietary/Confidential information belonging to CGI Group Inc. and its affiliates may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message to anyone else. In such case, you should destroy this message and are asked to notify the sender by reply e-mail.

Von: zeromq-dev-bounces at lists.zeromq.org [zeromq-dev-bounces at lists.zeromq.org]" im Auftrag von "Pieter Hintjens [ph at imatix.com]
Gesendet: Dienstag, 17. November 2015 15:29
An: ZeroMQ development list
Betreff: Re: [zeromq-dev] Assertion failure in libzm msg.cpp:296 when reading from ZMQ_STREAM socket

I don't see the assertion failure in msg.cpp:296...
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org

More information about the zeromq-dev mailing list