[squid-users] ClamAV crash in eCAP Adapter

Rafael Akchurin rafael.akchurin at diladele.com
Wed Mar 1 16:31:41 UTC 2023


Hello everyone,

May I ask for your experiences with the latest update of ClamAV with eCAP adapter enabled. Running Squid 5.7 on Ubuntu 20.04.
Starting from today (01-March-2023) the following crash stops Squid process.

#0  0x00007fab13a44ff0 in cli_bm_scanbuff () from /lib/x86_64-linux-gnu/libclamav.so.9
#1  0x00007fab13a4c8da in ?? () from /lib/x86_64-linux-gnu/libclamav.so.9
#2  0x00007fab13a52023 in ?? () from /lib/x86_64-linux-gnu/libclamav.so.9
#3  0x00007fab13a545a9 in ?? () from /lib/x86_64-linux-gnu/libclamav.so.9
#4  0x00007fab13a5a589 in ?? () from /lib/x86_64-linux-gnu/libclamav.so.9
#5  0x00007fab13a5b4cf in ?? () from /lib/x86_64-linux-gnu/libclamav.so.9
#6  0x00007fab13a54251 in ?? () from /lib/x86_64-linux-gnu/libclamav.so.9
#7  0x00007fab13a5767a in cl_load () from /lib/x86_64-linux-gnu/libclamav.so.9
#8  0x00007fab13c123e5 in Adapter::ClamAv::loadDatabase (this=this at entry=0x56119a5f4290) at ClamAv.cc:137
#9  0x00007fab13c12658 in Adapter::ClamAv::configure (this=0x56119a5f4290, cfg=...) at ClamAv.cc:83
#10 0x00007fab13c0939d in Adapter::Service::configure (this=0x56119a5ef940, cfg=warning: RTTI symbol not found for class 'Adaptation::Ecap::ConfigRep'
...) at /usr/include/c++/9/tr1/shared_ptr.h:668
#11 0x000056119979bd04 in Adaptation::Ecap::ServiceRep::tryConfigureAndStart() ()
#12 0x000056119979c38b in Adaptation::Ecap::ServiceRep::finalize() ()
#13 0x0000561199783126 in Adaptation::Config::Finalize(bool) ()
#14 0x000056119951ba3f in SquidMain(int, char**) ()
#15 0x00005611993a8ef6 in main ()

Am I correct to think the crash might be related to some definition file update issued by ClamAV team?

Already tried re-download of the definition files using freshclam, but without any success.
Disabling eCAP adapter solves the problems but I would rather find out why it crashes.

Best regards,
Rafael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 18249 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20230301/d6b46090/attachment-0001.bin>


More information about the squid-users mailing list