Bug 208155 - security/clamav: Problem with bundled LLVM
Summary: security/clamav: Problem with bundled LLVM
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Renato Botelho
URL:
Keywords: security
Depends on:
Blocks:
 
Reported: 2016-03-20 11:57 UTC by Gerard Seibert
Modified: 2016-09-05 17:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (garga)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2016-03-20 11:57:46 UTC
FreeBSD SCORPIO1.SEIBERCOM.NET 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r296485: Tue Mar  8 07:04:36 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

ClamAV 0.99.1/21467/Fri Mar 18 20:23:33 2016

After updating clamav, the following error messages was being displayed in the "freshclam.log" file:

freshclam daemon 0.99.1 (OS: freebsd11.0, ARCH: amd64, CPU: amd64)
ClamAV update process started at Sun Mar 20 07:26:06 2016
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
daily.cld is up to date (version: 21467, sigs: 83892, f-level: 63, builder: amishhammer)
safebrowsing.cvd is up to date (version: 44501, sigs: 1935466, f-level: 63, builder: google)
Downloading bytecode.cvd [100%]
ERROR: Database load killed by signal 11
ERROR: Failed to load new database
--------------------------------------
Update process terminated
--------------------------------------
I then reconfigured "clamav" and turned off "LLVM". It is on by default

LLVM=off: Enable JIT Bytecode compiler (bundled LLVM)

I rebuilt the port and restarted the system. This is now the output in "freshclam.log"

freshclam daemon 0.99.1 (OS: freebsd11.0, ARCH: amd64, CPU: amd64)
ClamAV update process started at Sun Mar 20 07:34:12 2016
main.cvd is up to date (version: 57, sigs: 4218790, f-level: 60, builder: amishhammer)
daily.cld is up to date (version: 21467, sigs: 83892, f-level: 63, builder: amishhammer)
safebrowsing.cvd is up to date (version: 44501, sigs: 1935466, f-level: 63, builder: google)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 275, sigs: 45, f-level: 63, builder: amishhammer)
Database updated (6238193 signatures) from db.US.clamav.net (IP: 207.57.106.31)
Clamd successfully notified about the update.
--------------------------------------

Either the problem with the bundled LLVM should be corrected, or the option should be "OFF" by default, with a warning about the consequences if it is enabled.
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2016-06-11 20:04:58 UTC
Can you please check if it happens with last version?
Comment 2 Dima Panov freebsd_committer freebsd_triage 2016-08-09 02:17:29 UTC
PR 211683 contains fix for LLVM/Jit issue in ClamAV bundle
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2016-09-05 17:12:58 UTC
Bundled LLVM is not being used anymore