Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 23:22:38 +0400
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        freebsd-current@freebsd.org
Subject:   clamd memory corruption (may be jemalloc related)
Message-ID:  <313993633.20070419232238@citrin.ru>

next in thread | raw e-mail | index | archive | help
Hello.

I try to test clamav 0.90.2 on current and got strange errors:

LibClamAV Warning: Multipart/alternative MIME message contains no boundary header
LibClamAV Warning: Multipart/ZZZZZZZZZZZZÇÇÇÇÀå MIME message contains no boundary header
LibClamAV Warning: Multipart/related MIME message contains no boundary header

And sometimes clamd segfaults.

$ uname -a
FreeBSD clam-test2 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Thu Apr 19 13:37:17 MSD 2007     citrin@clam-test2:/usr/obj/usr/src/sys/TEST  amd64
$ fgrep Multiprocessor /var/run/dmesg.boot
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
$ ls -l /etc/malloc.conf
lrwxr-xr-x  1 root  wheel  2 19 ÁÐÒ 15:12 /etc/malloc.conf -> AJ

This Warnings issued randomly and it looks like race condition.

This problem occurred only when running two or more clamdscan
processes in parallel. With one process no warnings on same test
messages.

Also on same hardware, same test messages, same clamav version, but on
6.2-STABLE (where old malloc) no errors even when running 30 clamdscan
processes in parallel.

Any suggestions to debug this problem?

-- 
 WBR,
 Anton Yuzhaninov.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?313993633.20070419232238>