Bugzilla – Bug 194
TCP Socket valgrind error
Last modified: 2008-07-01 13:32:32 UTC
"./waf --regression --valgrind" detects a valgrind error. m_wouldBlock in TcpSocketImpl may be used uninitialized.
Created attachment 141 [details] ./waf --regression --regression-tests=test-tcp-large-transfer --valgrind 2>&1 | tee /tmp/valgrind.log
This valgrind error is strange; I see nothing wrong with the code, actually...
Found the problem. There are two TcpSocketImpl constructors, and one of them was not initializing m_wouldBlock.
*** Bug 193 has been marked as a duplicate of this bug. ***