[zeromq-dev] ZMQ_MAKE_VALGRIND_HAPPY

Martin Sustrik sustrik at 250bpm.com
Wed Apr 27 09:59:49 CEST 2011


On 04/26/2011 02:24 PM, Vick Khera wrote:
> On Tue, Apr 26, 2011 at 2:30 AM, Andreas Kelle-Emden
> <kelle-emden at vr.rwth-aachen.de <mailto:kelle-emden at vr.rwth-aachen.de>>
> wrote:
>
>     thanks for your replies. Maybe it would be easier to work like this:
>     In debug mode, automatically initialize every value completely. In
>     release mode, only initialize what is needed.
>
>
> This ultimately leads to bugs you cannot trace, because when you turn on
> debugging, you change the behavior of the system entirely.  This is
> among the reasons that mission critical systems like NASA planetary
> rovers ship with full debugging on all the time...

That's OK AFAICS. Just deploy the debug version of 0MQ to production if 
that's the kind of reliability you are interested in.

Martin




More information about the zeromq-dev mailing list