I have come across a peculiar issue that only seems to be a problem on only one version of FreeBSD. Freshclam will segfault the first time it can not find a working mirror. Here is an example output(this is from version 0.91.1):
ClamAV update process started at Thu Jul 19 08:50:45 2007 main.cvd is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven) ERROR: Can't get information about test.clamav.com: Host not found ERROR: Can't download daily.cvd from test.clamav.com Trying again in 5 secs... Segmentation fault I know that test.clamav.com is not a valid name but I used it just to illustrate my point. It does the same thing when I use db.us.clamav.net but the mirror is unavailable and tries to go to the next one. It never gets to trying the next one in the pool because it segfaults. It also segfaults when a mirror is not in sync and it tries to move onto the next one in the pool. It will run fine as long as it can get to a valid mirror. I am running many different versions of FreeBSD but I only see this problem on 6.0. I have tried it on versions 4.10, 4.11, 5.3, 5.4, 6.1, and 6.2 without any problems. I have two boxes running 6.0 and they both exhibit this problem. One is running 6.0-STABLE and one is running 6.0-RELEASE-p17. I believe this problem appeared when I moved to version 0.91. I did not seem to have the problem with previous versions. I have just tried version 0.91.1 and the problem still occurs. I have tried compiling with debugging options (--enable-debug) but it did not give me any further information. I have also tried compiling with debugging symbols (-g) and starting the program in gdb but gdb was telling me it could not find any symbols. I could very well be doing this wrong with gdb though as I do not have much familiarity with gdb. Any ideas to try or should I just abandon 6.0 and update? Thanks, Steven Some extra info: Everything is built from ports. Port config: WITH_ARC=true WITH_ARJ=true WITH_LHA=true WITHOUT_MILTER=true WITHOUT_LDAP=true WITHOUT_CURL=true WITHOUT_STDERR=true WITHOUT_EXPERIMENTAL=true freshclam.conf: DatabaseDirectory /var/db/clamav UpdateLogFile /var/log/clamav/freshclam.log PidFile /var/run/clamav/freshclam.pid DatabaseOwner clamav AllowSupplementaryGroups yes DatabaseMirror db.us.clamav.net ScriptedUpdates no Checks 48 NotifyClamd /usr/local/etc/clamd.conf All other config options are default. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
