Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-10-21 Thread Doron Somech
I actually fixed this bug almost a year ago and totally forgot about it, however it was not ported to 4.1. here is the fix a year ago: https://github.com/zeromq/libzmq/commit/804bce8294daf243d14ac15f426243c568c574a6 On Fri, Oct 21, 2016 at 11:12 AM, Doron Somech wrote: >

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117) = fix works!

2016-10-21 Thread Doron Somech
Not really, only if you are in the middle of receiving multipart message you will continue to get it. If not, you won't get any pending messages. On Fri, Oct 21, 2016 at 1:23 PM, zmqdev wrote: > Hi Doron, > > I tried out your latest repo > > >

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117) = fix works!

2016-10-21 Thread zmqdev
Hi Doron, I tried out your latest repo https://github.com/somdoron/libzmq/commit/3775d0853a8c1f1c3854a94c7fe12e78046faeca with the changes to src/socket_base.cpp, src/pipe.cpp and src/pipe.hpp. I confirm that the problem reported at

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-10-21 Thread Doron Somech
Sorry, this one should be more accurate: https://github.com/somdoron/libzmq/commit/5b0c7144df423b22a75c25e5e3c0d83ff70eb006 On Fri, Oct 21, 2016 at 10:07 AM, Doron Somech wrote: > Try to apply following commit, I think it should fix it: > >

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-10-21 Thread Doron Somech
Try to apply following commit, I think it should fix it: https://github.com/somdoron/libzmq/commit/83e93f9ea45ff789d9fa9c92e01335a4c0386be0 Martin, what do you think? On Thu, Oct 20, 2016 at 7:28 PM, Ranjeet Kumar wrote: > Yes, > I had used > zsocket_set_router_handover(

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-10-20 Thread Ranjeet Kumar
Yes, I had used zsocket_set_router_handover( self->router, 1); in my code. On Thu, Oct 20, 2016 at 7:21 PM, Doron Somech wrote: > Is the handover option enabled? > > On Fri, Sep 16, 2016 at 11:13 AM, Ranjeet Kumar > wrote: > > Hi Martin, > > > > Yes,

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-10-20 Thread Doron Somech
Is the handover option enabled? On Fri, Sep 16, 2016 at 11:13 AM, Ranjeet Kumar wrote: > Hi Martin, > > Yes, it is very often. I am having 100k clients connecting with my server. > So in order to run the application i had commented the line from fq.cpp 117 > zmq_assert

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-09-16 Thread Ranjeet Kumar
Hi Martin, Yes, it is very often. I am having 100k clients connecting with my server. So in order to run the application i had commented the line from fq.cpp 117 zmq_assert (!more); And now it is working for me. Thanks (Ranjeet Kumar) On Fri, Sep 16, 2016 at 12:18 AM, Martin Hurton

Re: [zeromq-dev] Assertion failed: !more (src/fq.cpp:117)

2016-09-15 Thread Martin Hurton
Hi Ranjeet, Is this easy to reproduce? Thanks. - Martin On Sat, Sep 10, 2016 at 3:17 PM, Ranjeet Kumar wrote: > Hi, > > I am using zeromq 4.1.5 and czmq 3.0.2. I am using the server-client as > router dealer. I am getting this *Assertion failed: !more >