clamav-daemon.service: Failed with result 'core-dump'

Bug #1718203 reported by Khairul Aizat Kamarudzzaman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Sep 19 21:09:41 X240 systemd[1]: Starting Clam AntiVirus userspace daemon...
Sep 19 21:09:41 X240 mkdir[22733]: /bin/mkdir: cannot create directory ‘/run/clamav’: File exists
Sep 19 21:09:41 X240 systemd[1]: Started Clam AntiVirus userspace daemon.

Sep 19 21:09:51 X240 clamd[22744]: clamd: /build/llvm-toolchain-3.9-hPFDdS/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp:1902: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Type*): Assertion `Ty == cast<PointerType>(C->getType()->getScalarType())->getContainedType(0u)' failed.

Sep 19 21:09:51 X240 systemd[1]: clamav-daemon.service: Main process exited, code=dumped, status=6/ABRT
Sep 19 21:09:51 X240 systemd[1]: clamav-daemon.service: Unit entered failed state.
Sep 19 21:09:51 X240 systemd[1]: clamav-daemon.service: Failed with result 'core-dump'.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: clamav-daemon 0.99.2+dfsg-6ubuntu2
ProcVersionSignature: Ubuntu 4.12.0-13.14-generic 4.12.10
Uname: Linux 4.12.0-13-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Sep 19 21:28:13 2017
InstallationDate: Installed on 2017-05-04 (137 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170503)
SourcePackage: clamav
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :
Revision history for this message
Joshua Powers (powersj) wrote :

Thank you for taking the time to file a bug report.

I was unable to reproduce this on Artful with the same version and your
clamav config files. Do you have anything else customized? Is the system
full updated?

Since there is not enough information in your report to begin triage or to
differentiate between a local configuration problem and a bug in Ubuntu, I
am marking this bug as "Incomplete". We would be grateful if you would:
provide a more complete description of the problem, explain why you
believe this is a bug in Ubuntu rather than a problem specific to your
system, and then change the bug status back to "New".

For local configuration issues, you can find assistance here:
http://www.ubuntu.com/support/community

Changed in clamav (Ubuntu):
status: New → Incomplete
Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

I've tried to removed and purged then reinstall ..

status of the services as below:

⟫ sudo service clamav-daemon status
● clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/clamav-daemon.service.d
           └─extend.conf
   Active: failed (Result: core-dump) since Fri 2017-09-22 11:50:13 +08; 7h left
Condition: start condition failed at Fri 2017-09-22 04:02:02 +08; 1min 42s ago
           └─ ConditionPathExistsGlob=/var/lib/clamav/daily.{c[vl]d,inc} was not met
     Docs: man:clamd(8)
           man:clamd.conf(5)
           http://www.clamav.net/lang/en/doc/
 Main PID: 1089 (code=dumped, signal=ABRT)
      CPU: 10.939s

Sep 22 11:50:00 X240 systemd[1]: Starting Clam AntiVirus userspace daemon...
Sep 22 11:50:01 X240 systemd[1]: Started Clam AntiVirus userspace daemon.
Sep 22 11:50:13 X240 clamd[1089]: clamd: /build/llvm-toolchain-3.9-jLO85y/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp:1902: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(
Sep 22 11:50:13 X240 systemd[1]: clamav-daemon.service: Main process exited, code=dumped, status=6/ABRT
Sep 22 11:50:13 X240 systemd[1]: clamav-daemon.service: Unit entered failed state.
Sep 22 11:50:13 X240 systemd[1]: clamav-daemon.service: Failed with result 'core-dump'.

Changed in clamav (Ubuntu):
status: Incomplete → New
Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

Sep 22 04:04:25 X240 freshclam[16363]: Downloading main.cvd [100%]
Sep 22 04:04:34 X240 freshclam[16363]: main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Sep 22 04:05:00 X240 systemd[1]: Starting Cleanup of Temporary Directories...
Sep 22 04:05:00 X240 systemd-tmpfiles[20109]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Sep 22 04:05:00 X240 systemd[1]: Started Cleanup of Temporary Directories.
Sep 22 04:05:01 X240 CRON[20152]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Sep 22 04:05:53 X240 freshclam[16363]: Downloading daily.cvd [100%]
Sep 22 04:05:57 X240 freshclam[16363]: daily.cvd updated (version: 23860, sigs: 1743093, f-level: 63, builder: neo)
Sep 22 04:06:00 X240 freshclam[16363]: Downloading bytecode.cvd [100%]
Sep 22 04:06:00 X240 kernel: [ 966.427996] audit: type=1400 audit(1506024360.453:124): apparmor="DENIED" operation="open" profile="/usr/bin/freshclam" name="/proc/20900/status" pid=20900 comm="freshclam" requested_mask="r" denied_mask="r" fsuid=122 ouid=0
Sep 22 04:06:03 X240 freshclam[16363]: ERROR: During database load : freshclam: /build/llvm-toolchain-3.9-jLO85y/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp:1902: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(llvm::Type*, llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool, llvm::Type*): Assertion `Ty == ca [...] st<PointerType>(C->getType()->getScalarType())->getContainedType(0u)' failed.
Sep 22 04:06:03 X240 freshclam[16363]: ERROR: Database load killed by signal 6
Sep 22 04:06:03 X240 freshclam[16363]: ERROR: Failed to load new database

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

after upgrade to
$ dpkg -l | grep libllvm
ii libllvm3.9:amd64 1:3.9.1-16ubuntu5 amd64 Modular compiler and toolchain technologies, runtime library

clamav-daemon back working...

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

suspected its related to libllvm package

Sep 22 11:50:13 X240 clamd[1089]: clamd: /build/llvm-toolchain-3.9-jLO85y/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp:1902: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(Sep 22 11:50:13 X240 clamd[1089]: clamd: /build/llvm-toolchain-3.9-jLO85y/llvm-toolchain-3.9-3.9.1/lib/IR/Constants.cpp:1902: static llvm::Constant* llvm::ConstantExpr::getGetElementPtr(

Changed in clamav (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.