On Mon, 23 Feb 2004 21:03:46 +0100 "LOYET Jerome" <[EMAIL PROTECTED]> wrote:
> > LOYET Jerome wrote: > > > Hello > > > If I stop clamdscan while running a scan with Ctrl C, clamd die > > > and put nothing in the log. Is it normal? > > > > > No, surely not. Which version and OS, and from where did you get it? > > I compiled clamav on linux with exactly the same ./configure options. > The linux one is running good and the bug is not present. It's an > openbsd arch problem. > > Any idees ? When the socket's reading end is closed, the writing thread (write() in mdprintf(), others.c:54) receives the SIGPIPE signal. This signal should be IGNORED (server-th.c:338) and write() should return with EPIPE - that works perfectly under Linux but for some reasons clamd doesn't ignore SIGPIPE under BSD. I have no idea how to fix it. Best regards, Tomasz Kojm -- oo ..... [EMAIL PROTECTED] www.ClamAV.net (\/)\......... http://www.clamav.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Tue Feb 24 01:17:40 CET 2004
pgp00000.pgp
Description: PGP signature