What steps will reproduce the problem?
1. configure --disable-coverage && make
2. run ./memcached -v &
3. try to set some value via telnet
What is the expected output? What do you see instead?
Connection closed with message:
Failed to read, and not due to blocking:
errno: 0 Error 0
rcurr=57ebe1 ritem=5b1054 rbuf=57ebd0 rlbytes=13 rsize=2048
What version of the product are you using? On what operating system?
memcached 1.4.14 on illumos
Please provide any additional information below.
The error is due to read(2) returns -1, but errno=0, because variable "errno"
is not thread-local.
"-pthread" option should be always added to compiler, not only when
--enable-coverage
Original issue reported on code.google.com by pashev.i...@gmail.com on 30 Aug 2012 at 9:04
Original issue reported on code.google.com by
pashev.i...@gmail.com
on 30 Aug 2012 at 9:04