Hi,

I have done some further investigations of this problem and am seeing the same
behaviour under FreeBSD 4.9-PRERELEASE and also 4.2-RELEASE with clamav 0.60,
even with the example ex1.c that is shipped with clamav.

For example:

artemis:/usr/local/src/clamav-0.60/examples # ./ex1 ex1
Loaded 7846 viruses.
No virus detected.
Data scanned: 0.00 Mb
Segmentation fault (core dumped)

The backtrace is similar to that which I originally posted (e.g. a crash during
exit(3):

(gdb) bt
#0  0x280ddf46 in xdr_u_int () from /usr/lib/libc.so.4
#1  0x280de6aa in xdr_bytes () from /usr/lib/libc.so.4
#2  0x280de77c in xdr_netobj () from /usr/lib/libc.so.4
#3  0x280f3fba in .cerror () from /usr/lib/libc.so.4
#4  0x280f3ebb in exit () from /usr/lib/libc.so.4
#5  0x80488a7 in main ()
#6  0x8048619 in _start ()

I get this behaviour whether I install from source, or use the FreeBSD port of
clamav.

Is anyone else using libclamav successfully on FreeBSD 4, or could anyone
suggest any reasons why these segmentation faults may be happening?

If I try to debug the program with Electric Fence, the call to cl_loaddbdir
never returns, so I can't help in that way, I'm afraid.

Yours,

Ollie
-- 
Oliver Cook    Systems Administrator, Claranet UK
[EMAIL PROTECTED]                  020 7903 3065


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to