We were having the same problem on our cluster of 64-bit AMD's running
gentoo. That patch seems to have resolved the issue. Without the patch
during testing it was segfaulting every 5 minutes or so, with the
patch it's been running without issue for a few days now.
This is where I came across the patch:
http://bugs.gentoo.org/show_bug.cgi?id=129702
--Matt
Michael Brennen wrote:
On Sun, 23 Apr 2006, Vieri Di Paola wrote:
My 64-bit system has clamd compiled with -march=nocona
-O2 -fomit-frame-pointer -pipe and it segfaults quite
regularly. Part of a debug session is listed below:
I cannot now find the site where I found this patch; I think it was a
debian site. In any case, it fixed the segfaults I was seeing on an
AMD64 RHEL4 system. If it is not correct perhaps the clam developers
can comment on it.
-- Michael
------------------------------------------------------------------------
--- clamav-0.88.1/libclamav/zziplib/zzip-zip.c.orig 2006-03-28
00:43:53.000000000 +0100
+++ clamav-0.88.1/libclamav/zziplib/zzip-zip.c 2006-04-11 18:05:06.275644086
+0100
@@ -30,6 +30,8 @@
#include <sys/stat.h>
#include <unistd.h>
+#include "others.h"
+
/*
#include "__mmap.h"
#include "__debug.h"
------------------------------------------------------------------------
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html