fredag 31 mars 2006 01:35 skrev David Luyer: > > Package: clamav > Version: 0.88-4 > > An email with a particular attached Excel spreadsheet causes > clamscan / clamd to take a long time to process, and eventually > segfault (eventually causing all clamd processes to fail on a > machine). > > Backtrace: > > #0 0x4002a784 in cli_bitset_test () from /usr/lib/libclamav.so.1 > #1 0x40042d63 in textToFileblob () from /usr/lib/libclamav.so.1 [cut] Little useful report. Problem in cli_bitset_test or textToFileblob.
> As this is a customer email I cannot provide the exact email contents, > however I can provide more details from the core dump or test any > potential fixed version. It think it would be more helpful if you made a debug nonstripped version of clamav .deb package so you can send a new better backtrace to Stephen and only to Stephen since many more is scanning mails with clamav and don't want it to crash. file /usr/bin/clamscan /usr/bin/clamscan: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), for GNU/Linux 2.2.0, stripped To build nonstripped version, it is something like this. Make sure you have a deb-src line in /etc/apt/sources.list like this if using sid.. deb http://ftp.debian.org/debian sid main contrib non-free deb-src http://ftp.debian.org/debian sid main contrib non-free apt-get build-dep clamav apt-get source clamav cd clamav-0.88/ export DEB_BUILD_OPTIONS=nostrip dpkg-buildpackage -b -us -uc cd .. dpkg -i libclamav1_0.88-4_i386.deb clamav_0.88-4_i386.deb clamav-base_0.88-4_all.deb file /usr/bin/clamscan /usr/bin/clamscan: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), for GNU/Linux 2.2.0, not stripped Then try again. Hope this helps. It would be better to try the cvs version, but I must go now. -- Johan Thelmén Sweden Falun