Package: clamav-daemon Version: 0.83-3 Severity: normal Good day,
Before my workaround (seeb below), clamd started correctly, but as soon as was is "told" to process a file it segfaulted :- Sun Apr 3 16:46:54 2005 -> +++ Started at Sun Apr 3 16:46:54 2005 Sun Apr 3 16:46:54 2005 -> clamd daemon 0.83 (OS: linux-gnu, ARCH: i386, CPU: i386) Sun Apr 3 16:46:54 2005 -> Log file size limit disabled. Sun Apr 3 16:46:54 2005 -> Running as user clamav (UID 107, GID 107) Sun Apr 3 16:46:54 2005 -> Reading databases from /var/lib/clamav Sun Apr 3 16:46:55 2005 -> Protecting against 32466 viruses. Sun Apr 3 16:46:55 2005 -> WARNING: Socket file /var/run/clamav/clamd.ctl exists. Unclean shutdown? Removing... Sun Apr 3 16:46:55 2005 -> Unix socket file /var/run/clamav/clamd.ctl Sun Apr 3 16:46:55 2005 -> Setting connection queue length to 15 Sun Apr 3 16:46:55 2005 -> Archive: Archived file size limit set to 10485760 bytes. Sun Apr 3 16:46:55 2005 -> Archive: Recursion level limit set to 5. Sun Apr 3 16:46:55 2005 -> Archive: Files limit set to 1000. Sun Apr 3 16:46:55 2005 -> Archive: Compression ratio limit set to 250. Sun Apr 3 16:46:55 2005 -> Archive support enabled. Sun Apr 3 16:46:55 2005 -> Archive: RAR support disabled. Sun Apr 3 16:46:55 2005 -> Archive: Blocking archives that exceed limits. Sun Apr 3 16:46:55 2005 -> Portable Executable support enabled. Sun Apr 3 16:46:55 2005 -> Detection of broken executables enabled. Sun Apr 3 16:46:55 2005 -> Mail files support enabled. Sun Apr 3 16:46:55 2005 -> OLE2 support enabled. Sun Apr 3 16:46:55 2005 -> HTML support enabled. Sun Apr 3 16:46:55 2005 -> Self checking every 3600 seconds. Sun Apr 3 16:48:09 2005 -> Segmentation fault :-( Bye.. I tried changing various options, changing MaxThreads to 1, using TcpAddr instead of LocalSocket; after some googling I found a post about using LD_ASSUME_KERNEL, and added "export LD_ASSUME_KERNEL=2.4.1" to just before start-stop-daemon in init.d/clamav-daemon and now its managed to process several messages with no problems. The following : http://people.redhat.com/drepper/assumekernel.html, seems to imply that the application is broken although given the fact that clamd would seem to work on host (not u-m-l) linux judging from the lack of bug reports I assume this has more todo with u-m-l than clamd. mysqld apparently has the same problem as reported by somebody else on the same hosting servive I'm using, perhaps other threaded applications also have this problem. I've tried stracing and gdbing without success but I've little experience with debugging threaded applications. Sincerely, Adrian Phillips -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.9-bytemark-uml-20041208-1-bytemark-uml-20041207-1 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages clamav-daemon depends on: ii clamav-base 0.83-3 base package for clamav, an anti-v ii clamav-freshclam [clamav-da 0.83-3 downloads clamav virus databases f ii libbz2-1.0 1.0.2-5 high-quality block-sorting file co ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libclamav1 0.83-3 virus scanner library ii libcurl3 7.13.1-2 Multi-protocol file transfer libra ii libgmp3 4.1.4-5 Multiprecision arithmetic library ii libidn11 0.5.13-1.0 GNU libidn library, implementation ii libssl0.9.7 0.9.7e-3 SSL shared libraries ii zlib1g 1:1.2.2-3 compression library - runtime -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

