clamd memory corruption (may be jemalloc related)
Kris Kennaway
kris at obsecurity.org
Thu Apr 19 22:39:04 UTC 2007
On Fri, Apr 20, 2007 at 02:33:53AM +0400, Anton Yuzhaninov wrote:
> 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.
Note that jemalloc malloc debugging exposes different application bugs
than phkmalloc did (due to technical differences). There were a
number of such application bugs found during the initial testing, and
(absent any direct evidence to the contrary) it is likely that this is
another one.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070419/f3960064/attachment.pgp
More information about the freebsd-current
mailing list