[zeromq-dev] czmq: Error Traceability with assert(...) and release code

Pieter Hintjens ph at imatix.com
Mon Mar 10 12:19:15 CET 2014


On Mon, Mar 10, 2014 at 12:10 PM, Christoph Zach
<czach at rst-automation.de> wrote:

> So by simply assert() and exit() the application the points 6, 5 and 4 have
> just been violated. To solve this issue all the assert(...) statements could
> be replaced e.g. with ZMQ_ASSERT( toAssert, message ).

For sure. You're free to fork the code and make it fit your customer
requirements. Those requirements aren't ours, though.

>> In practice, could you provide a case
>> that reproduces the crash you got?
https://github.com/imatix/zguide/blob/master/examples/C%2B%2B/mdcliapi.hpp
> line 150 - 156.

I'm sorry, you're showing a piece of *exercise* code from the Guide
examples repository and then claiming this as an issue with CZMQ?

Can you provide a case that reproduces a bogus assert inside CZMQ?

-Pieter



More information about the zeromq-dev mailing list