Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 316707

Summary: app-antivirus/clamav-0.96 runs out of memory and doesn't start on hardened amd64
Product: Gentoo Linux Reporter: Olliver Schinagl <oliver>
Component: HardenedAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED OBSOLETE    
Severity: critical CC: antivirus, binki, dschridde+gentoobugs, hardened
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Olliver Schinagl 2010-04-22 17:55:31 UTC
clamd won't start, clamscan gives the same errors, they run until they've gobbled up all memory and then crash.

Dmesg lists the following:
[11389.290145] clamscan[17275] trap invalid opcode ip:6bc15943fef8 sp:742e35bb8440 error:0 in libclamav.so.6.1.2[6bc1590f3000+8d5000]
clamd just gives Illegal Instruction; so does clamscan.

I did clear out /var/lib/clamav/ so it's not some old stale database. Reverting back to the 0.95 version seemed to be okay again.


Reproducible: Always
Comment 1 Eray Aslan gentoo-dev 2011-08-15 16:30:25 UTC
Hmm, is this still a problem?
Comment 2 Olliver Schinagl 2011-08-18 10:01:30 UTC
I belive clamd is now 'hardened' aware and has a check for it, there was a .conf setting that also fixed it. Next time i upgrade clamd I will remove the .conf setting and see if it works.
Comment 3 Thomas Raschbacher gentoo-dev 2014-04-02 17:27:08 UTC
this version is no longer in the tree.