Obviously this is something wrong with my machine - but I can't even get an 
idea of where to look.

I've tried strace and gdb to get some more insight - but here's what I've got 
so far

(incidently, freshclam works fine)

I run  "clamd --debug" and it dumps the core without any output.

(gbd Backtrace using the core)
#0  0x4004fbaf in inflate_codes () from /usr/local/lib/libclamav.so.1
(gdb) bt
#0  0x4004fbaf in inflate_codes () from /usr/local/lib/libclamav.so.1
#1  0x4004ea83 in inflate_blocks () from /usr/local/lib/libclamav.so.1
#2  0x4004dc16 in inflate () from /usr/local/lib/libclamav.so.1
#3  0x40049c67 in gzread () from /usr/local/lib/libclamav.so.1
#4  0x40020ee6 in cli_untgz (fd=5, destdir=0x80559c0 
"/tmp/clamav-1562437423749354") at cvd.c:62
#5  0x40021775 in cli_cvdload (fd=0x8056ba8, root=0xbffff9a0, signo=0xbffff9a4, 
warn=0) at cvd.c:408
#6  0x400203b9 in cl_loaddb (filename=0x8055998 
"/usr/local/share/clamav/main.cvd", root=0xbffff9a0, signo=0xbffff9a4)
#at readdb.c:725 7  0x40020664 in cl_loaddbdir (dirname=0x4005164b 
"/usr/local/share/clamav", root=0xbffff9a0,
#signo=0xbffff9a4) at readdb.c:793 8  0x0804bfba in clamd (opt=0x8055960) at 
clamd.c:260
#9  0x0804b543 in main (argc=2, argv=0xbffffab4) at options.c:114
#10 0x400e517d in __libc_start_main (main=0x804b3c0 <main>, argc=2, 
ubp_av=0xbffffab4, init=0x8049a14 <_init>,
#fini=0x80512c0 <_fini>, rtld_fini=0x4000a534 <_dl_fini>, stack_end=0xbffffaac) 
at ../sysdeps/generic/libc-start.c:129

This is a Slackware 8.1 system on a K6-2 350MHz box, the clamAV databases are 
left unpacked in the /tmp dir where
eventually they fill up the disk and all fun breaks loose.

I've purged the system of ClamAV several times and reinstalled from 0.80 
through to 0.83

Of final point - it /used/ to work, something went wrong somewhere and I'd love 
to know what/where or even get some
hints.

-- 
PLDaniels - Software - Xamime
Unix systems Internet Development A.B.N. 19 500 721 806
PGP Public Key at http://www.pldaniels.com/gpg-keys.pld

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html

Reply via email to