[zeromq-dev] zeromq 3.x and pgm

Ian Barber ian.barber at gmail.com
Wed Sep 28 13:14:56 CEST 2011


On Wed, Sep 28, 2011 at 12:12 PM, Ian Barber <ian.barber at gmail.com> wrote:

>
>
> On Wed, Sep 28, 2011 at 11:35 AM, Ben Gray <ben at benjamg.com> wrote:
>
>> Is there some trick to getting pgm working?
>>
>> I built with --with-pgm and connecting to the endpoints works as expected
>> however it appears to be trying to process publisher side subscriptions and
>> then asserting if I actually try and send messages.
>>
>> Which gives an "Assertion failed: size > 0 && (*data == 0 || *data == 1)
>> (xpub.cpp:65)" message
>>
>>
> I suspect this is a bug - there is a blank message written for the
> subscriptions in pgm_sender:plug, but this is an empty message with size 0,
> which is blowing up this assertion I guess.
>
> Ian
>

Ah, hold on, looks like this was fixed but not backported.

Pieter, can you pull the patch from
http://permalink.gmane.org/gmane.network.zeromq.devel/10374 into 3?

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110928/e3f99eb6/attachment.htm>


More information about the zeromq-dev mailing list