Hi All,

My environment:
- Linux 3.2.0, 64 bit
- ZMQ version 3.2.3
- socket: ZMQ_REQ
- connection with zmq_connect()
- protocol: TCP
- lang: C/C++

The program is very simple, it connects to a zmq-tcp socket, sends a
request, waits for an answer, then returns. If no answer comes, it should
return after timeout.

The problem is, if I set ZMQ_RCVTIMEO, and exits no replier, it stops
s_recv() command after the timeout specified in RCVTIMEO, but the program
exits with Segmentation fault.

Here's the gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6f6d86f in ?? () from /lib/x86_64-linux-gnu/libc.so.6

Thanks in advance!

Best,
Aron
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to