Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2007 02:33:53 +0400
From:      Anton Yuzhaninov <citrin@citrin.ru>
To:        Jason Evans <jasone@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re[2]: clamd memory corruption (may be jemalloc related)
Message-ID:  <144280354.20070420023353@citrin.ru>
In-Reply-To: <4627DD1B.2080806@freebsd.org>
References:  <313993633.20070419232238@citrin.ru> <4627DD1B.2080806@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

This is a cryptographically signed message in MIME format.

------------7E1B913C29605849
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: quoted-printable

Hello Jason,

You wrote on Friday, April 20, 2007, 1:20:27 AM:

JE> Anton Yuzhaninov wrote:
>> I try to test clamav 0.90.2 on current and got strange errors:
>>=20
>> LibClamAV Warning: Multipart/alternative MIME message contains no bounda=
ry header
>> LibClamAV Warning: Multipart/ZZZZZZZZZZZZ=C7=C7=C7=C7=C0=E5 MIME message=
 contains no boundary header
>> LibClamAV Warning: Multipart/related MIME message contains no boundary h=
eader
>>=20
>> And sometimes clamd segfaults.
>>=20
>> This Warnings issued randomly and it looks like race condition.
>>=20
>> This problem occurred only when running two or more clamdscan
>> processes in parallel. With one process no warnings on same test
JE>    ^^^^^^^^^
>> messages.

JE> Processes, not threads?  If so, there's really no way malloc can be to
JE> blame for a race condition.

problem in clamd - it is multithread application.

clamdscan used only for load one or more thread in clamd.

--=20
 Anton Yuzhaninov.

------------7E1B913C29605849--




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