[zeromq-dev] yet another problem with ZMQ_P2P

Pavel Gushcha pavimus at gmail.com
Mon Feb 8 10:17:05 CET 2010


Big Thanks! now all works and i get no problems with P2P for my
usecase except problem with reconnection (
http://lists.zeromq.org/pipermail/zeromq-dev/2010-February/001991.html
)

Problem with

>> Cannot allocate memory
>> rc == 0 (zmq_decoder.cpp:100)

Gone away.

2010/2/7 Martin Sustrik <sustrik at 250bpm.com>:
> Hi Pavel,
>
>> msg 39
>> Segmentation Fault
>
> Fixed in 0MQ/2.0 trunk.
>
>> error like "nbytes != -1 (tcp_socket.cpp:197)" i see frequent in zmq1.
>
> Fixed in 0MQ/2.0 trunk.
>
>> This is because my apps are connected trough relative slow, unstable
>> network. As i understand, this error occurs when connection is dropped
>> while sending/receiving messages. Could you fix this behaviour please
>> in zmq1/zmq2?
>>
>> second application crashes too:
>> msg 0
>> .....
>> msg 45
>> msg 46
>> Segmentation fault
>
> Fixed in 0MQ/2.0 trunk.
>
>> test2.c illustrates sending messages from first application and
>> receiving in second. First application crashes as in test2, second
>> application crashes with different error:
>> msg 0
>> Cannot allocate memory
>> rc == 0 (zmq_decoder.cpp:100)
>
> I wasn't able to reproduce this one. Please, test with the current trunk and
> let me know whether it still happens.
>
> Martin
>



More information about the zeromq-dev mailing list