Re: [zeromq-dev] CZMQ: zloop_poller terminates the function handler

2017-01-17 Thread Shrikanth M.D.
Hello, Please ignore my previous message. That was due to a bug in the design and has nothing to do with the CZMQ library. Regards, Shrikanth On Tue, Jan 17, 2017 at 4:58 PM, Shrikanth M.D. wrote: > Hello, > > I think I fixed the issue. It was due to invoking

Re: [zeromq-dev] CZMQ: zloop_poller terminates the function handler

2017-01-17 Thread Shrikanth M.D.
Hello, I think I fixed the issue. It was due to invoking zstr_free inside the handler without passing the address of the pointer. zstr_free(msg) --> Lead to termination of poller zstr_free() --> Fixed the issue .i.e. event handler is not being terminated anymore. I guess any error inside the

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-01-17 Thread Simon.Giesecke
Hi Luca, I am setting HWM before connect/bind. I already tried to skip through the git log, but somewhat gave up, since I am too unfamiliar with the internals of ZeroMQ. I am using tcp as transport (under Windows; it does not seem to matter whether select or poll is used). Note: The issue I

Re: [zeromq-dev] CZMQ: zloop_poller terminates the function handler

2017-01-17 Thread Luca Boccassi
On Tue, 2017-01-17 at 00:42 +0100, Shrikanth M.D. wrote: > Hello All, > > I have a zloop_poller invoked as below: > zloop_poller (loop, , s_netconf_socket_event,inter_thread_pair); > > > I see that while executing the function handles, s_netconf_socket_event, my > program terminates. > I have