I think I've resolved this issue. I'm ready to push my changes to the repo.
--Manuel On Thu, Mar 1, 2018 at 10:08 AM, Francesco <[email protected]> wrote: > Hi, > maybe I'm wrong but I think that ZMQ monitor socket do not work on inproc > transport... > > HTH, > Francesco > > > > 2018-02-28 23:34 GMT+01:00 Manuel Segura <[email protected]>: > >> I tried to add socket monitors to check the handshake, but it hangs when >> trying to read in an event from the monitor socket in the first call to >> zmq_msg_recv(), specifically this line: >> >> if (zmq_msg_recv (&msg, monitor, 0) == -1) >> >> It appears to be the same problem with receiving when I called >> bounce() from testutils.hpp, only this time its with the inproc protocol. >> >> --Manuel >> >> On Wed, Feb 28, 2018 at 12:38 PM, Manuel Segura <[email protected] >> > wrote: >> >>> Hi Luca, >>> >>> The test_pair_ipc.cpp test fails as well in the same place. Those are >>> the only two I've tried so far. >>> >>> I'll add socket monitors and let you know about the handshake. >>> >>> Thanks, >>> >>> Manuel >>> >>> On Wed, Feb 28, 2018 at 12:08 PM, Luca Boccassi <[email protected] >>> > wrote: >>> >>>> On Wed, 2018-02-28 at 11:40 -0800, Manuel Segura wrote: >>>> > Hello, >>>> > >>>> > I'm porting libzmq to VxWorks and the test_pair_tcp.cpp test hangs >>>> > inside >>>> > the bounce() function call, specifically the first zmq_recv() call. >>>> > I've >>>> > traced this to zmq_recv() => s_recvmsg() => s_->recv() => >>>> > process_commands() >>>> > => mailbox->recv() => signaler.wait() => select(). It seems xrecv() >>>> > fails >>>> > and it goes into a blocking wait. >>>> > >>>> > What would be some reasons that this would hang? >>>> > >>>> > Thank you, >>>> > >>>> > Manuel >>>> >>>> Hi, >>>> >>>> Do other tests fail? Or only that one? >>>> >>>> You can try and add socket monitors to check that the handshake >>>> succeeds: >>>> >>>> https://github.com/zeromq/libzmq/blob/master/doc/zmq_socket_monitor.txt >>>> >>>> Alternatively, given it's a tcp test, you can use wireshark/tshark with >>>> the zmtp dissector to snoop on the wire: >>>> >>>> https://github.com/whitequark/zmtp-wireshark >>>> >>>> -- >>>> Kind regards, >>>> Luca Boccassi >>>> _______________________________________________ >>>> zeromq-dev mailing list >>>> [email protected] >>>> https://lists.zeromq.org/mailman/listinfo/zeromq-dev >>>> >>>> >>> >> >> _______________________________________________ >> zeromq-dev mailing list >> [email protected] >> https://lists.zeromq.org/mailman/listinfo/zeromq-dev >> >> > > _______________________________________________ > zeromq-dev mailing list > [email protected] > https://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
