fam
[Top] [All Lists]

send() returns less than len (assertation in NetConnection.c++)

To: fam@xxxxxxxxxxx
Subject: send() returns less than len (assertation in NetConnection.c++)
From: Stefan Pfetzing <dreamind@xxxxxxxxxxx>
Date: Mon, 4 Oct 2004 09:33:52 +0200
Sender: fam-bounce@xxxxxxxxxxx
Hi,

I today found out that on one of our servers (the nfs server) famd, which has enabled remote connections, randomly crashes.

It seems to be because in NetConnection.c++ there is an assert(ret == omsgList->len); and famd aborts.

I already searched google for it and the mailinglist, but I didn't find anything about it.

For send() there was also no hint, if its possible that send returns less than the len parameter, so I fixed this kinda hackish (see the attached patch) but I dunno if its ok.

Attachment: 04_remove_assert_in_NetConnection.patch
Description: Binary data



bye

Stefan

--
        http://www.dreamind.de/
Oroborus and Debian GNU/Linux Developer.
<Prev in Thread] Current Thread [Next in Thread>
  • send() returns less than len (assertation in NetConnection.c++), Stefan Pfetzing <=