Re[2]: clamd memory corruption (may be jemalloc related)

From: Anton Yuzhaninov <citrin_at_citrin.ru>
Date: Fri, 20 Apr 2007 02:33:53 +0400
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:
>> 
>> 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.
>> 
>> 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
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.

-- 
 Anton Yuzhaninov.
Received on Thu Apr 19 2007 - 20:35:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC