[clamav-users] Problem with /usr/share/clamav/freshclam-sleep

Micah Snyder (micasnyd) micasnyd at cisco.com
Mon Dec 31 09:49:51 EST 2018


I don't think this would be related. The missing headers issue would prevent others from compiling projects that depend on clamav and wouldn't result in runtime errors such as the one Bill is reporting.
I haven't seen this bug before. The backtrace doesn't have symbols/function names so it's really hard to tell what's going on from the crash output.

I have seen a crash after upgrading freshclam once before, but it wasn't repeatable.

-Micah

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.


On Dec 30, 2018, at 9:36 PM, Al Varnell <alvarnell at mac.com<mailto:alvarnell at mac.com>> wrote:

Could be related to
<https://blog.clamav.net/2018/12/libclamav-missing-headers-issue.html>.

Sent from my iPad

-Al-
ClamXAV User

On Dec 30, 2018, at 18:24, Bill Maidment <bill at maidment.me<mailto:bill at maidment.me>> wrote:

Hi
I have just updated clamav to 0.101.0 from EPEL and I got the following error.
Maybe this is a one-off. Anyone else seeing this? Or do I have a configuration issue?
Cheers
Bill

-----Original message-----
From:(Cron Daemon) <root at giggs2.maidment.me<mailto:root at giggs2.maidment.me>>
Sent: Monday 31st December 2018 12:21
To: Bill Maidment <bill at maidment.me<mailto:bill at maidment.me>>
Subject: Cron <root at giggs2> /usr/share/clamav/freshclam-sleep

