From owner-freebsd-current@FreeBSD.ORG Thu Apr 19 22:35:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6955A16A400 for ; Thu, 19 Apr 2007 22:35:04 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail.classis.ru (classis.ru [213.248.60.120]) by mx1.freebsd.org (Postfix) with ESMTP id D491A13C43E for ; Thu, 19 Apr 2007 22:35:03 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from CITRIN (ppp85-140-127-113.pppoe.mtu-net.ru [85.140.127.113]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: citrin.citrin.ru) by mail.classis.ru (Postfix) with ESMTP id 83DBC1227BFA; Fri, 20 Apr 2007 02:35:02 +0400 (MSD) Date: Fri, 20 Apr 2007 02:33:53 +0400 From: Anton Yuzhaninov X-Mailer: The Bat! (v3.62.14) Professional Organization: Rambler X-Priority: 3 (Normal) Message-ID: <144280354.20070420023353@citrin.ru> To: Jason Evans In-Reply-To: <4627DD1B.2080806@freebsd.org> References: <313993633.20070419232238@citrin.ru> <4627DD1B.2080806@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="----------7E1B913C29605849" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re[2]: clamd memory corruption (may be jemalloc related) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2007 22:35:04 -0000 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--