[zeromq-dev] bstarcli, Bad file descriptor returned, getsockopt
hhusp house
hhusp at outlook.com
Mon Jun 22 08:56:21 CEST 2015
Platform: CentOSzeromq-4.1.2czmq-3.0.2
I built the bstarsrv2 and bstarcli from the C examples zguide tree(git clone --depth=1 git://github.com/imatix/zguide.git)
When I look at trace a noticed the error returned by getsockopt:
getsockopt(2300165744, SOL_SOCKET, SO_TYPE, 0x7fff9f74b3bc, 0x7fff9f74b3b8) = -1 EBADF (Bad file descriptor)
sock_type is -1
Call stack:(gdb) bt#0 zsock_resolve (self=0x604da0) at src/zsock.c:1525#1 0x00007ffff7b3afad in zstr_recv (source=<value optimized out>) at src/zstr.c:63#2 0x0000000000400b3f in main () at bstarcli.c:44
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150622/921fbc46/attachment.htm>
More information about the zeromq-dev
mailing list