*** Error in `/usr/bin/freshclam': double free or corruption (fasttop): 0x000055576db83f00 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81489)[0x7f2259390489]
/lib64/libc.so.6(+0x838c8)[0x7f22593928c8]
/lib64/libc.so.6(realloc+0x1d2)[0x7f2259394832]
/usr/bin/freshclam(+0x1ab90)[0x55576cf43b90]
/usr/bin/freshclam(+0x14f84)[0x55576cf3df84]
/usr/bin/freshclam(+0x15647)[0x55576cf3e647]
/usr/bin/freshclam(+0x157a3)[0x55576cf3e7a3]
/usr/bin/freshclam(+0x16876)[0x55576cf3f876]
/usr/bin/freshclam(+0x18662)[0x55576cf41662]
/usr/bin/freshclam(+0x12b6e)[0x55576cf3bb6e]
/usr/bin/freshclam(+0xc2a1)[0x55576cf352a1]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f22593313d5]
/usr/bin/freshclam(+0xc4dc)[0x55576cf354dc]
======= Memory map: ========
55576cf29000-55576cf54000 r-xp 00000000 fd:00 67229614                   /usr/bin/freshclam
55576d153000-55576d15a000 r--p 0002a000 fd:00 67229614                   /usr/bin/freshclam
55576d15a000-55576d15b000 rw-p 00031000 fd:00 67229614                   /usr/bin/freshclam
55576db60000-55576dba5000 rw-p 00000000 00:00 0                          [heap]
7f2250000000-7f2250021000 rw-p 00000000 00:00 0
7f2250021000-7f2254000000 ---p 00000000 00:00 0
7f22560d7000-7f22560ec000 r-xp 00000000 fd:00 134476056                  /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f22560ec000-7f22562eb000 ---p 00015000 fd:00 134476056                  /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f22562eb000-7f22562ec000 r--p 00014000 fd:00 134476056                  /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f22562ec000-7f22562ed000 rw-p 00015000 fd:00 134476056                  /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f22562ef000-7f22562f4000 r-xp 00000000 fd:00 134877446                  /usr/lib64/libnss_dns-2.17.so
7f22562f4000-7f22564f4000 ---p 00005000 fd:00 134877446                  /usr/lib64/libnss_dns-2.17.so
7f22564f4000-7f22564f5000 r--p 00005000 fd:00 134877446                  /usr/lib64/libnss_dns-2.17.so
7f22564f5000-7f22564f6000 rw-p 00006000 fd:00 134877446                  /usr/lib64/libnss_dns-2.17.so
7f22564f7000-7f22564ff000 r-xp 00000000 fd:00 135580772                  /usr/lib64/libnss_sss.so.2
7f22564ff000-7f22566fe000 ---p 00008000 fd:00 135580772                  /usr/lib64/libnss_sss.so.2
7f22566fe000-7f22566ff000 r--p 00007000 fd:00 135580772                  /usr/lib64/libnss_sss.so.2
7f22566ff000-7f2256700000 rw-p 00008000 fd:00 135580772                  /usr/lib64/libnss_sss.so.2
7f2256707000-7f2256713000 r-xp 00000000 fd:00 135392471                  /usr/lib64/libnss_files-2.17.so
7f2256713000-7f2256912000 ---p 0000c000 fd:00 135392471                  /usr/lib64/libnss_files-2.17.so
7f2256912000-7f2256913000 r--p 0000b000 fd:00 135392471                  /usr/lib64/libnss_files-2.17.so
7f2256913000-7f2256914000 rw-p 0000c000 fd:00 135392471                  /usr/lib64/libnss_files-2.17.so
7f2256914000-7f225691a000 rw-p 00000000 00:00 0
7f225691f000-7f225697f000 r-xp 00000000 fd:00 134674939                  /usr/lib64/libpcre.so.1.2.0
7f225697f000-7f2256b7f000 ---p 00060000 fd:00 134674939                  /usr/lib64/libpcre.so.1.2.0
7f2256b7f000-7f2256b80000 r--p 00060000 fd:00 134674939                  /usr/lib64/libpcre.so.1.2.0
7f2256b80000-7f2256b81000 rw-p 00061000 fd:00 134674939                  /usr/lib64/libpcre.so.1.2.0
7f2256b87000-7f2256bab000 r-xp 00000000 fd:00 136577441                  /usr/lib64/libselinux.so.1
7f2256bab000-7f2256daa000 ---p 00024000 fd:00 136577441                  /usr/lib64/libselinux.so.1
7f2256daa000-7f2256dab000 r--p 00023000 fd:00 136577441                  /usr/lib64/libselinux.so.1
7f2256dab000-7f2256dac000 rw-p 00024000 fd:00 136577441                  /usr/lib64/libselinux.so.1
7f2256dac000-7f2256dae000 rw-p 00000000 00:00 0
7f2256daf000-7f2256db2000 r-xp 00000000 fd:00 134403235                  /usr/lib64/libkeyutils.so.1.5
7f2256db2000-7f2256fb1000 ---p 00003000 fd:00 134403235                  /usr/lib64/libkeyutils.so.1.5
7f2256fb1000-7f2256fb2000 r--p 00002000 fd:00 134403235                  /usr/lib64/libkeyutils.so.1.5
7f2256fb2000-7f2256fb3000 rw-p 00003000 fd:00 134403235                  /usr/lib64/libkeyutils.so.1.5
7f2256fb7000-7f2256fc4000 r-xp 00000000 fd:00 134403386                  /usr/lib64/libkrb5support.so.0.1
7f2256fc4000-7f22571c4000 ---p 0000d000 fd:00 134403386                  /usr/lib64/libkrb5support.so.0.1
7f22571c4000-7f22571c5000 r--p 0000d000 fd:00 134403386                  /usr/lib64/libkrb5support.so.0.1
7f22571c5000-7f22571c6000 rw-p 0000e000 fd:00 134403386                  /usr/lib64/libkrb5support.so.0.1
7f22571c7000-7f22571e0000 r-xp 00000000 fd:00 134403378                  /usr/lib64/libk5crypto.so.3.1
7f22571e0000-7f22573df000 ---p 00019000 fd:00 134403378                  /usr/lib64/libk5crypto.so.3.1
7f22573df000-7f22573e1000 r--p 00018000 fd:00 134403378                  /usr/lib64/libk5crypto.so.3.1
7f22573e1000-7f22573e2000 rw-p 0001a000 fd:00 134403378                  /usr/lib64/libk5crypto.so.3.1
7f22573e7000-7f22573ea000 r-xp 00000000 fd:00 135012383                  /usr/lib64/libcom_err.so.2.1
7f22573ea000-7f22575e9000 ---p 00003000 fd:00 135012383                  /usr/lib64/libcom_err.so.2.1
7f22575e9000-7f22575ea000 r--p 00002000 fd:00 135012383                  /usr/lib64/libcom_err.so.2.1
7f22575ea000-7f22575eb000 rw-p 00003000 fd:00 135012383                  /usr/lib64/libcom_err.so.2.1
7f22575ef000-7f22576c8000 r-xp 00000000 fd:00 134403384                  /usr/lib64/libkrb5.so.3.3
7f22576c8000-7f22578c7000 ---p 000d9000 fd:00 134403384                  /usr/lib64/libkrb5.so.3.3
7f22578c7000-7f22578d5000 r--p 000d8000 fd:00 134403384                  /usr/lib64/libkrb5.so.3.3
7f22578d5000-7f22578d8000 rw-p 000e6000 fd:00 134403384                  /usr/lib64/libkrb5.so.3.3
7f22578df000-7f2257929000 r-xp 00000000 fd:00 136577485                  /usr/lib64/libgssapi_krb5.so.2.2
7f2257929000-7f2257b29000 ---p 0004a000 fd:00 136577485                  /usr/lib64/libgssapi_krb5.so.2.2
7f2257b29000-7f2257b2a000 r--p 0004a000 fd:00 136577485                  /usr/lib64/libgssapi_krb5.so.2.2
7f2257b2a000-7f2257b2c000 rw-p 0004b000 fd:00 136577485                  /usr/lib64/libgssapi_krb5.so.2.2
7f2257b2f000-7f2257b54000 r-xp 00000000 fd:00 134668544                  /usr/lib64/liblzma.so.5.2.2
7f2257b54000-7f2257d53000 ---p 00025000 fd:00 134668544                  /usr/lib64/liblzma.so.5.2.2
7f2257d53000-7f2257d54000 r--p 00024000 fd:00 134668544                  /usr/lib64/liblzma.so.5.2.2
7f2257d54000-7f2257d55000 rw-p 00025000 fd:00 134668544                  /usr/lib64/liblzma.so.5.2.2
7f2257d57000-7f2257d59000 r-xp 00000000 fd:00 135388112                  /usr/lib64/libdl-2.17.so
7f2257d59000-7f2257f59000 ---p 00002000 fd:00 135388112                  /usr/lib64/libdl-2.17.so
7f2257f59000-7f2257f5a000 r--p 00002000 fd:00 135388112                  /usr/lib64/libdl-2.17.so
7f2257f5a000-7f2257f5b000 rw-p 00003000 fd:00 135388112                  /usr/lib64/libdl-2.17.so
7f2257f5f000-7f2258060000 r-xp 00000000 fd:00 135388115                  /usr/lib64/libm-2.17.so
7f2258060000-7f225825f000 ---p 00101000 fd:00 135388115                  /usr/lib64/libm-2.17.so
7f225825f000-7f2258260000 r--p 00100000 fd:00 135388115                  /usr/lib64/libm-2.17.so
7f2258260000-7f2258261000 rw-p 00101000 fd:00 135388115                  /usr/lib64/libm-2.17.so
7f2258267000-7f22582dd000 r-xp 00000000 fd:00 135497752                  /usr/lib64/libpcre2-8.so.0.5.0
7f22582dd000-7f22584dc000 ---p 00076000 fd:00 135497752                  /usr/lib64/libpcre2-8.so.0.5.0
7f22584dc000-7f22584dd000 r--p 00075000 fd:00 135497752                  /usr/lib64/libpcre2-8.so.0.5.0
7f22584dd000-7f22584de000 rw-p 00076000 fd:00 135497752                  /usr/lib64/libpcre2-8.so.0.5.0
7f22584df000-7f22584e9000 r-xp 00000000 fd:00 134476732                  /usr/lib64/libjson-c.so.2.0.1
7f22584e9000-7f22586e8000 ---p 0000a000 fd:00 134476732                  /usr/lib64/libjson-c.so.2.0.1
7f22586e8000-7f22586e9000 r--p 00009000 fd:00 134476732                  /usr/lib64/libjson-c.so.2.0.1
7f22586e9000-7f22586ea000 rw-p 0000a000 fd:00 134476732                  /usr/lib64/libjson-c.so.2.0.1
7f22586ef000-7f2258756000 r-xp 00000000 fd:00 134403389                  /usr/lib64/libssl.so.1.0.2k
7f2258756000-7f2258956000 ---p 00067000 fd:00 134403389                  /usr/lib64/libssl.so.1.0.2k
7f2258956000-7f225895a000 r--p 00067000 fd:00 134403389                  /usr/lib64/libssl.so.1.0.2k
7f225895a000-7f2258961000 rw-p 0006b000 fd:00 134403389                  /usr/lib64/libssl.so.1.0.2k
7f2258967000-7f225897a000 r-xp 00000000 fd:00 135560435                  /usr/lib64/libclammspack.so.0.1.0
7f225897a000-7f2258b79000 ---p 00013000 fd:00 135560435                  /usr/lib64/libclammspack.so.0.1.0
7f2258b79000-7f2258b7a000 r--p 00012000 fd:00 135560435                  /usr/lib64/libclammspack.so.0.1.0
7f2258b7a000-7f2258b7b000 rw-p 00013000 fd:00 135560435                  /usr/lib64/libclammspack.so.0.1.0
7f2258b7f000-7f2258b88000 r-xp 00000000 fd:00 134548762                  /usr/lib64/libltdl.so.7.3.0
7f2258b88000-7f2258d87000 ---p 00009000 fd:00 134548762                  /usr/lib64/libltdl.so.7.3.0
7f2258d87000-7f2258d88000 r--p 00008000 fd:00 134548762                  /usr/lib64/libltdl.so.7.3.0
7f2258d88000-7f2258d89000 rw-p 00009000 fd:00 134548762                  /usr/lib64/libltdl.so.7.3.0
7f2258d8f000-7f2258d9e000 r-xp 00000000 fd:00 134403054                  /usr/lib64/libbz2.so.1.0.6
7f2258d9e000-7f2258f9d000 ---p 0000f000 fd:00 134403054                  /usr/lib64/libbz2.so.1.0.6
7f2258f9d000-7f2258f9e000 r--p 0000e000 fd:00 134403054                  /usr/lib64/libbz2.so.1.0.6
7f2258f9e000-7f2258f9f000 rw-p 0000f000 fd:00 134403054                  /usr/lib64/libbz2.so.1.0.6
7f2258f9f000-7f22590fe000 r-xp 00000000 fd:00 134865510                  /usr/lib64/libxml2.so.2.9.1
7f22590fe000-7f22592fd000 ---p 0015f000 fd:00 134865510                  /usr/lib64/libxml2.so.2.9.1
7f22592fd000-7f2259305000 r--p 0015e000 fd:00 134865510                  /usr/lib64/libxml2.so.2.9.1
7f2259305000-7f2259307000 rw-p 00166000 fd:00 134865510                  /usr/lib64/libxml2.so.2.9.1
7f2259307000-7f2259309000 rw-p 00000000 00:00 0
7f225930f000-7f22594d1000 r-xp 00000000 fd:00 134677216                  /usr/lib64/libc-2.17.so
7f22594d1000-7f22596d1000 ---p 001c2000 fd:00 134677216                  /usr/lib64/libc-2.17.so
7f22596d1000-7f22596d5000 r--p 001c2000 fd:00 134677216                  /usr/lib64/libc-2.17.so
7f22596d5000-7f22596d7000 rw-p 001c6000 fd:00 134677216                  /usr/lib64/libc-2.17.so
7f22596d7000-7f22596dc000 rw-p 00000000 00:00 0
7f22596df000-7f22596f6000 r-xp 00000000 fd:00 134881656                  /usr/lib64/libpthread-2.17.so
7f22596f6000-7f22598f5000 ---p 00017000 fd:00 134881656                  /usr/lib64/libpthread-2.17.so
7f22598f5000-7f22598f6000 r--p 00016000 fd:00 134881656                  /usr/lib64/libpthread-2.17.so
7f22598f6000-7f22598f7000 rw-p 00017000 fd:00 134881656                  /usr/lib64/libpthread-2.17.so
7f22598f7000-7f22598fb000 rw-p 00000000 00:00 0
7f22598ff000-7f2259915000 r-xp 00000000 fd:00 135661999                  /usr/lib64/libresolv-2.17.so
7f2259915000-7f2259b14000 ---p 00016000 fd:00 135661999                  /usr/lib64/libresolv-2.17.so
7f2259b14000-7f2259b15000 r--p 00015000 fd:00 135661999                  /usr/lib64/libresolv-2.17.so
7f2259b15000-7f2259b16000 rw-p 00016000 fd:00 135661999                  /usr/lib64/libresolv-2.17.so
7f2259b16000-7f2259b18000 rw-p 00000000 00:00 0
7f2259b1f000-7f2259b34000 r-xp 00000000 fd:00 134339287                  /usr/lib64/libz.so.1.2.7
7f2259b34000-7f2259d33000 ---p 00015000 fd:00 134339287                  /usr/lib64/libz.so.1.2.7
7f2259d33000-7f2259d34000 r--p 00014000 fd:00 134339287                  /usr/lib64/libz.so.1.2.7
7f2259d34000-7f2259d35000 rw-p 00015000 fd:00 134339287                  /usr/lib64/libz.so.1.2.7
7f2259d37000-7f2259f6b000 r-xp 00000000 fd:00 134403387                  /usr/lib64/libcrypto.so.1.0.2k
7f2259f6b000-7f225a16b000 ---p 00234000 fd:00 134403387                  /usr/lib64/libcrypto.so.1.0.2k
7f225a16b000-7f225a187000 r--p 00234000 fd:00 134403387                  /usr/lib64/libcrypto.so.1.0.2k
7f225a187000-7f225a194000 rw-p 00250000 fd:00 134403387                  /usr/lib64/libcrypto.so.1.0.2k
7f225a194000-7f225a198000 rw-p 00000000 00:00 0
7f225a19f000-7f225a365000 r-xp 00000000 fd:00 135560427                  /usr/lib64/libclamav.so.9.0.0
7f225a365000-7f225a564000 ---p 001c6000 fd:00 135560427                  /usr/lib64/libclamav.so.9.0.0
7f225a564000-7f225a56e000 r--p 001c5000 fd:00 135560427                  /usr/lib64/libclamav.so.9.0.0
7f225a56e000-7f225a57e000 rw-p 001cf000 fd:00 135560427                  /usr/lib64/libclamav.so.9.0.0
7f225a57e000-7f225a57f000 rw-p 00000000 00:00 0
7f225a57f000-7f225a5a1000 r-xp 00000000 fd:00 134339279                  /usr/lib64/ld-2.17.so
7f225a783000-7f225a78f000 rw-p 00000000 00:00 0
7f225a79d000-7f225a7a0000 rw-p 00000000 00:00 0
7f225a7a0000-7f225a7a1000 r--p 00021000 fd:00 134339279                  /usr/lib64/ld-2.17.so
7f225a7a1000-7f225a7a2000 rw-p 00022000 fd:00 134339279                  /usr/lib64/ld-2.17.so
7f225a7a2000-7f225a7a4000 rw-p 00000000 00:00 0
7ffdc5551000-7ffdc5572000 rw-p 00000000 00:00 0                          [stack]
7ffdc559f000-7ffdc55a1000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
/usr/share/clamav/freshclam-sleep: line 52: 26030 Aborted                 /usr/bin/freshclam --quiet


_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml
_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net<mailto:clamav-users at lists.clamav.net>
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20181231/9aec3742/attachment.html>


More information about the clamav-users mailing list