[Pkg-clamav-devel] Bug#740059: clamav: LibClamAV Error: CRITICAL: fmap() failed

Sthu sthu.deus at yandex.ru
Tue Feb 25 10:08:56 UTC 2014

Package: clamav
Version: 0.98.1+dfsg-1
Severity: normal

Dear Maintainer,

FYI: about three weeks (after update) i see this behavior:

/usr/bin/clamscan -r --bell --infected --detect-pua=yes --scan-elf=yes --scan-mail=yes --algorithmic-detection=yes --scan-pe=yes --scan-ole2=yes --scan-pdf=yes --scan-html=yes --scan-archive=yes ./dir

LibClamAV Warning: fmap: map allocation failed
LibClamAV Error: CRITICAL: fmap() failed
LibClamAV Warning: fmap: map allocation failed
LibClamAV Error: CRITICAL: fmap() failed

----------- SCAN SUMMARY -----------
Known viruses: 3137431
Engine version: 0.98.1
Scanned directories: 2
Scanned files: 1
Infected files: 0
Total errors: 2
Data scanned: 0.15 MB
Data read: 2736.85 MB (ratio 0.00:1)
Time: 12.648 sec (0 m 12 s)

Thank you for your work for Debian!

-- Package-specific info:
--- configuration ---
#Automatically Generated by clamav-base postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-base
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
StreamMaxLength 25M
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0
Bytecode true
BytecodeSecurity TrustSigned
BytecodeTimeout 60000
OfficialDatabaseOnly false
CrossFilesystems true
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
UpdateLogFile /dev/null
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net

--- data dir ---
total 204756
-rw-r--r--. 1 clamav clamav    345088 Feb  6 01:48 bytecode.cld
drwxr-xr-x. 3 clamav clamav      4096 Feb 21 23:11 clamav-248394ea381111a7d480d04f5805aa02.tmp
drwxr-xr-x. 2 clamav clamav      4096 Oct 11 21:48 clamav-f4711d8420bc5ae3a427e583debfcec5
-rw-r--r--. 1 clamav clamav  45827072 Feb 25 00:24 daily.cld
-rw-r--r--. 1 clamav clamav 163468288 Sep 18 14:58 main.cld
-rw-r--r--. 1 clamav clamav       936 Feb 25 16:32 mirrors.dat

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (700, 'testing-updates'), (700, 'testing'), (600, 'stable-updates'), (600, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clamav depends on:
ii  clamav-freshclam [clamav-data]  0.98.1+dfsg-1
ii  libc6                           2.17-97
ii  libclamav6                      0.98.1+dfsg-1
ii  zlib1g                          1:1.2.8.dfsg-1

Versions of packages clamav recommends:
ii  clamav-base  0.98.1+dfsg-1

Versions of packages clamav suggests:
pn  clamav-docs  <none>

-- no debconf information

More information about the Pkg-clamav-devel mailing list