[zeromq-dev] zeromq 3.x and pgm

Ben Gray ben at benjamg.com
Wed Sep 28 13:36:49 CEST 2011


On 28 September 2011 12:14, Ian Barber <ian.barber at gmail.com> wrote:

>
> 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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
Applying the patch to 3.0 trunk (along with the issue258 patch) fixed that
error, no more asserting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110928/31ca1e10/attachment.htm>


More information about the zeromq-dev mailing list