[zeromq-dev] segfault after timeout
Papp Áron
aphex999 at gmail.com
Sat Aug 10 16:36:54 CEST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130810/cd82f8bc/attachment.htm>
More information about the zeromq-dev
mailing list