Mailing List Archive

[clamav-users] ClamAV 0.102.0 freshclam errors.
Hello!

I started testing 0.102.0 today, but I'm running into problems with
freshclam.

Compiled from source on CentOS 8:

$ sudo /usr/local/bin/freshclam
ClamAV update process started at Thu Oct 31 01:04:40 2019
ERROR: Failed to change back to original directory /my/current/dir
double free or corruption (top)
Aborted

Compiled from source on CentOS 7:

ERROR: Failed to change back to original directory /my/current/dir
*** Error in `/usr/bin/freshclam': double free or corruption (!prev): 0x00005594c2878d00 ***
======= Backtrace: =========
/usr/lib64/libc.so.6(+0x81679)[0x7f5e339e2679]
/usr/lib64/libc.so.6(closedir+0xd)[0x7f5e33a21d8d]
/usr/lib64/libfreshclam.so.2(fc_prune_database_directory+0x1a5)[0x7f5e3463ccb5]
/usr/bin/freshclam(+0x10173)[0x5594c1961173]
/usr/bin/freshclam(+0xb104)[0x5594c195c104]
/usr/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f5e33983505]
/usr/bin/freshclam(+0xba1d)[0x5594c195ca1d]
======= Memory map: ========
5594c1951000-5594c196e000 r-xp 00000000 00:32 43874 /usr/bin/freshclam
5594c1b6d000-5594c1b74000 r--p 0001c000 00:32 43874 /usr/bin/freshclam
5594c1b74000-5594c1b75000 rw-p 00023000 00:32 43874 /usr/bin/freshclam
5594c1b75000-5594c1b76000 rw-p 00000000 00:00 0
5594c2872000-5594c2893000 rw-p 00000000 00:00 0 [heap]
7f5e28000000-7f5e28021000 rw-p 00000000 00:00 0
7f5e28021000-7f5e2c000000 ---p 00000000 00:00 0
7f5e2e076000-7f5e2e0b1000 r-xp 00000000 00:32 43865 /usr/lib64/libclamunrar.so.9.0.4
7f5e2e0b1000-7f5e2e2b1000 ---p 0003b000 00:32 43865 /usr/lib64/libclamunrar.so.9.0.4
7f5e2e2b1000-7f5e2e2b2000 r--p 0003b000 00:32 43865 /usr/lib64/libclamunrar.so.9.0.4
7f5e2e2b2000-7f5e2e2b3000 rw-p 0003c000 00:32 43865 /usr/lib64/libclamunrar.so.9.0.4
7f5e2e2b3000-7f5e2e2c2000 rw-p 00000000 00:00 0
7f5e2e2c2000-7f5e2e2c5000 r-xp 00000000 00:32 43867 /usr/lib64/libclamunrar_iface.so.9.0.4
7f5e2e2c5000-7f5e2e4c4000 ---p 00003000 00:32 43867 /usr/lib64/libclamunrar_iface.so.9.0.4
7f5e2e4c4000-7f5e2e4c5000 r--p 00002000 00:32 43867 /usr/lib64/libclamunrar_iface.so.9.0.4
7f5e2e4c5000-7f5e2e4c6000 rw-p 00000000 00:00 0
7f5e2e4c6000-7f5e2e4d2000 r-xp 00000000 00:32 10929 /usr/lib64/libnss_files-2.17.so
7f5e2e4d2000-7f5e2e6d1000 ---p 0000c000 00:32 10929 /usr/lib64/libnss_files-2.17.so
7f5e2e6d1000-7f5e2e6d2000 r--p 0000b000 00:32 10929 /usr/lib64/libnss_files-2.17.so
7f5e2e6d2000-7f5e2e6d3000 rw-p 0000c000 00:32 10929 /usr/lib64/libnss_files-2.17.so
7f5e2e6d3000-7f5e2e6d9000 rw-p 00000000 00:00 0
7f5e2e6d9000-7f5e2e6db000 r-xp 00000000 00:32 10970 /usr/lib64/libfreebl3.so
7f5e2e6db000-7f5e2e8da000 ---p 00002000 00:32 10970 /usr/lib64/libfreebl3.so
7f5e2e8da000-7f5e2e8db000 r--p 00001000 00:32 10970 /usr/lib64/libfreebl3.so
7f5e2e8db000-7f5e2e8dc000 rw-p 00002000 00:32 10970 /usr/lib64/libfreebl3.so
7f5e2e8dc000-7f5e2e93c000 r-xp 00000000 00:32 10916 /usr/lib64/libpcre.so.1.2.0
7f5e2e93c000-7f5e2eb3c000 ---p 00060000 00:32 10916 /usr/lib64/libpcre.so.1.2.0
7f5e2eb3c000-7f5e2eb3d000 r--p 00060000 00:32 10916 /usr/lib64/libpcre.so.1.2.0
7f5e2eb3d000-7f5e2eb3e000 rw-p 00061000 00:32 10916 /usr/lib64/libpcre.so.1.2.0
7f5e2eb3e000-7f5e2eb46000 r-xp 00000000 00:32 10981 /usr/lib64/libcrypt-2.17.so
7f5e2eb46000-7f5e2ed45000 ---p 00008000 00:32 10981 /usr/lib64/libcrypt-2.17.so
7f5e2ed45000-7f5e2ed46000 r--p 00007000 00:32 10981 /usr/lib64/libcrypt-2.17.so
7f5e2ed46000-7f5e2ed47000 rw-p 00008000 00:32 10981 /usr/lib64/libcrypt-2.17.so
7f5e2ed47000-7f5e2ed75000 rw-p 00000000 00:00 0
7f5e2ed75000-7f5e2ed99000 r-xp 00000000 00:32 10897 /usr/lib64/libselinux.so.1
7f5e2ed99000-7f5e2ef98000 ---p 00024000 00:32 10897 /usr/lib64/libselinux.so.1
7f5e2ef98000-7f5e2ef99000 r--p 00023000 00:32 10897 /usr/lib64/libselinux.so.1
7f5e2ef99000-7f5e2ef9a000 rw-p 00024000 00:32 10897 /usr/lib64/libselinux.so.1
7f5e2ef9a000-7f5e2ef9c000 rw-p 00000000 00:00 0
7f5e2ef9c000-7f5e2efb8000 r-xp 00000000 00:32 10898 /usr/lib64/libsasl2.so.3.0.0
7f5e2efb8000-7f5e2f1b7000 ---p 0001c000 00:32 10898 /usr/lib64/libsasl2.so.3.0.0
7f5e2f1b7000-7f5e2f1b8000 r--p 0001b000 00:32 10898 /usr/lib64/libsasl2.so.3.0.0
7f5e2f1b8000-7f5e2f1b9000 rw-p 0001c000 00:32 10898 /usr/lib64/libsasl2.so.3.0.0
7f5e2f1b9000-7f5e2f1bc000 r-xp 00000000 00:32 10951 /usr/lib64/libkeyutils.so.1.5
7f5e2f1bc000-7f5e2f3bb000 ---p 00003000 00:32 10951 /usr/lib64/libkeyutils.so.1.5
7f5e2f3bb000-7f5e2f3bc000 r--p 00002000 00:32 10951 /usr/lib64/libkeyutils.so.1.5
7f5e2f3bc000-7f5e2f3bd000 rw-p 00003000 00:32 10951 /usr/lib64/libkeyutils.so.1.5
7f5e2f3bd000-7f5e2f3cb000 r-xp 00000000 00:32 10864 /usr/lib64/libkrb5support.so.0.1
7f5e2f3cb000-7f5e2f5cb000 ---p 0000e000 00:32 10864 /usr/lib64/libkrb5support.so.0.1
7f5e2f5cb000-7f5e2f5cc000 r--p 0000e000 00:32 10864 /usr/lib64/libkrb5support.so.0.1
7f5e2f5cc000-7f5e2f5cd000 rw-p 0000f000 00:32 10864 /usr/lib64/libkrb5support.so.0.1
7f5e2f5cd000-7f5e2f5d4000 r-xp 00000000 00:32 10899 /usr/lib64/librt-2.17.so
7f5e2f5d4000-7f5e2f7d3000 ---p 00007000 00:32 10899 /usr/lib64/librt-2.17.so
7f5e2f7d3000-7f5e2f7d4000 r--p 00006000 00:32 10899 /usr/lib64/librt-2.17.so
7f5e2f7d4000-7f5e2f7d5000 rw-p 00007000 00:32 10899 /usr/lib64/librt-2.17.so
7f5e2f7d5000-7f5e2fa0b000 r-xp 00000000 00:32 10980 /usr/lib64/libcrypto.so.1.0.2k
7f5e2fa0b000-7f5e2fc0b000 ---p 00236000 00:32 10980 /usr/lib64/libcrypto.so.1.0.2k
7f5e2fc0b000-7f5e2fc27000 r--p 00236000 00:32 10980 /usr/lib64/libcrypto.so.1.0.2k
7f5e2fc27000-7f5e2fc34000 rw-p 00252000 00:32 10980 /usr/lib64/libcrypto.so.1.0.2k
7f5e2fc34000-7f5e2fc38000 rw-p 00000000 00:00 0
7f5e2fc38000-7f5e2fc9f000 r-xp 00000000 00:32 10889 /usr/lib64/libssl.so.1.0.2k
7f5e2fc9f000-7f5e2fe9f000 ---p 00067000 00:32 10889 /usr/lib64/libssl.so.1.0.2k
7f5e2fe9f000-7f5e2fea3000 r--p 00067000 00:32 10889 /usr/lib64/libssl.so.1.0.2k
7f5e2fea3000-7f5e2feaa000 rw-p 0006b000 00:32 10889 /usr/lib64/libssl.so.1.0.2k
7f5e2feaa000-7f5e2fecf000 r-xp 00000000 00:32 10946 /usr/lib64/liblzma.so.5.2.2
7f5e2fecf000-7f5e300ce000 ---p 00025000 00:32 10946 /usr/lib64/liblzma.so.5.2.2
7f5e300ce000-7f5e300cf000 r--p 00024000 00:32 10946 /usr/lib64/liblzma.so.5.2.2
7f5e300cf000-7f5e300d0000 rw-p 00025000 00:32 10946 /usr/lib64/liblzma.so.5.2.2
7f5e300d0000-7f5e30122000 r-xp 00000000 00:32 10949 /usr/lib64/libldap-2.4.so.2.10.7
7f5e30122000-7f5e30322000 ---p 00052000 00:32 10949 /usr/lib64/libldap-2.4.so.2.10.7
7f5e30322000-7f5e30324000 r--p 00052000 00:32 10949 /usr/lib64/libldap-2.4.so.2.10.7
7f5e30324000-7f5e30325000 rw-p 00054000 00:32 10949 /usr/lib64/libldap-2.4.so.2.10.7
7f5e30325000-7f5e30333000 r-xp 00000000 00:32 10950 /usr/lib64/liblber-2.4.so.2.10.7
7f5e30333000-7f5e30532000 ---p 0000e000 00:32 10950 /usr/lib64/liblber-2.4.so.2.10.7
7f5e30532000-7f5e30533000 r--p 0000d000 00:32 10950 /usr/lib64/liblber-2.4.so.2.10.7
7f5e30533000-7f5e30534000 rw-p 0000e000 00:32 10950 /usr/lib64/liblber-2.4.so.2.10.7
7f5e30534000-7f5e30537000 r-xp 00000000 00:32 9301 /usr/lib64/libcom_err.so.2.1
7f5e30537000-7f5e30736000 ---p 00003000 00:32 9301 /usr/lib64/libcom_err.so.2.1
7f5e30736000-7f5e30737000 r--p 00002000 00:32 9301 /usr/lib64/libcom_err.so.2.1
7f5e30737000-7f5e30738000 rw-p 00003000 00:32 9301 /usr/lib64/libcom_err.so.2.1
7f5e30738000-7f5e30769000 r-xp 00000000 00:32 10872 /usr/lib64/libk5crypto.so.3.1
7f5e30769000-7f5e30968000 ---p 00031000 00:32 10872 /usr/lib64/libk5crypto.so.3.1
7f5e30968000-7f5e3096a000 r--p 00030000 00:32 10872 /usr/lib64/libk5crypto.so.3.1
7f5e3096a000-7f5e3096b000 rw-p 00032000 00:32 10872 /usr/lib64/libk5crypto.so.3.1
7f5e3096b000-7f5e30a44000 r-xp 00000000 00:32 10866 /usr/lib64/libkrb5.so.3.3
7f5e30a44000-7f5e30c43000 ---p 000d9000 00:32 10866 /usr/lib64/libkrb5.so.3.3
7f5e30c43000-7f5e30c51000 r--p 000d8000 00:32 10866 /usr/lib64/libkrb5.so.3.3
7f5e30c51000-7f5e30c54000 rw-p 000e6000 00:32 10866 /usr/lib64/libkrb5.so.3.3
7f5e30c54000-7f5e30c9e000 r-xp 00000000 00:32 10876 /usr/lib64/libgssapi_krb5.so.2.2
7f5e30c9e000-7f5e30e9e000 ---p 0004a000 00:32 10876 /usr/lib64/libgssapi_krb5.so.2.2
7f5e30e9e000-7f5e30e9f000 r--p 0004a000 00:32 10876 /usr/lib64/libgssapi_krb5.so.2.2
7f5e30e9f000-7f5e30ea1000 rw-p 0004b000 00:32 10876 /usr/lib64/libgssapi_krb5.so.2.2
7f5e30ea1000-7f5e30edb000 r-xp 00000000 00:32 10934 /usr/lib64/libnspr4.so
7f5e30edb000-7f5e310da000 ---p 0003a000 00:32 10934 /usr/lib64/libnspr4.so
7f5e310da000-7f5e310db000 r--p 00039000 00:32 10934 /usr/lib64/libnspr4.so
7f5e310db000-7f5e310dd000 rw-p 0003a000 00:32 10934 /usr/lib64/libnspr4.so
7f5e310dd000-7f5e310df000 rw-p 00000000 00:00 0
7f5e310df000-7f5e310e3000 r-xp 00000000 00:32 10911 /usr/lib64/libplc4.so
7f5e310e3000-7f5e312e2000 ---p 00004000 00:32 10911 /usr/lib64/libplc4.so
7f5e312e2000-7f5e312e3000 r--p 00003000 00:32 10911 /usr/lib64/libplc4.so
7f5e312e3000-7f5e312e4000 rw-p 00004000 00:32 10911 /usr/lib64/libplc4.so
7f5e312e4000-7f5e312e7000 r-xp 00000000 00:32 10910 /usr/lib64/libplds4.so
7f5e312e7000-7f5e314e6000 ---p 00003000 00:32 10910 /usr/lib64/libplds4.so
7f5e314e6000-7f5e314e7000 r--p 00002000 00:32 10910 /usr/lib64/libplds4.so
7f5e314e7000-7f5e314e8000 rw-p 00003000 00:32 10910 /usr/lib64/libplds4.so
7f5e314e8000-7f5e31511000 r-xp 00000000 00:32 10921 /usr/lib64/libnssutil3.so
7f5e31511000-7f5e31710000 ---p 00029000 00:32 10921 /usr/lib64/libnssutil3.so
7f5e31710000-7f5e31717000 r--p 00028000 00:32 10921 /usr/lib64/libnssutil3.so
7f5e31717000-7f5e31718000 rw-p 0002f000 00:32 10921 /usr/lib64/libnssutil3.so
7f5e31718000-7f5e3183e000 r-xp 00000000 00:32 10933 /usr/lib64/libnss3.so
7f5e3183e000-7f5e31a3e000 ---p 00126000 00:32 10933 /usr/lib64/libnss3.so
7f5e31a3e000-7f5e31a43000 r--p 00126000 00:32 10933 /usr/lib64/libnss3.so
7f5e31a43000-7f5e31a45000 rw-p 0012b000 00:32 10933 /usr/lib64/libnss3.so
7f5e31a45000-7f5e31a47000 rw-p 00000000 00:00 0
7f5e31a47000-7f5e31a6c000 r-xp 00000000 00:32 10894 /usr/lib64/libsmime3.so
7f5e31a6c000-7f5e31c6b000 ---p 00025000 00:32 10894 /usr/lib64/libsmime3.so
7f5e31c6b000-7f5e31c6e000 r--p 00024000 00:32 10894 /usr/lib64/libsmime3.so
7f5e31c6e000-7f5e31c6f000 rw-p 00027000 00:32 10894 /usr/lib64/libsmime3.so
7f5e31c6f000-7f5e31cc2000 r-xp 00000000 00:32 10888 /usr/lib64/libssl3.so
7f5e31cc2000-7f5e31ec2000 ---p 00053000 00:32 10888 /usr/lib64/libssl3.so
7f5e31ec2000-7f5e31ec6000 r--p 00053000 00:32 10888 /usr/lib64/libssl3.so
7f5e31ec6000-7f5e31ec7000 rw-p 00057000 00:32 10888 /usr/lib64/libssl3.so
7f5e31ec7000-7f5e31ec8000 rw-p 00000000 00:00 0
7f5e31ec8000-7f5e31ef3000 r-xp 00000000 00:32 10890 /usr/lib64/libssh2.so.1.0.1
7f5e31ef3000-7f5e320f3000 ---p 0002b000 00:32 10890 /usr/lib64/libssh2.so.1.0.1
7f5e320f3000-7f5e320f4000 r--p 0002b000 00:32 10890 /usr/lib64/libssh2.so.1.0.1
7f5e320f4000-7f5e320f5000 rw-p 0002c000 00:32 10890 /usr/lib64/libssh2.so.1.0.1
7f5e320f5000-7f5e32127000 r-xp 00000000 00:32 10952 /usr/lib64/libidn.so.11.6.11
7f5e32127000-7f5e32326000 ---p 00032000 00:32 10952 /usr/lib64/libidn.so.11.6.11
7f5e32326000-7f5e32327000 r--p 00031000 00:32 10952 /usr/lib64/libidn.so.11.6.11
7f5e32327000-7f5e32328000 rw-p 00032000 00:32 10952 /usr/lib64/libidn.so.11.6.11
7f5e32328000-7f5e3233d000 r-xp 00000000 00:32 10967 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f5e3233d000-7f5e3253c000 ---p 00015000 00:32 10967 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f5e3253c000-7f5e3253d000 r--p 00014000 00:32 10967 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f5e3253d000-7f5e3253e000 rw-p 00015000 00:32 10967 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
7f5e3253e000-7f5e32627000 r-xp 00000000 00:32 10887 /usr/lib64/libstdc++.so.6.0.19
7f5e32627000-7f5e32826000 ---p 000e9000 00:32 10887 /usr/lib64/libstdc++.so.6.0.19
7f5e32826000-7f5e3282e000 r--p 000e8000 00:32 10887 /usr/lib64/libstdc++.so.6.0.19
7f5e3282e000-7f5e32830000 rw-p 000f0000 00:32 10887 /usr/lib64/libstdc++.so.6.0.19
7f5e32830000-7f5e32845000 rw-p 00000000 00:00 0
7f5e32845000-7f5e32946000 r-xp 00000000 00:32 10945 /usr/lib64/libm-2.17.so
7f5e32946000-7f5e32b45000 ---p 00101000 00:32 10945 /usr/lib64/libm-2.17.so
7f5e32b45000-7f5e32b46000 r--p 00100000 00:32 10945 /usr/lib64/libm-2.17.so
7f5e32b46000-7f5e32b47000 rw-p 00101000 00:32 10945 /usr/lib64/libm-2.17.so
7f5e32b47000-7f5e32bbd000 r-xp 00000000 00:32 17079 /usr/lib64/libpcre2-8.so.0.5.0
7f5e32bbd000-7f5e32dbc000 ---p 00076000 00:32 17079 /usr/lib64/libpcre2-8.so.0.5.0
7f5e32dbc000-7f5e32dbd000 r--p 00075000 00:32 17079 /usr/lib64/libpcre2-8.so.0.5.0
7f5e32dbd000-7f5e32dbe000 rw-p 00076000 00:32 17079 /usr/lib64/libpcre2-8.so.0.5.0
7f5e32dbe000-7f5e32dc8000 r-xp 00000000 00:32 10707 /usr/lib64/libjson-c.so.2.0.1
7f5e32dc8000-7f5e32fc7000 ---p 0000a000 00:32 10707 /usr/lib64/libjson-c.so.2.0.1
7f5e32fc7000-7f5e32fc8000 r--p 00009000 00:32 10707 /usr/lib64/libjson-c.so.2.0.1
7f5e32fc8000-7f5e32fc9000 rw-p 0000a000 00:32 10707 /usr/lib64/libjson-c.so.2.0.1
7f5e32fc9000-7f5e32fdc000 r-xp 00000000 00:32 43863 /usr/lib64/libclammspack.so.0.1.0
7f5e32fdc000-7f5e331db000 ---p 00013000 00:32 43863 /usr/lib64/libclammspack.so.0.1.0
7f5e331db000-7f5e331dc000 r--p 00012000 00:32 43863 /usr/lib64/libclammspack.so.0.1.0
7f5e331dc000-7f5e331dd000 rw-p 00013000 00:32 43863 /usr/lib64/libclammspack.so.0.1.0
7f5e331dd000-7f5e3333c000 r-xp 00000000 00:32 10879 /usr/lib64/libxml2.so.2.9.1
7f5e3333c000-7f5e3353b000 ---p 0015f000 00:32 10879 /usr/lib64/libxml2.so.2.9.1
7f5e3353b000-7f5e33543000 r--p 0015e000 00:32 10879 /usr/lib64/libxml2.so.2.9.1
7f5e33543000-7f5e33545000 rw-p 00166000 00:32 10879 /usr/lib64/libxml2.so.2.9.1
7f5e33545000-7f5e33547000 rw-p 00000000 00:00 0
7f5e33547000-7f5e33550000 r-xp 00000000 00:32 17073 /usr/lib64/libltdl.so.7.3.0
7f5e33550000-7f5e3374f000 ---p 00009000 00:32 17073 /usr/lib64/libltdl.so.7.3.0
7f5e3374f000-7f5e33750000 r--p 00008000 00:32 17073 /usr/lib64/libltdl.so.7.3.0
7f5e33750000-7f5e33751000 rw-p 00009000 00:32 17073 /usr/lib64/libltdl.so.7.3.0
7f5e33751000-7f5e33760000 r-xp 00000000 00:32 9306 /usr/lib64/libbz2.so.1.0.6
7f5e33760000-7f5e3395f000 ---p 0000f000 00:32 9306 /usr/lib64/libbz2.so.1.0.6
7f5e3395f000-7f5e33960000 r--p 0000e000 00:32 9306 /usr/lib64/libbz2.so.1.0.6
7f5e33960000-7f5e33961000 rw-p 0000f000 00:32 9306 /usr/lib64/libbz2.so.1.0.6
7f5e33961000-7f5e33b24000 r-xp 00000000 00:32 9305 /usr/lib64/libc-2.17.so
7f5e33b24000-7f5e33d24000 ---p 001c3000 00:32 9305 /usr/lib64/libc-2.17.so
7f5e33d24000-7f5e33d28000 r--p 001c3000 00:32 9305 /usr/lib64/libc-2.17.so
7f5e33d28000-7f5e33d2a000 rw-p 001c7000 00:32 9305 /usr/lib64/libc-2.17.so
7f5e33d2a000-7f5e33d2f000 rw-p 00000000 00:00 0
7f5e33d2f000-7f5e33d46000 r-xp 00000000 00:32 10907 /usr/lib64/libpthread-2.17.so
7f5e33d46000-7f5e33f45000 ---p 00017000 00:32 10907 /usr/lib64/libpthread-2.17.so
7f5e33f45000-7f5e33f46000 r--p 00016000 00:32 10907 /usr/lib64/libpthread-2.17.so
7f5e33f46000-7f5e33f47000 rw-p 00017000 00:32 10907 /usr/lib64/libpthread-2.17.so
7f5e33f47000-7f5e33f4b000 rw-p 00000000 00:00 0
7f5e33f4b000-7f5e33f60000 r-xp 00000000 00:32 10878 /usr/lib64/libz.so.1.2.7
7f5e33f60000-7f5e3415f000 ---p 00015000 00:32 10878 /usr/lib64/libz.so.1.2.7
7f5e3415f000-7f5e34160000 r--p 00014000 00:32 10878 /usr/lib64/libz.so.1.2.7
7f5e34160000-7f5e34161000 rw-p 00015000 00:32 10878 /usr/lib64/libz.so.1.2.7
7f5e34161000-7f5e341c7000 r-xp 00000000 00:32 10979 /usr/lib64/libcurl.so.4.3.0
7f5e341c7000-7f5e343c7000 ---p 00066000 00:32 10979 /usr/lib64/libcurl.so.4.3.0
7f5e343c7000-7f5e343c9000 r--p 00066000 00:32 10979 /usr/lib64/libcurl.so.4.3.0
7f5e343c9000-7f5e343ca000 rw-p 00068000 00:32 10979 /usr/lib64/libcurl.so.4.3.0
7f5e343ca000-7f5e343cb000 rw-p 00000000 00:00 0
7f5e343cb000-7f5e343e1000 r-xp 00000000 00:32 10904 /usr/lib64/libresolv-2.17.so
7f5e343e1000-7f5e345e0000 ---p 00016000 00:32 10904 /usr/lib64/libresolv-2.17.so
7f5e345e0000-7f5e345e1000 r--p 00015000 00:32 10904 /usr/lib64/libresolv-2.17.so
7f5e345e1000-7f5e345e2000 rw-p 00016000 00:32 10904 /usr/lib64/libresolv-2.17.so
7f5e345e2000-7f5e345e4000 rw-p 00000000 00:00 0
7f5e345e4000-7f5e348ac000 r-xp 00000000 00:32 43869 /usr/lib64/libfreshclam.so.2.0.0
7f5e348ac000-7f5e34aac000 ---p 002c8000 00:32 43869 /usr/lib64/libfreshclam.so.2.0.0
7f5e34aac000-7f5e34ae3000 r--p 002c8000 00:32 43869 /usr/lib64/libfreshclam.so.2.0.0
7f5e34ae3000-7f5e34ae9000 rw-p 002ff000 00:32 43869 /usr/lib64/libfreshclam.so.2.0.0
7f5e34ae9000-7f5e34aee000 rw-p 00000000 00:00 0
7f5e34aee000-7f5e34ee8000 r-xp 00000000 00:32 43962 /usr/lib64/libclamav.so.9.0.4
7f5e34ee8000-7f5e350e8000 ---p 003fa000 00:32 43962 /usr/lib64/libclamav.so.9.0.4
7f5e350e8000-7f5e3511c000 r--p 003fa000 00:32 43962 /usr/lib64/libclamav.so.9.0.4
7f5e3511c000-7f5e3512d000 rw-p 0042e000 00:32 43962 /usr/lib64/libclamav.so.9.0.4
7f5e3512d000-7f5e35132000 rw-p 00000000 00:00 0
7f5e35132000-7f5e35134000 r-xp 00000000 00:32 10977 /usr/lib64/libdl-2.17.so
7f5e35134000-7f5e35334000 ---p 00002000 00:32 10977 /usr/lib64/libdl-2.17.so
7f5e35334000-7f5e35335000 r--p 00002000 00:32 10977 /usr/lib64/libdl-2.17.so
7f5e35335000-7f5e35336000 rw-p 00003000 00:32 10977 /usr/lib64/libdl-2.17.so
7f5e35336000-7f5e35358000 r-xp 00000000 00:32 9316 /usr/lib64/ld-2.17.so
7f5e3553d000-7f5e35557000 rw-p 00000000 00:00 0
7f5e35557000-7f5e35558000 r--p 00021000 00:32 9316 /usr/lib64/ld-2.17.so
7f5e35558000-7f5e35559000 rw-p 00022000 00:32 9316 /usr/lib64/ld-2.17.so
7f5e35559000-7f5e3555a000 rw-p 00000000 00:00 0
7fffcc878000-7fffcc899000 rw-p 00000000 00:00 0 [stack]
7fffcc9b9000-7fffcc9bc000 r--p 00000000 00:00 0 [vvar]
7fffcc9bc000-7fffcc9bd000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
/usr/share/clamav/freshclam-sleep: line 52: 656 Aborted /usr/bin/freshclam --quiet


What could I be missing? The actual clamd is nicely scanning mails on CentOS 7.

Reio


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


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

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.102.0 freshclam errors. [ In reply to ]
I would hold off on that for a bit more as there are some known bugs that are being worked with some degree of urgency. Recommend you wait for 0.102.1 or the current development source.

Sent from my iPad

-Al-

> On Oct 30, 2019, at 16:09, Reio Remma via clamav-users <clamav-users@lists.clamav.net> wrote:
>
> I started testing 0.102.0 today


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


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

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.102.0 freshclam errors. [ In reply to ]
On 31/10/2019 01:08, Reio Remma via clamav-users wrote:
> Hello!
>
> I started testing 0.102.0 today, but I'm running into problems with
> freshclam.
>
> Compiled from source on CentOS 8:
>
> $ sudo /usr/local/bin/freshclam
> ClamAV update process started at Thu Oct 31 01:04:40 2019
> ERROR: Failed to change back to original directory /my/current/dir
> double free or corruption (top)
> Aborted

Well, I solved it!

If I cd to /var/lib/clamav where the databases are, it doesn't need to
chdir back to wherever the working dir was when the script was started.

The bit of code that is failing:

libreshclam.c

    if (currDir[0] != '\0') {
        /* Restore CWD */
        if (chdir(currDir)) {
            logg("!Failed to change back to original directory %s\n",
currDir);
            status = FC_EDIRECTORY;
            goto done;
        }
        logg("*Current working dir restored to %s\n", currDir);
    }

I suspect it's simply a permissions issue.

Good luck,
Reio

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


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

http://www.clamav.net/contact.html#ml
Re: [clamav-users] ClamAV 0.102.0 freshclam errors. [ In reply to ]
Reio,

Sorry about that! It looks like you've encountered this bug: https://bugzilla.clamav.net/show_bug.cgi?id=12412
Will make sure it is fixed soon.

-MIcah

?On 10/31/19, 5:21 AM, "clamav-users on behalf of Reio Remma via clamav-users" <clamav-users-bounces@lists.clamav.net on behalf of clamav-users@lists.clamav.net> wrote:

On 31/10/2019 01:08, Reio Remma via clamav-users wrote:
> Hello!
>
> I started testing 0.102.0 today, but I'm running into problems with
> freshclam.
>
> Compiled from source on CentOS 8:
>
> $ sudo /usr/local/bin/freshclam
> ClamAV update process started at Thu Oct 31 01:04:40 2019
> ERROR: Failed to change back to original directory /my/current/dir
> double free or corruption (top)
> Aborted

Well, I solved it!

If I cd to /var/lib/clamav where the databases are, it doesn't need to
chdir back to wherever the working dir was when the script was started.

The bit of code that is failing:

libreshclam.c

if (currDir[0] != '\0') {
/* Restore CWD */
if (chdir(currDir)) {
logg("!Failed to change back to original directory %s\n",
currDir);
status = FC_EDIRECTORY;
goto done;
}
logg("*Current working dir restored to %s\n", currDir);
}

I suspect it's simply a permissions issue.

Good luck,
Reio

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/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@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


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

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