On 05/21/2010 06:50 PM, Dennis Peterson wrote:
> On 5/21/10 8:22 AM, Török Edwin wrote:
> 
>>>
>>> -lmalloc? That looks like something related to the memory allocation
>>> failure? Can you try without it?
>>>
>>> And I'll try to see if I can reproduce the problem with -lmalloc.
>>
>> Yep it fails with -lmalloc here.
>>
>> Please remove that from LDFLAGS, and it should work.
> 
> That worked here, too. I don't see in my notes why it's there

I remember something about problems with clamdtop that caused -lmalloc
to be needlessly added. My git log contains this:
" Fix Solaris memory usage: don't link with -lmalloc on Solaris (bb
#1595, thanks to David Schweikert <david*schweikert.ch> for tracking
down the problem)."

So it looks like -lmalloc was actually causing problems, and linking
without it fixes it.

> but I
> think I was trying to improve clamscan signature load times when the
> number of Sane Security signatures grew large.
> 
> I wonder what causes it to fail now?

It is using more memory with -lmalloc? It is hitting another codepath in
libclamav that was never tested?
I don't know, I opened a bug (# 2042), and will investigate when I have
time.

Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to