# $Id: BUGS,v 1.7 2011/05/18 14:00:12 karls Exp $

To report a new bug, mail barefoot-bugs@inet.no.
Make sure you read the FAQ (http://www.inet.no/barefoot/FAQ/) first.

Known bugs in the Barefoot server:

There are various known problems due to limitations on certain platforms
that can cause problems for Barefoot, but which we currently do not
consider bugs in Barefoot, but rather in the host system.
We have tried to work around most of these.  The below lists the one
for which there currently is no workaround implemented.

- On OS X, the kernel for some reason changes a socket's SO_SNDBUF
  to zero some times, and a subsequent read(2) from the socket then
  returns 0, even though the connection has not been closed by the
  other side.  This means the Barefoot server will think the other
  side has closed it's end of the TCP connection, and result in a
  premature termination of the TCP session.

  A very serious problem that occurs some times, and for which we have
  been unable to find any work around.  The problem seems to be related
  to descriptor passing, but we are not sure.  When this problem is
  detected, the Barefoot server will print a warning message in the
  logfile, but the TCP session will still end prematurely.

- The --enable-profiling option does not work properly on OpenSolaris.
  (possibly a problem when gssapi is used, with pthreads/_mcount.)
