[zeromq-dev] Assertion failed end_chunk->next in yqueu.hpp 108

Martin Sustrik sustrik at 250bpm.com
Tue Feb 22 13:43:16 CET 2011


Pieter,

> Martin, in some other projects (such as ZFL) we use a thin malloc
> wrapper that explicitly checks for failed allocation and prints "YOU
> RAN OUT OF MEMORY" before asserting.
>
> Wouldn't this be useful for 0MQ core? It costs nothing
> computationally. Something like this (replace the calloc, since you
> don't want nullification):

Sure. Feel free to submit the patch.

Martin



More information about the zeromq-dev mailing list