Warning: Permanently added '3.84.19.208' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/7391215-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 0.72 PID: 6605 Logging PID: 6606 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'bootstrap': 'off', 'build_id': 7391215, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '5ba8447046bca690b5052cd85b7719b6b4707bc2', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/thrnciar/python-pluggy/clamav', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'clamav', 'package_version': '1.0.6-1', 'project_dirname': 'python-pluggy', 'project_name': 'python-pluggy', 'project_owner': 'thrnciar', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/thrnciar/python-pluggy/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'thrnciar/python-pluggy--https://src.fedoraproject.org/user/sergiomb', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'https://src.fedoraproject.org/user/sergiomb', 'tags': [], 'task_id': '7391215-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/thrnciar/python-pluggy/clamav /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/thrnciar/python-pluggy/clamav', '/var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav'... Running: git checkout 5ba8447046bca690b5052cd85b7719b6b4707bc2 -- cmd: ['git', 'checkout', '5ba8447046bca690b5052cd85b7719b6b4707bc2', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav rc: 0 stdout: stderr: Note: switching to '5ba8447046bca690b5052cd85b7719b6b4707bc2'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 5ba8447 automatic import of clamav Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading bytecode-335.cvd INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o bytecode-335.cvd --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/python-pluggy/clamav/bytecode-335.cvd/md5/7b25366a07c2b1701e7a2498469a5209/bytecode-335.cvd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 282k 100 282k 0 0 8844k 0 --:--:-- --:--:-- --:--:-- 9127k /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated INFO: Reading stdout from command: md5sum bytecode-335.cvd INFO: Downloading clamav-1.0.6-norar.tar.xz INFO: Calling: curl -H Pragma: -o clamav-1.0.6-norar.tar.xz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/python-pluggy/clamav/clamav-1.0.6-norar.tar.xz/md5/a38ebc89fca03a2c08f7e30d2acee70a/clamav-1.0.6-norar.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 32.2M 100 32.2M 0 0 24.1M 0 0:00:01 0:00:01 --:--:-- 24.1M INFO: Reading stdout from command: md5sum clamav-1.0.6-norar.tar.xz INFO: Downloading daily-27256.cvd INFO: Calling: curl -H Pragma: -o daily-27256.cvd --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/python-pluggy/clamav/daily-27256.cvd/md5/40ded1a8711690ea2f2c4abe1e1f8d9b/daily-27256.cvd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 60.5M 100 60.5M 0 0 26.1M 0 0:00:02 0:00:02 --:--:-- 26.1M INFO: Reading stdout from command: md5sum daily-27256.cvd INFO: Downloading main-62.cvd INFO: Calling: curl -H Pragma: -o main-62.cvd --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/python-pluggy/clamav/main-62.cvd/md5/3a42e5027c90fba0e54d2abdaa9e86b4/main-62.cvd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 162M 100 162M 0 0 26.9M 0 0:00:06 0:00:06 --:--:-- 27.0M INFO: Reading stdout from command: md5sum main-62.cvd Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav/clamav.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1714425455.257836 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.5 starting (python version = 3.12.1, NVR = mock-5.5-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav/clamav.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1714425455.257836 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav/clamav.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.5 INFO: Mock Version: 5.5 Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1714425455.257836/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (fallback) INFO: Buildroot is handled by package management from host and used with --installroot: rpm-4.19.1.1-1.fc39.x86_64 rpm-sequoia-1.6.0-1.fc39.x86_64 python3-dnf-4.19.2-1.fc39.noarch python3-dnf-plugins-core-4.6.0-1.fc39.noarch yum-4.19.2-1.fc39.noarch dnf5-5.1.17-1.fc39.x86_64 dnf5-plugins-5.1.17-1.fc39.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 36.3 MiB/s | 21.0 MiB | 00m01s Copr repository 100% | 29.6 MiB/s | 1.7 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.26-3.fc40 fedora 8.1 MiB bzip2 x86_64 1.0.8-18.fc40 fedora 91.7 KiB coreutils x86_64 9.5-1.fc41 fedora 5.5 MiB cpio x86_64 2.15-1.fc40 fedora 1.1 MiB diffutils x86_64 3.10-5.fc40 fedora 1.6 MiB fedora-release-common noarch 41-0.9 fedora 19.2 KiB findutils x86_64 1:4.9.0-8.fc40 fedora 1.5 MiB gawk x86_64 5.3.0-3.fc40 fedora 1.7 MiB glibc-minimal-langpack x86_64 2.39.9000-16.fc41 fedora 0.0 B grep x86_64 3.11-7.fc40 fedora 1.0 MiB gzip x86_64 1.13-1.fc40 fedora 385.0 KiB info x86_64 7.1-2.fc40 fedora 357.8 KiB patch x86_64 2.7.6-24.fc40 fedora 262.8 KiB redhat-rpm-config noarch 288-1.fc41 fedora 183.3 KiB rpm-build x86_64 4.19.1.1-1.fc40 fedora 173.7 KiB sed x86_64 4.9-1.fc40 fedora 861.5 KiB shadow-utils x86_64 2:4.15.1-2.fc41 fedora 4.1 MiB tar x86_64 2:1.35-3.fc40 fedora 2.9 MiB unzip x86_64 6.0-63.fc40 fedora 382.8 KiB util-linux x86_64 2.40-13.fc41 fedora 3.7 MiB which x86_64 2.21-41.fc40 fedora 80.2 KiB xz x86_64 1:5.4.6-3.fc41 fedora 2.0 MiB Installing dependencies: alternatives x86_64 1.26-3.fc40 fedora 62.3 KiB ansible-srpm-macros noarch 1-15.fc41 fedora 35.7 KiB audit-libs x86_64 4.0.1-1.fc41 fedora 327.3 KiB authselect x86_64 1.5.0-5.fc41 fedora 153.6 KiB authselect-libs x86_64 1.5.0-5.fc41 fedora 818.2 KiB basesystem noarch 11-20.fc40 fedora 0.0 B binutils x86_64 2.42.50-6.fc41 fedora 27.2 MiB binutils-gold x86_64 2.42.50-6.fc41 fedora 2.0 MiB bzip2-libs x86_64 1.0.8-18.fc40 fedora 80.7 KiB ca-certificates noarch 2023.2.62_v7.0.401-6.fc40 fedora 2.3 MiB coreutils-common x86_64 9.5-1.fc41 fedora 11.2 MiB cracklib x86_64 2.9.11-5.fc40 fedora 238.9 KiB crypto-policies noarch 20240320-1.git58e3d95.fc41 copr_base 119.2 KiB curl x86_64 8.7.1-1.fc41 fedora 758.1 KiB cyrus-sasl-lib x86_64 2.1.28-19.fc40 fedora 2.3 MiB debugedit x86_64 5.0-14.fc40 fedora 199.0 KiB dwz x86_64 0.15-6.fc40 fedora 290.9 KiB ed x86_64 1.20.2-1.fc41 fedora 146.8 KiB efi-srpm-macros noarch 5-11.fc40 fedora 40.1 KiB elfutils x86_64 0.191-7.fc41 fedora 2.5 MiB elfutils-debuginfod-client x86_64 0.191-7.fc41 fedora 64.9 KiB elfutils-default-yama-scope noarch 0.191-7.fc41 fedora 1.8 KiB elfutils-libelf x86_64 0.191-7.fc41 fedora 1.2 MiB elfutils-libs x86_64 0.191-7.fc41 fedora 646.1 KiB fedora-gpg-keys noarch 41-0.1 fedora 125.0 KiB fedora-release noarch 41-0.9 fedora 0.0 B fedora-release-identity-basic noarch 41-0.9 fedora 694.0 B fedora-repos noarch 41-0.1 fedora 4.9 KiB fedora-repos-rawhide noarch 41-0.1 fedora 2.2 KiB file x86_64 5.45-5.fc41 fedora 103.5 KiB file-libs x86_64 5.45-5.fc41 fedora 9.9 MiB filesystem x86_64 3.18-9.fc41 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-14.fc40 fedora 55.3 KiB forge-srpm-macros noarch 0.3.1-1.fc41 copr_base 39.0 KiB fpc-srpm-macros noarch 1.3-12.fc40 fedora 144.0 B gdb-minimal x86_64 14.2-5.fc41 fedora 12.7 MiB gdbm x86_64 1:1.23-6.fc40 fedora 460.9 KiB gdbm-libs x86_64 1:1.23-6.fc40 fedora 121.9 KiB ghc-srpm-macros noarch 1.9.1-1.fc41 fedora 747.0 B glibc x86_64 2.39.9000-16.fc41 fedora 6.7 MiB glibc-common x86_64 2.39.9000-16.fc41 fedora 1.0 MiB glibc-gconv-extra x86_64 2.39.9000-16.fc41 fedora 7.8 MiB gmp x86_64 1:6.3.0-1.fc41 fedora 803.4 KiB gnat-srpm-macros noarch 6-5.fc40 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-1.fc41 fedora 60.8 KiB jansson x86_64 2.13.1-9.fc40 fedora 88.3 KiB kernel-srpm-macros noarch 1.0-23.fc41 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-3.fc40 fedora 54.4 KiB krb5-libs x86_64 1.21.2-5.fc40 fedora 2.3 MiB libacl x86_64 2.3.2-1.fc40 fedora 40.0 KiB libarchive x86_64 3.7.2-3.fc41 fedora 914.6 KiB libattr x86_64 2.5.2-3.fc40 fedora 28.5 KiB libblkid x86_64 2.40-13.fc41 fedora 262.5 KiB libbrotli x86_64 1.1.0-3.fc40 fedora 829.5 KiB libcap x86_64 2.69-8.fc41 fedora 219.7 KiB libcap-ng x86_64 0.8.5-1.fc41 fedora 69.1 KiB libcom_err x86_64 1.47.0-5.fc40 fedora 67.2 KiB libcurl x86_64 8.7.1-1.fc41 fedora 793.5 KiB libeconf x86_64 0.6.2-1.fc41 fedora 58.0 KiB libevent x86_64 2.1.12-12.fc40 fedora 895.6 KiB libfdisk x86_64 2.40-13.fc41 fedora 362.9 KiB libffi x86_64 3.4.6-1.fc41 fedora 82.4 KiB libgcc x86_64 14.0.1-0.15.fc41 fedora 270.6 KiB libgomp x86_64 14.0.1-0.15.fc41 fedora 519.2 KiB libidn2 x86_64 2.3.7-1.fc40 fedora 329.1 KiB libmount x86_64 2.40-13.fc41 fedora 351.8 KiB libnghttp2 x86_64 1.61.0-1.fc41 fedora 166.1 KiB libnsl2 x86_64 2.0.1-1.fc40 fedora 57.9 KiB libpkgconf x86_64 2.1.0-1.fc40 fedora 74.2 KiB libpsl x86_64 0.21.5-3.fc40 fedora 80.5 KiB libpwquality x86_64 1.4.5-9.fc40 fedora 417.8 KiB libselinux x86_64 3.6-4.fc40 fedora 173.0 KiB libsemanage x86_64 3.6-3.fc40 fedora 293.5 KiB libsepol x86_64 3.6-3.fc40 fedora 802.0 KiB libsmartcols x86_64 2.40-13.fc41 fedora 180.4 KiB libssh x86_64 0.10.6-6.fc41 fedora 513.3 KiB libssh-config noarch 0.10.6-6.fc41 fedora 277.0 B libstdc++ x86_64 14.0.1-0.15.fc41 fedora 2.8 MiB libtasn1 x86_64 4.19.0-6.fc40 fedora 175.7 KiB libtirpc x86_64 1.3.4-1.rc3.fc41 fedora 202.8 KiB libtool-ltdl x86_64 2.4.7-10.fc40 fedora 66.2 KiB libunistring x86_64 1.1-7.fc41 fedora 1.7 MiB libutempter x86_64 1.2.1-13.fc40 fedora 57.7 KiB libuuid x86_64 2.40-13.fc41 fedora 37.4 KiB libverto x86_64 0.3.2-8.fc40 fedora 29.5 KiB libxcrypt x86_64 4.4.36-5.fc40 fedora 262.8 KiB libxml2 x86_64 2.12.6-1.fc41 fedora 1.7 MiB libzstd x86_64 1.5.6-1.fc41 fedora 787.9 KiB lua-libs x86_64 5.4.6-5.fc40 fedora 281.1 KiB lua-srpm-macros noarch 1-13.fc40 fedora 1.3 KiB lz4-libs x86_64 1.9.4-6.fc40 fedora 129.4 KiB mpfr x86_64 4.2.1-3.fc40 fedora 832.0 KiB ncurses-base noarch 6.4-12.20240127.fc40 fedora 326.2 KiB ncurses-libs x86_64 6.4-12.20240127.fc40 fedora 963.2 KiB ocaml-srpm-macros noarch 9-3.fc40 fedora 1.9 KiB openblas-srpm-macros noarch 2-17.fc41 fedora 112.0 B openldap x86_64 2.6.7-1.fc40 fedora 635.1 KiB openssl-libs x86_64 1:3.2.1-6.fc41 fedora 7.8 MiB p11-kit x86_64 0.25.3-4.fc40 fedora 2.2 MiB p11-kit-trust x86_64 0.25.3-4.fc40 fedora 391.4 KiB package-notes-srpm-macros noarch 0.5-11.fc40 fedora 1.6 KiB pam x86_64 1.6.1-1.fc41 fedora 1.8 MiB pam-libs x86_64 1.6.1-1.fc41 fedora 135.0 KiB pcre2 x86_64 10.43-1.fc41 fedora 653.5 KiB pcre2-syntax noarch 10.43-1.fc41 fedora 249.0 KiB perl-srpm-macros noarch 1-53.fc40 fedora 861.0 B pkgconf x86_64 2.1.0-1.fc40 fedora 82.4 KiB pkgconf-m4 noarch 2.1.0-1.fc40 fedora 13.9 KiB pkgconf-pkg-config x86_64 2.1.0-1.fc40 fedora 989.0 B popt x86_64 1.19-6.fc40 fedora 136.9 KiB publicsuffix-list-dafsa noarch 20240107-3.fc40 fedora 67.5 KiB pyproject-srpm-macros noarch 1.12.0-1.fc41 copr_base 1.5 KiB python-srpm-macros noarch 3.12-9.fc41 fedora 50.5 KiB qt5-srpm-macros noarch 5.15.13-1.fc41 fedora 492.0 B qt6-srpm-macros noarch 6.7.0-1.fc41 fedora 456.0 B readline x86_64 8.2-8.fc40 fedora 489.2 KiB rpm x86_64 4.19.1.1-1.fc40 fedora 3.0 MiB rpm-build-libs x86_64 4.19.1.1-1.fc40 fedora 198.4 KiB rpm-libs x86_64 4.19.1.1-1.fc40 fedora 709.9 KiB rpm-sequoia x86_64 1.6.0-2.fc40 fedora 2.2 MiB rust-srpm-macros noarch 26.2-1.fc41 copr_base 4.8 KiB setup noarch 2.14.5-2.fc40 fedora 720.4 KiB sqlite-libs x86_64 3.45.2-1.fc41 fedora 1.4 MiB systemd-libs x86_64 256~rc1-4.fc41 copr_base 2.0 MiB util-linux-core x86_64 2.40-13.fc41 fedora 1.5 MiB xxhash-libs x86_64 0.8.2-2.fc40 fedora 88.5 KiB xz-libs x86_64 1:5.4.6-3.fc41 fedora 209.8 KiB zig-srpm-macros noarch 1-2.fc40 fedora 1.1 KiB zip x86_64 3.0-40.fc40 fedora 703.2 KiB zlib-ng-compat x86_64 2.1.6-2.fc40 fedora 134.0 KiB zstd x86_64 1.5.6-1.fc41 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 153 packages Total size of inbound packages is 53 MiB. Need to download 53 MiB. After this operation 179 MiB will be used (install 179 MiB, remove 0 B). [ 1/153] bzip2-0:1.0.8-18.fc40.x86_64 100% | 3.9 MiB/s | 52.4 KiB | 00m00s [ 2/153] coreutils-0:9.5-1.fc41.x86_64 100% | 60.9 MiB/s | 1.1 MiB | 00m00s [ 3/153] cpio-0:2.15-1.fc40.x86_64 100% | 40.8 MiB/s | 292.2 KiB | 00m00s [ 4/153] bash-0:5.2.26-3.fc40.x86_64 100% | 69.5 MiB/s | 1.8 MiB | 00m00s [ 5/153] fedora-release-common-0:41-0. 100% | 3.5 MiB/s | 21.5 KiB | 00m00s [ 6/153] diffutils-0:3.10-5.fc40.x86_6 100% | 39.6 MiB/s | 405.5 KiB | 00m00s [ 7/153] findutils-1:4.9.0-8.fc40.x86_ 100% | 60.1 MiB/s | 491.9 KiB | 00m00s [ 8/153] glibc-minimal-langpack-0:2.39 100% | 15.4 MiB/s | 110.1 KiB | 00m00s [ 9/153] grep-0:3.11-7.fc40.x86_64 100% | 48.9 MiB/s | 300.2 KiB | 00m00s [ 10/153] gzip-0:1.13-1.fc40.x86_64 100% | 41.7 MiB/s | 170.6 KiB | 00m00s [ 11/153] info-0:7.1-2.fc40.x86_64 100% | 44.5 MiB/s | 182.3 KiB | 00m00s [ 12/153] patch-0:2.7.6-24.fc40.x86_64 100% | 42.5 MiB/s | 130.7 KiB | 00m00s [ 13/153] redhat-rpm-config-0:288-1.fc4 100% | 26.8 MiB/s | 82.3 KiB | 00m00s [ 14/153] rpm-build-0:4.19.1.1-1.fc40.x 100% | 25.5 MiB/s | 78.2 KiB | 00m00s [ 15/153] sed-0:4.9-1.fc40.x86_64 100% | 77.7 MiB/s | 318.2 KiB | 00m00s [ 16/153] tar-2:1.35-3.fc40.x86_64 100% | 104.6 MiB/s | 856.6 KiB | 00m00s [ 17/153] unzip-0:6.0-63.fc40.x86_64 100% | 25.7 MiB/s | 184.5 KiB | 00m00s [ 18/153] shadow-utils-2:4.15.1-2.fc41. 100% | 110.3 MiB/s | 1.3 MiB | 00m00s [ 19/153] which-0:2.21-41.fc40.x86_64 100% | 8.1 MiB/s | 41.4 KiB | 00m00s [ 20/153] xz-1:5.4.6-3.fc41.x86_64 100% | 77.8 MiB/s | 557.5 KiB | 00m00s [ 21/153] gawk-0:5.3.0-3.fc40.x86_64 100% | 97.4 MiB/s | 1.1 MiB | 00m00s [ 22/153] filesystem-0:3.18-9.fc41.x86_ 100% | 90.5 MiB/s | 1.1 MiB | 00m00s [ 23/153] util-linux-0:2.40-13.fc41.x86 100% | 50.1 MiB/s | 1.2 MiB | 00m00s [ 24/153] ncurses-libs-0:6.4-12.2024012 100% | 29.5 MiB/s | 332.5 KiB | 00m00s [ 25/153] glibc-0:2.39.9000-16.fc41.x86 100% | 93.5 MiB/s | 2.2 MiB | 00m00s [ 26/153] bzip2-libs-0:1.0.8-18.fc40.x8 100% | 4.4 MiB/s | 40.9 KiB | 00m00s [ 27/153] coreutils-common-0:9.5-1.fc41 100% | 132.6 MiB/s | 2.1 MiB | 00m00s [ 28/153] gmp-1:6.3.0-1.fc41.x86_64 100% | 23.8 MiB/s | 316.8 KiB | 00m00s [ 29/153] libacl-0:2.3.2-1.fc40.x86_64 100% | 1.6 MiB/s | 24.4 KiB | 00m00s [ 30/153] libattr-0:2.5.2-3.fc40.x86_64 100% | 2.5 MiB/s | 18.0 KiB | 00m00s [ 31/153] libcap-0:2.69-8.fc41.x86_64 100% | 13.9 MiB/s | 85.5 KiB | 00m00s [ 32/153] libselinux-0:3.6-4.fc40.x86_6 100% | 17.1 MiB/s | 87.5 KiB | 00m00s [ 33/153] fedora-repos-0:41-0.1.noarch 100% | 1.8 MiB/s | 9.3 KiB | 00m00s [ 34/153] openssl-libs-1:3.2.1-6.fc41.x 100% | 164.6 MiB/s | 2.3 MiB | 00m00s [ 35/153] glibc-common-0:2.39.9000-16.f 100% | 35.3 MiB/s | 398.0 KiB | 00m00s [ 36/153] pcre2-0:10.43-1.fc41.x86_64 100% | 33.8 MiB/s | 241.9 KiB | 00m00s [ 37/153] ed-0:1.20.2-1.fc41.x86_64 100% | 26.7 MiB/s | 81.9 KiB | 00m00s [ 38/153] ansible-srpm-macros-0:1-15.fc 100% | 6.8 MiB/s | 20.9 KiB | 00m00s [ 39/153] dwz-0:0.15-6.fc40.x86_64 100% | 33.6 MiB/s | 137.8 KiB | 00m00s [ 40/153] efi-srpm-macros-0:5-11.fc40.n 100% | 5.4 MiB/s | 22.3 KiB | 00m00s [ 41/153] file-0:5.45-5.fc41.x86_64 100% | 16.0 MiB/s | 49.1 KiB | 00m00s [ 42/153] fonts-srpm-macros-1:2.0.5-14. 100% | 6.5 MiB/s | 26.5 KiB | 00m00s [ 43/153] fpc-srpm-macros-0:1.3-12.fc40 100% | 3.8 MiB/s | 7.8 KiB | 00m00s [ 44/153] ghc-srpm-macros-0:1.9.1-1.fc4 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [ 45/153] gnat-srpm-macros-0:6-5.fc40.n 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 46/153] go-srpm-macros-0:3.6.0-1.fc41 100% | 13.6 MiB/s | 27.9 KiB | 00m00s [ 47/153] kernel-srpm-macros-0:1.0-23.f 100% | 9.5 MiB/s | 9.8 KiB | 00m00s [ 48/153] ocaml-srpm-macros-0:9-3.fc40. 100% | 8.9 MiB/s | 9.1 KiB | 00m00s [ 49/153] lua-srpm-macros-0:1-13.fc40.n 100% | 4.3 MiB/s | 8.7 KiB | 00m00s [ 50/153] openblas-srpm-macros-0:2-17.f 100% | 7.5 MiB/s | 7.7 KiB | 00m00s [ 51/153] package-notes-srpm-macros-0:0 100% | 4.9 MiB/s | 9.9 KiB | 00m00s [ 52/153] perl-srpm-macros-0:1-53.fc40. 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [ 53/153] python-srpm-macros-0:3.12-9.f 100% | 7.8 MiB/s | 24.0 KiB | 00m00s [ 54/153] qt6-srpm-macros-0:6.7.0-1.fc4 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [ 55/153] qt5-srpm-macros-0:5.15.13-1.f 100% | 2.8 MiB/s | 8.5 KiB | 00m00s [ 56/153] zig-srpm-macros-0:1-2.fc40.no 100% | 7.9 MiB/s | 8.0 KiB | 00m00s [ 57/153] rpm-0:4.19.1.1-1.fc40.x86_64 100% | 131.9 MiB/s | 540.1 KiB | 00m00s [ 58/153] zip-0:3.0-40.fc40.x86_64 100% | 51.7 MiB/s | 264.8 KiB | 00m00s [ 59/153] debugedit-0:5.0-14.fc40.x86_6 100% | 19.2 MiB/s | 78.7 KiB | 00m00s [ 60/153] elfutils-0:0.191-7.fc41.x86_6 100% | 103.5 MiB/s | 530.0 KiB | 00m00s [ 61/153] popt-0:1.19-6.fc40.x86_64 100% | 21.7 MiB/s | 66.7 KiB | 00m00s [ 62/153] elfutils-libelf-0:0.191-7.fc4 100% | 50.9 MiB/s | 208.5 KiB | 00m00s [ 63/153] rpm-build-libs-0:4.19.1.1-1.f 100% | 46.4 MiB/s | 95.0 KiB | 00m00s [ 64/153] readline-0:8.2-8.fc40.x86_64 100% | 52.1 MiB/s | 213.3 KiB | 00m00s [ 65/153] rpm-libs-0:4.19.1.1-1.fc40.x8 100% | 60.3 MiB/s | 308.9 KiB | 00m00s [ 66/153] zstd-0:1.5.6-1.fc41.x86_64 100% | 93.6 MiB/s | 479.3 KiB | 00m00s [ 67/153] audit-libs-0:4.0.1-1.fc41.x86 100% | 24.5 MiB/s | 125.6 KiB | 00m00s [ 68/153] libeconf-0:0.6.2-1.fc41.x86_6 100% | 10.4 MiB/s | 31.9 KiB | 00m00s [ 69/153] libsemanage-0:3.6-3.fc40.x86_ 100% | 37.9 MiB/s | 116.4 KiB | 00m00s [ 70/153] libxcrypt-0:4.4.36-5.fc40.x86 100% | 57.7 MiB/s | 118.1 KiB | 00m00s [ 71/153] pam-libs-0:1.6.1-1.fc41.x86_6 100% | 27.8 MiB/s | 56.9 KiB | 00m00s [ 72/153] xz-libs-1:5.4.6-3.fc41.x86_64 100% | 35.9 MiB/s | 110.2 KiB | 00m00s [ 73/153] setup-0:2.14.5-2.fc40.noarch 100% | 37.8 MiB/s | 154.7 KiB | 00m00s [ 74/153] mpfr-0:4.2.1-3.fc40.x86_64 100% | 68.2 MiB/s | 349.0 KiB | 00m00s [ 75/153] libblkid-0:2.40-13.fc41.x86_6 100% | 40.5 MiB/s | 124.3 KiB | 00m00s [ 76/153] libcap-ng-0:0.8.5-1.fc41.x86_ 100% | 10.5 MiB/s | 32.3 KiB | 00m00s [ 77/153] libfdisk-0:2.40-13.fc41.x86_6 100% | 51.8 MiB/s | 159.3 KiB | 00m00s [ 78/153] libmount-0:2.40-13.fc41.x86_6 100% | 75.5 MiB/s | 154.7 KiB | 00m00s [ 79/153] libsmartcols-0:2.40-13.fc41.x 100% | 40.7 MiB/s | 83.3 KiB | 00m00s [ 80/153] libuuid-0:2.40-13.fc41.x86_64 100% | 13.9 MiB/s | 28.4 KiB | 00m00s [ 81/153] libutempter-0:1.2.1-13.fc40.x 100% | 8.6 MiB/s | 26.4 KiB | 00m00s [ 82/153] util-linux-core-0:2.40-13.fc4 100% | 130.9 MiB/s | 536.0 KiB | 00m00s [ 83/153] zlib-ng-compat-0:2.1.6-2.fc40 100% | 25.1 MiB/s | 77.1 KiB | 00m00s [ 84/153] basesystem-0:11-20.fc40.noarc 100% | 2.3 MiB/s | 7.2 KiB | 00m00s [ 85/153] glibc-gconv-extra-0:2.39.9000 100% | 186.1 MiB/s | 1.7 MiB | 00m00s [ 86/153] libgcc-0:14.0.1-0.15.fc41.x86 100% | 20.5 MiB/s | 125.6 KiB | 00m00s [ 87/153] ncurses-base-0:6.4-12.2024012 100% | 21.7 MiB/s | 88.9 KiB | 00m00s [ 88/153] libsepol-0:3.6-3.fc40.x86_64 100% | 166.1 MiB/s | 340.1 KiB | 00m00s [ 89/153] ca-certificates-0:2023.2.62_v 100% | 168.4 MiB/s | 862.1 KiB | 00m00s [ 90/153] fedora-gpg-keys-0:41-0.1.noar 100% | 25.8 MiB/s | 131.8 KiB | 00m00s [ 91/153] fedora-repos-rawhide-0:41-0.1 100% | 2.9 MiB/s | 8.9 KiB | 00m00s [ 92/153] pcre2-syntax-0:10.43-1.fc41.n 100% | 72.6 MiB/s | 148.8 KiB | 00m00s [ 93/153] curl-0:8.7.1-1.fc41.x86_64 100% | 74.7 MiB/s | 305.9 KiB | 00m00s [ 94/153] file-libs-0:5.45-5.fc41.x86_6 100% | 124.2 MiB/s | 763.0 KiB | 00m00s [ 95/153] libarchive-0:3.7.2-3.fc41.x86 100% | 66.2 MiB/s | 406.6 KiB | 00m00s [ 96/153] elfutils-debuginfod-client-0: 100% | 18.7 MiB/s | 38.2 KiB | 00m00s [ 97/153] elfutils-libs-0:0.191-7.fc41. 100% | 63.0 MiB/s | 258.1 KiB | 00m00s [ 98/153] libzstd-0:1.5.6-1.fc41.x86_64 100% | 60.3 MiB/s | 308.9 KiB | 00m00s [ 99/153] libgomp-0:14.0.1-0.15.fc41.x8 100% | 56.3 MiB/s | 345.7 KiB | 00m00s [100/153] libstdc++-0:14.0.1-0.15.fc41. 100% | 95.6 MiB/s | 880.7 KiB | 00m00s [101/153] lua-libs-0:5.4.6-5.fc40.x86_6 100% | 32.2 MiB/s | 131.9 KiB | 00m00s [102/153] rpm-sequoia-0:1.6.0-2.fc40.x8 100% | 165.5 MiB/s | 847.5 KiB | 00m00s [103/153] lz4-libs-0:1.9.4-6.fc40.x86_6 100% | 16.4 MiB/s | 67.2 KiB | 00m00s [104/153] sqlite-libs-0:3.45.2-1.fc41.x 100% | 114.9 MiB/s | 705.7 KiB | 00m00s [105/153] elfutils-default-yama-scope-0 100% | 13.0 MiB/s | 13.3 KiB | 00m00s [106/153] libxml2-0:2.12.6-1.fc41.x86_6 100% | 134.0 MiB/s | 686.3 KiB | 00m00s [107/153] authselect-libs-0:1.5.0-5.fc4 100% | 53.4 MiB/s | 218.6 KiB | 00m00s [108/153] authselect-0:1.5.0-5.fc41.x86 100% | 71.4 MiB/s | 146.2 KiB | 00m00s [109/153] pam-0:1.6.1-1.fc41.x86_64 100% | 108.1 MiB/s | 553.5 KiB | 00m00s [110/153] systemd-libs-0:256~rc1-4.fc41 100% | 71.0 MiB/s | 726.8 KiB | 00m00s [111/153] gdbm-libs-1:1.23-6.fc40.x86_6 100% | 13.7 MiB/s | 56.2 KiB | 00m00s [112/153] libnsl2-0:2.0.1-1.fc40.x86_64 100% | 9.6 MiB/s | 29.6 KiB | 00m00s [113/153] libtirpc-0:1.3.4-1.rc3.fc41.x 100% | 30.1 MiB/s | 92.5 KiB | 00m00s [114/153] cracklib-0:2.9.11-5.fc40.x86_ 100% | 22.6 MiB/s | 92.5 KiB | 00m00s [115/153] libpwquality-0:1.4.5-9.fc40.x 100% | 13.0 MiB/s | 119.7 KiB | 00m00s [116/153] krb5-libs-0:1.21.2-5.fc40.x86 100% | 123.1 MiB/s | 756.1 KiB | 00m00s [117/153] libcom_err-0:1.47.0-5.fc40.x8 100% | 8.3 MiB/s | 25.4 KiB | 00m00s [118/153] keyutils-libs-0:1.6.3-3.fc40. 100% | 15.4 MiB/s | 31.5 KiB | 00m00s [119/153] libverto-0:0.3.2-8.fc40.x86_6 100% | 20.1 MiB/s | 20.5 KiB | 00m00s [120/153] alternatives-0:1.26-3.fc40.x8 100% | 9.7 MiB/s | 39.9 KiB | 00m00s [121/153] binutils-gold-0:2.42.50-6.fc4 100% | 51.0 MiB/s | 783.2 KiB | 00m00s [122/153] jansson-0:2.13.1-9.fc40.x86_6 100% | 3.6 MiB/s | 44.2 KiB | 00m00s [123/153] binutils-0:2.42.50-6.fc41.x86 100% | 226.7 MiB/s | 6.3 MiB | 00m00s [124/153] pkgconf-pkg-config-0:2.1.0-1. 100% | 970.4 KiB/s | 9.7 KiB | 00m00s [125/153] pkgconf-0:2.1.0-1.fc40.x86_64 100% | 4.2 MiB/s | 43.5 KiB | 00m00s [126/153] pkgconf-m4-0:2.1.0-1.fc40.noa 100% | 6.8 MiB/s | 13.9 KiB | 00m00s [127/153] libpkgconf-0:2.1.0-1.fc40.x86 100% | 12.3 MiB/s | 37.8 KiB | 00m00s [128/153] forge-srpm-macros-0:0.3.1-1.f 100% | 6.5 MiB/s | 20.0 KiB | 00m00s [129/153] pyproject-srpm-macros-0:1.12. 100% | 4.6 MiB/s | 14.2 KiB | 00m00s [130/153] rust-srpm-macros-0:26.2-1.fc4 100% | 6.4 MiB/s | 13.1 KiB | 00m00s [131/153] gdbm-1:1.23-6.fc40.x86_64 100% | 74.5 MiB/s | 152.5 KiB | 00m00s [132/153] crypto-policies-0:20240320-1. 100% | 63.9 MiB/s | 65.5 KiB | 00m00s [133/153] libffi-0:3.4.6-1.fc41.x86_64 100% | 39.1 MiB/s | 40.0 KiB | 00m00s [134/153] libtasn1-0:4.19.0-6.fc40.x86_ 100% | 24.0 MiB/s | 73.7 KiB | 00m00s [135/153] p11-kit-0:0.25.3-4.fc40.x86_6 100% | 95.7 MiB/s | 489.8 KiB | 00m00s [136/153] fedora-release-0:41-0.9.noarc 100% | 5.4 MiB/s | 11.0 KiB | 00m00s [137/153] p11-kit-trust-0:0.25.3-4.fc40 100% | 32.1 MiB/s | 131.5 KiB | 00m00s [138/153] fedora-release-identity-basic 100% | 11.5 MiB/s | 11.8 KiB | 00m00s [139/153] xxhash-libs-0:0.8.2-2.fc40.x8 100% | 18.0 MiB/s | 36.9 KiB | 00m00s [140/153] libcurl-0:8.7.1-1.fc41.x86_64 100% | 86.0 MiB/s | 352.2 KiB | 00m00s [141/153] libbrotli-0:1.1.0-3.fc40.x86_ 100% | 36.7 MiB/s | 338.4 KiB | 00m00s [142/153] gdb-minimal-0:14.2-5.fc41.x86 100% | 251.9 MiB/s | 4.3 MiB | 00m00s [143/153] libidn2-0:2.3.7-1.fc40.x86_64 100% | 12.9 MiB/s | 118.7 KiB | 00m00s [144/153] libnghttp2-0:1.61.0-1.fc41.x8 100% | 18.6 MiB/s | 76.3 KiB | 00m00s [145/153] libpsl-0:0.21.5-3.fc40.x86_64 100% | 31.2 MiB/s | 63.9 KiB | 00m00s [146/153] libssh-0:0.10.6-6.fc41.x86_64 100% | 103.3 MiB/s | 211.5 KiB | 00m00s [147/153] openldap-0:2.6.7-1.fc40.x86_6 100% | 124.2 MiB/s | 254.3 KiB | 00m00s [148/153] publicsuffix-list-dafsa-0:202 100% | 56.7 MiB/s | 58.1 KiB | 00m00s [149/153] libssh-config-0:0.10.6-6.fc41 100% | 8.9 MiB/s | 9.1 KiB | 00m00s [150/153] libunistring-0:1.1-7.fc41.x86 100% | 133.2 MiB/s | 545.4 KiB | 00m00s [151/153] libtool-ltdl-0:2.4.7-10.fc40. 100% | 17.7 MiB/s | 36.2 KiB | 00m00s [152/153] libevent-0:2.1.12-12.fc40.x86 100% | 62.8 MiB/s | 257.2 KiB | 00m00s [153/153] cyrus-sasl-lib-0:2.1.28-19.fc 100% | 128.5 MiB/s | 789.3 KiB | 00m00s -------------------------------------------------------------------------------- [153/153] Total 100% | 140.8 MiB/s | 52.8 MiB | 00m00s Running transaction Importing PGP key 0xE99D6AD1: Userid : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing PGP key 0xE99D6AD1: Userid : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing PGP key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary The key was successfully imported. [ 1/155] Verify package files 100% | 604.0 B/s | 153.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 >>> Stop pre-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 [ 2/155] Prepare transaction 100% | 3.6 KiB/s | 153.0 B | 00m00s [ 3/155] Installing libgcc-0:14.0.1-0. 100% | 132.9 MiB/s | 272.2 KiB | 00m00s >>> Running post-install scriptlet: libgcc-0:14.0.1-0.15.fc41.x86_64 >>> Stop post-install scriptlet: libgcc-0:14.0.1-0.15.fc41.x86_64 [ 4/155] Installing crypto-policies-0: 100% | 35.7 MiB/s | 146.2 KiB | 00m00s >>> Running post-install scriptlet: crypto-policies-0:20240320-1.git58e3d95.fc41 >>> Stop post-install scriptlet: crypto-policies-0:20240320-1.git58e3d95.fc41.no [ 5/155] Installing fedora-release-ide 100% | 0.0 B/s | 952.0 B | 00m00s [ 6/155] Installing fedora-repos-rawhi 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 7/155] Installing fedora-gpg-keys-0: 100% | 55.4 MiB/s | 170.1 KiB | 00m00s [ 8/155] Installing fedora-repos-0:41- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 9/155] Installing fedora-release-com 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [ 10/155] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 11/155] Installing setup-0:2.14.5-2.f 100% | 54.5 MiB/s | 725.8 KiB | 00m00s >>> Running post-install scriptlet: setup-0:2.14.5-2.fc40.noarch >>> Stop post-install scriptlet: setup-0:2.14.5-2.fc40.noarch [ 12/155] Installing filesystem-0:3.18- 100% | 3.0 MiB/s | 212.5 KiB | 00m00s [ 13/155] Installing basesystem-0:11-20 100% | 0.0 B/s | 124.0 B | 00m00s [ 14/155] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 15/155] Installing publicsuffix-list- 100% | 0.0 B/s | 68.3 KiB | 00m00s [ 16/155] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [ 17/155] Installing pkgconf-m4-0:2.1.0 100% | 0.0 B/s | 14.3 KiB | 00m00s [ 18/155] Installing pcre2-syntax-0:10. 100% | 245.6 MiB/s | 251.5 KiB | 00m00s [ 19/155] Installing ncurses-base-0:6.4 100% | 85.8 MiB/s | 351.6 KiB | 00m00s [ 20/155] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 21/155] Installing ncurses-libs-0:6.4 100% | 189.4 MiB/s | 969.7 KiB | 00m00s >>> Running pre-install scriptlet: glibc-0:2.39.9000-16.fc41.x86_64 >>> Stop pre-install scriptlet: glibc-0:2.39.9000-16.fc41.x86_64 [ 22/155] Installing glibc-0:2.39.9000- 100% | 216.7 MiB/s | 6.7 MiB | 00m00s >>> Running post-install scriptlet: glibc-0:2.39.9000-16.fc41.x86_64 >>> Stop post-install scriptlet: glibc-0:2.39.9000-16.fc41.x86_64 [ 23/155] Installing bash-0:5.2.26-3.fc 100% | 354.8 MiB/s | 8.2 MiB | 00m00s >>> Running post-install scriptlet: bash-0:5.2.26-3.fc40.x86_64 >>> Stop post-install scriptlet: bash-0:5.2.26-3.fc40.x86_64 [ 24/155] Installing glibc-common-0:2.3 100% | 146.8 MiB/s | 1.0 MiB | 00m00s [ 25/155] Installing glibc-gconv-extra- 100% | 218.5 MiB/s | 7.9 MiB | 00m00s >>> Running post-install scriptlet: glibc-gconv-extra-0:2.39.9000-16.fc41.x86_64 >>> Stop post-install scriptlet: glibc-gconv-extra-0:2.39.9000-16.fc41.x86_64 [ 26/155] Installing zlib-ng-compat-0:2 100% | 131.7 MiB/s | 134.8 KiB | 00m00s [ 27/155] Installing bzip2-libs-0:1.0.8 100% | 79.9 MiB/s | 81.8 KiB | 00m00s [ 28/155] Installing xz-libs-1:5.4.6-3. 100% | 206.0 MiB/s | 210.9 KiB | 00m00s [ 29/155] Installing popt-0:1.19-6.fc40 100% | 70.1 MiB/s | 143.5 KiB | 00m00s [ 30/155] Installing readline-0:8.2-8.f 100% | 239.9 MiB/s | 491.4 KiB | 00m00s [ 31/155] Installing libuuid-0:2.40-13. 100% | 37.6 MiB/s | 38.5 KiB | 00m00s [ 32/155] Installing libstdc++-0:14.0.1 100% | 345.3 MiB/s | 2.8 MiB | 00m00s [ 33/155] Installing libblkid-0:2.40-13 100% | 257.5 MiB/s | 263.7 KiB | 00m00s [ 34/155] Installing gmp-1:6.3.0-1.fc41 100% | 262.2 MiB/s | 805.6 KiB | 00m00s [ 35/155] Installing libattr-0:2.5.2-3. 100% | 28.8 MiB/s | 29.5 KiB | 00m00s [ 36/155] Installing libacl-0:2.3.2-1.f 100% | 0.0 B/s | 40.8 KiB | 00m00s [ 37/155] Installing libxcrypt-0:4.4.36 100% | 259.3 MiB/s | 265.5 KiB | 00m00s [ 38/155] Installing libzstd-0:1.5.6-1. 100% | 385.3 MiB/s | 789.2 KiB | 00m00s [ 39/155] Installing elfutils-libelf-0: 100% | 389.8 MiB/s | 1.2 MiB | 00m00s [ 40/155] Installing libeconf-0:0.6.2-1 100% | 58.3 MiB/s | 59.6 KiB | 00m00s [ 41/155] Installing gdbm-libs-1:1.23-6 100% | 120.7 MiB/s | 123.6 KiB | 00m00s [ 42/155] Installing dwz-0:0.15-6.fc40. 100% | 285.5 MiB/s | 292.3 KiB | 00m00s [ 43/155] Installing mpfr-0:4.2.1-3.fc4 100% | 271.3 MiB/s | 833.5 KiB | 00m00s [ 44/155] Installing gawk-0:5.3.0-3.fc4 100% | 288.0 MiB/s | 1.7 MiB | 00m00s [ 45/155] Installing unzip-0:6.0-63.fc4 100% | 188.6 MiB/s | 386.3 KiB | 00m00s [ 46/155] Installing file-libs-0:5.45-5 100% | 584.1 MiB/s | 9.9 MiB | 00m00s [ 47/155] Installing file-0:5.45-5.fc41 100% | 102.6 MiB/s | 105.0 KiB | 00m00s [ 48/155] Installing pcre2-0:10.43-1.fc 100% | 319.8 MiB/s | 654.9 KiB | 00m00s [ 49/155] Installing grep-0:3.11-7.fc40 100% | 200.7 MiB/s | 1.0 MiB | 00m00s [ 50/155] Installing xz-1:5.4.6-3.fc41. 100% | 250.3 MiB/s | 2.0 MiB | 00m00s [ 51/155] Installing libcap-ng-0:0.8.5- 100% | 69.3 MiB/s | 71.0 KiB | 00m00s [ 52/155] Installing audit-libs-0:4.0.1 100% | 160.9 MiB/s | 329.5 KiB | 00m00s [ 53/155] Installing pam-libs-0:1.6.1-1 100% | 134.2 MiB/s | 137.4 KiB | 00m00s [ 54/155] Installing libcap-0:2.69-8.fc 100% | 109.7 MiB/s | 224.7 KiB | 00m00s [ 55/155] Installing systemd-libs-0:256 100% | 288.2 MiB/s | 2.0 MiB | 00m00s [ 56/155] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.5 KiB | 00m00s [ 57/155] Installing libsepol-0:3.6-3.f 100% | 261.4 MiB/s | 803.0 KiB | 00m00s [ 58/155] Installing libselinux-0:3.6-4 100% | 170.2 MiB/s | 174.3 KiB | 00m00s [ 59/155] Installing sed-0:4.9-1.fc40.x 100% | 212.3 MiB/s | 869.7 KiB | 00m00s [ 60/155] Installing findutils-1:4.9.0- 100% | 293.2 MiB/s | 1.5 MiB | 00m00s [ 61/155] Installing libmount-0:2.40-13 100% | 172.3 MiB/s | 352.9 KiB | 00m00s [ 62/155] Installing lua-libs-0:5.4.6-5 100% | 275.7 MiB/s | 282.3 KiB | 00m00s [ 63/155] Installing lz4-libs-0:1.9.4-6 100% | 127.4 MiB/s | 130.5 KiB | 00m00s [ 64/155] Installing libcom_err-0:1.47. 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 65/155] Installing alternatives-0:1.2 100% | 62.5 MiB/s | 64.0 KiB | 00m00s [ 66/155] Installing jansson-0:2.13.1-9 100% | 87.6 MiB/s | 89.7 KiB | 00m00s [ 67/155] Installing libtasn1-0:4.19.0- 100% | 173.3 MiB/s | 177.5 KiB | 00m00s [ 68/155] Installing libunistring-0:1.1 100% | 346.1 MiB/s | 1.7 MiB | 00m00s [ 69/155] Installing libidn2-0:2.3.7-1. 100% | 109.1 MiB/s | 335.0 KiB | 00m00s [ 70/155] Installing libpsl-0:0.21.5-3. 100% | 79.7 MiB/s | 81.6 KiB | 00m00s [ 71/155] Installing zstd-0:1.5.6-1.fc4 100% | 335.2 MiB/s | 1.7 MiB | 00m00s [ 72/155] Installing util-linux-core-0: 100% | 212.0 MiB/s | 1.5 MiB | 00m00s [ 73/155] Installing tar-2:1.35-3.fc40. 100% | 327.8 MiB/s | 3.0 MiB | 00m00s [ 74/155] Installing libsemanage-0:3.6- 100% | 144.2 MiB/s | 295.3 KiB | 00m00s [ 75/155] Installing shadow-utils-2:4.1 100% | 139.0 MiB/s | 4.2 MiB | 00m00s >>> Running pre-install scriptlet: libutempter-0:1.2.1-13.fc40.x86_64 >>> Stop pre-install scriptlet: libutempter-0:1.2.1-13.fc40.x86_64 [ 76/155] Installing libutempter-0:1.2. 100% | 29.2 MiB/s | 59.7 KiB | 00m00s [ 77/155] Installing zip-0:3.0-40.fc40. 100% | 230.2 MiB/s | 707.1 KiB | 00m00s [ 78/155] Installing gdbm-1:1.23-6.fc40 100% | 151.6 MiB/s | 465.8 KiB | 00m00s [ 79/155] Installing cyrus-sasl-lib-0:2 100% | 326.2 MiB/s | 2.3 MiB | 00m00s [ 80/155] Installing libfdisk-0:2.40-13 100% | 177.7 MiB/s | 363.9 KiB | 00m00s [ 81/155] Installing libxml2-0:2.12.6-1 100% | 340.0 MiB/s | 1.7 MiB | 00m00s [ 82/155] Installing bzip2-0:1.0.8-18.f 100% | 93.9 MiB/s | 96.2 KiB | 00m00s [ 83/155] Installing sqlite-libs-0:3.45 100% | 351.3 MiB/s | 1.4 MiB | 00m00s [ 84/155] Installing ed-0:1.20.2-1.fc41 100% | 145.7 MiB/s | 149.2 KiB | 00m00s [ 85/155] Installing patch-0:2.7.6-24.f 100% | 258.1 MiB/s | 264.3 KiB | 00m00s [ 86/155] Installing elfutils-default-y 100% | 340.5 KiB/s | 2.0 KiB | 00m00s >>> Running post-install scriptlet: elfutils-default-yama-scope-0:0.191-7.fc41.n >>> Stop post-install scriptlet: elfutils-default-yama-scope-0:0.191-7.fc41.noar [ 87/155] Installing cpio-0:2.15-1.fc40 100% | 219.9 MiB/s | 1.1 MiB | 00m00s [ 88/155] Installing diffutils-0:3.10-5 100% | 264.4 MiB/s | 1.6 MiB | 00m00s [ 89/155] Installing libgomp-0:14.0.1-0 100% | 254.2 MiB/s | 520.6 KiB | 00m00s [ 90/155] Installing keyutils-libs-0:1. 100% | 54.5 MiB/s | 55.8 KiB | 00m00s [ 91/155] Installing libverto-0:0.3.2-8 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 92/155] Installing libpkgconf-0:2.1.0 100% | 73.6 MiB/s | 75.3 KiB | 00m00s [ 93/155] Installing pkgconf-0:2.1.0-1. 100% | 82.9 MiB/s | 84.9 KiB | 00m00s [ 94/155] Installing pkgconf-pkg-config 100% | 0.0 B/s | 1.8 KiB | 00m00s [ 95/155] Installing libffi-0:3.4.6-1.f 100% | 81.8 MiB/s | 83.8 KiB | 00m00s [ 96/155] Installing p11-kit-0:0.25.3-4 100% | 219.4 MiB/s | 2.2 MiB | 00m00s [ 97/155] Installing p11-kit-trust-0:0. 100% | 48.0 MiB/s | 393.1 KiB | 00m00s >>> Running post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.x86_64 >>> Stop post-install scriptlet: p11-kit-trust-0:0.25.3-4.fc40.x86_64 [ 98/155] Installing xxhash-libs-0:0.8. 100% | 87.8 MiB/s | 89.9 KiB | 00m00s [ 99/155] Installing libbrotli-0:1.1.0- 100% | 270.8 MiB/s | 831.8 KiB | 00m00s [100/155] Installing libnghttp2-0:1.61. 100% | 163.3 MiB/s | 167.2 KiB | 00m00s [101/155] Installing libtool-ltdl-0:2.4 100% | 65.7 MiB/s | 67.3 KiB | 00m00s [102/155] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [103/155] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 768.0 B | 00m00s [104/155] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [105/155] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [106/155] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [107/155] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [108/155] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [109/155] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [110/155] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [111/155] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [112/155] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [113/155] Installing coreutils-common-0 100% | 349.7 MiB/s | 11.2 MiB | 00m00s [114/155] Installing openssl-libs-1:3.2 100% | 354.4 MiB/s | 7.8 MiB | 00m00s [115/155] Installing coreutils-0:9.5-1. 100% | 254.1 MiB/s | 5.6 MiB | 00m00s >>> Running pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.n >>> Stop pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noar [116/155] Installing ca-certificates-0: 100% | 3.6 MiB/s | 2.3 MiB | 00m01s >>> Running post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40. >>> Stop post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40.noa [117/155] Installing krb5-libs-0:1.21.2 100% | 254.9 MiB/s | 2.3 MiB | 00m00s [118/155] Installing libtirpc-0:1.3.4-1 100% | 199.8 MiB/s | 204.6 KiB | 00m00s [119/155] Installing gzip-0:1.13-1.fc40 100% | 127.1 MiB/s | 390.6 KiB | 00m00s [120/155] Installing authselect-libs-0: 100% | 162.7 MiB/s | 833.2 KiB | 00m00s [121/155] Installing libarchive-0:3.7.2 100% | 298.4 MiB/s | 916.6 KiB | 00m00s [122/155] Installing authselect-0:1.5.0 100% | 77.1 MiB/s | 157.9 KiB | 00m00s [123/155] Installing cracklib-0:2.9.11- 100% | 61.1 MiB/s | 250.3 KiB | 00m00s [124/155] Installing libpwquality-0:1.4 100% | 105.0 MiB/s | 430.1 KiB | 00m00s [125/155] Installing libnsl2-0:2.0.1-1. 100% | 57.7 MiB/s | 59.0 KiB | 00m00s [126/155] Installing pam-0:1.6.1-1.fc41 100% | 139.6 MiB/s | 1.8 MiB | 00m00s [127/155] Installing libssh-0:0.10.6-6. 100% | 251.7 MiB/s | 515.4 KiB | 00m00s [128/155] Installing rpm-sequoia-0:1.6. 100% | 318.5 MiB/s | 2.2 MiB | 00m00s [129/155] Installing rpm-libs-0:4.19.1. 100% | 231.6 MiB/s | 711.4 KiB | 00m00s [130/155] Installing libevent-0:2.1.12- 100% | 292.8 MiB/s | 899.4 KiB | 00m00s [131/155] Installing openldap-0:2.6.7-1 100% | 208.0 MiB/s | 638.9 KiB | 00m00s [132/155] Installing libcurl-0:8.7.1-1. 100% | 258.7 MiB/s | 794.6 KiB | 00m00s [133/155] Installing elfutils-libs-0:0. 100% | 210.9 MiB/s | 648.0 KiB | 00m00s [134/155] Installing elfutils-debuginfo 100% | 65.3 MiB/s | 66.9 KiB | 00m00s [135/155] Installing binutils-gold-0:2. 100% | 156.2 MiB/s | 2.0 MiB | 00m00s >>> Running post-install scriptlet: binutils-gold-0:2.42.50-6.fc41.x86_64 >>> Stop post-install scriptlet: binutils-gold-0:2.42.50-6.fc41.x86_64 [136/155] Installing binutils-0:2.42.50 100% | 344.9 MiB/s | 27.2 MiB | 00m00s >>> Running post-install scriptlet: binutils-0:2.42.50-6.fc41.x86_64 >>> Stop post-install scriptlet: binutils-0:2.42.50-6.fc41.x86_64 [137/155] Installing elfutils-0:0.191-7 100% | 283.6 MiB/s | 2.6 MiB | 00m00s [138/155] Installing gdb-minimal-0:14.2 100% | 342.1 MiB/s | 12.7 MiB | 00m00s [139/155] Installing debugedit-0:5.0-14 100% | 98.5 MiB/s | 201.7 KiB | 00m00s [140/155] Installing rpm-build-libs-0:4 100% | 194.5 MiB/s | 199.2 KiB | 00m00s [141/155] Installing curl-0:8.7.1-1.fc4 100% | 61.9 MiB/s | 760.6 KiB | 00m00s >>> Running pre-install scriptlet: rpm-0:4.19.1.1-1.fc40.x86_64 >>> Stop pre-install scriptlet: rpm-0:4.19.1.1-1.fc40.x86_64 [142/155] Installing rpm-0:4.19.1.1-1.f 100% | 149.8 MiB/s | 2.4 MiB | 00m00s [143/155] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.2 KiB | 00m00s [144/155] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [145/155] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [146/155] Installing python-srpm-macros 100% | 0.0 B/s | 51.7 KiB | 00m00s [147/155] Installing fonts-srpm-macros- 100% | 55.1 MiB/s | 56.5 KiB | 00m00s [148/155] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [149/155] Installing forge-srpm-macros- 100% | 39.4 MiB/s | 40.3 KiB | 00m00s [150/155] Installing redhat-rpm-config- 100% | 92.6 MiB/s | 189.7 KiB | 00m00s [151/155] Installing rpm-build-0:4.19.1 100% | 88.8 MiB/s | 182.0 KiB | 00m00s [152/155] Installing pyproject-srpm-mac 100% | 2.0 MiB/s | 2.1 KiB | 00m00s [153/155] Installing util-linux-0:2.40- 100% | 149.5 MiB/s | 3.7 MiB | 00m00s >>> Running post-install scriptlet: util-linux-0:2.40-13.fc41.x86_64 >>> Stop post-install scriptlet: util-linux-0:2.40-13.fc41.x86_64 [154/155] Installing which-0:2.21-41.fc 100% | 40.3 MiB/s | 82.4 KiB | 00m00s [155/155] Installing info-0:7.1-2.fc40. 100% | 351.5 KiB/s | 358.2 KiB | 00m01s >>> Running post-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 >>> Stop post-transaction scriptlet: filesystem-0:3.18-9.fc41.x86_64 >>> Running post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.f >>> Stop post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-6.fc40 >>> Running post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc41.x86_64 >>> Stop post-transaction scriptlet: authselect-libs-0:1.5.0-5.fc41.x86_64 >>> Running post-transaction scriptlet: rpm-0:4.19.1.1-1.fc40.x86_64 >>> Stop post-transaction scriptlet: rpm-0:4.19.1.1-1.fc40.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-16.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-16.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 Warning: skipped PGP checks for 5 package(s). Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.26-3.fc40.x86_64 ansible-srpm-macros-1-15.fc41.noarch audit-libs-4.0.1-1.fc41.x86_64 authselect-1.5.0-5.fc41.x86_64 authselect-libs-1.5.0-5.fc41.x86_64 basesystem-11-20.fc40.noarch bash-5.2.26-3.fc40.x86_64 binutils-2.42.50-6.fc41.x86_64 binutils-gold-2.42.50-6.fc41.x86_64 bzip2-1.0.8-18.fc40.x86_64 bzip2-libs-1.0.8-18.fc40.x86_64 ca-certificates-2023.2.62_v7.0.401-6.fc40.noarch coreutils-9.5-1.fc41.x86_64 coreutils-common-9.5-1.fc41.x86_64 cpio-2.15-1.fc40.x86_64 cracklib-2.9.11-5.fc40.x86_64 crypto-policies-20240320-1.git58e3d95.fc41.noarch curl-8.7.1-1.fc41.x86_64 cyrus-sasl-lib-2.1.28-19.fc40.x86_64 debugedit-5.0-14.fc40.x86_64 diffutils-3.10-5.fc40.x86_64 dwz-0.15-6.fc40.x86_64 ed-1.20.2-1.fc41.x86_64 efi-srpm-macros-5-11.fc40.noarch elfutils-0.191-7.fc41.x86_64 elfutils-debuginfod-client-0.191-7.fc41.x86_64 elfutils-default-yama-scope-0.191-7.fc41.noarch elfutils-libelf-0.191-7.fc41.x86_64 elfutils-libs-0.191-7.fc41.x86_64 fedora-gpg-keys-41-0.1.noarch fedora-release-41-0.9.noarch fedora-release-common-41-0.9.noarch fedora-release-identity-basic-41-0.9.noarch fedora-repos-41-0.1.noarch fedora-repos-rawhide-41-0.1.noarch file-5.45-5.fc41.x86_64 file-libs-5.45-5.fc41.x86_64 filesystem-3.18-9.fc41.x86_64 findutils-4.9.0-8.fc40.x86_64 fonts-srpm-macros-2.0.5-14.fc40.noarch forge-srpm-macros-0.3.1-1.fc41.noarch fpc-srpm-macros-1.3-12.fc40.noarch gawk-5.3.0-3.fc40.x86_64 gdb-minimal-14.2-5.fc41.x86_64 gdbm-1.23-6.fc40.x86_64 gdbm-libs-1.23-6.fc40.x86_64 ghc-srpm-macros-1.9.1-1.fc41.noarch glibc-2.39.9000-16.fc41.x86_64 glibc-common-2.39.9000-16.fc41.x86_64 glibc-gconv-extra-2.39.9000-16.fc41.x86_64 glibc-minimal-langpack-2.39.9000-16.fc41.x86_64 gmp-6.3.0-1.fc41.x86_64 gnat-srpm-macros-6-5.fc40.noarch go-srpm-macros-3.6.0-1.fc41.noarch gpg-pubkey-a15b79cc-63d04c2c gpg-pubkey-e99d6ad1-64d2612c grep-3.11-7.fc40.x86_64 gzip-1.13-1.fc40.x86_64 info-7.1-2.fc40.x86_64 jansson-2.13.1-9.fc40.x86_64 kernel-srpm-macros-1.0-23.fc41.noarch keyutils-libs-1.6.3-3.fc40.x86_64 krb5-libs-1.21.2-5.fc40.x86_64 libacl-2.3.2-1.fc40.x86_64 libarchive-3.7.2-3.fc41.x86_64 libattr-2.5.2-3.fc40.x86_64 libblkid-2.40-13.fc41.x86_64 libbrotli-1.1.0-3.fc40.x86_64 libcap-2.69-8.fc41.x86_64 libcap-ng-0.8.5-1.fc41.x86_64 libcom_err-1.47.0-5.fc40.x86_64 libcurl-8.7.1-1.fc41.x86_64 libeconf-0.6.2-1.fc41.x86_64 libevent-2.1.12-12.fc40.x86_64 libfdisk-2.40-13.fc41.x86_64 libffi-3.4.6-1.fc41.x86_64 libgcc-14.0.1-0.15.fc41.x86_64 libgomp-14.0.1-0.15.fc41.x86_64 libidn2-2.3.7-1.fc40.x86_64 libmount-2.40-13.fc41.x86_64 libnghttp2-1.61.0-1.fc41.x86_64 libnsl2-2.0.1-1.fc40.x86_64 libpkgconf-2.1.0-1.fc40.x86_64 libpsl-0.21.5-3.fc40.x86_64 libpwquality-1.4.5-9.fc40.x86_64 libselinux-3.6-4.fc40.x86_64 libsemanage-3.6-3.fc40.x86_64 libsepol-3.6-3.fc40.x86_64 libsmartcols-2.40-13.fc41.x86_64 libssh-0.10.6-6.fc41.x86_64 libssh-config-0.10.6-6.fc41.noarch libstdc++-14.0.1-0.15.fc41.x86_64 libtasn1-4.19.0-6.fc40.x86_64 libtirpc-1.3.4-1.rc3.fc41.x86_64 libtool-ltdl-2.4.7-10.fc40.x86_64 libunistring-1.1-7.fc41.x86_64 libutempter-1.2.1-13.fc40.x86_64 libuuid-2.40-13.fc41.x86_64 libverto-0.3.2-8.fc40.x86_64 libxcrypt-4.4.36-5.fc40.x86_64 libxml2-2.12.6-1.fc41.x86_64 libzstd-1.5.6-1.fc41.x86_64 lua-libs-5.4.6-5.fc40.x86_64 lua-srpm-macros-1-13.fc40.noarch lz4-libs-1.9.4-6.fc40.x86_64 mpfr-4.2.1-3.fc40.x86_64 ncurses-base-6.4-12.20240127.fc40.noarch ncurses-libs-6.4-12.20240127.fc40.x86_64 ocaml-srpm-macros-9-3.fc40.noarch openblas-srpm-macros-2-17.fc41.noarch openldap-2.6.7-1.fc40.x86_64 openssl-libs-3.2.1-6.fc41.x86_64 p11-kit-0.25.3-4.fc40.x86_64 p11-kit-trust-0.25.3-4.fc40.x86_64 package-notes-srpm-macros-0.5-11.fc40.noarch pam-1.6.1-1.fc41.x86_64 pam-libs-1.6.1-1.fc41.x86_64 patch-2.7.6-24.fc40.x86_64 pcre2-10.43-1.fc41.x86_64 pcre2-syntax-10.43-1.fc41.noarch perl-srpm-macros-1-53.fc40.noarch pkgconf-2.1.0-1.fc40.x86_64 pkgconf-m4-2.1.0-1.fc40.noarch pkgconf-pkg-config-2.1.0-1.fc40.x86_64 popt-1.19-6.fc40.x86_64 publicsuffix-list-dafsa-20240107-3.fc40.noarch pyproject-srpm-macros-1.12.0-1.fc41.noarch python-srpm-macros-3.12-9.fc41.noarch qt5-srpm-macros-5.15.13-1.fc41.noarch qt6-srpm-macros-6.7.0-1.fc41.noarch readline-8.2-8.fc40.x86_64 redhat-rpm-config-288-1.fc41.noarch rpm-4.19.1.1-1.fc40.x86_64 rpm-build-4.19.1.1-1.fc40.x86_64 rpm-build-libs-4.19.1.1-1.fc40.x86_64 rpm-libs-4.19.1.1-1.fc40.x86_64 rpm-sequoia-1.6.0-2.fc40.x86_64 rust-srpm-macros-26.2-1.fc41.noarch sed-4.9-1.fc40.x86_64 setup-2.14.5-2.fc40.noarch shadow-utils-4.15.1-2.fc41.x86_64 sqlite-libs-3.45.2-1.fc41.x86_64 systemd-libs-256~rc1-4.fc41.x86_64 tar-1.35-3.fc40.x86_64 unzip-6.0-63.fc40.x86_64 util-linux-2.40-13.fc41.x86_64 util-linux-core-2.40-13.fc41.x86_64 which-2.21-41.fc40.x86_64 xxhash-libs-0.8.2-2.fc40.x86_64 xz-5.4.6-3.fc41.x86_64 xz-libs-5.4.6-3.fc41.x86_64 zig-srpm-macros-1-2.fc40.noarch zip-3.0-40.fc40.x86_64 zlib-ng-compat-2.1.6-2.fc40.x86_64 zstd-1.5.6-1.fc41.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714089600 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc41.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/fedora-rawhide-x86_64-1714425455.257836/root/var/log’: No such file or directory INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1714425455.257836/root/var/log/dnf5.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-o0zhq4zk/clamav/clamav.spec) Config(child) 0 minutes 20 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/clamav-1.0.6-1.fc41.src.rpm) Config(fedora-rawhide-x86_64) Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1714425455.257836/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management from host and used with --installroot: rpm-4.19.1.1-1.fc39.x86_64 rpm-sequoia-1.6.0-1.fc39.x86_64 python3-dnf-4.19.2-1.fc39.noarch python3-dnf-plugins-core-4.6.0-1.fc39.noarch yum-4.19.2-1.fc39.noarch dnf5-5.1.17-1.fc39.x86_64 dnf5-plugins-5.1.17-1.fc39.x86_64 Finish: chroot init Start: build phase for clamav-1.0.6-1.fc41.src.rpm Start: build setup for clamav-1.0.6-1.fc41.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714089600 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc41.src.rpm Updating and loading repositories: fedora 100% | 187.3 KiB/s | 20.4 KiB | 00m00s Copr repository 100% | 114.7 KiB/s | 1.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: bc x86_64 1.07.1-21.fc40 fedora 229.6 KiB bzip2-devel x86_64 1.0.8-18.fc40 fedora 309.8 KiB cargo x86_64 1.77.2-4.fc41 fedora 17.7 MiB cargo-rpm-macros noarch 26.2-1.fc41 copr_base 14.6 KiB check-devel x86_64 0.15.2-12.fc40 fedora 120.0 KiB cmake x86_64 3.28.3-4.fc41 fedora 31.5 MiB gcc-c++ x86_64 14.0.1-0.15.fc41 fedora 38.1 MiB gettext-devel x86_64 0.22.5-2.fc41 fedora 1.0 MiB git-core x86_64 2.44.0-1.fc41 fedora 20.8 MiB gmp-devel x86_64 1:6.3.0-1.fc41 fedora 352.3 KiB gnutls-devel x86_64 3.8.5-1.fc41 fedora 5.5 MiB graphviz x86_64 10.0.1-1.fc41 fedora 21.1 MiB groff x86_64 1.23.0-6.fc40 fedora 4.3 MiB json-c-devel x86_64 0.17-3.fc40 fedora 151.1 KiB libcurl-devel x86_64 8.7.1-1.fc41 fedora 1.2 MiB libprelude-devel x86_64 5.2.0-23.fc40 fedora 404.8 KiB libxml2-devel x86_64 2.12.6-1.fc41 fedora 3.4 MiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB ncurses-devel x86_64 6.4-12.20240127.fc40 fedora 859.8 KiB nmap-ncat x86_64 3:7.95-1.fc41 fedora 503.0 KiB ocaml x86_64 5.1.1-4.fc40 fedora 128.9 MiB openssl-devel x86_64 1:3.2.1-6.fc41 fedora 4.3 MiB pcre2-devel x86_64 10.43-1.fc41 fedora 2.0 MiB python3 x86_64 3.12.3-2.fc41 fedora 31.5 KiB python3-pytest noarch 7.4.3-3.fc40 fedora 15.0 MiB rust x86_64 1.77.2-4.fc41 fedora 75.4 MiB sendmail-milter-devel x86_64 8.18.1-1.fc40 fedora 259.4 KiB systemd x86_64 256~rc1-4.fc41 copr_base 15.6 MiB systemd-devel x86_64 256~rc1-4.fc41 copr_base 556.2 KiB systemd-rpm-macros noarch 256~rc1-4.fc41 copr_base 9.3 KiB tcl x86_64 1:8.6.14-1.fc41 fedora 4.2 MiB valgrind x86_64 1:3.23.0-1.fc41 fedora 29.6 MiB zlib-ng-compat-devel x86_64 2.1.6-2.fc40 fedora 103.4 KiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-12.fc40 fedora 192.7 KiB adobe-mappings-cmap noarch 20230622-3.fc40 fedora 14.4 MiB adobe-mappings-cmap-deprecated noarch 20230622-3.fc40 fedora 582.1 KiB adobe-mappings-pdf noarch 20190401-7.fc40 fedora 4.4 MiB annobin-docs noarch 12.52-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.52-1.fc41 fedora 971.6 KiB autoconf noarch 2.72-2.fc41 fedora 2.8 MiB automake noarch 1.16.5-16.fc40 fedora 1.7 MiB avahi-libs x86_64 0.8-26.fc40 fedora 166.3 KiB cairo x86_64 1.18.0-3.fc40 fedora 1.7 MiB cairo-gobject x86_64 1.18.0-3.fc40 fedora 35.2 KiB cargo2rpm noarch 0.1.15-3.fc41 copr_base 1.2 MiB check x86_64 0.15.2-12.fc40 fedora 146.0 KiB cmake-data noarch 3.28.3-4.fc41 fedora 8.0 MiB cmake-filesystem x86_64 3.28.3-4.fc41 fedora 0.0 B cmake-rpm-macros noarch 3.28.3-4.fc41 fedora 7.5 KiB cpp x86_64 14.0.1-0.15.fc41 fedora 34.9 MiB crypto-policies-scripts noarch 20240320-1.git58e3d95.fc41 copr_base 323.2 KiB cups-libs x86_64 1:2.4.7-13.fc41 fedora 618.8 KiB dbus x86_64 1:1.14.10-3.fc40 fedora 0.0 B dbus-broker x86_64 36-2.fc41 fedora 378.8 KiB dbus-common noarch 1:1.14.10-3.fc40 fedora 11.2 KiB dbus-libs x86_64 1:1.14.10-3.fc40 fedora 368.9 KiB default-fonts-core-sans noarch 4.0-13.fc41 fedora 11.9 KiB emacs-filesystem noarch 1:30.0-2.fc41 fedora 0.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB fontconfig x86_64 2.15.0-4.fc40 fedora 767.3 KiB fonts-filesystem noarch 1:2.0.5-14.fc40 fedora 0.0 B freetype x86_64 2.13.2-5.fc40 fedora 842.6 KiB fribidi x86_64 1.0.13-4.fc40 fedora 365.3 KiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc x86_64 14.0.1-0.15.fc41 fedora 103.9 MiB gcc-plugin-annobin x86_64 14.0.1-0.15.fc41 fedora 57.1 KiB gd x86_64 2.3.3-16.fc41 fedora 399.7 KiB gdk-pixbuf2 x86_64 2.42.11-1.fc41 fedora 2.5 MiB gettext x86_64 0.22.5-2.fc41 fedora 5.2 MiB gettext-common-devel noarch 0.22.5-2.fc41 fedora 586.5 KiB gettext-envsubst x86_64 0.22.5-2.fc41 fedora 74.9 KiB gettext-libs x86_64 0.22.5-2.fc41 fedora 1.7 MiB gettext-runtime x86_64 0.22.5-2.fc41 fedora 481.3 KiB glib2 x86_64 2.80.0-1.fc41 fedora 14.4 MiB glibc-devel x86_64 2.39.9000-16.fc41 fedora 36.7 KiB glibc-headers-x86 noarch 2.39.9000-16.fc41 fedora 2.2 MiB gmp-c++ x86_64 1:6.3.0-1.fc41 fedora 31.8 KiB gnupg2 x86_64 2.4.5-1.fc41 fedora 9.5 MiB gnutls x86_64 3.8.5-1.fc41 fedora 3.2 MiB gnutls-c++ x86_64 3.8.5-1.fc41 fedora 72.5 KiB gnutls-dane x86_64 3.8.5-1.fc41 fedora 61.7 KiB google-droid-sans-fonts noarch 20200215-19.fc40 fedora 6.3 MiB google-noto-fonts-common noarch 20240401-1.fc41 fedora 17.5 KiB google-noto-sans-vf-fonts noarch 20240401-1.fc41 fedora 1.2 MiB gpgme x86_64 1.23.2-3.fc40 fedora 575.3 KiB gpgmepp x86_64 1.23.2-3.fc40 fedora 424.2 KiB graphite2 x86_64 1.3.14-15.fc40 fedora 192.0 KiB groff-base x86_64 1.23.0-6.fc40 fedora 3.8 MiB gts x86_64 0.7.6-48.20121130.fc40 fedora 650.3 KiB guile30 x86_64 3.0.7-12.fc40 fedora 51.5 MiB harfbuzz x86_64 8.4.0-1.fc41 fedora 2.6 MiB http-parser x86_64 2.9.4-11.fc40 fedora 91.6 KiB jbig2dec-libs x86_64 0.20-4.fc40 fedora 169.0 KiB jbigkit-libs x86_64 2.1-29.fc40 fedora 117.6 KiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB jsoncpp x86_64 1.9.5-7.fc40 fedora 253.4 KiB kernel-headers x86_64 6.9.0-0.rc5.44.fc41 fedora 6.3 MiB lasi x86_64 1.1.3-13.fc40 fedora 130.8 KiB lcms2 x86_64 2.16-3.fc40 fedora 420.9 KiB less x86_64 643-4.fc40 fedora 368.6 KiB libICE x86_64 1.1.1-3.fc40 fedora 181.2 KiB libSM x86_64 1.2.4-3.fc40 fedora 97.3 KiB libX11 x86_64 1.8.9-1.fc41 fedora 1.3 MiB libX11-common noarch 1.8.9-1.fc41 fedora 1.1 MiB libXau x86_64 1.0.11-6.fc40 fedora 66.9 KiB libXext x86_64 1.3.6-1.fc40 fedora 90.1 KiB libXft x86_64 2.3.8-6.fc40 fedora 164.5 KiB libXpm x86_64 3.5.17-3.fc40 fedora 148.4 KiB libXrender x86_64 0.9.11-6.fc40 fedora 50.1 KiB libXt x86_64 1.3.0-3.fc40 fedora 425.9 KiB libaom x86_64 3.8.2-2.fc41 fedora 5.0 MiB libassuan x86_64 2.5.7-1.fc41 fedora 163.8 KiB libavif x86_64 1.0.4-2.fc41 fedora 183.8 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libcbor x86_64 0.11.0-1.fc40 fedora 73.9 KiB libdatrie x86_64 0.2.13-9.fc40 fedora 57.9 KiB libdav1d x86_64 1.4.0-1.fc41 fedora 1.7 MiB libedit x86_64 3.1-50.20230828cvs.fc40 fedora 243.9 KiB libfido2 x86_64 1.14.0-4.fc40 fedora 237.8 KiB libgcrypt x86_64 1.10.3-4.fc41 fedora 1.3 MiB libgit2 x86_64 1.7.2-1.fc40 fedora 1.2 MiB libgpg-error x86_64 1.49-1.fc41 fedora 875.2 KiB libgs x86_64 10.03.0-1.fc41 fedora 23.2 MiB libibverbs x86_64 51.0-2.fc41 fedora 1.2 MiB libidn2-devel x86_64 2.3.7-1.fc40 fedora 252.1 KiB libijs x86_64 0.35-22.fc40 fedora 61.6 KiB libimagequant x86_64 4.0.3-3.fc40 fedora 690.3 KiB libjpeg-turbo x86_64 3.0.2-2.fc41 fedora 772.9 KiB libksba x86_64 1.6.6-1.fc41 fedora 392.9 KiB liblerc x86_64 4.0.0-6.fc40 fedora 603.5 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libnl3 x86_64 3.9.0-3.fc40 fedora 1.0 MiB libpaper x86_64 1:2.1.1-5.fc41 fedora 48.8 KiB libpcap x86_64 14:1.10.4-4.fc40 fedora 397.9 KiB libpng x86_64 2:1.6.40-3.fc40 fedora 241.8 KiB libprelude x86_64 5.2.0-23.fc40 fedora 2.1 MiB librsvg2 x86_64 2.57.1-5.fc41 fedora 4.1 MiB libseccomp x86_64 2.5.3-8.fc40 fedora 171.2 KiB libssh2 x86_64 1.11.0-4.fc40 fedora 289.6 KiB libstdc++-devel x86_64 14.0.1-0.15.fc41 fedora 15.4 MiB libtasn1-devel x86_64 4.19.0-6.fc40 fedora 76.1 KiB libtasn1-tools x86_64 4.19.0-6.fc40 fedora 65.6 KiB libtextstyle x86_64 0.22.5-2.fc41 fedora 195.6 KiB libthai x86_64 0.1.29-8.fc40 fedora 783.5 KiB libtiff x86_64 4.6.0-2.fc40 fedora 1.1 MiB libtool-ltdl-devel x86_64 2.4.7-10.fc40 fedora 837.7 KiB libuv x86_64 1:1.48.0-1.fc40 fedora 538.8 KiB libvmaf x86_64 2.3.0-7.fc40 fedora 779.6 KiB libwebp x86_64 1.4.0-1.fc41 fedora 802.7 KiB libxcb x86_64 1.17.0-1.fc41 fedora 1.1 MiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB libzstd-devel x86_64 1.5.6-1.fc41 fedora 202.4 KiB llvm-libs x86_64 18.1.3-1.fc41 fedora 113.5 MiB m4 x86_64 1.4.19-9.fc40 fedora 588.9 KiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB ncurses x86_64 6.4-12.20240127.fc40 fedora 621.0 KiB ncurses-c++-libs x86_64 6.4-12.20240127.fc40 fedora 161.7 KiB netpbm x86_64 11.02.00-6.fc40 fedora 573.1 KiB nettle x86_64 3.9.1-6.fc40 fedora 790.1 KiB nettle-devel x86_64 3.9.1-6.fc40 fedora 1.4 MiB npth x86_64 1.7-1.fc41 fedora 49.4 KiB nspr x86_64 4.35.0-22.fc41 fedora 312.7 KiB nss x86_64 3.99.0-1.fc41 fedora 1.9 MiB nss-softokn x86_64 3.99.0-1.fc41 fedora 1.9 MiB nss-softokn-freebl x86_64 3.99.0-1.fc41 fedora 896.6 KiB nss-sysinit x86_64 3.99.0-1.fc41 fedora 18.2 KiB nss-util x86_64 3.99.0-1.fc41 fedora 226.1 KiB ocaml-runtime x86_64 5.1.1-4.fc40 fedora 5.5 MiB openjpeg2 x86_64 2.5.2-1.fc41 fedora 441.7 KiB openssh x86_64 9.6p1-1.fc41.9 fedora 1.8 MiB openssh-clients x86_64 9.6p1-1.fc41.9 fedora 2.6 MiB p11-kit-devel x86_64 0.25.3-4.fc40 fedora 542.7 KiB pango x86_64 1.52.2-1.fc41 fedora 995.8 KiB pcre2-utf16 x86_64 10.43-1.fc41 fedora 590.1 KiB pcre2-utf32 x86_64 10.43-1.fc41 fedora 557.9 KiB perl-AutoLoader noarch 5.74-507.fc41 fedora 20.5 KiB perl-B x86_64 1.88-507.fc41 fedora 492.4 KiB perl-Carp noarch 1.54-502.fc40 fedora 46.5 KiB perl-Class-Struct noarch 0.68-507.fc41 fedora 25.4 KiB perl-Data-Dumper x86_64 2.188-503.fc40 fedora 111.7 KiB perl-Digest noarch 1.20-502.fc40 fedora 35.2 KiB perl-Digest-MD5 x86_64 2.59-3.fc40 fedora 59.7 KiB perl-DynaLoader x86_64 1.54-507.fc41 fedora 32.1 KiB perl-Encode x86_64 4:3.21-505.fc41 fedora 4.7 MiB perl-Errno x86_64 1.37-507.fc41 fedora 8.4 KiB perl-Exporter noarch 5.78-3.fc40 fedora 54.2 KiB perl-Fcntl x86_64 1.15-507.fc41 fedora 24.6 KiB perl-File-Basename noarch 2.86-507.fc41 fedora 14.0 KiB perl-File-Compare noarch 1.100.700-507.fc41 fedora 5.5 KiB perl-File-Copy noarch 2.41-507.fc41 fedora 19.6 KiB perl-File-Find noarch 1.43-507.fc41 fedora 41.9 KiB perl-File-Path noarch 2.18-503.fc40 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-503.fc40 fedora 162.3 KiB perl-File-stat noarch 1.13-507.fc41 fedora 12.7 KiB perl-FileHandle noarch 2.05-507.fc41 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.57-3.fc40 fedora 144.1 KiB perl-Getopt-Std noarch 1.13-507.fc41 fedora 11.1 KiB perl-HTTP-Tiny noarch 0.088-5.fc40 fedora 152.1 KiB perl-IO x86_64 1.52-507.fc41 fedora 151.0 KiB perl-IO-Socket-IP noarch 0.42-2.fc40 fedora 98.6 KiB perl-IO-Socket-SSL noarch 2.085-1.fc40 fedora 685.0 KiB perl-IPC-Open3 noarch 1.22-507.fc41 fedora 22.5 KiB perl-MIME-Base64 x86_64 3.16-503.fc40 fedora 46.1 KiB perl-Mozilla-CA noarch 20240313-1.fc41 fedora 9.5 KiB perl-Net-SSLeay x86_64 1.94-3.fc40 fedora 1.3 MiB perl-POSIX x86_64 2.13-507.fc41 fedora 229.0 KiB perl-PathTools x86_64 3.89-502.fc40 fedora 179.6 KiB perl-Pod-Escapes noarch 1:1.07-503.fc40 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-503.fc40 fedora 163.1 KiB perl-Pod-Simple noarch 1:3.45-6.fc40 fedora 559.8 KiB perl-Pod-Usage noarch 4:2.03-503.fc40 fedora 84.7 KiB perl-Scalar-List-Utils x86_64 5:1.63-503.fc40 fedora 145.5 KiB perl-SelectSaver noarch 1.02-507.fc41 fedora 2.2 KiB perl-Socket x86_64 4:2.038-1.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-502.fc40 fedora 232.3 KiB perl-Symbol noarch 1.09-507.fc41 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-504.fc40 fedora 97.5 KiB perl-Term-Cap noarch 1.18-503.fc40 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-502.fc40 fedora 13.5 KiB perl-Text-Tabs+Wrap noarch 2024.001-1.fc41 fedora 22.5 KiB perl-Thread-Queue noarch 3.14-503.fc40 fedora 28.8 KiB perl-Time-Local noarch 2:1.350-5.fc40 fedora 68.9 KiB perl-URI noarch 5.28-1.fc41 fedora 240.2 KiB perl-base noarch 2.27-507.fc41 fedora 12.5 KiB perl-constant noarch 1.33-503.fc40 fedora 26.2 KiB perl-if noarch 0.61.000-507.fc41 fedora 5.8 KiB perl-interpreter x86_64 4:5.38.2-507.fc41 fedora 119.8 KiB perl-libnet noarch 3.15-503.fc40 fedora 289.0 KiB perl-libs x86_64 4:5.38.2-507.fc41 fedora 9.8 MiB perl-locale noarch 1.10-507.fc41 fedora 6.2 KiB perl-mro x86_64 1.28-507.fc41 fedora 41.6 KiB perl-overload noarch 1.37-507.fc41 fedora 71.5 KiB perl-overloading noarch 0.02-507.fc41 fedora 4.8 KiB perl-parent noarch 1:0.241-502.fc40 fedora 9.7 KiB perl-podlators noarch 1:5.01-502.fc40 fedora 308.1 KiB perl-threads x86_64 1:2.36-503.fc40 fedora 115.1 KiB perl-threads-shared x86_64 1.68-502.fc40 fedora 83.7 KiB perl-vars noarch 1.05-507.fc41 fedora 3.9 KiB pixman x86_64 0.43.4-1.fc41 fedora 710.1 KiB poppler x86_64 24.02.0-2.fc40 fedora 3.5 MiB poppler-data noarch 0.4.11-7.fc40 fedora 12.3 MiB poppler-glib x86_64 24.02.0-2.fc40 fedora 575.1 KiB protobuf-c x86_64 1.5.0-3.fc40 fedora 54.0 KiB python-pip-wheel noarch 24.0-2.fc41 copr_base 1.5 MiB python3-iniconfig noarch 1.1.1-20.fc41 copr_base 20.5 KiB python3-libs x86_64 3.12.3-2.fc41 fedora 40.9 MiB python3-packaging noarch 24.0-1.fc41 copr_base 424.8 KiB python3-pluggy noarch 1.5.0-1.fc41 copr_base 192.5 KiB rav1e-libs x86_64 0.7.1-1.fc40 fedora 3.0 MiB rhash x86_64 1.4.4-1.fc41 fedora 349.9 KiB rsvg-pixbuf-loader x86_64 2.57.1-5.fc41 fedora 15.5 KiB rust-std-static x86_64 1.77.2-4.fc41 fedora 137.6 MiB sendmail-milter x86_64 8.18.1-1.fc40 fedora 77.1 KiB shared-mime-info x86_64 2.3-4.fc41 fedora 5.2 MiB subunit x86_64 1.4.4-2.fc40 fedora 71.0 KiB subunit-devel x86_64 1.4.4-2.fc40 fedora 5.3 KiB svt-av1-libs x86_64 1.4.1-5.fc40 fedora 7.2 MiB systemd-pam x86_64 256~rc1-4.fc41 copr_base 1.1 MiB tpm2-tss x86_64 4.1.0-1.fc41 fedora 1.5 MiB tzdata noarch 2024a-5.fc41 fedora 1.6 MiB unbound-libs x86_64 1.19.3-6.fc41 fedora 1.4 MiB urw-base35-bookman-fonts noarch 20200910-20.fc41 fedora 1.4 MiB urw-base35-c059-fonts noarch 20200910-20.fc41 fedora 1.4 MiB urw-base35-d050000l-fonts noarch 20200910-20.fc41 fedora 84.3 KiB urw-base35-fonts noarch 20200910-20.fc41 fedora 5.3 KiB urw-base35-fonts-common noarch 20200910-20.fc41 fedora 37.4 KiB urw-base35-gothic-fonts noarch 20200910-20.fc41 fedora 1.2 MiB urw-base35-nimbus-mono-ps-fonts noarch 20200910-20.fc41 fedora 1.0 MiB urw-base35-nimbus-roman-fonts noarch 20200910-20.fc41 fedora 1.4 MiB urw-base35-nimbus-sans-fonts noarch 20200910-20.fc41 fedora 2.4 MiB urw-base35-p052-fonts noarch 20200910-20.fc41 fedora 1.5 MiB urw-base35-standard-symbols-ps-fonts noarch 20200910-20.fc41 fedora 64.9 KiB urw-base35-z003-fonts noarch 20200910-20.fc41 fedora 390.8 KiB vim-filesystem noarch 2:9.1.354-1.fc41 fedora 40.0 B xml-common noarch 0.6.3-63.fc40 fedora 78.4 KiB xz-devel x86_64 1:5.4.6-3.fc41 fedora 255.8 KiB Transaction Summary: Installing: 276 packages Total size of inbound packages is 328 MiB. Need to download 328 MiB. After this operation 1 GiB will be used (install 1 GiB, remove 0 B). [ 1/276] bc-0:1.07.1-21.fc40.x86_64 100% | 5.3 MiB/s | 120.2 KiB | 00m00s [ 2/276] groff-0:1.23.0-6.fc40.x86_64 100% | 148.7 MiB/s | 1.3 MiB | 00m00s [ 3/276] cargo-0:1.77.2-4.fc41.x86_64 100% | 137.2 MiB/s | 5.6 MiB | 00m00s [ 4/276] git-core-0:2.44.0-1.fc41.x86_ 100% | 95.8 MiB/s | 4.5 MiB | 00m00s [ 5/276] make-1:4.4.1-6.fc40.x86_64 100% | 47.8 MiB/s | 587.6 KiB | 00m00s [ 6/276] nmap-ncat-3:7.95-1.fc41.x86_6 100% | 38.8 MiB/s | 238.3 KiB | 00m00s [ 7/276] python3-pytest-0:7.4.3-3.fc40 100% | 135.5 MiB/s | 1.9 MiB | 00m00s [ 8/276] bzip2-devel-0:1.0.8-18.fc40.x 100% | 41.7 MiB/s | 213.5 KiB | 00m00s [ 9/276] check-devel-0:0.15.2-12.fc40. 100% | 5.6 MiB/s | 40.4 KiB | 00m00s [ 10/276] rust-0:1.77.2-4.fc41.x86_64 100% | 195.4 MiB/s | 24.2 MiB | 00m00s [ 11/276] cmake-0:3.28.3-4.fc41.x86_64 100% | 104.5 MiB/s | 9.6 MiB | 00m00s [ 12/276] libcurl-devel-0:8.7.1-1.fc41. 100% | 39.9 MiB/s | 858.2 KiB | 00m00s [ 13/276] gettext-devel-0:0.22.5-2.fc41 100% | 26.0 MiB/s | 239.4 KiB | 00m00s [ 14/276] gmp-devel-1:6.3.0-1.fc41.x86_ 100% | 21.3 MiB/s | 174.3 KiB | 00m00s [ 15/276] gcc-c++-0:14.0.1-0.15.fc41.x8 100% | 232.0 MiB/s | 14.2 MiB | 00m00s [ 16/276] ocaml-0:5.1.1-4.fc40.x86_64 100% | 132.1 MiB/s | 31.2 MiB | 00m00s [ 17/276] gnutls-devel-0:3.8.5-1.fc41.x 100% | 34.5 MiB/s | 2.4 MiB | 00m00s [ 18/276] json-c-devel-0:0.17-3.fc40.x8 100% | 13.3 MiB/s | 54.3 KiB | 00m00s [ 19/276] graphviz-0:10.0.1-1.fc41.x86_ 100% | 107.8 MiB/s | 5.0 MiB | 00m00s [ 20/276] libxml2-devel-0:2.12.6-1.fc41 100% | 73.2 MiB/s | 524.7 KiB | 00m00s [ 21/276] ncurses-devel-0:6.4-12.202401 100% | 183.1 MiB/s | 562.3 KiB | 00m00s [ 22/276] pcre2-devel-0:10.43-1.fc41.x8 100% | 84.6 MiB/s | 519.8 KiB | 00m00s [ 23/276] openssl-devel-1:3.2.1-6.fc41. 100% | 200.8 MiB/s | 2.8 MiB | 00m00s [ 24/276] python3-0:3.12.3-2.fc41.x86_6 100% | 5.3 MiB/s | 27.2 KiB | 00m00s [ 25/276] cargo-rpm-macros-0:26.2-1.fc4 100% | 791.3 KiB/s | 15.8 KiB | 00m00s [ 26/276] libprelude-devel-0:5.2.0-23.f 100% | 1.0 MiB/s | 82.3 KiB | 00m00s [ 27/276] systemd-0:256~rc1-4.fc41.x86_ 100% | 107.6 MiB/s | 5.2 MiB | 00m00s [ 28/276] sendmail-milter-devel-0:8.18. 100% | 1.4 MiB/s | 117.3 KiB | 00m00s [ 29/276] systemd-rpm-macros-0:256~rc1- 100% | 1.8 MiB/s | 32.5 KiB | 00m00s [ 30/276] systemd-devel-0:256~rc1-4.fc4 100% | 15.2 MiB/s | 530.1 KiB | 00m00s [ 31/276] tcl-1:8.6.14-1.fc41.x86_64 100% | 183.8 MiB/s | 1.1 MiB | 00m00s [ 32/276] libgit2-0:1.7.2-1.fc40.x86_64 100% | 132.4 MiB/s | 542.5 KiB | 00m00s [ 33/276] zlib-ng-compat-devel-0:2.1.6- 100% | 7.1 MiB/s | 36.1 KiB | 00m00s [ 34/276] libssh2-0:1.11.0-4.fc40.x86_6 100% | 42.3 MiB/s | 129.9 KiB | 00m00s [ 35/276] valgrind-1:3.23.0-1.fc41.x86_ 100% | 285.2 MiB/s | 5.4 MiB | 00m00s [ 36/276] expat-0:2.6.2-1.fc41.x86_64 100% | 10.0 MiB/s | 113.2 KiB | 00m00s [ 37/276] less-0:643-4.fc40.x86_64 100% | 21.3 MiB/s | 174.1 KiB | 00m00s [ 38/276] openssh-clients-0:9.6p1-1.fc4 100% | 145.9 MiB/s | 746.8 KiB | 00m00s [ 39/276] groff-base-0:1.23.0-6.fc40.x8 100% | 137.3 MiB/s | 1.1 MiB | 00m00s [ 40/276] libpcap-14:1.10.4-4.fc40.x86_ 100% | 16.9 MiB/s | 173.0 KiB | 00m00s [ 41/276] libzstd-devel-0:1.5.6-1.fc41. 100% | 3.2 MiB/s | 51.8 KiB | 00m00s [ 42/276] guile30-0:3.0.7-12.fc40.x86_6 100% | 189.5 MiB/s | 8.1 MiB | 00m00s [ 43/276] ocaml-runtime-0:5.1.1-4.fc40. 100% | 70.2 MiB/s | 3.2 MiB | 00m00s [ 44/276] gcc-0:14.0.1-0.15.fc41.x86_64 100% | 197.4 MiB/s | 37.1 MiB | 00m00s [ 45/276] llvm-libs-0:18.1.3-1.fc41.x86 100% | 149.8 MiB/s | 28.0 MiB | 00m00s [ 46/276] check-0:0.15.2-12.fc40.x86_64 100% | 2.2 MiB/s | 86.2 KiB | 00m00s [ 47/276] cmake-filesystem-0:3.28.3-4.f 100% | 4.4 MiB/s | 17.9 KiB | 00m00s [ 48/276] jsoncpp-0:1.9.5-7.fc40.x86_64 100% | 16.2 MiB/s | 99.3 KiB | 00m00s [ 49/276] cmake-data-0:3.28.3-4.fc41.no 100% | 113.4 MiB/s | 2.3 MiB | 00m00s [ 50/276] libuv-1:1.48.0-1.fc40.x86_64 100% | 22.4 MiB/s | 252.4 KiB | 00m00s [ 51/276] rhash-0:1.4.4-1.fc41.x86_64 100% | 47.8 MiB/s | 195.8 KiB | 00m00s [ 52/276] libmpc-0:1.3.1-5.fc40.x86_64 100% | 9.9 MiB/s | 71.1 KiB | 00m00s [ 53/276] gettext-0:0.22.5-2.fc41.x86_6 100% | 77.3 MiB/s | 1.1 MiB | 00m00s [ 54/276] gettext-libs-0:0.22.5-2.fc41. 100% | 81.2 MiB/s | 665.3 KiB | 00m00s [ 55/276] gmp-c++-1:6.3.0-1.fc41.x86_64 100% | 18.2 MiB/s | 18.6 KiB | 00m00s [ 56/276] gnutls-0:3.8.5-1.fc41.x86_64 100% | 138.0 MiB/s | 1.1 MiB | 00m00s [ 57/276] gettext-common-devel-0:0.22.5 100% | 17.6 MiB/s | 596.1 KiB | 00m00s [ 58/276] gnutls-c++-0:3.8.5-1.fc41.x86 100% | 27.0 MiB/s | 27.6 KiB | 00m00s [ 59/276] gnutls-dane-0:3.8.5-1.fc41.x8 100% | 12.6 MiB/s | 38.6 KiB | 00m00s [ 60/276] cairo-0:1.18.0-3.fc40.x86_64 100% | 98.9 MiB/s | 708.9 KiB | 00m00s [ 61/276] fontconfig-0:2.15.0-4.fc40.x8 100% | 32.9 MiB/s | 269.5 KiB | 00m00s [ 62/276] freetype-0:2.13.2-5.fc40.x86_ 100% | 57.2 MiB/s | 409.7 KiB | 00m00s [ 63/276] gd-0:2.3.3-16.fc41.x86_64 100% | 44.2 MiB/s | 135.8 KiB | 00m00s [ 64/276] gdk-pixbuf2-0:2.42.11-1.fc41. 100% | 68.5 MiB/s | 490.8 KiB | 00m00s [ 65/276] gts-0:0.7.6-48.20121130.fc40. 100% | 39.3 MiB/s | 241.8 KiB | 00m00s [ 66/276] glib2-0:2.80.0-1.fc41.x86_64 100% | 143.8 MiB/s | 3.0 MiB | 00m00s [ 67/276] harfbuzz-0:8.4.0-1.fc41.x86_6 100% | 100.8 MiB/s | 1.0 MiB | 00m00s [ 68/276] rust-std-static-0:1.77.2-4.fc 100% | 113.2 MiB/s | 33.9 MiB | 00m00s [ 69/276] lasi-0:1.1.3-13.fc40.x86_64 100% | 1.5 MiB/s | 55.4 KiB | 00m00s [ 70/276] libX11-0:1.8.9-1.fc41.x86_64 100% | 18.6 MiB/s | 647.8 KiB | 00m00s [ 71/276] libXrender-0:0.9.11-6.fc40.x8 100% | 26.7 MiB/s | 27.4 KiB | 00m00s [ 72/276] libwebp-0:1.4.0-1.fc41.x86_64 100% | 71.0 MiB/s | 290.9 KiB | 00m00s [ 73/276] librsvg2-0:2.57.1-5.fc41.x86_ 100% | 151.8 MiB/s | 1.5 MiB | 00m00s [ 74/276] pango-0:1.52.2-1.fc41.x86_64 100% | 56.5 MiB/s | 347.0 KiB | 00m00s [ 75/276] libgs-0:10.03.0-1.fc41.x86_64 100% | 213.2 MiB/s | 3.4 MiB | 00m00s [ 76/276] poppler-glib-0:24.02.0-2.fc40 100% | 37.1 MiB/s | 190.0 KiB | 00m00s [ 77/276] urw-base35-fonts-0:20200910-2 100% | 2.5 MiB/s | 10.2 KiB | 00m00s [ 78/276] json-c-0:0.17-3.fc40.x86_64 100% | 14.3 MiB/s | 44.0 KiB | 00m00s [ 79/276] xz-devel-1:5.4.6-3.fc41.x86_6 100% | 21.9 MiB/s | 67.2 KiB | 00m00s [ 80/276] ncurses-c++-libs-0:6.4-12.202 100% | 37.0 MiB/s | 37.9 KiB | 00m00s [ 81/276] pcre2-utf16-0:10.43-1.fc41.x8 100% | 108.3 MiB/s | 221.9 KiB | 00m00s [ 82/276] pcre2-utf32-0:10.43-1.fc41.x8 100% | 102.2 MiB/s | 209.3 KiB | 00m00s [ 83/276] python3-libs-0:3.12.3-2.fc41. 100% | 314.3 MiB/s | 9.1 MiB | 00m00s [ 84/276] dbus-1:1.14.10-3.fc40.x86_64 100% | 7.8 MiB/s | 8.0 KiB | 00m00s [ 85/276] libseccomp-0:2.5.3-8.fc40.x86 100% | 68.6 MiB/s | 70.3 KiB | 00m00s [ 86/276] sendmail-milter-0:8.18.1-1.fc 100% | 1.2 MiB/s | 39.2 KiB | 00m00s [ 87/276] perl-File-Basename-0:2.86-507 100% | 16.9 MiB/s | 17.3 KiB | 00m00s [ 88/276] perl-interpreter-4:5.38.2-507 100% | 70.3 MiB/s | 72.0 KiB | 00m00s [ 89/276] http-parser-0:2.9.4-11.fc40.x 100% | 17.5 MiB/s | 35.9 KiB | 00m00s [ 90/276] libedit-0:3.1-50.20230828cvs. 100% | 34.2 MiB/s | 105.0 KiB | 00m00s [ 91/276] libfido2-0:1.14.0-4.fc40.x86_ 100% | 47.7 MiB/s | 97.6 KiB | 00m00s [ 92/276] systemd-pam-0:256~rc1-4.fc41. 100% | 29.6 MiB/s | 394.7 KiB | 00m00s [ 93/276] openssh-0:9.6p1-1.fc41.9.x86_ 100% | 138.7 MiB/s | 426.1 KiB | 00m00s [ 94/276] gc-0:8.2.2-6.fc40.x86_64 100% | 35.9 MiB/s | 110.2 KiB | 00m00s [ 95/276] libibverbs-0:51.0-2.fc41.x86_ 100% | 60.6 MiB/s | 434.4 KiB | 00m00s [ 96/276] glibc-devel-0:2.39.9000-16.fc 100% | 17.5 MiB/s | 125.3 KiB | 00m00s [ 97/276] subunit-0:1.4.4-2.fc40.x86_64 100% | 2.5 MiB/s | 32.7 KiB | 00m00s [ 98/276] emacs-filesystem-1:30.0-2.fc4 100% | 886.7 KiB/s | 7.1 KiB | 00m00s [ 99/276] cpp-0:14.0.1-0.15.fc41.x86_64 100% | 225.4 MiB/s | 11.9 MiB | 00m00s [100/276] vim-filesystem-2:9.1.354-1.fc 100% | 917.9 KiB/s | 17.4 KiB | 00m00s [101/276] gettext-runtime-0:0.22.5-2.fc 100% | 59.8 MiB/s | 122.6 KiB | 00m00s [102/276] libtextstyle-0:0.22.5-2.fc41. 100% | 28.9 MiB/s | 88.7 KiB | 00m00s [103/276] nettle-0:3.9.1-6.fc40.x86_64 100% | 138.3 MiB/s | 424.9 KiB | 00m00s [104/276] unbound-libs-0:1.19.3-6.fc41. 100% | 129.5 MiB/s | 530.3 KiB | 00m00s [105/276] libXext-0:1.3.6-1.fc40.x86_64 100% | 12.7 MiB/s | 38.9 KiB | 00m00s [106/276] libpng-2:1.6.40-3.fc40.x86_64 100% | 58.6 MiB/s | 119.9 KiB | 00m00s [107/276] libprelude-0:5.2.0-23.fc40.x8 100% | 2.6 MiB/s | 329.2 KiB | 00m00s [108/276] libxcb-0:1.17.0-1.fc41.x86_64 100% | 77.8 MiB/s | 239.1 KiB | 00m00s [109/276] pixman-0:0.43.4-1.fc41.x86_64 100% | 143.2 MiB/s | 293.3 KiB | 00m00s [110/276] fonts-filesystem-1:2.0.5-14.f 100% | 4.0 MiB/s | 8.2 KiB | 00m00s [111/276] default-fonts-core-sans-0:4.0 100% | 15.4 MiB/s | 31.5 KiB | 00m00s [112/276] libXpm-0:3.5.17-3.fc40.x86_64 100% | 64.2 MiB/s | 65.7 KiB | 00m00s [113/276] xml-common-0:0.6.3-63.fc40.no 100% | 15.1 MiB/s | 31.0 KiB | 00m00s [114/276] libavif-0:1.0.4-2.fc41.x86_64 100% | 44.4 MiB/s | 90.8 KiB | 00m00s [115/276] libimagequant-0:4.0.3-3.fc40. 100% | 99.5 MiB/s | 305.6 KiB | 00m00s [116/276] libtiff-0:4.6.0-2.fc40.x86_64 100% | 108.2 MiB/s | 332.4 KiB | 00m00s [117/276] libjpeg-turbo-0:3.0.2-2.fc41. 100% | 55.3 MiB/s | 226.4 KiB | 00m00s [118/276] shared-mime-info-0:2.3-4.fc41 100% | 127.2 MiB/s | 390.7 KiB | 00m00s [119/276] netpbm-0:11.02.00-6.fc40.x86_ 100% | 60.2 MiB/s | 184.9 KiB | 00m00s [120/276] graphite2-0:1.3.14-15.fc40.x8 100% | 30.9 MiB/s | 94.8 KiB | 00m00s [121/276] libX11-common-0:1.8.9-1.fc41. 100% | 43.0 MiB/s | 176.1 KiB | 00m00s [122/276] adobe-mappings-cmap-deprecate 100% | 27.8 MiB/s | 114.0 KiB | 00m00s [123/276] adobe-mappings-pdf-0:20190401 100% | 113.3 MiB/s | 695.9 KiB | 00m00s [124/276] cups-libs-1:2.4.7-13.fc41.x86 100% | 50.5 MiB/s | 258.5 KiB | 00m00s [125/276] adobe-mappings-cmap-0:2023062 100% | 142.0 MiB/s | 2.1 MiB | 00m00s [126/276] jbig2dec-libs-0:0.20-4.fc40.x 100% | 18.0 MiB/s | 73.8 KiB | 00m00s [127/276] libXt-0:1.3.0-3.fc40.x86_64 100% | 86.7 MiB/s | 177.5 KiB | 00m00s [128/276] libijs-0:0.35-22.fc40.x86_64 100% | 28.6 MiB/s | 29.3 KiB | 00m00s [129/276] lcms2-0:2.16-3.fc40.x86_64 100% | 35.2 MiB/s | 180.2 KiB | 00m00s [130/276] libpaper-1:2.1.1-5.fc41.x86_6 100% | 13.2 MiB/s | 27.0 KiB | 00m00s [131/276] cairo-gobject-0:1.18.0-3.fc40 100% | 8.5 MiB/s | 17.5 KiB | 00m00s [132/276] openjpeg2-0:2.5.2-1.fc41.x86_ 100% | 60.6 MiB/s | 186.2 KiB | 00m00s [133/276] fribidi-0:1.0.13-4.fc40.x86_6 100% | 29.7 MiB/s | 91.2 KiB | 00m00s [134/276] libXft-0:2.3.8-6.fc40.x86_64 100% | 35.2 MiB/s | 72.1 KiB | 00m00s [135/276] libthai-0:0.1.29-8.fc40.x86_6 100% | 69.6 MiB/s | 213.8 KiB | 00m00s [136/276] poppler-0:24.02.0-2.fc40.x86_ 100% | 170.3 MiB/s | 1.2 MiB | 00m00s [137/276] urw-base35-bookman-fonts-0:20 100% | 137.9 MiB/s | 847.0 KiB | 00m00s [138/276] urw-base35-d050000l-fonts-0:2 100% | 24.7 MiB/s | 75.9 KiB | 00m00s [139/276] urw-base35-c059-fonts-0:20200 100% | 122.0 MiB/s | 874.2 KiB | 00m00s [140/276] urw-base35-fonts-common-0:202 100% | 6.8 MiB/s | 20.9 KiB | 00m00s [141/276] urw-base35-gothic-fonts-0:202 100% | 156.9 MiB/s | 642.6 KiB | 00m00s [142/276] urw-base35-nimbus-mono-ps-fon 100% | 129.4 MiB/s | 794.8 KiB | 00m00s [143/276] urw-base35-nimbus-roman-fonts 100% | 119.4 MiB/s | 856.2 KiB | 00m00s [144/276] urw-base35-nimbus-sans-fonts- 100% | 118.7 MiB/s | 1.3 MiB | 00m00s [145/276] urw-base35-standard-symbols-p 100% | 19.0 MiB/s | 58.4 KiB | 00m00s [146/276] urw-base35-z003-fonts-0:20200 100% | 134.6 MiB/s | 275.6 KiB | 00m00s [147/276] libb2-0:0.98.1-11.fc40.x86_64 100% | 8.3 MiB/s | 25.5 KiB | 00m00s [148/276] mpdecimal-0:2.5.1-9.fc40.x86_ 100% | 28.8 MiB/s | 88.6 KiB | 00m00s [149/276] tzdata-0:2024a-5.fc41.noarch 100% | 87.4 MiB/s | 716.0 KiB | 00m00s [150/276] dbus-broker-0:36-2.fc41.x86_6 100% | 55.6 MiB/s | 170.7 KiB | 00m00s [151/276] perl-Carp-0:1.54-502.fc40.noa 100% | 14.0 MiB/s | 28.7 KiB | 00m00s [152/276] urw-base35-p052-fonts-0:20200 100% | 25.7 MiB/s | 973.4 KiB | 00m00s [153/276] perl-Exporter-0:5.78-3.fc40.n 100% | 15.0 MiB/s | 30.8 KiB | 00m00s [154/276] google-droid-sans-fonts-0:202 100% | 30.1 MiB/s | 2.7 MiB | 00m00s [155/276] libcbor-0:0.11.0-1.fc40.x86_6 100% | 8.1 MiB/s | 33.3 KiB | 00m00s [156/276] perl-libs-4:5.38.2-507.fc41.x 100% | 194.5 MiB/s | 2.3 MiB | 00m00s [157/276] glibc-headers-x86-0:2.39.9000 100% | 75.3 MiB/s | 616.5 KiB | 00m00s [158/276] libxcrypt-devel-0:4.4.36-5.fc 100% | 28.0 MiB/s | 28.6 KiB | 00m00s [159/276] gettext-envsubst-0:0.22.5-2.f 100% | 18.6 MiB/s | 38.0 KiB | 00m00s [160/276] libnl3-0:3.9.0-3.fc40.x86_64 100% | 28.2 MiB/s | 346.1 KiB | 00m00s [161/276] protobuf-c-0:1.5.0-3.fc40.x86 100% | 10.5 MiB/s | 32.3 KiB | 00m00s [162/276] libXau-0:1.0.11-6.fc40.x86_64 100% | 15.5 MiB/s | 31.7 KiB | 00m00s [163/276] abattis-cantarell-vf-fonts-0: 100% | 58.8 MiB/s | 120.3 KiB | 00m00s [164/276] google-noto-sans-vf-fonts-0:2 100% | 144.9 MiB/s | 593.5 KiB | 00m00s [165/276] libdav1d-0:1.4.0-1.fc41.x86_6 100% | 121.1 MiB/s | 619.9 KiB | 00m00s [166/276] svt-av1-libs-0:1.4.1-5.fc40.x 100% | 226.1 MiB/s | 2.0 MiB | 00m00s [167/276] jbigkit-libs-0:2.1-29.fc40.x8 100% | 25.9 MiB/s | 53.1 KiB | 00m00s [168/276] liblerc-0:4.0.0-6.fc40.x86_64 100% | 51.3 MiB/s | 210.1 KiB | 00m00s [169/276] avahi-libs-0:0.8-26.fc40.x86_ 100% | 32.5 MiB/s | 66.5 KiB | 00m00s [170/276] libICE-0:1.1.1-3.fc40.x86_64 100% | 36.4 MiB/s | 74.5 KiB | 00m00s [171/276] rav1e-libs-0:0.7.1-1.fc40.x86 100% | 39.6 MiB/s | 1.0 MiB | 00m00s [172/276] libSM-0:1.2.4-3.fc40.x86_64 100% | 10.5 MiB/s | 43.0 KiB | 00m00s [173/276] libaom-0:3.8.2-2.fc41.x86_64 100% | 52.4 MiB/s | 1.8 MiB | 00m00s [174/276] libdatrie-0:0.2.13-9.fc40.x86 100% | 7.8 MiB/s | 32.0 KiB | 00m00s [175/276] nspr-0:4.35.0-22.fc41.x86_64 100% | 67.1 MiB/s | 137.4 KiB | 00m00s [176/276] gpgmepp-0:1.23.2-3.fc40.x86_6 100% | 27.1 MiB/s | 138.6 KiB | 00m00s [177/276] nss-0:3.99.0-1.fc41.x86_64 100% | 171.8 MiB/s | 703.8 KiB | 00m00s [178/276] dbus-common-1:1.14.10-3.fc40. 100% | 14.4 MiB/s | 14.8 KiB | 00m00s [179/276] perl-DynaLoader-0:1.54-507.fc 100% | 25.6 MiB/s | 26.2 KiB | 00m00s [180/276] perl-PathTools-0:3.89-502.fc4 100% | 42.7 MiB/s | 87.4 KiB | 00m00s [181/276] google-noto-fonts-common-0:20 100% | 8.5 MiB/s | 17.5 KiB | 00m00s [182/276] poppler-data-0:0.4.11-7.fc40. 100% | 201.9 MiB/s | 2.0 MiB | 00m00s [183/276] libvmaf-0:2.3.0-7.fc40.x86_64 100% | 35.2 MiB/s | 180.1 KiB | 00m00s [184/276] dbus-libs-1:1.14.10-3.fc40.x8 100% | 30.5 MiB/s | 156.3 KiB | 00m00s [185/276] gpgme-0:1.23.2-3.fc40.x86_64 100% | 103.0 MiB/s | 210.9 KiB | 00m00s [186/276] libassuan-0:2.5.7-1.fc41.x86_ 100% | 32.6 MiB/s | 66.8 KiB | 00m00s [187/276] nss-sysinit-0:3.99.0-1.fc41.x 100% | 18.2 MiB/s | 18.7 KiB | 00m00s [188/276] nss-softokn-0:3.99.0-1.fc41.x 100% | 100.0 MiB/s | 409.5 KiB | 00m00s [189/276] perl-vars-0:1.05-507.fc41.noa 100% | 6.4 MiB/s | 13.1 KiB | 00m00s [190/276] nss-util-0:3.99.0-1.fc41.x86_ 100% | 28.7 MiB/s | 88.2 KiB | 00m00s [191/276] perl-Errno-0:1.37-507.fc41.x8 100% | 14.7 MiB/s | 15.1 KiB | 00m00s [192/276] perl-Scalar-List-Utils-5:1.63 100% | 35.6 MiB/s | 72.9 KiB | 00m00s [193/276] perl-constant-0:1.33-503.fc40 100% | 11.1 MiB/s | 22.8 KiB | 00m00s [194/276] libgpg-error-0:1.49-1.fc41.x8 100% | 28.4 MiB/s | 232.4 KiB | 00m00s [195/276] gnupg2-0:2.4.5-1.fc41.x86_64 100% | 191.2 MiB/s | 2.7 MiB | 00m00s [196/276] nss-softokn-freebl-0:3.99.0-1 100% | 31.4 MiB/s | 385.9 KiB | 00m00s [197/276] libgcrypt-0:1.10.3-4.fc41.x86 100% | 82.0 MiB/s | 504.1 KiB | 00m00s [198/276] libksba-0:1.6.6-1.fc41.x86_64 100% | 51.6 MiB/s | 158.7 KiB | 00m00s [199/276] npth-0:1.7-1.fc41.x86_64 100% | 12.2 MiB/s | 24.9 KiB | 00m00s [200/276] tpm2-tss-0:4.1.0-1.fc41.x86_6 100% | 134.0 MiB/s | 411.7 KiB | 00m00s [201/276] gcc-plugin-annobin-0:14.0.1-0 100% | 23.3 MiB/s | 47.8 KiB | 00m00s [202/276] annobin-docs-0:12.52-1.fc41.n 100% | 43.9 MiB/s | 90.0 KiB | 00m00s [203/276] cmake-rpm-macros-0:3.28.3-4.f 100% | 8.5 MiB/s | 17.3 KiB | 00m00s [204/276] annobin-plugin-gcc-0:12.52-1. 100% | 117.4 MiB/s | 961.9 KiB | 00m00s [205/276] python3-iniconfig-0:1.1.1-20. 100% | 4.5 MiB/s | 18.5 KiB | 00m00s [206/276] python3-packaging-0:24.0-1.fc 100% | 16.3 MiB/s | 116.9 KiB | 00m00s [207/276] python3-pluggy-0:1.5.0-1.fc41 100% | 8.6 MiB/s | 52.8 KiB | 00m00s [208/276] cargo2rpm-0:0.1.15-3.fc41.noa 100% | 10.5 MiB/s | 161.0 KiB | 00m00s [209/276] perl-Encode-4:3.21-505.fc41.x 100% | 176.1 MiB/s | 1.1 MiB | 00m00s [210/276] perl-Getopt-Long-1:2.57-3.fc4 100% | 12.4 MiB/s | 63.2 KiB | 00m00s [211/276] python-pip-wheel-0:24.0-2.fc4 100% | 134.2 MiB/s | 1.5 MiB | 00m00s [212/276] perl-Getopt-Std-0:1.13-507.fc 100% | 7.7 MiB/s | 15.8 KiB | 00m00s [213/276] perl-MIME-Base64-0:3.16-503.f 100% | 14.5 MiB/s | 29.7 KiB | 00m00s [214/276] perl-overload-0:1.37-507.fc41 100% | 22.3 MiB/s | 45.7 KiB | 00m00s [215/276] perl-Storable-1:3.32-502.fc40 100% | 47.9 MiB/s | 98.2 KiB | 00m00s [216/276] perl-parent-1:0.241-502.fc40. 100% | 7.2 MiB/s | 14.7 KiB | 00m00s [217/276] perl-Text-ParseWords-0:3.31-5 100% | 5.3 MiB/s | 16.3 KiB | 00m00s [218/276] perl-base-0:2.27-507.fc41.noa 100% | 5.3 MiB/s | 16.3 KiB | 00m00s [219/276] perl-Fcntl-0:1.15-507.fc41.x8 100% | 6.6 MiB/s | 20.3 KiB | 00m00s [220/276] perl-mro-0:1.28-507.fc41.x86_ 100% | 14.1 MiB/s | 28.9 KiB | 00m00s [221/276] perl-IO-0:1.52-507.fc41.x86_6 100% | 40.2 MiB/s | 82.4 KiB | 00m00s [222/276] perl-overloading-0:0.02-507.f 100% | 6.4 MiB/s | 13.0 KiB | 00m00s [223/276] perl-SelectSaver-0:1.02-507.f 100% | 11.6 MiB/s | 11.8 KiB | 00m00s [224/276] perl-File-stat-0:1.13-507.fc4 100% | 8.4 MiB/s | 17.3 KiB | 00m00s [225/276] perl-Socket-4:2.038-1.fc41.x8 100% | 26.8 MiB/s | 54.8 KiB | 00m00s [226/276] perl-Symbol-0:1.09-507.fc41.n 100% | 7.0 MiB/s | 14.3 KiB | 00m00s [227/276] perl-Class-Struct-0:0.68-507. 100% | 10.8 MiB/s | 22.2 KiB | 00m00s [228/276] rsvg-pixbuf-loader-0:2.57.1-5 100% | 15.7 MiB/s | 16.0 KiB | 00m00s [229/276] libtool-ltdl-devel-0:2.4.7-10 100% | 53.4 MiB/s | 164.0 KiB | 00m00s [230/276] automake-0:1.16.5-16.fc40.noa 100% | 170.2 MiB/s | 697.2 KiB | 00m00s [231/276] perl-File-Path-0:2.18-503.fc4 100% | 34.2 MiB/s | 35.0 KiB | 00m00s [232/276] crypto-policies-scripts-0:202 100% | 9.7 MiB/s | 109.0 KiB | 00m00s [233/276] autoconf-0:2.72-2.fc41.noarch 100% | 162.1 MiB/s | 830.1 KiB | 00m00s [234/276] perl-Thread-Queue-0:3.14-503. 100% | 10.3 MiB/s | 21.2 KiB | 00m00s [235/276] perl-threads-1:2.36-503.fc40. 100% | 28.3 MiB/s | 57.9 KiB | 00m00s [236/276] perl-Data-Dumper-0:2.188-503. 100% | 54.7 MiB/s | 56.0 KiB | 00m00s [237/276] m4-0:1.4.19-9.fc40.x86_64 100% | 99.4 MiB/s | 305.5 KiB | 00m00s [238/276] perl-File-Compare-0:1.100.700 100% | 6.5 MiB/s | 13.3 KiB | 00m00s [239/276] perl-File-Copy-0:2.41-507.fc4 100% | 9.9 MiB/s | 20.2 KiB | 00m00s [240/276] perl-File-Find-0:1.43-507.fc4 100% | 24.8 MiB/s | 25.4 KiB | 00m00s [241/276] perl-File-Temp-1:0.231.100-50 100% | 57.6 MiB/s | 59.0 KiB | 00m00s [242/276] perl-threads-shared-0:1.68-50 100% | 43.9 MiB/s | 45.0 KiB | 00m00s [243/276] perl-POSIX-0:2.13-507.fc41.x8 100% | 47.1 MiB/s | 96.5 KiB | 00m00s [244/276] perl-B-0:1.88-507.fc41.x86_64 100% | 86.0 MiB/s | 176.1 KiB | 00m00s [245/276] perl-if-0:0.61.000-507.fc41.n 100% | 13.8 MiB/s | 14.1 KiB | 00m00s [246/276] perl-locale-0:1.10-507.fc41.n 100% | 6.7 MiB/s | 13.8 KiB | 00m00s [247/276] libidn2-devel-0:2.3.7-1.fc40. 100% | 34.8 MiB/s | 71.2 KiB | 00m00s [248/276] libtasn1-tools-0:4.19.0-6.fc4 100% | 26.2 MiB/s | 26.9 KiB | 00m00s [249/276] libtasn1-devel-0:4.19.0-6.fc4 100% | 41.2 MiB/s | 84.3 KiB | 00m00s [250/276] p11-kit-devel-0:0.25.3-4.fc40 100% | 28.4 MiB/s | 87.3 KiB | 00m00s [251/276] nettle-devel-0:3.9.1-6.fc40.x 100% | 115.6 MiB/s | 710.5 KiB | 00m00s [252/276] subunit-devel-0:1.4.4-2.fc40. 100% | 5.4 MiB/s | 11.1 KiB | 00m00s [253/276] perl-Pod-Usage-4:2.03-503.fc4 100% | 19.4 MiB/s | 39.7 KiB | 00m00s [254/276] libstdc++-devel-0:14.0.1-0.15 100% | 249.1 MiB/s | 2.7 MiB | 00m00s [255/276] perl-Pod-Perldoc-0:3.28.01-50 100% | 16.7 MiB/s | 85.6 KiB | 00m00s [256/276] perl-podlators-1:5.01-502.fc4 100% | 61.3 MiB/s | 125.5 KiB | 00m00s [257/276] perl-HTTP-Tiny-0:0.088-5.fc40 100% | 27.1 MiB/s | 55.6 KiB | 00m00s [258/276] perl-IPC-Open3-0:1.22-507.fc4 100% | 21.5 MiB/s | 22.0 KiB | 00m00s [259/276] perl-Pod-Simple-1:3.45-6.fc40 100% | 106.7 MiB/s | 218.5 KiB | 00m00s [260/276] perl-Term-ANSIColor-0:5.01-50 100% | 23.2 MiB/s | 47.6 KiB | 00m00s [261/276] perl-Term-Cap-0:1.18-503.fc40 100% | 21.4 MiB/s | 21.9 KiB | 00m00s [262/276] perl-IO-Socket-SSL-0:2.085-1. 100% | 111.6 MiB/s | 228.6 KiB | 00m00s [263/276] perl-Mozilla-CA-0:20240313-1. 100% | 13.7 MiB/s | 14.0 KiB | 00m00s [264/276] perl-Time-Local-2:1.350-5.fc4 100% | 33.5 MiB/s | 34.3 KiB | 00m00s [265/276] perl-Net-SSLeay-0:1.94-3.fc40 100% | 125.3 MiB/s | 385.0 KiB | 00m00s [266/276] perl-Pod-Escapes-1:1.07-503.f 100% | 19.2 MiB/s | 19.6 KiB | 00m00s [267/276] perl-Text-Tabs+Wrap-0:2024.00 100% | 21.1 MiB/s | 21.6 KiB | 00m00s [268/276] ncurses-0:6.4-12.20240127.fc4 100% | 137.1 MiB/s | 421.2 KiB | 00m00s [269/276] perl-IO-Socket-IP-0:0.42-2.fc 100% | 20.4 MiB/s | 41.7 KiB | 00m00s [270/276] perl-AutoLoader-0:5.74-507.fc 100% | 20.9 MiB/s | 21.4 KiB | 00m00s [271/276] perl-URI-0:5.28-1.fc41.noarch 100% | 129.6 MiB/s | 132.7 KiB | 00m00s [272/276] perl-libnet-0:3.15-503.fc40.n 100% | 62.7 MiB/s | 128.5 KiB | 00m00s [273/276] perl-Digest-MD5-0:2.59-3.fc40 100% | 34.9 MiB/s | 35.8 KiB | 00m00s [274/276] perl-FileHandle-0:2.05-507.fc 100% | 7.6 MiB/s | 15.6 KiB | 00m00s [275/276] kernel-headers-0:6.9.0-0.rc5. 100% | 40.9 MiB/s | 1.6 MiB | 00m00s [276/276] perl-Digest-0:1.20-502.fc40.n 100% | 6.0 MiB/s | 24.6 KiB | 00m00s -------------------------------------------------------------------------------- [276/276] Total 100% | 210.0 MiB/s | 328.5 MiB | 00m02s Running transaction [ 1/278] Verify package files 100% | 208.0 B/s | 276.0 B | 00m01s >>> Running pre-transaction scriptlet: crypto-policies-scripts-0:20240320-1.git5 >>> Stop pre-transaction scriptlet: crypto-policies-scripts-0:20240320-1.git58e3 [ 2/278] Prepare transaction 100% | 1.7 KiB/s | 276.0 B | 00m00s [ 3/278] Installing libpng-2:1.6.40-3. 100% | 118.7 MiB/s | 243.1 KiB | 00m00s [ 4/278] Installing nspr-0:4.35.0-22.f 100% | 153.6 MiB/s | 314.5 KiB | 00m00s [ 5/278] Installing libgpg-error-0:1.4 100% | 215.1 MiB/s | 881.1 KiB | 00m00s [ 6/278] Installing libjpeg-turbo-0:3. 100% | 378.2 MiB/s | 774.6 KiB | 00m00s [ 7/278] Installing fonts-filesystem-1 100% | 0.0 B/s | 788.0 B | 00m00s [ 8/278] Installing urw-base35-fonts-c 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 9/278] Installing cmake-filesystem-0 100% | 7.0 MiB/s | 7.1 KiB | 00m00s [ 10/278] Installing expat-0:2.6.2-1.fc 100% | 276.3 MiB/s | 282.9 KiB | 00m00s [ 11/278] Installing nss-util-0:3.99.0- 100% | 221.8 MiB/s | 227.1 KiB | 00m00s [ 12/278] Installing nettle-0:3.9.1-6.f 100% | 258.2 MiB/s | 793.3 KiB | 00m00s [ 13/278] Installing gnutls-0:3.8.5-1.f 100% | 290.8 MiB/s | 3.2 MiB | 00m00s [ 14/278] Installing glib2-0:2.80.0-1.f 100% | 344.6 MiB/s | 14.5 MiB | 00m00s [ 15/278] Installing libwebp-0:1.4.0-1. 100% | 262.6 MiB/s | 806.8 KiB | 00m00s [ 16/278] Installing libassuan-0:2.5.7- 100% | 161.7 MiB/s | 165.6 KiB | 00m00s [ 17/278] Installing libmpc-0:1.3.1-5.f 100% | 162.3 MiB/s | 166.2 KiB | 00m00s [ 18/278] Installing libICE-0:1.1.1-3.f 100% | 178.3 MiB/s | 182.6 KiB | 00m00s [ 19/278] Installing openjpeg2-0:2.5.2- 100% | 216.6 MiB/s | 443.6 KiB | 00m00s [ 20/278] Installing lcms2-0:2.16-3.fc4 100% | 206.3 MiB/s | 422.5 KiB | 00m00s [ 21/278] Installing adobe-mappings-cma 100% | 360.4 MiB/s | 14.4 MiB | 00m00s [ 22/278] Installing libtextstyle-0:0.2 100% | 191.8 MiB/s | 196.4 KiB | 00m00s [ 23/278] Installing gettext-libs-0:0.2 100% | 278.1 MiB/s | 1.7 MiB | 00m00s [ 24/278] Installing emacs-filesystem-1 100% | 0.0 B/s | 544.0 B | 00m00s [ 25/278] Installing subunit-0:1.4.4-2. 100% | 71.2 MiB/s | 72.9 KiB | 00m00s [ 26/278] Installing libedit-0:3.1-50.2 100% | 239.8 MiB/s | 245.5 KiB | 00m00s [ 27/278] Installing json-c-0:0.17-3.fc 100% | 10.2 MiB/s | 83.6 KiB | 00m00s >>> Running pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 [ 28/278] Installing groff-base-0:1.23. 100% | 175.4 MiB/s | 3.9 MiB | 00m00s >>> Running post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 [ 29/278] Installing libssh2-0:1.11.0-4 100% | 15.8 MiB/s | 291.3 KiB | 00m00s >>> Running pre-install scriptlet: tpm2-tss-0:4.1.0-1.fc41.x86_64 >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.0-1.fc41.x86_64 [ 30/278] Installing tpm2-tss-0:4.1.0-1 100% | 221.9 MiB/s | 1.6 MiB | 00m00s [ 31/278] Installing llvm-libs-0:18.1.3 100% | 364.8 MiB/s | 113.5 MiB | 00m00s [ 32/278] Installing check-0:0.15.2-12. 100% | 144.2 MiB/s | 147.7 KiB | 00m00s [ 33/278] Installing subunit-devel-0:1. 100% | 0.0 B/s | 6.3 KiB | 00m00s [ 34/278] Installing adobe-mappings-cma 100% | 285.7 MiB/s | 585.2 KiB | 00m00s [ 35/278] Installing libSM-0:1.2.4-3.fc 100% | 96.3 MiB/s | 98.6 KiB | 00m00s [ 36/278] Installing cpp-0:14.0.1-0.15. 100% | 336.1 MiB/s | 35.0 MiB | 00m00s [ 37/278] Installing shared-mime-info-0 100% | 170.4 MiB/s | 2.6 MiB | 00m00s >>> Running post-install scriptlet: shared-mime-info-0:2.3-4.fc41.x86_64 >>> Stop post-install scriptlet: shared-mime-info-0:2.3-4.fc41.x86_64 [ 38/278] Installing gdk-pixbuf2-0:2.42 100% | 210.6 MiB/s | 2.5 MiB | 00m00s [ 39/278] Installing gnutls-c++-0:3.8.5 100% | 71.6 MiB/s | 73.3 KiB | 00m00s [ 40/278] Installing libprelude-0:5.2.0 100% | 413.1 MiB/s | 2.1 MiB | 00m00s [ 41/278] Installing nss-softokn-freebl 100% | 292.5 MiB/s | 898.7 KiB | 00m00s [ 42/278] Installing nss-softokn-0:3.99 100% | 372.1 MiB/s | 1.9 MiB | 00m00s [ 43/278] Installing urw-base35-bookman 100% | 105.0 MiB/s | 1.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-bookman-fonts-0:20200910-20.fc41. >>> Stop post-install scriptlet: urw-base35-bookman-fonts-0:20200910-20.fc41.noa [ 44/278] Installing urw-base35-c059-fo 100% | 155.0 MiB/s | 1.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-c059-fonts-0:20200910-20.fc41.noa >>> Stop post-install scriptlet: urw-base35-c059-fonts-0:20200910-20.fc41.noarch [ 45/278] Installing urw-base35-d050000 100% | 16.7 MiB/s | 85.4 KiB | 00m00s >>> Running post-install scriptlet: urw-base35-d050000l-fonts-0:20200910-20.fc41 >>> Stop post-install scriptlet: urw-base35-d050000l-fonts-0:20200910-20.fc41.no [ 46/278] Installing urw-base35-gothic- 100% | 145.4 MiB/s | 1.2 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc41.n >>> Stop post-install scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc41.noar [ 47/278] Installing urw-base35-nimbus- 100% | 131.5 MiB/s | 1.1 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-nimbus-mono-ps-fonts-0:20200910-2 >>> Stop post-install scriptlet: urw-base35-nimbus-mono-ps-fonts-0:20200910-20.f [ 48/278] Installing urw-base35-nimbus- 100% | 151.8 MiB/s | 1.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-nimbus-roman-fonts-0:20200910-20. >>> Stop post-install scriptlet: urw-base35-nimbus-roman-fonts-0:20200910-20.fc4 [ 49/278] Installing urw-base35-nimbus- 100% | 199.5 MiB/s | 2.4 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-nimbus-sans-fonts-0:20200910-20.f >>> Stop post-install scriptlet: urw-base35-nimbus-sans-fonts-0:20200910-20.fc41 [ 50/278] Installing urw-base35-p052-fo 100% | 165.3 MiB/s | 1.5 MiB | 00m00s >>> Running post-install scriptlet: urw-base35-p052-fonts-0:20200910-20.fc41.noa >>> Stop post-install scriptlet: urw-base35-p052-fonts-0:20200910-20.fc41.noarch [ 51/278] Installing urw-base35-standar 100% | 12.9 MiB/s | 66.0 KiB | 00m00s >>> Running post-install scriptlet: urw-base35-standard-symbols-ps-fonts-0:20200 >>> Stop post-install scriptlet: urw-base35-standard-symbols-ps-fonts-0:20200910 [ 52/278] Installing urw-base35-z003-fo 100% | 63.8 MiB/s | 391.8 KiB | 00m00s >>> Running post-install scriptlet: urw-base35-z003-fonts-0:20200910-20.fc41.noa >>> Stop post-install scriptlet: urw-base35-z003-fonts-0:20200910-20.fc41.noarch [ 53/278] Installing urw-base35-fonts-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [ 54/278] Installing abattis-cantarell- 100% | 189.9 MiB/s | 194.4 KiB | 00m00s [ 55/278] Installing libgcrypt-0:1.10.3 100% | 259.2 MiB/s | 1.3 MiB | 00m00s [ 56/278] Installing libksba-0:1.6.6-1. 100% | 193.1 MiB/s | 395.4 KiB | 00m00s [ 57/278] Installing ncurses-0:6.4-12.2 100% | 204.3 MiB/s | 627.6 KiB | 00m00s [ 58/278] Installing perl-Digest-0:1.20 100% | 36.1 MiB/s | 37.0 KiB | 00m00s [ 59/278] Installing perl-B-0:1.88-507. 100% | 242.1 MiB/s | 495.7 KiB | 00m00s [ 60/278] Installing perl-FileHandle-0: 100% | 0.0 B/s | 9.8 KiB | 00m00s [ 61/278] Installing perl-Digest-MD5-0: 100% | 60.2 MiB/s | 61.6 KiB | 00m00s [ 62/278] Installing perl-Data-Dumper-0 100% | 110.9 MiB/s | 113.6 KiB | 00m00s [ 63/278] Installing perl-libnet-0:3.15 100% | 143.7 MiB/s | 294.3 KiB | 00m00s [ 64/278] Installing perl-AutoLoader-0: 100% | 20.5 MiB/s | 20.9 KiB | 00m00s [ 65/278] Installing perl-URI-0:5.28-1. 100% | 82.0 MiB/s | 251.8 KiB | 00m00s [ 66/278] Installing perl-File-Path-0:2 100% | 63.0 MiB/s | 64.5 KiB | 00m00s [ 67/278] Installing perl-locale-0:1.10 100% | 0.0 B/s | 6.6 KiB | 00m00s [ 68/278] Installing perl-if-0:0.61.000 100% | 0.0 B/s | 6.2 KiB | 00m00s [ 69/278] Installing perl-Mozilla-CA-0: 100% | 0.0 B/s | 10.5 KiB | 00m00s [ 70/278] Installing perl-Time-Local-2: 100% | 68.9 MiB/s | 70.5 KiB | 00m00s [ 71/278] Installing perl-Pod-Escapes-1 100% | 0.0 B/s | 25.9 KiB | 00m00s [ 72/278] Installing perl-Text-Tabs+Wra 100% | 0.0 B/s | 23.8 KiB | 00m00s [ 73/278] Installing perl-IO-Socket-IP- 100% | 98.1 MiB/s | 100.4 KiB | 00m00s [ 74/278] Installing perl-Net-SSLeay-0: 100% | 227.1 MiB/s | 1.4 MiB | 00m00s [ 75/278] Installing perl-IO-Socket-SSL 100% | 224.3 MiB/s | 689.0 KiB | 00m00s [ 76/278] Installing perl-Class-Struct- 100% | 0.0 B/s | 25.9 KiB | 00m00s [ 77/278] Installing perl-File-Temp-1:0 100% | 160.2 MiB/s | 164.0 KiB | 00m00s [ 78/278] Installing perl-POSIX-0:2.13- 100% | 224.9 MiB/s | 230.3 KiB | 00m00s [ 79/278] Installing perl-IPC-Open3-0:1 100% | 0.0 B/s | 23.3 KiB | 00m00s [ 80/278] Installing perl-Term-ANSIColo 100% | 96.8 MiB/s | 99.1 KiB | 00m00s [ 81/278] Installing perl-Term-Cap-0:1. 100% | 29.8 MiB/s | 30.5 KiB | 00m00s [ 82/278] Installing perl-HTTP-Tiny-0:0 100% | 150.6 MiB/s | 154.2 KiB | 00m00s [ 83/278] Installing perl-Pod-Simple-1: 100% | 185.4 MiB/s | 569.4 KiB | 00m00s [ 84/278] Installing perl-Socket-4:2.03 100% | 123.1 MiB/s | 126.0 KiB | 00m00s [ 85/278] Installing perl-SelectSaver-0 100% | 0.0 B/s | 2.6 KiB | 00m00s [ 86/278] Installing perl-Symbol-0:1.09 100% | 0.0 B/s | 7.2 KiB | 00m00s [ 87/278] Installing perl-File-stat-0:1 100% | 0.0 B/s | 13.2 KiB | 00m00s [ 88/278] Installing perl-podlators-1:5 100% | 152.4 MiB/s | 312.1 KiB | 00m00s [ 89/278] Installing perl-Pod-Perldoc-0 100% | 82.3 MiB/s | 168.6 KiB | 00m00s [ 90/278] Installing perl-Text-ParseWor 100% | 0.0 B/s | 14.5 KiB | 00m00s [ 91/278] Installing perl-base-0:2.27-5 100% | 0.0 B/s | 12.9 KiB | 00m00s [ 92/278] Installing perl-Fcntl-0:1.15- 100% | 25.1 MiB/s | 25.8 KiB | 00m00s [ 93/278] Installing perl-mro-0:1.28-50 100% | 41.6 MiB/s | 42.6 KiB | 00m00s [ 94/278] Installing perl-overloading-0 100% | 0.0 B/s | 5.5 KiB | 00m00s [ 95/278] Installing perl-IO-0:1.52-507 100% | 75.8 MiB/s | 155.2 KiB | 00m00s [ 96/278] Installing perl-Pod-Usage-4:2 100% | 84.2 MiB/s | 86.3 KiB | 00m00s [ 97/278] Installing perl-File-Basename 100% | 0.0 B/s | 14.6 KiB | 00m00s [ 98/278] Installing perl-vars-0:1.05-5 100% | 0.0 B/s | 4.3 KiB | 00m00s [ 99/278] Installing perl-Errno-0:1.37- 100% | 0.0 B/s | 8.8 KiB | 00m00s [100/278] Installing perl-Scalar-List-U 100% | 145.2 MiB/s | 148.7 KiB | 00m00s [101/278] Installing perl-constant-0:1. 100% | 26.7 MiB/s | 27.4 KiB | 00m00s [102/278] Installing perl-Getopt-Std-0: 100% | 0.0 B/s | 11.6 KiB | 00m00s [103/278] Installing perl-MIME-Base64-0 100% | 47.2 MiB/s | 48.3 KiB | 00m00s [104/278] Installing perl-parent-1:0.24 100% | 0.0 B/s | 10.4 KiB | 00m00s [105/278] Installing perl-overload-0:1. 100% | 0.0 B/s | 71.9 KiB | 00m00s [106/278] Installing perl-Storable-1:3. 100% | 228.5 MiB/s | 233.9 KiB | 00m00s [107/278] Installing perl-Getopt-Long-1 100% | 143.3 MiB/s | 146.7 KiB | 00m00s [108/278] Installing perl-Carp-0:1.54-5 100% | 46.5 MiB/s | 47.7 KiB | 00m00s [109/278] Installing perl-Exporter-0:5. 100% | 54.2 MiB/s | 55.5 KiB | 00m00s [110/278] Installing perl-DynaLoader-0: 100% | 0.0 B/s | 32.5 KiB | 00m00s [111/278] Installing perl-PathTools-0:3 100% | 89.9 MiB/s | 184.2 KiB | 00m00s [112/278] Installing perl-Encode-4:3.21 100% | 294.8 MiB/s | 4.7 MiB | 00m00s [113/278] Installing perl-libs-4:5.38.2 100% | 248.6 MiB/s | 9.9 MiB | 00m00s [114/278] Installing perl-interpreter-4 100% | 118.6 MiB/s | 121.4 KiB | 00m00s [115/278] Installing perl-threads-1:2.3 100% | 114.4 MiB/s | 117.1 KiB | 00m00s [116/278] Installing perl-threads-share 100% | 42.0 MiB/s | 85.9 KiB | 00m00s [117/278] Installing perl-Thread-Queue- 100% | 29.6 MiB/s | 30.3 KiB | 00m00s [118/278] Installing perl-File-Compare- 100% | 0.0 B/s | 6.0 KiB | 00m00s [119/278] Installing perl-File-Copy-0:2 100% | 0.0 B/s | 20.2 KiB | 00m00s [120/278] Installing perl-File-Find-0:1 100% | 13.8 MiB/s | 42.4 KiB | 00m00s [121/278] Installing libstdc++-devel-0: 100% | 330.6 MiB/s | 15.5 MiB | 00m00s [122/278] Installing kernel-headers-0:6 100% | 193.9 MiB/s | 6.4 MiB | 00m00s [123/278] Installing p11-kit-devel-0:0. 100% | 179.4 MiB/s | 551.1 KiB | 00m00s [124/278] Installing libtasn1-tools-0:4 100% | 33.0 MiB/s | 67.6 KiB | 00m00s [125/278] Installing libtasn1-devel-0:4 100% | 81.2 MiB/s | 83.1 KiB | 00m00s [126/278] Installing libidn2-devel-0:2. 100% | 127.0 MiB/s | 260.1 KiB | 00m00s [127/278] Installing m4-0:1.4.19-9.fc40 100% | 145.3 MiB/s | 595.2 KiB | 00m00s [128/278] Installing autoconf-0:2.72-2. 100% | 349.7 MiB/s | 2.8 MiB | 00m00s [129/278] Installing automake-0:1.16.5- 100% | 251.7 MiB/s | 1.8 MiB | 00m00s [130/278] Installing libtool-ltdl-devel 100% | 275.0 MiB/s | 844.7 KiB | 00m00s [131/278] Installing python-pip-wheel-0 100% | 509.3 MiB/s | 1.5 MiB | 00m00s [132/278] Installing annobin-docs-0:12. 100% | 94.9 MiB/s | 97.2 KiB | 00m00s [133/278] Installing npth-0:1.7-1.fc41. 100% | 49.4 MiB/s | 50.6 KiB | 00m00s [134/278] Installing gnupg2-0:2.4.5-1.f 100% | 328.2 MiB/s | 9.5 MiB | 00m00s [135/278] Installing gpgme-0:1.23.2-3.f 100% | 188.1 MiB/s | 577.7 KiB | 00m00s [136/278] Installing gpgmepp-0:1.23.2-3 100% | 207.7 MiB/s | 425.3 KiB | 00m00s [137/278] Installing dbus-libs-1:1.14.1 100% | 180.7 MiB/s | 370.1 KiB | 00m00s [138/278] Installing avahi-libs-0:0.8-2 100% | 164.9 MiB/s | 168.9 KiB | 00m00s [139/278] Installing cups-libs-1:2.4.7- 100% | 201.9 MiB/s | 620.3 KiB | 00m00s [140/278] Installing libvmaf-0:2.3.0-7. 100% | 381.3 MiB/s | 780.9 KiB | 00m00s [141/278] Installing libaom-0:3.8.2-2.f 100% | 359.9 MiB/s | 5.0 MiB | 00m00s [142/278] Installing google-noto-fonts- 100% | 0.0 B/s | 18.3 KiB | 00m00s [143/278] Installing google-noto-sans-v 100% | 312.2 MiB/s | 1.2 MiB | 00m00s [144/278] Installing default-fonts-core 100% | 17.8 MiB/s | 18.2 KiB | 00m00s [145/278] Installing google-droid-sans- 100% | 329.4 MiB/s | 6.3 MiB | 00m00s [146/278] Installing dbus-common-1:1.14 100% | 645.3 KiB/s | 13.6 KiB | 00m00s >>> Running post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Stop post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Running pre-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 >>> Stop pre-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 [147/278] Installing dbus-broker-0:36-2 100% | 53.2 MiB/s | 381.3 KiB | 00m00s >>> Running post-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 >>> Stop post-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 [148/278] Installing dbus-1:1.14.10-3.f 100% | 121.1 KiB/s | 124.0 B | 00m00s [149/278] Installing poppler-data-0:0.4 100% | 344.2 MiB/s | 12.4 MiB | 00m00s [150/278] Installing libdatrie-0:0.2.13 100% | 57.7 MiB/s | 59.0 KiB | 00m00s [151/278] Installing libthai-0:0.1.29-8 100% | 255.6 MiB/s | 785.3 KiB | 00m00s [152/278] Installing liblerc-0:4.0.0-6. 100% | 295.4 MiB/s | 605.0 KiB | 00m00s [153/278] Installing jbigkit-libs-0:2.1 100% | 116.8 MiB/s | 119.6 KiB | 00m00s [154/278] Installing libtiff-0:4.6.0-2. 100% | 279.9 MiB/s | 1.1 MiB | 00m00s [155/278] Installing svt-av1-libs-0:1.4 100% | 377.4 MiB/s | 7.2 MiB | 00m00s [156/278] Installing rav1e-libs-0:0.7.1 100% | 336.6 MiB/s | 3.0 MiB | 00m00s [157/278] Installing libdav1d-0:1.4.0-1 100% | 332.4 MiB/s | 1.7 MiB | 00m00s [158/278] Installing libavif-0:1.0.4-2. 100% | 180.7 MiB/s | 185.1 KiB | 00m00s [159/278] Installing libXau-0:1.0.11-6. 100% | 66.8 MiB/s | 68.4 KiB | 00m00s [160/278] Installing libxcb-0:1.17.0-1. 100% | 223.3 MiB/s | 1.1 MiB | 00m00s [161/278] Installing protobuf-c-0:1.5.0 100% | 54.2 MiB/s | 55.5 KiB | 00m00s [162/278] Installing gettext-envsubst-0 100% | 74.6 MiB/s | 76.3 KiB | 00m00s [163/278] Installing gettext-runtime-0: 100% | 119.8 MiB/s | 490.7 KiB | 00m00s [164/278] Installing gettext-0:0.22.5-2 100% | 307.9 MiB/s | 5.2 MiB | 00m00s [165/278] Installing glibc-headers-x86- 100% | 163.0 MiB/s | 2.3 MiB | 00m00s [166/278] Installing libxcrypt-devel-0: 100% | 31.8 MiB/s | 32.6 KiB | 00m00s [167/278] Installing glibc-devel-0:2.39 100% | 39.5 MiB/s | 40.4 KiB | 00m00s [168/278] Installing libnl3-0:3.9.0-3.f 100% | 200.8 MiB/s | 1.0 MiB | 00m00s [169/278] Installing libibverbs-0:51.0- 100% | 134.4 MiB/s | 1.2 MiB | 00m00s [170/278] Installing libpcap-14:1.10.4- 100% | 195.3 MiB/s | 400.0 KiB | 00m00s [171/278] Installing libcbor-0:0.11.0-1 100% | 73.5 MiB/s | 75.3 KiB | 00m00s [172/278] Installing libfido2-0:1.14.0- 100% | 38.9 MiB/s | 239.3 KiB | 00m00s [173/278] Installing tzdata-0:2024a-5.f 100% | 57.6 MiB/s | 1.9 MiB | 00m00s [174/278] Installing mpdecimal-0:2.5.1- 100% | 197.3 MiB/s | 202.0 KiB | 00m00s [175/278] Installing libb2-0:0.98.1-11. 100% | 6.0 MiB/s | 43.3 KiB | 00m00s [176/278] Installing python3-libs-0:3.1 100% | 291.1 MiB/s | 41.3 MiB | 00m00s [177/278] Installing python3-0:3.12.3-2 100% | 32.5 MiB/s | 33.2 KiB | 00m00s [178/278] Installing cmake-rpm-macros-0 100% | 7.9 MiB/s | 8.1 KiB | 00m00s [179/278] Installing python3-iniconfig- 100% | 22.9 MiB/s | 23.4 KiB | 00m00s [180/278] Installing python3-packaging- 100% | 212.7 MiB/s | 435.6 KiB | 00m00s [181/278] Installing python3-pluggy-0:1 100% | 194.1 MiB/s | 198.8 KiB | 00m00s [182/278] Installing crypto-policies-sc 100% | 110.1 MiB/s | 338.1 KiB | 00m00s [183/278] Installing nss-sysinit-0:3.99 100% | 18.9 MiB/s | 19.3 KiB | 00m00s [184/278] Installing nss-0:3.99.0-1.fc4 100% | 73.0 MiB/s | 1.9 MiB | 00m00s >>> Running post-install scriptlet: nss-0:3.99.0-1.fc41.x86_64 >>> Stop post-install scriptlet: nss-0:3.99.0-1.fc41.x86_64 >>> Running pre-install scriptlet: unbound-libs-0:1.19.3-6.fc41.x86_64 >>> Stop pre-install scriptlet: unbound-libs-0:1.19.3-6.fc41.x86_64 [185/278] Installing unbound-libs-0:1.1 100% | 227.5 MiB/s | 1.4 MiB | 00m00s [186/278] Installing gnutls-dane-0:3.8. 100% | 61.1 MiB/s | 62.5 KiB | 00m00s [187/278] Installing fribidi-0:1.0.13-4 100% | 179.6 MiB/s | 367.8 KiB | 00m00s [188/278] Installing libpaper-1:2.1.1-5 100% | 49.3 MiB/s | 50.5 KiB | 00m00s [189/278] Installing libijs-0:0.35-22.f 100% | 61.1 MiB/s | 62.6 KiB | 00m00s [190/278] Installing jbig2dec-libs-0:0. 100% | 166.6 MiB/s | 170.6 KiB | 00m00s [191/278] Installing adobe-mappings-pdf 100% | 338.2 MiB/s | 4.4 MiB | 00m00s [192/278] Installing libX11-common-0:1. 100% | 131.7 MiB/s | 1.2 MiB | 00m00s [193/278] Installing libX11-0:1.8.9-1.f 100% | 254.7 MiB/s | 1.3 MiB | 00m00s [194/278] Installing libXrender-0:0.9.1 100% | 50.2 MiB/s | 51.4 KiB | 00m00s [195/278] Installing libXext-0:1.3.6-1. 100% | 89.2 MiB/s | 91.3 KiB | 00m00s [196/278] Installing libXpm-0:3.5.17-3. 100% | 146.3 MiB/s | 149.8 KiB | 00m00s [197/278] Installing libXt-0:1.3.0-3.fc 100% | 208.6 MiB/s | 427.1 KiB | 00m00s [198/278] Installing graphite2-0:1.3.14 100% | 189.6 MiB/s | 194.2 KiB | 00m00s [199/278] Installing netpbm-0:11.02.00- 100% | 280.8 MiB/s | 575.0 KiB | 00m00s [200/278] Installing gts-0:0.7.6-48.201 100% | 214.0 MiB/s | 657.4 KiB | 00m00s [201/278] Installing libimagequant-0:4. 100% | 96.5 MiB/s | 691.9 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch [202/278] Installing xml-common-0:0.6.3 100% | 39.6 MiB/s | 81.1 KiB | 00m00s [203/278] Installing pixman-0:0.43.4-1. 100% | 231.5 MiB/s | 711.2 KiB | 00m00s [204/278] Installing cairo-0:1.18.0-3.f 100% | 288.6 MiB/s | 1.7 MiB | 00m00s [205/278] Installing harfbuzz-0:8.4.0-1 100% | 292.6 MiB/s | 2.6 MiB | 00m00s [206/278] Installing freetype-0:2.13.2- 100% | 206.1 MiB/s | 844.3 KiB | 00m00s [207/278] Installing fontconfig-0:2.15. 100% | 687.7 KiB/s | 786.0 KiB | 00m01s >>> Running post-install scriptlet: fontconfig-0:2.15.0-4.fc40.x86_64 >>> Stop post-install scriptlet: fontconfig-0:2.15.0-4.fc40.x86_64 [208/278] Installing cairo-gobject-0:1. 100% | 35.2 MiB/s | 36.1 KiB | 00m00s [209/278] Installing gd-0:2.3.3-16.fc41 100% | 130.5 MiB/s | 400.8 KiB | 00m00s [210/278] Installing libgs-0:10.03.0-1. 100% | 465.1 MiB/s | 23.3 MiB | 00m00s [211/278] Installing libXft-0:2.3.8-6.f 100% | 162.1 MiB/s | 166.0 KiB | 00m00s [212/278] Installing pango-0:1.52.2-1.f 100% | 195.6 MiB/s | 1.0 MiB | 00m00s [213/278] Installing librsvg2-0:2.57.1- 100% | 316.4 MiB/s | 4.1 MiB | 00m00s [214/278] Installing rsvg-pixbuf-loader 100% | 16.2 MiB/s | 16.5 KiB | 00m00s [215/278] Installing lasi-0:1.1.3-13.fc 100% | 129.2 MiB/s | 132.3 KiB | 00m00s [216/278] Installing poppler-0:24.02.0- 100% | 346.1 MiB/s | 3.5 MiB | 00m00s [217/278] Installing poppler-glib-0:24. 100% | 281.3 MiB/s | 576.1 KiB | 00m00s [218/278] Installing vim-filesystem-2:9 100% | 4.6 MiB/s | 4.7 KiB | 00m00s [219/278] Installing gc-0:8.2.2-6.fc40. 100% | 85.0 MiB/s | 261.2 KiB | 00m00s [220/278] Installing guile30-0:3.0.7-12 100% | 412.7 MiB/s | 51.6 MiB | 00m00s [221/278] Installing make-1:4.4.1-6.fc4 100% | 225.0 MiB/s | 1.8 MiB | 00m00s [222/278] Installing gcc-0:14.0.1-0.15. 100% | 372.7 MiB/s | 104.0 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [223/278] Installing rust-std-static-0: 100% | 423.3 MiB/s | 137.6 MiB | 00m00s [224/278] Installing rust-0:1.77.2-4.fc 100% | 345.7 MiB/s | 75.4 MiB | 00m00s [225/278] Installing openssh-0:9.6p1-1. 100% | 303.4 MiB/s | 1.8 MiB | 00m00s [226/278] Installing openssh-clients-0: 100% | 200.6 MiB/s | 2.6 MiB | 00m00s >>> Running post-install scriptlet: openssh-clients-0:9.6p1-1.fc41.9.x86_64 >>> Stop post-install scriptlet: openssh-clients-0:9.6p1-1.fc41.9.x86_64 [227/278] Installing http-parser-0:2.9. 100% | 91.6 MiB/s | 93.8 KiB | 00m00s [228/278] Installing libgit2-0:1.7.2-1. 100% | 245.8 MiB/s | 1.2 MiB | 00m00s [229/278] Installing cargo-0:1.77.2-4.f 100% | 334.4 MiB/s | 17.7 MiB | 00m00s [230/278] Installing cargo2rpm-0:0.1.15 100% | 207.5 MiB/s | 1.2 MiB | 00m00s [231/278] Installing libseccomp-0:2.5.3 100% | 169.0 MiB/s | 173.1 KiB | 00m00s [232/278] Installing systemd-pam-0:256~ 100% | 212.9 MiB/s | 1.1 MiB | 00m00s [233/278] Installing systemd-0:256~rc1- 100% | 101.7 MiB/s | 15.8 MiB | 00m00s >>> Running post-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop post-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 [234/278] Installing sendmail-milter-0: 100% | 76.5 MiB/s | 78.3 KiB | 00m00s [235/278] Installing pcre2-utf32-0:10.4 100% | 272.8 MiB/s | 558.8 KiB | 00m00s [236/278] Installing pcre2-utf16-0:10.4 100% | 288.5 MiB/s | 590.9 KiB | 00m00s [237/278] Installing ncurses-c++-libs-0 100% | 159.0 MiB/s | 162.9 KiB | 00m00s [238/278] Installing xz-devel-1:5.4.6-3 100% | 126.9 MiB/s | 259.9 KiB | 00m00s [239/278] Installing gmp-c++-1:6.3.0-1. 100% | 31.8 MiB/s | 32.6 KiB | 00m00s [240/278] Installing gmp-devel-1:6.3.0- 100% | 345.8 MiB/s | 354.1 KiB | 00m00s [241/278] Installing nettle-devel-0:3.9 100% | 203.1 MiB/s | 1.4 MiB | 00m00s [242/278] Installing gnutls-devel-0:3.8 100% | 189.2 MiB/s | 5.7 MiB | 00m00s [243/278] Installing gettext-common-dev 100% | 573.0 MiB/s | 586.8 KiB | 00m00s [244/278] Installing rhash-0:1.4.4-1.fc 100% | 115.6 MiB/s | 355.2 KiB | 00m00s [245/278] Installing libuv-1:1.48.0-1.f 100% | 176.3 MiB/s | 541.6 KiB | 00m00s [246/278] Installing jsoncpp-0:1.9.5-7. 100% | 24.9 MiB/s | 254.9 KiB | 00m00s [247/278] Installing cmake-data-0:3.28. 100% | 119.5 MiB/s | 8.5 MiB | 00m00s [248/278] Installing cmake-0:3.28.3-4.f 100% | 353.9 MiB/s | 31.5 MiB | 00m00s [249/278] Installing ocaml-runtime-0:5. 100% | 395.3 MiB/s | 5.5 MiB | 00m00s [250/278] Installing libzstd-devel-0:1. 100% | 198.5 MiB/s | 203.2 KiB | 00m00s [251/278] Installing less-0:643-4.fc40. 100% | 181.6 MiB/s | 372.0 KiB | 00m00s [252/278] Installing zlib-ng-compat-dev 100% | 102.0 MiB/s | 104.5 KiB | 00m00s [253/278] Installing libxml2-devel-0:2. 100% | 310.6 MiB/s | 3.4 MiB | 00m00s [254/278] Installing git-core-0:2.44.0- 100% | 400.1 MiB/s | 20.8 MiB | 00m00s [255/278] Installing ocaml-0:5.1.1-4.fc 100% | 413.4 MiB/s | 129.0 MiB | 00m00s [256/278] Installing gettext-devel-0:0. 100% | 197.9 MiB/s | 1.0 MiB | 00m00s [257/278] Installing libprelude-devel-0 100% | 101.8 MiB/s | 417.0 KiB | 00m00s [258/278] Installing ncurses-devel-0:6. 100% | 65.6 MiB/s | 1.0 MiB | 00m00s [259/278] Installing pcre2-devel-0:10.4 100% | 248.6 MiB/s | 2.0 MiB | 00m00s [260/278] Installing sendmail-milter-de 100% | 131.2 MiB/s | 268.7 KiB | 00m00s [261/278] Installing cargo-rpm-macros-0 100% | 15.1 MiB/s | 15.5 KiB | 00m00s [262/278] Installing gcc-c++-0:14.0.1-0 100% | 337.3 MiB/s | 38.1 MiB | 00m00s [263/278] Installing annobin-plugin-gcc 100% | 63.3 MiB/s | 973.0 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [264/278] Installing gcc-plugin-annobin 100% | 3.6 MiB/s | 58.7 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [265/278] Installing graphviz-0:10.0.1- 100% | 314.8 MiB/s | 21.1 MiB | 00m00s [266/278] Installing python3-pytest-0:7 100% | 353.4 MiB/s | 15.2 MiB | 00m00s [267/278] Installing valgrind-1:3.23.0- 100% | 463.4 MiB/s | 29.7 MiB | 00m00s [268/278] Installing nmap-ncat-3:7.95-1 100% | 55.0 MiB/s | 507.1 KiB | 00m00s >>> Running post-install scriptlet: nmap-ncat-3:7.95-1.fc41.x86_64 >>> Stop post-install scriptlet: nmap-ncat-3:7.95-1.fc41.x86_64 [269/278] Installing check-devel-0:0.15 100% | 15.5 MiB/s | 126.6 KiB | 00m00s >>> Running pre-install scriptlet: groff-0:1.23.0-6.fc40.x86_64 >>> Stop pre-install scriptlet: groff-0:1.23.0-6.fc40.x86_64 [270/278] Installing groff-0:1.23.0-6.f 100% | 190.7 MiB/s | 4.4 MiB | 00m00s >>> Running post-install scriptlet: groff-0:1.23.0-6.fc40.x86_64 >>> Stop post-install scriptlet: groff-0:1.23.0-6.fc40.x86_64 [271/278] Installing json-c-devel-0:0.1 100% | 50.5 MiB/s | 155.3 KiB | 00m00s [272/278] Installing tcl-1:8.6.14-1.fc4 100% | 263.6 MiB/s | 4.2 MiB | 00m00s [273/278] Installing systemd-rpm-macros 100% | 4.8 MiB/s | 9.9 KiB | 00m00s [274/278] Installing systemd-devel-0:25 100% | 30.5 MiB/s | 686.1 KiB | 00m00s [275/278] Installing openssl-devel-1:3. 100% | 63.6 MiB/s | 5.2 MiB | 00m00s [276/278] Installing libcurl-devel-0:8. 100% | 102.6 MiB/s | 1.3 MiB | 00m00s [277/278] Installing bzip2-devel-0:1.0. 100% | 303.5 MiB/s | 310.7 KiB | 00m00s [278/278] Installing bc-0:1.07.1-21.fc4 100% | 246.9 KiB/s | 233.1 KiB | 00m01s >>> Running post-transaction scriptlet: urw-base35-bookman-fonts-0:20200910-20.f >>> Stop post-transaction scriptlet: urw-base35-bookman-fonts-0:20200910-20.fc41 >>> Running post-transaction scriptlet: urw-base35-c059-fonts-0:20200910-20.fc41 >>> Stop post-transaction scriptlet: urw-base35-c059-fonts-0:20200910-20.fc41.no >>> Running post-transaction scriptlet: urw-base35-d050000l-fonts-0:20200910-20. >>> Stop post-transaction scriptlet: urw-base35-d050000l-fonts-0:20200910-20.fc4 >>> Running post-transaction scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc >>> Stop post-transaction scriptlet: urw-base35-gothic-fonts-0:20200910-20.fc41. >>> Running post-transaction scriptlet: urw-base35-nimbus-mono-ps-fonts-0:202009 >>> Stop post-transaction scriptlet: urw-base35-nimbus-mono-ps-fonts-0:20200910- >>> Running post-transaction scriptlet: urw-base35-nimbus-roman-fonts-0:20200910 >>> Stop post-transaction scriptlet: urw-base35-nimbus-roman-fonts-0:20200910-20 >>> Running post-transaction scriptlet: urw-base35-nimbus-sans-fonts-0:20200910- >>> Stop post-transaction scriptlet: urw-base35-nimbus-sans-fonts-0:20200910-20. >>> Running post-transaction scriptlet: urw-base35-p052-fonts-0:20200910-20.fc41 >>> Stop post-transaction scriptlet: urw-base35-p052-fonts-0:20200910-20.fc41.no >>> Running post-transaction scriptlet: urw-base35-standard-symbols-ps-fonts-0:2 >>> Stop post-transaction scriptlet: urw-base35-standard-symbols-ps-fonts-0:2020 >>> Running post-transaction scriptlet: urw-base35-z003-fonts-0:20200910-20.fc41 >>> Stop post-transaction scriptlet: urw-base35-z003-fonts-0:20200910-20.fc41.no >>> Running post-transaction scriptlet: crypto-policies-scripts-0:20240320-1.git >>> Stop post-transaction scriptlet: crypto-policies-scripts-0:20240320-1.git58e >>> Running post-transaction scriptlet: nss-0:3.99.0-1.fc41.x86_64 >>> Stop post-transaction scriptlet: nss-0:3.99.0-1.fc41.x86_64 >>> Running post-transaction scriptlet: fontconfig-0:2.15.0-4.fc40.x86_64 >>> Stop post-transaction scriptlet: fontconfig-0:2.15.0-4.fc40.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-16.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-16.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Running trigger-install scriptlet: shared-mime-info-0:2.3-4.fc41.x86_64 >>> Stop trigger-install scriptlet: shared-mime-info-0:2.3-4.fc41.x86_64 >>> Running trigger-install scriptlet: gdk-pixbuf2-0:2.42.11-1.fc41.x86_64 >>> Stop trigger-install scriptlet: gdk-pixbuf2-0:2.42.11-1.fc41.x86_64 >>> Running trigger-install scriptlet: fontconfig-0:2.15.0-4.fc40.x86_64 >>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-4.fc40.x86_64 >>> Running trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256~rc1-4.fc41.x86_64 >>> Running trigger-install scriptlet: graphviz-0:10.0.1-1.fc41.x86_64 >>> Stop trigger-install scriptlet: graphviz-0:10.0.1-1.fc41.x86_64 Warning: skipped PGP checks for 11 package(s). Finish: build setup for clamav-1.0.6-1.fc41.src.rpm Start: rpmbuild clamav-1.0.6-1.fc41.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714089600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9Qg8KJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clamav-1.0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clamav-1.0.6-norar.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clamav-1.0.6 + rm -rf /builddir/build/BUILD/clamav-1.0.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.0.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/cbindgen/s/version = *"0.20"/version = "0.24"/' -e '/^bindgen *=/s/= .*/= "0.63"/' libclamav_rust/Cargo.toml + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + cd libclamav_rust + rm -r .cargo + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + cd .. Patch #0 (clamav-rustflags.patch): + echo 'Patch #0 (clamav-rustflags.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rustflags --fuzz=0 patching file cmake/FindRust.cmake Patch #1 (clamav-default_confs.patch): + echo 'Patch #1 (clamav-default_confs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .default_confs --fuzz=0 patching file clamconf/clamconf.c patching file docs/man/clamav-milter.8.in patching file docs/man/clamav-milter.conf.5.in patching file docs/man/clamd.8.in patching file docs/man/clamd.conf.5.in Hunk #1 succeeded at 779 (offset 14 lines). patching file platform.h.in Patch #2 (clamav-private.patch): + echo 'Patch #2 (clamav-private.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .private --fuzz=0 patching file libclamav.pc.in patching file clamav-config.in Patch #3 (clamav-rpath.patch): + echo 'Patch #3 (clamav-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rpath --fuzz=0 patching file CMakeLists.txt Patch #5 (clamav-clamonacc-service.patch): + echo 'Patch #5 (clamav-clamonacc-service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamonacc-service --fuzz=0 patching file clamonacc/clamav-clamonacc.service.in Patch #6 (clamav-freshclam.service.patch): + echo 'Patch #6 (clamav-freshclam.service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .freshclam-service --fuzz=0 patching file freshclam/clamav-freshclam.service.in Patch #7 (libclamav-pe-Use-endian-wrapper-in-more-places.patch): + echo 'Patch #7 (libclamav-pe-Use-endian-wrapper-in-more-places.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .big-endian --fuzz=0 patching file libclamav/pe.c + install -p -m0644 /builddir/build/SOURCES/README.fedora.md clamav-milter/ + mkdir -p libclamunrar libclamunrar_iface + touch libclamunrar/Makefile.in libclamunrar/all libclamunrar/install + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Z3e7pg + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc41.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 486.1 KiB/s | 20.4 KiB | 00m00s Copr repository 100% | 91.8 KiB/s | 1.8 KiB | 00m00s Repositories loaded. Package "bc-1.07.1-21.fc40.x86_64" is already installed. Package "bzip2-devel-1.0.8-18.fc40.x86_64" is already installed. Package "cargo-1.77.2-4.fc41.x86_64" is already installed. Package "check-devel-0.15.2-12.fc40.x86_64" is already installed. Package "cmake-3.28.3-4.fc41.x86_64" is already installed. Package "libcurl-devel-8.7.1-1.fc41.x86_64" is already installed. Package "gcc-c++-14.0.1-0.15.fc41.x86_64" is already installed. Package "gettext-devel-0.22.5-2.fc41.x86_64" is already installed. Package "git-core-2.44.0-1.fc41.x86_64" is already installed. Package "gmp-devel-1:6.3.0-1.fc41.x86_64" is already installed. Package "gnutls-devel-3.8.5-1.fc41.x86_64" is already installed. Package "graphviz-10.0.1-1.fc41.x86_64" is already installed. Package "groff-1.23.0-6.fc40.x86_64" is already installed. Package "json-c-devel-0.17-3.fc40.x86_64" is already installed. Package "libprelude-devel-5.2.0-23.fc40.x86_64" is already installed. Package "libxml2-devel-2.12.6-1.fc41.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "nmap-ncat-3:7.95-1.fc41.x86_64" is already installed. Package "ncurses-devel-6.4-12.20240127.fc40.x86_64" is already installed. Package "ocaml-5.1.1-4.fc40.x86_64" is already installed. Package "openssl-devel-1:3.2.1-6.fc41.x86_64" is already installed. Package "pcre2-devel-10.43-1.fc41.x86_64" is already installed. Package "python3-3.12.3-2.fc41.x86_64" is already installed. Package "python3-pytest-7.4.3-3.fc40.noarch" is already installed. Package "rust-1.77.2-4.fc41.x86_64" is already installed. Package "cargo-rpm-macros-26.2-1.fc41.noarch" is already installed. Package "sendmail-milter-devel-8.18.1-1.fc40.x86_64" is already installed. Package "systemd-256~rc1-4.fc41.x86_64" is already installed. Package "systemd-devel-256~rc1-4.fc41.x86_64" is already installed. Package "systemd-rpm-macros-256~rc1-4.fc41.noarch" is already installed. Package "tcl-1:8.6.14-1.fc41.x86_64" is already installed. Package "valgrind-1:3.23.0-1.fc41.x86_64" is already installed. Package "zlib-ng-compat-devel-2.1.6-2.fc40.x86_64" is already installed. Package Arch Version Repository Size Installing: rust-bindgen0.63+default-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-cbindgen0.24-devel noarch 0.24.5-2.fc40 fedora 1.2 MiB rust-flate2+default-devel noarch 1.0.28-2.fc40 fedora 2.1 KiB rust-hex+default-devel noarch 0.4.3-9.fc40 fedora 1.5 KiB rust-image+default-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-libc+default-devel noarch 0.2.153-1.fc40 fedora 4.7 KiB rust-log+default-devel noarch 0.4.21-1.fc41 fedora 2.4 KiB rust-log+std-devel noarch 0.4.21-1.fc41 fedora 2.4 KiB rust-num-traits+default-devel noarch 0.2.18-1.fc41 fedora 1.2 KiB rust-rustdct+default-devel noarch 0.7.1-4.fc40 fedora 1.1 KiB rust-sha2+default-devel noarch 0.10.8-2.fc40 fedora 1.7 KiB rust-tempfile+default-devel noarch 3.10.1-1.fc41 fedora 1.3 KiB rust-thiserror+default-devel noarch 1.0.59-1.fc41 fedora 1.2 KiB rust-transpose+default-devel noarch 0.2.3-1.fc41 fedora 1.1 KiB Installing dependencies: clang x86_64 18.1.3-2.fc41 fedora 587.5 KiB clang-devel x86_64 18.1.3-2.fc41 fedora 23.6 MiB clang-libs x86_64 18.1.3-2.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.3-2.fc41 fedora 522.0 B clang-tools-extra x86_64 18.1.3-2.fc41 fedora 88.7 MiB rust-adler-devel noarch 1.0.2-10.fc40 fedora 32.8 KiB rust-aho-corasick+std-devel noarch 1.1.3-1.fc41 fedora 1.5 KiB rust-aho-corasick-devel noarch 1.1.3-1.fc41 fedora 805.8 KiB rust-autocfg+default-devel noarch 1.2.0-1.fc41 fedora 926.0 B rust-autocfg-devel noarch 1.2.0-1.fc41 fedora 46.6 KiB rust-bindgen0.63+log-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+logging-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+runtime-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+which-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63+which-rustfmt-devel noarch 0.63.0-2.fc40 fedora 2.3 KiB rust-bindgen0.63-devel noarch 0.63.0-2.fc40 fedora 912.5 KiB rust-bitflags+std-devel noarch 2.5.0-1.fc41 fedora 1.9 KiB rust-bitflags-devel noarch 2.5.0-1.fc41 fedora 190.7 KiB rust-bitflags1+default-devel noarch 1.3.2-3.fc40 fedora 1.3 KiB rust-bitflags1-devel noarch 1.3.2-3.fc40 fedora 91.4 KiB rust-block-buffer+default-devel noarch 0.10.4-3.fc40 fedora 917.0 B rust-block-buffer-devel noarch 0.10.4-3.fc40 fedora 33.7 KiB rust-bytemuck+default-devel noarch 1.14.1-1.fc40 fedora 1.7 KiB rust-bytemuck+extern_crate_alloc-devel noarch 1.14.1-1.fc40 fedora 1.7 KiB rust-bytemuck-devel noarch 1.14.1-1.fc40 fedora 189.3 KiB rust-byteorder+default-devel noarch 1.5.0-2.fc40 fedora 1.2 KiB rust-byteorder+std-devel noarch 1.5.0-2.fc40 fedora 1.2 KiB rust-byteorder-devel noarch 1.5.0-2.fc40 fedora 174.0 KiB rust-cexpr+default-devel noarch 0.6.0-9.fc40 fedora 984.0 B rust-cexpr-devel noarch 0.6.0-9.fc40 fedora 62.0 KiB rust-cfg-if+default-devel noarch 1.0.0-11.fc40 fedora 1.3 KiB rust-cfg-if-devel noarch 1.0.0-11.fc40 fedora 19.0 KiB rust-clang-sys+clang_3_5-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_3_6-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_3_7-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_3_8-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_3_9-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_4_0-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_5_0-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+clang_6_0-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+default-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+libloading-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys+runtime-devel noarch 1.7.0-2.fc40 fedora 1.7 KiB rust-clang-sys-devel noarch 1.7.0-2.fc40 fedora 195.1 KiB rust-color_quant+default-devel noarch 1.1.0-10.fc40 fedora 798.0 B rust-color_quant-devel noarch 1.1.0-10.fc40 fedora 19.6 KiB rust-cpufeatures+default-devel noarch 0.2.12-2.fc40 fedora 1.1 KiB rust-cpufeatures-devel noarch 0.2.12-2.fc40 fedora 39.8 KiB rust-crc32fast+default-devel noarch 1.4.0-1.fc41 fedora 1.1 KiB rust-crc32fast+std-devel noarch 1.4.0-1.fc41 fedora 1.1 KiB rust-crc32fast-devel noarch 1.4.0-1.fc41 fedora 95.0 KiB rust-crossbeam-deque+default-devel noarch 0.8.5-2.fc40 fedora 1.2 KiB rust-crossbeam-deque+std-devel noarch 0.8.5-2.fc40 fedora 1.2 KiB rust-crossbeam-deque-devel noarch 0.8.5-2.fc40 fedora 123.4 KiB rust-crossbeam-epoch+alloc-devel noarch 0.9.18-2.fc40 fedora 1.2 KiB rust-crossbeam-epoch+std-devel noarch 0.9.18-2.fc40 fedora 1.2 KiB rust-crossbeam-epoch-devel noarch 0.9.18-2.fc40 fedora 184.3 KiB rust-crossbeam-utils+default-devel noarch 0.8.19-2.fc40 fedora 1.0 KiB rust-crossbeam-utils+std-devel noarch 0.8.19-2.fc40 fedora 1.0 KiB rust-crossbeam-utils-devel noarch 0.8.19-2.fc40 fedora 182.1 KiB rust-crypto-common+default-devel noarch 0.1.6-3.fc40 fedora 1.2 KiB rust-crypto-common+std-devel noarch 0.1.6-3.fc40 fedora 1.2 KiB rust-crypto-common-devel noarch 0.1.6-3.fc40 fedora 24.9 KiB rust-digest+alloc-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+block-buffer-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+core-api-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+default-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest+std-devel noarch 0.10.7-3.fc40 fedora 1.5 KiB rust-digest-devel noarch 0.10.7-3.fc40 fedora 84.1 KiB rust-either+default-devel noarch 1.11.0-1.fc41 fedora 1.3 KiB rust-either+use_std-devel noarch 1.11.0-1.fc41 fedora 1.3 KiB rust-either-devel noarch 1.11.0-1.fc41 fedora 73.4 KiB rust-errno+std-devel noarch 0.3.8-2.fc40 fedora 986.0 B rust-errno-devel noarch 0.3.8-2.fc40 fedora 28.9 KiB rust-fastrand+alloc-devel noarch 2.0.2-1.fc41 fedora 1.1 KiB rust-fastrand+default-devel noarch 2.0.2-1.fc41 fedora 1.1 KiB rust-fastrand+std-devel noarch 2.0.2-1.fc41 fedora 1.1 KiB rust-fastrand-devel noarch 2.0.2-1.fc41 fedora 48.9 KiB rust-fdeflate+default-devel noarch 0.3.4-1.fc40 fedora 1.1 KiB rust-fdeflate-devel noarch 0.3.4-1.fc40 fedora 127.8 KiB rust-flate2+any_impl-devel noarch 1.0.28-2.fc40 fedora 2.1 KiB rust-flate2+miniz_oxide-devel noarch 1.0.28-2.fc40 fedora 2.1 KiB rust-flate2+rust_backend-devel noarch 1.0.28-2.fc40 fedora 2.1 KiB rust-flate2-devel noarch 1.0.28-2.fc40 fedora 271.2 KiB rust-generic-array+default-devel noarch 0.14.7-3.fc40 fedora 1.5 KiB rust-generic-array+more_lengths-devel noarch 0.14.7-3.fc40 fedora 1.5 KiB rust-generic-array-devel noarch 0.14.7-3.fc40 fedora 65.1 KiB rust-gif+color_quant-devel noarch 0.13.1-1.fc41 fedora 1.4 KiB rust-gif+default-devel noarch 0.13.1-1.fc41 fedora 1.4 KiB rust-gif+raii_no_panic-devel noarch 0.13.1-1.fc41 fedora 1.4 KiB rust-gif+std-devel noarch 0.13.1-1.fc41 fedora 1.4 KiB rust-gif-devel noarch 0.13.1-1.fc41 fedora 114.1 KiB rust-glob+default-devel noarch 0.3.1-3.fc40 fedora 952.0 B rust-glob-devel noarch 0.3.1-3.fc40 fedora 74.3 KiB rust-hashbrown0.12+raw-devel noarch 0.12.3-3.fc40 fedora 2.1 KiB rust-hashbrown0.12-devel noarch 0.12.3-3.fc40 fedora 575.4 KiB rust-heck0.4+default-devel noarch 0.4.1-1.fc41 fedora 1.1 KiB rust-heck0.4-devel noarch 0.4.1-1.fc41 fedora 42.3 KiB rust-hex+alloc-devel noarch 0.4.3-9.fc40 fedora 1.5 KiB rust-hex+std-devel noarch 0.4.3-9.fc40 fedora 1.5 KiB rust-hex-devel noarch 0.4.3-9.fc40 fedora 37.9 KiB rust-home+default-devel noarch 0.5.9-2.fc40 fedora 1.1 KiB rust-home-devel noarch 0.5.9-2.fc40 fedora 24.6 KiB rust-image+bmp-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+dds-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+dxt-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+farbfeld-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+gif-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+hdr-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+ico-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+jpeg-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+jpeg_rayon-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+png-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+pnm-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+qoi-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+tga-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+tiff-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image+webp-devel noarch 0.24.9-1.fc41 fedora 3.1 KiB rust-image-devel noarch 0.24.9-1.fc41 fedora 12.6 MiB rust-indexmap1+default-devel noarch 1.9.3-3.fc40 fedora 2.0 KiB rust-indexmap1-devel noarch 1.9.3-3.fc40 fedora 273.0 KiB rust-itoa+default-devel noarch 1.0.11-1.fc41 fedora 1.1 KiB rust-itoa-devel noarch 1.0.11-1.fc41 fedora 27.9 KiB rust-jpeg-decoder+rayon-devel noarch 0.3.1-2.fc40 fedora 1.6 KiB rust-jpeg-decoder-devel noarch 0.3.1-2.fc40 fedora 898.6 KiB rust-lazy_static+default-devel noarch 1.4.0-13.fc40 fedora 1.5 KiB rust-lazy_static-devel noarch 1.4.0-13.fc40 fedora 28.4 KiB rust-lazycell+default-devel noarch 1.3.0-11.fc40 fedora 1.1 KiB rust-lazycell-devel noarch 1.3.0-11.fc40 fedora 44.8 KiB rust-libc+extra_traits-devel noarch 0.2.153-1.fc40 fedora 4.7 KiB rust-libc+std-devel noarch 0.2.153-1.fc40 fedora 4.7 KiB rust-libc-devel noarch 0.2.153-1.fc40 fedora 4.0 MiB rust-libloading+default-devel noarch 0.8.3-1.fc41 fedora 1.2 KiB rust-libloading-devel noarch 0.8.3-1.fc41 fedora 107.5 KiB rust-linux-raw-sys0.4+elf-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+errno-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+general-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+ioctl-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4+no_std-devel noarch 0.4.12-2.fc40 fedora 1.7 KiB rust-linux-raw-sys0.4-devel noarch 0.4.12-2.fc40 fedora 7.4 MiB rust-log-devel noarch 0.4.21-1.fc41 fedora 181.9 KiB rust-memchr+alloc-devel noarch 2.7.2-1.fc41 fedora 1.8 KiB rust-memchr+std-devel noarch 2.7.2-1.fc41 fedora 1.8 KiB rust-memchr-devel noarch 2.7.2-1.fc41 fedora 563.8 KiB rust-minimal-lexical+std-devel noarch 0.2.1-7.fc40 fedora 1.0 KiB rust-minimal-lexical-devel noarch 0.2.1-7.fc40 fedora 311.6 KiB rust-miniz_oxide+default-devel noarch 0.7.2-1.fc40 fedora 1.7 KiB rust-miniz_oxide+simd-adler32-devel noarch 0.7.2-1.fc40 fedora 1.7 KiB rust-miniz_oxide+simd-devel noarch 0.7.2-1.fc40 fedora 1.7 KiB rust-miniz_oxide+with-alloc-devel noarch 0.7.2-1.fc40 fedora 1.7 KiB rust-miniz_oxide-devel noarch 0.7.2-1.fc40 fedora 229.2 KiB rust-nom+alloc-devel noarch 7.1.3-3.fc40 fedora 2.3 KiB rust-nom+std-devel noarch 7.1.3-3.fc40 fedora 2.3 KiB rust-nom-devel noarch 7.1.3-3.fc40 fedora 633.1 KiB rust-num-complex+default-devel noarch 0.4.5-1.fc41 fedora 1.7 KiB rust-num-complex+std-devel noarch 0.4.5-1.fc41 fedora 1.7 KiB rust-num-complex-devel noarch 0.4.5-1.fc41 fedora 135.7 KiB rust-num-integer+default-devel noarch 0.1.46-1.fc41 fedora 1.2 KiB rust-num-integer+std-devel noarch 0.1.46-1.fc41 fedora 1.2 KiB rust-num-integer-devel noarch 0.1.46-1.fc41 fedora 106.5 KiB rust-num-traits+i128-devel noarch 0.2.18-1.fc41 fedora 1.2 KiB rust-num-traits+std-devel noarch 0.2.18-1.fc41 fedora 1.2 KiB rust-num-traits-devel noarch 0.2.18-1.fc41 fedora 271.4 KiB rust-peeking_take_while+default-devel noarch 0.1.2-18.fc40 fedora 653.0 B rust-peeking_take_while-devel noarch 0.1.2-18.fc40 fedora 18.0 KiB rust-png+default-devel noarch 0.17.13-1.fc41 fedora 1.8 KiB rust-png-devel noarch 0.17.13-1.fc41 fedora 393.5 KiB rust-primal-check+default-devel noarch 0.3.3-4.fc40 fedora 1.0 KiB rust-primal-check-devel noarch 0.3.3-4.fc40 fedora 22.5 KiB rust-proc-macro2+default-devel noarch 1.0.81-1.fc41 fedora 1.8 KiB rust-proc-macro2+proc-macro-devel noarch 1.0.81-1.fc41 fedora 1.8 KiB rust-proc-macro2-devel noarch 1.0.81-1.fc41 fedora 204.0 KiB rust-qoi+default-devel noarch 0.4.1-2.fc40 fedora 1.4 KiB rust-qoi+std-devel noarch 0.4.1-2.fc40 fedora 1.4 KiB rust-qoi-devel noarch 0.4.1-2.fc40 fedora 104.5 KiB rust-quote+default-devel noarch 1.0.36-1.fc41 fedora 1.3 KiB rust-quote+proc-macro-devel noarch 1.0.36-1.fc41 fedora 1.3 KiB rust-quote-devel noarch 1.0.36-1.fc41 fedora 119.1 KiB rust-rayon+default-devel noarch 1.10.0-1.fc41 fedora 1.2 KiB rust-rayon-core+default-devel noarch 1.12.1-2.fc40 fedora 1.7 KiB rust-rayon-core-devel noarch 1.12.1-2.fc40 fedora 271.0 KiB rust-rayon-devel noarch 1.10.0-1.fc41 fedora 887.0 KiB rust-regex+std-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-age-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-bool-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-case-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-gencat-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-perl-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-script-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex+unicode-segment-devel noarch 1.10.4-1.fc41 fedora 3.8 KiB rust-regex-automata+alloc-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+meta-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+nfa-pikevm-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+nfa-thompson-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+std-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+syntax-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-age-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-bool-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-case-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-gencat-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-perl-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-script-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-segment-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata+unicode-word-boundary-devel noarch 0.4.6-1.fc41 fedora 3.5 KiB rust-regex-automata-devel noarch 0.4.6-1.fc41 fedora 2.6 MiB rust-regex-devel noarch 1.10.4-1.fc41 fedora 1.4 MiB rust-regex-syntax+std-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-age-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-bool-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-case-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-gencat-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-perl-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-script-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax+unicode-segment-devel noarch 0.8.3-1.fc41 fedora 1.4 KiB rust-regex-syntax-devel noarch 0.8.3-1.fc41 fedora 1.6 MiB rust-rustc-hash+default-devel noarch 1.1.0-12.fc40 fedora 864.0 B rust-rustc-hash+std-devel noarch 1.1.0-12.fc40 fedora 864.0 B rust-rustc-hash-devel noarch 1.1.0-12.fc40 fedora 23.3 KiB rust-rustdct-devel noarch 0.7.1-4.fc40 fedora 290.3 KiB rust-rustfft+avx-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft+default-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft+neon-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft+sse-devel noarch 6.2.0-1.fc40 fedora 1.5 KiB rust-rustfft-devel noarch 6.2.0-1.fc40 fedora 2.7 MiB rust-rustix+alloc-devel noarch 0.38.34-1.fc41 fedora 7.8 KiB rust-rustix+default-devel noarch 0.38.34-1.fc41 fedora 7.8 KiB rust-rustix+fs-devel noarch 0.38.34-1.fc41 fedora 7.8 KiB rust-rustix+libc-extra-traits-devel noarch 0.38.34-1.fc41 fedora 7.8 KiB rust-rustix+std-devel noarch 0.38.34-1.fc41 fedora 7.8 KiB rust-rustix+use-libc-auxv-devel noarch 0.38.34-1.fc41 fedora 7.8 KiB rust-rustix-devel noarch 0.38.34-1.fc41 fedora 1.9 MiB rust-ryu+default-devel noarch 1.0.17-1.fc41 fedora 1.3 KiB rust-ryu-devel noarch 1.0.17-1.fc41 fedora 152.9 KiB rust-serde+default-devel noarch 1.0.198-1.fc41 fedora 1.6 KiB rust-serde+derive-devel noarch 1.0.198-1.fc41 fedora 1.6 KiB rust-serde+serde_derive-devel noarch 1.0.198-1.fc41 fedora 1.6 KiB rust-serde+std-devel noarch 1.0.198-1.fc41 fedora 1.6 KiB rust-serde-devel noarch 1.0.198-1.fc41 fedora 505.3 KiB rust-serde_derive+default-devel noarch 1.0.198-1.fc41 fedora 1.6 KiB rust-serde_derive-devel noarch 1.0.198-1.fc41 fedora 309.3 KiB rust-serde_json+default-devel noarch 1.0.116-1.fc41 fedora 2.1 KiB rust-serde_json+std-devel noarch 1.0.116-1.fc41 fedora 2.1 KiB rust-serde_json-devel noarch 1.0.116-1.fc41 fedora 688.3 KiB rust-sha2+std-devel noarch 0.10.8-2.fc40 fedora 1.7 KiB rust-sha2-devel noarch 0.10.8-2.fc40 fedora 101.5 KiB rust-shlex+default-devel noarch 1.3.0-2.fc40 fedora 1.0 KiB rust-shlex+std-devel noarch 1.3.0-2.fc40 fedora 1.0 KiB rust-shlex-devel noarch 1.3.0-2.fc40 fedora 55.8 KiB rust-simd-adler32+const-generics-devel noarch 0.3.7-2.fc40 fedora 1.1 KiB rust-simd-adler32+default-devel noarch 0.3.7-2.fc40 fedora 1.1 KiB rust-simd-adler32+std-devel noarch 0.3.7-2.fc40 fedora 1.1 KiB rust-simd-adler32-devel noarch 0.3.7-2.fc40 fedora 50.5 KiB rust-strength_reduce+default-devel noarch 0.2.4-5.fc40 fedora 1.1 KiB rust-strength_reduce-devel noarch 0.2.4-5.fc40 fedora 77.9 KiB rust-syn+clone-impls-devel noarch 2.0.60-1.fc41 fedora 2.6 KiB rust-syn+default-devel noarch 2.0.60-1.fc41 fedora 2.6 KiB rust-syn+derive-devel noarch 2.0.60-1.fc41 fedora 2.6 KiB rust-syn+parsing-devel noarch 2.0.60-1.fc41 fedora 2.6 KiB rust-syn+printing-devel noarch 2.0.60-1.fc41 fedora 2.6 KiB rust-syn+proc-macro-devel noarch 2.0.60-1.fc41 fedora 2.6 KiB rust-syn-devel noarch 2.0.60-1.fc41 fedora 1.9 MiB rust-syn1+clone-impls-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+default-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+derive-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+extra-traits-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+full-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+parsing-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+printing-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+proc-macro-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+quote-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1+visit-mut-devel noarch 1.0.109-3.fc40 fedora 2.6 KiB rust-syn1-devel noarch 1.0.109-3.fc40 fedora 1.8 MiB rust-tempfile-devel noarch 3.10.1-1.fc41 fedora 143.7 KiB rust-thiserror-devel noarch 1.0.59-1.fc41 fedora 81.2 KiB rust-thiserror-impl+default-devel noarch 1.0.59-1.fc41 fedora 1.0 KiB rust-thiserror-impl-devel noarch 1.0.59-1.fc41 fedora 66.2 KiB rust-tiff+default-devel noarch 0.9.1-2.fc40 fedora 1.0 KiB rust-tiff-devel noarch 0.9.1-2.fc40 fedora 1.6 MiB rust-toml0.5+default-devel noarch 0.5.11-3.fc40 fedora 2.3 KiB rust-toml0.5-devel noarch 0.5.11-3.fc40 fedora 263.8 KiB rust-transpose-devel noarch 0.2.3-1.fc41 fedora 36.4 KiB rust-typenum+default-devel noarch 1.17.0-2.fc40 fedora 1.5 KiB rust-typenum-devel noarch 1.17.0-2.fc40 fedora 207.9 KiB rust-unicode-ident+default-devel noarch 1.0.12-2.fc40 fedora 1.6 KiB rust-unicode-ident-devel noarch 1.0.12-2.fc40 fedora 297.2 KiB rust-version_check+default-devel noarch 0.9.4-7.fc40 fedora 890.0 B rust-version_check-devel noarch 0.9.4-7.fc40 fedora 55.4 KiB rust-weezl+alloc-devel noarch 0.1.8-1.fc40 fedora 1.7 KiB rust-weezl+default-devel noarch 0.1.8-1.fc40 fedora 1.7 KiB rust-weezl+std-devel noarch 0.1.8-1.fc40 fedora 1.7 KiB rust-weezl-devel noarch 0.1.8-1.fc40 fedora 129.5 KiB rust-which4-devel noarch 4.4.2-2.fc40 fedora 57.9 KiB Transaction Summary: Installing: 309 packages Total size of inbound packages is 65 MiB. Need to download 65 MiB. After this operation 276 MiB will be used (install 276 MiB, remove 0 B). [ 1/309] rust-flate2+default-devel-0:1 100% | 459.9 KiB/s | 8.3 KiB | 00m00s [ 2/309] rust-cbindgen0.24-devel-0:0.2 100% | 21.6 MiB/s | 530.5 KiB | 00m00s [ 3/309] rust-image+default-devel-0:0. 100% | 309.7 KiB/s | 9.0 KiB | 00m00s [ 4/309] rust-hex+default-devel-0:0.4. 100% | 197.3 KiB/s | 7.7 KiB | 00m00s [ 5/309] rust-libc+default-devel-0:0.2 100% | 3.3 MiB/s | 10.2 KiB | 00m00s [ 6/309] rust-log+std-devel-0:0.4.21-1 100% | 3.9 MiB/s | 8.0 KiB | 00m00s [ 7/309] rust-log+default-devel-0:0.4. 100% | 2.6 MiB/s | 8.0 KiB | 00m00s [ 8/309] rust-num-traits+default-devel 100% | 2.6 MiB/s | 7.9 KiB | 00m00s [ 9/309] rust-bindgen0.63+default-deve 100% | 113.2 KiB/s | 7.5 KiB | 00m00s [ 10/309] rust-sha2+default-devel-0:0.1 100% | 4.0 MiB/s | 8.3 KiB | 00m00s [ 11/309] rust-tempfile+default-devel-0 100% | 2.7 MiB/s | 8.4 KiB | 00m00s [ 12/309] rust-rustdct+default-devel-0: 100% | 252.1 KiB/s | 7.6 KiB | 00m00s [ 13/309] rust-thiserror+default-devel- 100% | 212.0 KiB/s | 9.3 KiB | 00m00s [ 14/309] rust-transpose+default-devel- 100% | 120.7 KiB/s | 7.6 KiB | 00m00s [ 15/309] rust-bindgen0.63+logging-deve 100% | 176.0 KiB/s | 7.4 KiB | 00m00s [ 16/309] rust-bindgen0.63+runtime-deve 100% | 159.8 KiB/s | 7.5 KiB | 00m00s [ 17/309] rust-heck0.4+default-devel-0: 100% | 6.9 MiB/s | 7.1 KiB | 00m00s [ 18/309] rust-indexmap1+default-devel- 100% | 1.8 MiB/s | 7.4 KiB | 00m00s [ 19/309] rust-proc-macro2+default-deve 100% | 10.4 MiB/s | 10.6 KiB | 00m00s [ 20/309] rust-bindgen0.63-devel-0:0.63 100% | 5.2 MiB/s | 181.7 KiB | 00m00s [ 21/309] rust-quote+default-devel-0:1. 100% | 8.7 MiB/s | 8.9 KiB | 00m00s [ 22/309] rust-serde+derive-devel-0:1.0 100% | 10.3 MiB/s | 10.5 KiB | 00m00s [ 23/309] rust-serde-devel-0:1.0.198-1. 100% | 38.9 MiB/s | 79.6 KiB | 00m00s [ 24/309] rust-serde_json+default-devel 100% | 4.8 MiB/s | 9.9 KiB | 00m00s [ 25/309] rust-syn1+clone-impls-devel-0 100% | 7.2 MiB/s | 7.4 KiB | 00m00s [ 26/309] rust-syn1+full-devel-0:1.0.10 100% | 7.2 MiB/s | 7.4 KiB | 00m00s [ 27/309] rust-syn1+extra-traits-devel- 100% | 2.4 MiB/s | 7.4 KiB | 00m00s [ 28/309] rust-syn1+parsing-devel-0:1.0 100% | 3.6 MiB/s | 7.4 KiB | 00m00s [ 29/309] rust-syn1+printing-devel-0:1. 100% | 7.2 MiB/s | 7.4 KiB | 00m00s [ 30/309] rust-syn1-devel-0:1.0.109-3.f 100% | 70.4 MiB/s | 216.2 KiB | 00m00s [ 31/309] rust-toml0.5+default-devel-0: 100% | 1.5 MiB/s | 7.6 KiB | 00m00s [ 32/309] rust-flate2+rust_backend-deve 100% | 1.6 MiB/s | 8.3 KiB | 00m00s [ 33/309] rust-flate2-devel-0:1.0.28-2. 100% | 16.5 MiB/s | 84.5 KiB | 00m00s [ 34/309] rust-bindgen0.63+which-rustfm 100% | 107.5 KiB/s | 7.4 KiB | 00m00s [ 35/309] rust-hex+std-devel-0:0.4.3-9. 100% | 232.9 KiB/s | 7.7 KiB | 00m00s [ 36/309] rust-hex-devel-0:0.4.3-9.fc40 100% | 649.2 KiB/s | 20.8 KiB | 00m00s [ 37/309] rust-image+dxt-devel-0:0.24.9 100% | 302.9 KiB/s | 8.5 KiB | 00m00s [ 38/309] rust-image+bmp-devel-0:0.24.9 100% | 143.8 KiB/s | 8.5 KiB | 00m00s [ 39/309] rust-image+farbfeld-devel-0:0 100% | 293.1 KiB/s | 8.5 KiB | 00m00s [ 40/309] rust-image+dds-devel-0:0.24.9 100% | 133.0 KiB/s | 8.5 KiB | 00m00s [ 41/309] rust-image+gif-devel-0:0.24.9 100% | 308.2 KiB/s | 8.6 KiB | 00m00s [ 42/309] rust-image+ico-devel-0:0.24.9 100% | 569.6 KiB/s | 8.5 KiB | 00m00s [ 43/309] rust-image+hdr-devel-0:0.24.9 100% | 257.0 KiB/s | 8.5 KiB | 00m00s [ 44/309] rust-image+jpeg-devel-0:0.24. 100% | 183.7 KiB/s | 8.6 KiB | 00m00s [ 45/309] rust-image+jpeg_rayon-devel-0 100% | 190.0 KiB/s | 8.7 KiB | 00m00s [ 46/309] rust-image+png-devel-0:0.24.9 100% | 221.3 KiB/s | 8.6 KiB | 00m00s [ 47/309] rust-image+pnm-devel-0:0.24.9 100% | 446.4 KiB/s | 8.5 KiB | 00m00s [ 48/309] rust-image+qoi-devel-0:0.24.9 100% | 616.1 KiB/s | 8.6 KiB | 00m00s [ 49/309] rust-image+tga-devel-0:0.24.9 100% | 652.4 KiB/s | 8.5 KiB | 00m00s [ 50/309] rust-image+tiff-devel-0:0.24. 100% | 664.1 KiB/s | 8.6 KiB | 00m00s [ 51/309] rust-libc+std-devel-0:0.2.153 100% | 9.9 MiB/s | 10.2 KiB | 00m00s [ 52/309] rust-libc-devel-0:0.2.153-1.f 100% | 104.7 MiB/s | 429.0 KiB | 00m00s [ 53/309] rust-image+webp-devel-0:0.24. 100% | 499.1 KiB/s | 8.5 KiB | 00m00s [ 54/309] rust-log-devel-0:0.4.21-1.fc4 100% | 11.4 MiB/s | 46.8 KiB | 00m00s [ 55/309] rust-num-traits+std-devel-0:0 100% | 3.8 MiB/s | 7.9 KiB | 00m00s [ 56/309] rust-num-traits-devel-0:0.2.1 100% | 57.7 MiB/s | 59.0 KiB | 00m00s [ 57/309] rust-sha2+std-devel-0:0.10.8- 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [ 58/309] rust-sha2-devel-0:0.10.8-2.fc 100% | 19.4 MiB/s | 39.7 KiB | 00m00s [ 59/309] rust-tempfile-devel-0:3.10.1- 100% | 22.4 MiB/s | 45.9 KiB | 00m00s [ 60/309] rust-rustdct-devel-0:0.7.1-4. 100% | 1.5 MiB/s | 53.6 KiB | 00m00s [ 61/309] rust-transpose-devel-0:0.2.3- 100% | 501.5 KiB/s | 19.6 KiB | 00m00s [ 62/309] rust-thiserror-devel-0:1.0.59 100% | 646.7 KiB/s | 55.0 KiB | 00m00s [ 63/309] rust-clang-sys+runtime-devel- 100% | 2.7 MiB/s | 8.4 KiB | 00m00s [ 64/309] rust-bindgen0.63+log-devel-0: 100% | 249.5 KiB/s | 7.5 KiB | 00m00s [ 65/309] rust-bindgen0.63+which-devel- 100% | 575.5 KiB/s | 7.5 KiB | 00m00s [ 66/309] rust-cexpr+default-devel-0:0. 100% | 2.5 MiB/s | 7.6 KiB | 00m00s [ 67/309] rust-image-devel-0:0.24.9-1.f 100% | 59.0 MiB/s | 8.3 MiB | 00m00s [ 68/309] rust-clang-sys+clang_6_0-deve 100% | 646.4 KiB/s | 8.4 KiB | 00m00s [ 69/309] rust-clang-sys+default-devel- 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [ 70/309] rust-bitflags1+default-devel- 100% | 275.9 KiB/s | 7.5 KiB | 00m00s [ 71/309] rust-lazy_static+default-deve 100% | 1.9 MiB/s | 7.7 KiB | 00m00s [ 72/309] rust-lazycell+default-devel-0 100% | 2.5 MiB/s | 7.7 KiB | 00m00s [ 73/309] rust-proc-macro2-devel-0:1.0. 100% | 18.8 MiB/s | 57.7 KiB | 00m00s [ 74/309] rust-quote-devel-0:1.0.36-1.f 100% | 21.2 MiB/s | 43.5 KiB | 00m00s [ 75/309] rust-peeking_take_while+defau 100% | 1.6 MiB/s | 8.0 KiB | 00m00s [ 76/309] rust-regex+std-devel-0:1.10.4 100% | 3.1 MiB/s | 9.6 KiB | 00m00s [ 77/309] rust-regex-devel-0:1.10.4-1.f 100% | 80.1 MiB/s | 246.1 KiB | 00m00s [ 78/309] rust-regex+unicode-devel-0:1. 100% | 2.4 MiB/s | 9.7 KiB | 00m00s [ 79/309] rust-rustc-hash+default-devel 100% | 2.5 MiB/s | 7.7 KiB | 00m00s [ 80/309] rust-syn1+default-devel-0:1.0 100% | 2.5 MiB/s | 7.5 KiB | 00m00s [ 81/309] rust-shlex+default-devel-0:1. 100% | 1.9 MiB/s | 7.9 KiB | 00m00s [ 82/309] rust-heck0.4-devel-0:0.4.1-1. 100% | 9.6 MiB/s | 19.6 KiB | 00m00s [ 83/309] rust-proc-macro2+proc-macro-d 100% | 5.2 MiB/s | 10.6 KiB | 00m00s [ 84/309] rust-indexmap1-devel-0:1.9.3- 100% | 11.9 MiB/s | 61.1 KiB | 00m00s [ 85/309] rust-quote+proc-macro-devel-0 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [ 86/309] rust-serde+serde_derive-devel 100% | 10.4 MiB/s | 10.7 KiB | 00m00s [ 87/309] rust-serde_derive+default-dev 100% | 10.4 MiB/s | 10.6 KiB | 00m00s [ 88/309] rust-serde_json+std-devel-0:1 100% | 9.7 MiB/s | 10.0 KiB | 00m00s [ 89/309] rust-syn1+visit-mut-devel-0:1 100% | 526.6 KiB/s | 7.4 KiB | 00m00s [ 90/309] rust-serde_json-devel-0:1.0.1 100% | 50.0 MiB/s | 153.6 KiB | 00m00s [ 91/309] rust-syn1+quote-devel-0:1.0.1 100% | 2.4 MiB/s | 7.5 KiB | 00m00s [ 92/309] rust-unicode-ident+default-de 100% | 4.3 MiB/s | 8.7 KiB | 00m00s [ 93/309] rust-flate2+any_impl-devel-0: 100% | 1.6 MiB/s | 8.2 KiB | 00m00s [ 94/309] rust-flate2+miniz_oxide-devel 100% | 1.7 MiB/s | 8.5 KiB | 00m00s [ 95/309] rust-toml0.5-devel-0:0.5.11-3 100% | 7.7 MiB/s | 55.1 KiB | 00m00s [ 96/309] rust-crc32fast+default-devel- 100% | 1.5 MiB/s | 7.8 KiB | 00m00s [ 97/309] rust-gif+default-devel-0:0.13 100% | 659.6 KiB/s | 7.9 KiB | 00m00s [ 98/309] rust-hex+alloc-devel-0:0.4.3- 100% | 319.2 KiB/s | 7.7 KiB | 00m00s [ 99/309] rust-jpeg-decoder+rayon-devel 100% | 576.8 KiB/s | 8.1 KiB | 00m00s [100/309] rust-png+default-devel-0:0.17 100% | 643.7 KiB/s | 8.4 KiB | 00m00s [101/309] rust-qoi+default-devel-0:0.4. 100% | 521.0 KiB/s | 7.3 KiB | 00m00s [102/309] rust-tiff+default-devel-0:0.9 100% | 620.9 KiB/s | 8.1 KiB | 00m00s [103/309] rust-bytemuck+default-devel-0 100% | 578.7 KiB/s | 8.7 KiB | 00m00s [104/309] rust-byteorder+default-devel- 100% | 3.8 MiB/s | 7.9 KiB | 00m00s [105/309] rust-bytemuck+extern_crate_al 100% | 545.5 KiB/s | 8.7 KiB | 00m00s [106/309] rust-autocfg+default-devel-0: 100% | 3.8 MiB/s | 7.8 KiB | 00m00s [107/309] rust-rustfft+default-devel-0: 100% | 514.4 KiB/s | 7.7 KiB | 00m00s [108/309] rust-digest+std-devel-0:0.10. 100% | 4.0 MiB/s | 8.2 KiB | 00m00s [109/309] rust-cfg-if+default-devel-0:1 100% | 7.6 MiB/s | 7.8 KiB | 00m00s [110/309] rust-cpufeatures+default-deve 100% | 4.3 MiB/s | 8.7 KiB | 00m00s [111/309] rust-digest+default-devel-0:0 100% | 2.6 MiB/s | 8.1 KiB | 00m00s [112/309] rust-fastrand+default-devel-0 100% | 4.0 MiB/s | 8.1 KiB | 00m00s [113/309] rust-rustix+default-devel-0:0 100% | 4.9 MiB/s | 10.0 KiB | 00m00s [114/309] rust-rustix+fs-devel-0:0.38.3 100% | 4.8 MiB/s | 9.9 KiB | 00m00s [115/309] rust-jpeg-decoder-devel-0:0.3 100% | 5.9 MiB/s | 718.4 KiB | 00m00s [116/309] rust-thiserror-impl+default-d 100% | 496.6 KiB/s | 9.4 KiB | 00m00s [117/309] rust-color_quant+default-deve 100% | 120.6 KiB/s | 7.7 KiB | 00m00s [118/309] rust-clang-sys+libloading-dev 100% | 2.8 MiB/s | 8.5 KiB | 00m00s [119/309] rust-num-integer-devel-0:0.1. 100% | 4.9 MiB/s | 29.9 KiB | 00m00s [120/309] rust-clang-sys-devel-0:1.7.0- 100% | 15.3 MiB/s | 47.1 KiB | 00m00s [121/309] rust-which4-devel-0:4.4.2-2.f 100% | 5.7 MiB/s | 23.4 KiB | 00m00s [122/309] rust-cexpr-devel-0:0.6.0-9.fc 100% | 13.0 MiB/s | 26.7 KiB | 00m00s [123/309] rust-clang-sys+clang_5_0-deve 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [124/309] rust-lazy_static-devel-0:1.4. 100% | 6.1 MiB/s | 18.8 KiB | 00m00s [125/309] rust-strength_reduce+default- 100% | 367.0 KiB/s | 7.7 KiB | 00m00s [126/309] rust-lazycell-devel-0:1.3.0-1 100% | 9.9 MiB/s | 20.3 KiB | 00m00s [127/309] rust-aho-corasick+std-devel-0 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [128/309] rust-peeking_take_while-devel 100% | 2.9 MiB/s | 15.0 KiB | 00m00s [129/309] rust-bitflags1-devel-0:1.3.2- 100% | 1.9 MiB/s | 39.9 KiB | 00m00s [130/309] rust-memchr+std-devel-0:2.7.2 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [131/309] rust-aho-corasick-devel-0:1.1 100% | 30.8 MiB/s | 157.9 KiB | 00m00s [132/309] rust-memchr-devel-0:2.7.2-1.f 100% | 44.8 MiB/s | 91.7 KiB | 00m00s [133/309] rust-regex-automata+std-devel 100% | 4.6 MiB/s | 9.5 KiB | 00m00s [134/309] rust-regex-syntax+std-devel-0 100% | 8.3 MiB/s | 8.5 KiB | 00m00s [135/309] rust-regex+unicode-age-devel- 100% | 9.2 MiB/s | 9.4 KiB | 00m00s [136/309] rust-regex+unicode-bool-devel 100% | 4.6 MiB/s | 9.4 KiB | 00m00s [137/309] rust-regex+unicode-case-devel 100% | 4.6 MiB/s | 9.4 KiB | 00m00s [138/309] rust-regex+unicode-gencat-dev 100% | 4.6 MiB/s | 9.5 KiB | 00m00s [139/309] rust-regex+unicode-perl-devel 100% | 4.7 MiB/s | 9.6 KiB | 00m00s [140/309] rust-regex+unicode-script-dev 100% | 4.6 MiB/s | 9.5 KiB | 00m00s [141/309] rust-regex+unicode-segment-de 100% | 4.6 MiB/s | 9.5 KiB | 00m00s [142/309] rust-regex-automata+unicode-d 100% | 4.7 MiB/s | 9.6 KiB | 00m00s [143/309] rust-regex-automata+alloc-dev 100% | 4.4 MiB/s | 8.9 KiB | 00m00s [144/309] rust-regex-syntax+unicode-dev 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [145/309] rust-regex-automata+meta-deve 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [146/309] rust-regex-automata+nfa-pikev 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [147/309] rust-regex-automata+syntax-de 100% | 4.5 MiB/s | 9.1 KiB | 00m00s [148/309] rust-regex-syntax-devel-0:0.8 100% | 69.5 MiB/s | 213.4 KiB | 00m00s [149/309] rust-regex-automata-devel-0:0 100% | 73.6 MiB/s | 452.0 KiB | 00m00s [150/309] rust-rustc-hash+std-devel-0:1 100% | 1.5 MiB/s | 7.7 KiB | 00m00s [151/309] rust-rustc-hash-devel-0:1.1.0 100% | 4.2 MiB/s | 17.4 KiB | 00m00s [152/309] rust-shlex-devel-0:1.3.0-2.fc 100% | 8.5 MiB/s | 26.1 KiB | 00m00s [153/309] rust-shlex+std-devel-0:1.3.0- 100% | 1.9 MiB/s | 7.8 KiB | 00m00s [154/309] rust-syn1+derive-devel-0:1.0. 100% | 3.6 MiB/s | 7.4 KiB | 00m00s [155/309] rust-syn1+proc-macro-devel-0: 100% | 3.8 MiB/s | 7.7 KiB | 00m00s [156/309] rust-serde_derive-devel-0:1.0 100% | 63.3 MiB/s | 64.8 KiB | 00m00s [157/309] rust-hashbrown0.12-devel-0:0. 100% | 31.2 MiB/s | 95.8 KiB | 00m00s [158/309] rust-hashbrown0.12+raw-devel- 100% | 1.5 MiB/s | 7.4 KiB | 00m00s [159/309] rust-serde+std-devel-0:1.0.19 100% | 5.1 MiB/s | 10.5 KiB | 00m00s [160/309] rust-itoa+default-devel-0:1.0 100% | 2.7 MiB/s | 8.3 KiB | 00m00s [161/309] rust-ryu+default-devel-0:1.0. 100% | 2.7 MiB/s | 8.4 KiB | 00m00s [162/309] rust-unicode-ident-devel-0:1. 100% | 16.2 MiB/s | 49.7 KiB | 00m00s [163/309] rust-miniz_oxide+with-alloc-d 100% | 4.0 MiB/s | 8.2 KiB | 00m00s [164/309] rust-serde+default-devel-0:1. 100% | 3.4 MiB/s | 10.5 KiB | 00m00s [165/309] rust-crc32fast-devel-0:1.4.0- 100% | 14.6 MiB/s | 44.7 KiB | 00m00s [166/309] rust-miniz_oxide-devel-0:0.7. 100% | 11.3 MiB/s | 57.8 KiB | 00m00s [167/309] rust-crc32fast+std-devel-0:1. 100% | 1.5 MiB/s | 7.8 KiB | 00m00s [168/309] rust-gif+std-devel-0:0.13.1-1 100% | 556.7 KiB/s | 7.8 KiB | 00m00s [169/309] rust-gif+color_quant-devel-0: 100% | 499.1 KiB/s | 8.0 KiB | 00m00s [170/309] rust-gif+raii_no_panic-devel- 100% | 412.3 KiB/s | 7.8 KiB | 00m00s [171/309] rust-rayon+default-devel-0:1. 100% | 556.3 KiB/s | 8.3 KiB | 00m00s [172/309] rust-qoi+std-devel-0:0.4.1-2. 100% | 426.5 KiB/s | 7.3 KiB | 00m00s [173/309] rust-gif-devel-0:0.13.1-1.fc4 100% | 636.8 KiB/s | 36.9 KiB | 00m00s [174/309] rust-png-devel-0:0.17.13-1.fc 100% | 1.6 MiB/s | 92.6 KiB | 00m00s [175/309] rust-qoi-devel-0:0.4.1-2.fc40 100% | 753.2 KiB/s | 64.8 KiB | 00m00s [176/309] rust-byteorder+std-devel-0:1. 100% | 2.5 MiB/s | 7.8 KiB | 00m00s [177/309] rust-bytemuck-devel-0:1.14.1- 100% | 903.4 KiB/s | 57.8 KiB | 00m00s [178/309] rust-byteorder-devel-0:1.5.0- 100% | 13.2 MiB/s | 27.0 KiB | 00m00s [179/309] rust-autocfg-devel-0:1.2.0-1. 100% | 11.6 MiB/s | 23.7 KiB | 00m00s [180/309] rust-tiff-devel-0:0.9.1-2.fc4 100% | 17.7 MiB/s | 1.4 MiB | 00m00s [181/309] rust-rustfft+avx-devel-0:6.2. 100% | 475.2 KiB/s | 7.6 KiB | 00m00s [182/309] rust-color_quant-devel-0:1.1. 100% | 626.7 KiB/s | 14.4 KiB | 00m00s [183/309] rust-rustfft+sse-devel-0:6.2. 100% | 345.6 KiB/s | 7.6 KiB | 00m00s [184/309] rust-crypto-common+std-devel- 100% | 3.8 MiB/s | 7.8 KiB | 00m00s [185/309] rust-digest+alloc-devel-0:0.1 100% | 2.6 MiB/s | 8.0 KiB | 00m00s [186/309] rust-digest-devel-0:0.10.7-3. 100% | 16.1 MiB/s | 32.9 KiB | 00m00s [187/309] rust-cfg-if-devel-0:1.0.0-11. 100% | 15.2 MiB/s | 15.6 KiB | 00m00s [188/309] rust-rustfft+neon-devel-0:6.2 100% | 176.8 KiB/s | 7.6 KiB | 00m00s [189/309] rust-cpufeatures-devel-0:0.2. 100% | 7.4 MiB/s | 22.6 KiB | 00m00s [190/309] rust-digest+core-api-devel-0: 100% | 3.9 MiB/s | 8.1 KiB | 00m00s [191/309] rust-fastrand+std-devel-0:2.0 100% | 2.6 MiB/s | 8.1 KiB | 00m00s [192/309] rust-fastrand-devel-0:2.0.2-1 100% | 7.5 MiB/s | 23.1 KiB | 00m00s [193/309] rust-rustix+std-devel-0:0.38. 100% | 5.1 MiB/s | 10.4 KiB | 00m00s [194/309] rust-rustix+use-libc-auxv-dev 100% | 3.2 MiB/s | 9.9 KiB | 00m00s [195/309] rust-rustix-devel-0:0.38.34-1 100% | 69.5 MiB/s | 355.8 KiB | 00m00s [196/309] rust-num-traits+i128-devel-0: 100% | 2.6 MiB/s | 7.9 KiB | 00m00s [197/309] rust-strength_reduce-devel-0: 100% | 1.2 MiB/s | 25.6 KiB | 00m00s [198/309] rust-libloading+default-devel 100% | 2.6 MiB/s | 8.1 KiB | 00m00s [199/309] rust-thiserror-impl-devel-0:1 100% | 714.5 KiB/s | 25.7 KiB | 00m00s [200/309] rust-glob+default-devel-0:0.3 100% | 1.9 MiB/s | 7.7 KiB | 00m00s [201/309] rust-either+default-devel-0:1 100% | 4.0 MiB/s | 8.2 KiB | 00m00s [202/309] rust-nom+std-devel-0:7.1.3-3. 100% | 3.9 MiB/s | 8.0 KiB | 00m00s [203/309] rust-home+default-devel-0:0.5 100% | 1.3 MiB/s | 7.8 KiB | 00m00s [204/309] rust-nom-devel-0:7.1.3-3.fc40 100% | 27.4 MiB/s | 112.4 KiB | 00m00s [205/309] rust-clang-sys+clang_4_0-deve 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [206/309] rust-memchr+alloc-devel-0:2.7 100% | 2.1 MiB/s | 8.4 KiB | 00m00s [207/309] rust-regex-automata+unicode-a 100% | 3.0 MiB/s | 9.2 KiB | 00m00s [208/309] rust-rustfft-devel-0:6.2.0-1. 100% | 2.2 MiB/s | 203.1 KiB | 00m00s [209/309] rust-regex-syntax+unicode-age 100% | 4.2 MiB/s | 8.5 KiB | 00m00s [210/309] rust-regex-automata+unicode-b 100% | 4.5 MiB/s | 9.2 KiB | 00m00s [211/309] rust-regex-syntax+unicode-boo 100% | 2.8 MiB/s | 8.5 KiB | 00m00s [212/309] rust-regex-syntax+unicode-cas 100% | 8.3 MiB/s | 8.5 KiB | 00m00s [213/309] rust-regex-automata+unicode-c 100% | 4.5 MiB/s | 9.2 KiB | 00m00s [214/309] rust-regex-automata+unicode-g 100% | 3.0 MiB/s | 9.2 KiB | 00m00s [215/309] rust-regex-syntax+unicode-gen 100% | 2.1 MiB/s | 8.5 KiB | 00m00s [216/309] rust-regex-automata+unicode-p 100% | 3.0 MiB/s | 9.2 KiB | 00m00s [217/309] rust-regex-automata+unicode-w 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [218/309] rust-regex-syntax+unicode-per 100% | 4.2 MiB/s | 8.5 KiB | 00m00s [219/309] rust-regex-automata+unicode-s 100% | 4.5 MiB/s | 9.2 KiB | 00m00s [220/309] rust-regex-syntax+unicode-scr 100% | 1.4 MiB/s | 8.5 KiB | 00m00s [221/309] rust-regex-syntax+unicode-seg 100% | 1.7 MiB/s | 8.5 KiB | 00m00s [222/309] rust-regex-automata+unicode-s 100% | 1.8 MiB/s | 9.2 KiB | 00m00s [223/309] rust-regex-automata+nfa-thomp 100% | 4.4 MiB/s | 9.0 KiB | 00m00s [224/309] rust-syn+clone-impls-devel-0: 100% | 5.0 MiB/s | 10.3 KiB | 00m00s [225/309] rust-syn+derive-devel-0:2.0.6 100% | 5.0 MiB/s | 10.3 KiB | 00m00s [226/309] rust-syn+printing-devel-0:2.0 100% | 10.2 MiB/s | 10.4 KiB | 00m00s [227/309] rust-syn+parsing-devel-0:2.0. 100% | 5.0 MiB/s | 10.3 KiB | 00m00s [228/309] rust-syn+proc-macro-devel-0:2 100% | 5.2 MiB/s | 10.6 KiB | 00m00s [229/309] rust-itoa-devel-0:1.0.11-1.fc 100% | 9.2 MiB/s | 18.9 KiB | 00m00s [230/309] rust-syn-devel-0:2.0.60-1.fc4 100% | 75.5 MiB/s | 231.9 KiB | 00m00s [231/309] rust-ryu-devel-0:1.0.17-1.fc4 100% | 13.9 MiB/s | 57.0 KiB | 00m00s [232/309] rust-adler-devel-0:1.0.2-10.f 100% | 6.6 MiB/s | 20.4 KiB | 00m00s [233/309] rust-weezl+default-devel-0:0. 100% | 537.8 KiB/s | 8.1 KiB | 00m00s [234/309] rust-fdeflate+default-devel-0 100% | 343.1 KiB/s | 7.5 KiB | 00m00s [235/309] rust-miniz_oxide+default-deve 100% | 431.8 KiB/s | 8.2 KiB | 00m00s [236/309] rust-miniz_oxide+simd-devel-0 100% | 390.3 KiB/s | 8.2 KiB | 00m00s [237/309] rust-num-integer+default-deve 100% | 395.9 KiB/s | 7.9 KiB | 00m00s [238/309] rust-num-complex+default-deve 100% | 178.6 KiB/s | 8.0 KiB | 00m00s [239/309] rust-rayon-devel-0:1.10.0-1.f 100% | 2.3 MiB/s | 186.0 KiB | 00m00s [240/309] rust-version_check+default-de 100% | 7.6 MiB/s | 7.8 KiB | 00m00s [241/309] rust-crypto-common-devel-0:0. 100% | 16.7 MiB/s | 17.1 KiB | 00m00s [242/309] rust-crypto-common+default-de 100% | 3.8 MiB/s | 7.8 KiB | 00m00s [243/309] rust-digest+block-buffer-deve 100% | 8.0 MiB/s | 8.2 KiB | 00m00s [244/309] rust-fastrand+alloc-devel-0:2 100% | 3.9 MiB/s | 8.1 KiB | 00m00s [245/309] rust-primal-check+default-dev 100% | 363.1 KiB/s | 7.6 KiB | 00m00s [246/309] rust-bitflags+std-devel-0:2.5 100% | 1.6 MiB/s | 8.3 KiB | 00m00s [247/309] rust-errno+std-devel-0:0.3.8- 100% | 2.8 MiB/s | 8.5 KiB | 00m00s [248/309] rust-errno-devel-0:0.3.8-2.fc 100% | 9.4 MiB/s | 19.2 KiB | 00m00s [249/309] rust-rustix+libc-extra-traits 100% | 9.9 MiB/s | 10.2 KiB | 00m00s [250/309] rust-rustix+alloc-devel-0:0.3 100% | 3.2 MiB/s | 9.9 KiB | 00m00s [251/309] rust-bitflags-devel-0:2.5.0-1 100% | 19.4 MiB/s | 59.6 KiB | 00m00s [252/309] rust-linux-raw-sys0.4+elf-dev 100% | 2.4 MiB/s | 7.4 KiB | 00m00s [253/309] rust-linux-raw-sys0.4+errno-d 100% | 2.4 MiB/s | 7.4 KiB | 00m00s [254/309] rust-linux-raw-sys0.4+general 100% | 3.6 MiB/s | 7.4 KiB | 00m00s [255/309] rust-linux-raw-sys0.4+ioctl-d 100% | 3.6 MiB/s | 7.4 KiB | 00m00s [256/309] rust-linux-raw-sys0.4+no_std- 100% | 3.6 MiB/s | 7.4 KiB | 00m00s [257/309] rust-syn+default-devel-0:2.0. 100% | 3.4 MiB/s | 10.5 KiB | 00m00s [258/309] rust-linux-raw-sys0.4-devel-0 100% | 36.4 MiB/s | 186.4 KiB | 00m00s [259/309] rust-libloading-devel-0:0.8.3 100% | 7.8 MiB/s | 40.2 KiB | 00m00s [260/309] rust-glob-devel-0:0.3.1-3.fc4 100% | 6.2 MiB/s | 25.6 KiB | 00m00s [261/309] rust-either+use_std-devel-0:1 100% | 2.0 MiB/s | 8.2 KiB | 00m00s [262/309] rust-either-devel-0:1.11.0-1. 100% | 5.1 MiB/s | 26.0 KiB | 00m00s [263/309] rust-minimal-lexical+std-deve 100% | 1.3 MiB/s | 7.7 KiB | 00m00s [264/309] rust-home-devel-0:0.5.9-2.fc4 100% | 2.4 MiB/s | 16.9 KiB | 00m00s [265/309] rust-nom+alloc-devel-0:7.1.3- 100% | 1.5 MiB/s | 7.7 KiB | 00m00s [266/309] rust-clang-sys+clang_3_9-deve 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [267/309] rust-minimal-lexical-devel-0: 100% | 19.6 MiB/s | 100.2 KiB | 00m00s [268/309] rust-rayon-core+default-devel 100% | 407.9 KiB/s | 8.2 KiB | 00m00s [269/309] rust-weezl-devel-0:0.1.8-1.fc 100% | 1.6 MiB/s | 42.1 KiB | 00m00s [270/309] rust-miniz_oxide+simd-adler32 100% | 287.1 KiB/s | 8.3 KiB | 00m00s [271/309] rust-fdeflate-devel-0:0.3.4-1 100% | 656.6 KiB/s | 30.2 KiB | 00m00s [272/309] rust-num-complex-devel-0:0.4. 100% | 1.7 MiB/s | 35.7 KiB | 00m00s [273/309] rust-num-complex+std-devel-0: 100% | 225.9 KiB/s | 8.1 KiB | 00m00s [274/309] rust-num-integer+std-devel-0: 100% | 2.6 MiB/s | 8.0 KiB | 00m00s [275/309] rust-version_check-devel-0:0. 100% | 21.6 MiB/s | 22.1 KiB | 00m00s [276/309] rust-generic-array+default-de 100% | 7.7 MiB/s | 7.9 KiB | 00m00s [277/309] rust-generic-array+more_lengt 100% | 7.7 MiB/s | 7.9 KiB | 00m00s [278/309] rust-typenum+default-devel-0: 100% | 3.9 MiB/s | 8.0 KiB | 00m00s [279/309] rust-block-buffer+default-dev 100% | 3.9 MiB/s | 7.9 KiB | 00m00s [280/309] rust-libc+extra_traits-devel- 100% | 5.0 MiB/s | 10.2 KiB | 00m00s [281/309] rust-clang-sys+clang_3_8-deve 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [282/309] rust-primal-check-devel-0:0.3 100% | 577.9 KiB/s | 16.8 KiB | 00m00s [283/309] rust-weezl+std-devel-0:0.1.8- 100% | 62.4 KiB/s | 8.1 KiB | 00m00s [284/309] rust-weezl+alloc-devel-0:0.1. 100% | 297.5 KiB/s | 8.0 KiB | 00m00s [285/309] rust-rayon-core-devel-0:1.12. 100% | 3.1 MiB/s | 79.3 KiB | 00m00s [286/309] rust-simd-adler32-devel-0:0.3 100% | 1.3 MiB/s | 18.5 KiB | 00m00s [287/309] rust-generic-array-devel-0:0. 100% | 7.9 MiB/s | 24.2 KiB | 00m00s [288/309] rust-typenum-devel-0:1.17.0-2 100% | 25.0 MiB/s | 51.2 KiB | 00m00s [289/309] rust-block-buffer-devel-0:0.1 100% | 6.2 MiB/s | 19.2 KiB | 00m00s [290/309] rust-simd-adler32+default-dev 100% | 293.5 KiB/s | 7.6 KiB | 00m00s [291/309] rust-clang-sys+clang_3_7-deve 100% | 2.7 MiB/s | 8.4 KiB | 00m00s [292/309] rust-simd-adler32+const-gener 100% | 582.4 KiB/s | 7.6 KiB | 00m00s [293/309] rust-crossbeam-deque+default- 100% | 402.6 KiB/s | 8.1 KiB | 00m00s [294/309] rust-crossbeam-utils+default- 100% | 433.8 KiB/s | 8.7 KiB | 00m00s [295/309] rust-clang-sys+clang_3_6-deve 100% | 2.7 MiB/s | 8.4 KiB | 00m00s [296/309] rust-simd-adler32+std-devel-0 100% | 396.2 KiB/s | 7.5 KiB | 00m00s [297/309] rust-crossbeam-deque-devel-0: 100% | 882.8 KiB/s | 29.1 KiB | 00m00s [298/309] rust-crossbeam-utils+std-deve 100% | 287.3 KiB/s | 8.6 KiB | 00m00s [299/309] rust-clang-sys+clang_3_5-deve 100% | 4.1 MiB/s | 8.4 KiB | 00m00s [300/309] rust-crossbeam-deque+std-deve 100% | 149.9 KiB/s | 8.2 KiB | 00m00s [301/309] rust-crossbeam-utils-devel-0: 100% | 1.7 MiB/s | 55.3 KiB | 00m00s [302/309] rust-crossbeam-epoch+std-deve 100% | 469.4 KiB/s | 8.9 KiB | 00m00s [303/309] rust-crossbeam-epoch-devel-0: 100% | 2.5 MiB/s | 53.9 KiB | 00m00s [304/309] clang-resource-filesystem-0:1 100% | 4.8 MiB/s | 14.9 KiB | 00m00s [305/309] rust-crossbeam-epoch+alloc-de 100% | 415.4 KiB/s | 8.7 KiB | 00m00s [306/309] clang-0:18.1.3-2.fc41.x86_64 100% | 12.7 MiB/s | 78.1 KiB | 00m00s [307/309] clang-devel-0:18.1.3-2.fc41.x 100% | 112.6 MiB/s | 3.2 MiB | 00m00s [308/309] clang-libs-0:18.1.3-2.fc41.x8 100% | 165.0 MiB/s | 22.9 MiB | 00m00s [309/309] clang-tools-extra-0:18.1.3-2. 100% | 79.6 MiB/s | 19.9 MiB | 00m00s -------------------------------------------------------------------------------- [309/309] Total 100% | 36.1 MiB/s | 64.7 MiB | 00m02s Running transaction [ 1/311] Verify package files 100% | 971.0 B/s | 309.0 B | 00m00s [ 2/311] Prepare transaction 100% | 4.2 KiB/s | 309.0 B | 00m00s [ 3/311] Installing rust-regex-syntax- 100% | 261.6 MiB/s | 1.6 MiB | 00m00s [ 4/311] Installing rust-regex-automat 100% | 261.9 MiB/s | 2.6 MiB | 00m00s [ 5/311] Installing rust-libc-devel-0: 100% | 193.4 MiB/s | 4.1 MiB | 00m00s [ 6/311] Installing rust-linux-raw-sys 100% | 465.1 MiB/s | 7.4 MiB | 00m00s [ 7/311] Installing rust-memchr-devel- 100% | 140.6 MiB/s | 575.7 KiB | 00m00s [ 8/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 9/311] Installing rust-crossbeam-uti 100% | 92.0 MiB/s | 188.5 KiB | 00m00s [ 10/311] Installing rust-simd-adler32- 100% | 52.4 MiB/s | 53.6 KiB | 00m00s [ 11/311] Installing rust-jpeg-decoder- 100% | 295.0 MiB/s | 906.4 KiB | 00m00s [ 12/311] Installing rust-crossbeam-uti 100% | 0.0 B/s | 124.0 B | 00m00s [ 13/311] Installing rust-crossbeam-epo 100% | 92.5 MiB/s | 189.4 KiB | 00m00s [ 14/311] Installing rust-libc+std-deve 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/311] Installing rust-errno-devel-0 100% | 30.5 MiB/s | 31.3 KiB | 00m00s [ 16/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 17/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 18/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 20/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 21/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 22/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 23/311] Installing rust-weezl-devel-0 100% | 130.8 MiB/s | 133.9 KiB | 00m00s [ 24/311] Installing rust-either-devel- 100% | 73.9 MiB/s | 75.7 KiB | 00m00s [ 25/311] Installing rust-fastrand-deve 100% | 50.3 MiB/s | 51.5 KiB | 00m00s [ 26/311] Installing rust-aho-corasick- 100% | 265.0 MiB/s | 814.0 KiB | 00m00s [ 27/311] Installing rust-hex-devel-0:0 100% | 39.4 MiB/s | 40.4 KiB | 00m00s [ 28/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 29/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 30/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 31/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 32/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 33/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 34/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 35/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 36/311] Installing rust-crossbeam-deq 100% | 123.1 MiB/s | 126.1 KiB | 00m00s [ 37/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 38/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 39/311] Installing rust-regex-syntax+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 40/311] Installing rust-minimal-lexic 100% | 155.9 MiB/s | 319.3 KiB | 00m00s [ 41/311] Installing rust-nom-devel-0:7 100% | 209.4 MiB/s | 643.3 KiB | 00m00s [ 42/311] Installing rust-bitflags-deve 100% | 98.0 MiB/s | 200.6 KiB | 00m00s [ 43/311] Installing rust-byteorder-dev 100% | 172.2 MiB/s | 176.4 KiB | 00m00s [ 44/311] Installing rust-bytemuck-deve 100% | 95.3 MiB/s | 195.1 KiB | 00m00s [ 45/311] Installing rust-bytemuck+defa 100% | 0.0 B/s | 124.0 B | 00m00s [ 46/311] Installing rust-qoi-devel-0:0 100% | 105.9 MiB/s | 108.4 KiB | 00m00s [ 47/311] Installing rust-hashbrown0.12 100% | 189.5 MiB/s | 582.0 KiB | 00m00s [ 48/311] Installing rust-shlex-devel-0 100% | 56.3 MiB/s | 57.7 KiB | 00m00s [ 49/311] Installing rust-rustc-hash-de 100% | 0.0 B/s | 24.9 KiB | 00m00s [ 50/311] Installing rust-log-devel-0:0 100% | 181.0 MiB/s | 185.4 KiB | 00m00s [ 51/311] Installing rust-log+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [ 52/311] Installing rust-rustc-hash+st 100% | 0.0 B/s | 124.0 B | 00m00s [ 53/311] Installing rust-rustc-hash+de 100% | 0.0 B/s | 124.0 B | 00m00s [ 54/311] Installing rust-shlex+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 55/311] Installing rust-shlex+default 100% | 0.0 B/s | 124.0 B | 00m00s [ 56/311] Installing rust-hashbrown0.12 100% | 0.0 B/s | 124.0 B | 00m00s [ 57/311] Installing rust-qoi+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [ 58/311] Installing rust-qoi+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [ 59/311] Installing rust-bytemuck+exte 100% | 0.0 B/s | 124.0 B | 00m00s [ 60/311] Installing rust-byteorder+std 100% | 0.0 B/s | 124.0 B | 00m00s [ 61/311] Installing rust-byteorder+def 100% | 0.0 B/s | 124.0 B | 00m00s [ 62/311] Installing rust-bitflags+std- 100% | 0.0 B/s | 124.0 B | 00m00s [ 63/311] Installing rust-nom+alloc-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 64/311] Installing rust-minimal-lexic 100% | 0.0 B/s | 124.0 B | 00m00s [ 65/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 66/311] Installing rust-hex+alloc-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 67/311] Installing rust-hex+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [ 68/311] Installing rust-fastrand+allo 100% | 0.0 B/s | 124.0 B | 00m00s [ 69/311] Installing rust-fastrand+std- 100% | 0.0 B/s | 124.0 B | 00m00s [ 70/311] Installing rust-fastrand+defa 100% | 0.0 B/s | 124.0 B | 00m00s [ 71/311] Installing rust-either+use_st 100% | 0.0 B/s | 124.0 B | 00m00s [ 72/311] Installing rust-either+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [ 73/311] Installing rust-weezl+alloc-d 100% | 0.0 B/s | 124.0 B | 00m00s [ 74/311] Installing rust-weezl+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 75/311] Installing rust-weezl+default 100% | 0.0 B/s | 124.0 B | 00m00s [ 76/311] Installing rust-gif-devel-0:0 100% | 114.4 MiB/s | 117.1 KiB | 00m00s [ 77/311] Installing rust-gif+raii_no_p 100% | 0.0 B/s | 124.0 B | 00m00s [ 78/311] Installing rust-gif+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [ 79/311] Installing rust-errno+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [ 80/311] Installing rust-libc+default- 100% | 0.0 B/s | 124.0 B | 00m00s [ 81/311] Installing rust-cpufeatures-d 100% | 41.7 MiB/s | 42.7 KiB | 00m00s [ 82/311] Installing rust-cpufeatures+d 100% | 0.0 B/s | 124.0 B | 00m00s [ 83/311] Installing rust-crossbeam-epo 100% | 0.0 B/s | 124.0 B | 00m00s [ 84/311] Installing rust-crossbeam-epo 100% | 0.0 B/s | 124.0 B | 00m00s [ 85/311] Installing rust-crossbeam-deq 100% | 0.0 B/s | 124.0 B | 00m00s [ 86/311] Installing rust-crossbeam-deq 100% | 0.0 B/s | 124.0 B | 00m00s [ 87/311] Installing rust-crossbeam-uti 100% | 0.0 B/s | 124.0 B | 00m00s [ 88/311] Installing rust-rayon-core-de 100% | 136.6 MiB/s | 279.7 KiB | 00m00s [ 89/311] Installing rust-rayon-core+de 100% | 0.0 B/s | 124.0 B | 00m00s [ 90/311] Installing rust-rayon-devel-0 100% | 177.7 MiB/s | 909.8 KiB | 00m00s [ 91/311] Installing rust-rayon+default 100% | 0.0 B/s | 124.0 B | 00m00s [ 92/311] Installing rust-jpeg-decoder+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 93/311] Installing rust-simd-adler32+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 94/311] Installing rust-simd-adler32+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 95/311] Installing rust-simd-adler32+ 100% | 0.0 B/s | 124.0 B | 00m00s [ 96/311] Installing rust-fdeflate-deve 100% | 126.7 MiB/s | 129.7 KiB | 00m00s [ 97/311] Installing rust-fdeflate+defa 100% | 0.0 B/s | 124.0 B | 00m00s [ 98/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [ 99/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [100/311] Installing rust-regex-automat 100% | 121.1 KiB/s | 124.0 B | 00m00s [101/311] Installing rust-regex-devel-0 100% | 174.1 MiB/s | 1.4 MiB | 00m00s [102/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [103/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [104/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [105/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [106/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [107/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [108/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [109/311] Installing rust-regex+unicode 100% | 0.0 B/s | 124.0 B | 00m00s [110/311] Installing rust-memchr+alloc- 100% | 0.0 B/s | 124.0 B | 00m00s [111/311] Installing rust-memchr+std-de 100% | 0.0 B/s | 124.0 B | 00m00s [112/311] Installing rust-aho-corasick+ 100% | 0.0 B/s | 124.0 B | 00m00s [113/311] Installing rust-regex-automat 100% | 0.0 B/s | 124.0 B | 00m00s [114/311] Installing rust-regex+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [115/311] Installing rust-nom+std-devel 100% | 0.0 B/s | 124.0 B | 00m00s [116/311] Installing rust-cexpr-devel-0 100% | 64.2 MiB/s | 65.7 KiB | 00m00s [117/311] Installing rust-cexpr+default 100% | 0.0 B/s | 124.0 B | 00m00s [118/311] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [119/311] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [120/311] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [121/311] Installing rust-linux-raw-sys 100% | 0.0 B/s | 124.0 B | 00m00s [122/311] Installing rust-linux-raw-sys 100% | 121.1 KiB/s | 124.0 B | 00m00s [123/311] Installing rust-rustix-devel- 100% | 130.9 MiB/s | 2.0 MiB | 00m00s [124/311] Installing rust-rustix+fs-dev 100% | 0.0 B/s | 124.0 B | 00m00s [125/311] Installing rust-rustix+use-li 100% | 0.0 B/s | 124.0 B | 00m00s [126/311] Installing rust-rustix+alloc- 100% | 0.0 B/s | 124.0 B | 00m00s [127/311] Installing rust-libc+extra_tr 100% | 0.0 B/s | 124.0 B | 00m00s [128/311] Installing rust-rustix+libc-e 100% | 0.0 B/s | 124.0 B | 00m00s [129/311] Installing rust-rustix+std-de 100% | 0.0 B/s | 124.0 B | 00m00s [130/311] Installing rust-rustix+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [131/311] Installing clang-resource-fil 100% | 1.5 MiB/s | 1.6 KiB | 00m00s [132/311] Installing clang-libs-0:18.1. 100% | 427.9 MiB/s | 107.8 MiB | 00m00s [133/311] Installing clang-0:18.1.3-2.f 100% | 288.2 MiB/s | 590.2 KiB | 00m00s [134/311] Installing clang-tools-extra- 100% | 418.5 MiB/s | 88.7 MiB | 00m00s [135/311] Installing clang-devel-0:18.1 100% | 396.2 MiB/s | 23.8 MiB | 00m00s [136/311] Installing rust-typenum-devel 100% | 103.7 MiB/s | 212.4 KiB | 00m00s [137/311] Installing rust-typenum+defau 100% | 0.0 B/s | 124.0 B | 00m00s [138/311] Installing rust-version_check 100% | 56.0 MiB/s | 57.4 KiB | 00m00s [139/311] Installing rust-version_check 100% | 0.0 B/s | 124.0 B | 00m00s [140/311] Installing rust-generic-array 100% | 66.5 MiB/s | 68.1 KiB | 00m00s [141/311] Installing rust-generic-array 100% | 0.0 B/s | 124.0 B | 00m00s [142/311] Installing rust-block-buffer- 100% | 35.0 MiB/s | 35.8 KiB | 00m00s [143/311] Installing rust-block-buffer+ 100% | 0.0 B/s | 124.0 B | 00m00s [144/311] Installing rust-generic-array 100% | 0.0 B/s | 124.0 B | 00m00s [145/311] Installing rust-crypto-common 100% | 0.0 B/s | 26.5 KiB | 00m00s [146/311] Installing rust-crypto-common 100% | 0.0 B/s | 124.0 B | 00m00s [147/311] Installing rust-crypto-common 100% | 0.0 B/s | 124.0 B | 00m00s [148/311] Installing rust-digest-devel- 100% | 86.2 MiB/s | 88.2 KiB | 00m00s [149/311] Installing rust-digest+alloc- 100% | 0.0 B/s | 124.0 B | 00m00s [150/311] Installing rust-digest+std-de 100% | 0.0 B/s | 124.0 B | 00m00s [151/311] Installing rust-digest+block- 100% | 0.0 B/s | 124.0 B | 00m00s [152/311] Installing rust-digest+core-a 100% | 0.0 B/s | 124.0 B | 00m00s [153/311] Installing rust-digest+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [154/311] Installing rust-home-devel-0: 100% | 0.0 B/s | 26.3 KiB | 00m00s [155/311] Installing rust-home+default- 100% | 0.0 B/s | 124.0 B | 00m00s [156/311] Installing rust-which4-devel- 100% | 59.0 MiB/s | 60.4 KiB | 00m00s [157/311] Installing rust-glob-devel-0: 100% | 74.3 MiB/s | 76.1 KiB | 00m00s [158/311] Installing rust-glob+default- 100% | 0.0 B/s | 124.0 B | 00m00s [159/311] Installing rust-clang-sys-dev 100% | 194.0 MiB/s | 198.7 KiB | 00m00s [160/311] Installing rust-clang-sys+def 100% | 0.0 B/s | 124.0 B | 00m00s [161/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [162/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [163/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [164/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [165/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [166/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [167/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [168/311] Installing rust-clang-sys+cla 100% | 0.0 B/s | 124.0 B | 00m00s [169/311] Installing rust-adler-devel-0 100% | 34.4 MiB/s | 35.2 KiB | 00m00s [170/311] Installing rust-miniz_oxide-d 100% | 113.7 MiB/s | 232.8 KiB | 00m00s [171/311] Installing rust-miniz_oxide+w 100% | 0.0 B/s | 124.0 B | 00m00s [172/311] Installing rust-miniz_oxide+d 100% | 0.0 B/s | 124.0 B | 00m00s [173/311] Installing rust-miniz_oxide+s 100% | 0.0 B/s | 124.0 B | 00m00s [174/311] Installing rust-miniz_oxide+s 100% | 0.0 B/s | 124.0 B | 00m00s [175/311] Installing rust-ryu-devel-0:1 100% | 77.9 MiB/s | 159.5 KiB | 00m00s [176/311] Installing rust-ryu+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [177/311] Installing rust-itoa-devel-0: 100% | 29.4 MiB/s | 30.1 KiB | 00m00s [178/311] Installing rust-itoa+default- 100% | 0.0 B/s | 124.0 B | 00m00s [179/311] Installing rust-strength_redu 100% | 78.8 MiB/s | 80.7 KiB | 00m00s [180/311] Installing rust-strength_redu 100% | 0.0 B/s | 124.0 B | 00m00s [181/311] Installing rust-cfg-if-devel- 100% | 0.0 B/s | 20.8 KiB | 00m00s [182/311] Installing rust-cfg-if+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [183/311] Installing rust-sha2-devel-0: 100% | 52.3 MiB/s | 107.2 KiB | 00m00s [184/311] Installing rust-crc32fast-dev 100% | 95.8 MiB/s | 98.1 KiB | 00m00s [185/311] Installing rust-crc32fast+std 100% | 0.0 B/s | 124.0 B | 00m00s [186/311] Installing rust-crc32fast+def 100% | 0.0 B/s | 124.0 B | 00m00s [187/311] Installing rust-flate2-devel- 100% | 92.1 MiB/s | 282.9 KiB | 00m00s [188/311] Installing rust-flate2+any_im 100% | 0.0 B/s | 124.0 B | 00m00s [189/311] Installing rust-flate2+miniz_ 100% | 0.0 B/s | 124.0 B | 00m00s [190/311] Installing rust-flate2+rust_b 100% | 0.0 B/s | 124.0 B | 00m00s [191/311] Installing rust-flate2+defaul 100% | 0.0 B/s | 124.0 B | 00m00s [192/311] Installing rust-tiff-devel-0: 100% | 264.2 MiB/s | 1.6 MiB | 00m00s [193/311] Installing rust-tiff+default- 100% | 0.0 B/s | 124.0 B | 00m00s [194/311] Installing rust-sha2+std-deve 100% | 0.0 B/s | 124.0 B | 00m00s [195/311] Installing rust-tempfile-deve 100% | 72.8 MiB/s | 149.0 KiB | 00m00s [196/311] Installing rust-tempfile+defa 100% | 0.0 B/s | 124.0 B | 00m00s [197/311] Installing rust-libloading-de 100% | 54.8 MiB/s | 112.2 KiB | 00m00s [198/311] Installing rust-libloading+de 100% | 0.0 B/s | 124.0 B | 00m00s [199/311] Installing rust-clang-sys+lib 100% | 0.0 B/s | 124.0 B | 00m00s [200/311] Installing rust-clang-sys+run 100% | 0.0 B/s | 124.0 B | 00m00s [201/311] Installing rust-autocfg-devel 100% | 48.8 MiB/s | 50.0 KiB | 00m00s [202/311] Installing rust-autocfg+defau 100% | 0.0 B/s | 124.0 B | 00m00s [203/311] Installing rust-num-traits-de 100% | 135.1 MiB/s | 276.7 KiB | 00m00s [204/311] Installing rust-num-traits+st 100% | 0.0 B/s | 124.0 B | 00m00s [205/311] Installing rust-num-traits+de 100% | 0.0 B/s | 124.0 B | 00m00s [206/311] Installing rust-num-traits+i1 100% | 0.0 B/s | 124.0 B | 00m00s [207/311] Installing rust-num-integer-d 100% | 107.0 MiB/s | 109.6 KiB | 00m00s [208/311] Installing rust-num-complex-d 100% | 134.7 MiB/s | 138.0 KiB | 00m00s [209/311] Installing rust-num-complex+s 100% | 0.0 B/s | 124.0 B | 00m00s [210/311] Installing rust-num-complex+d 100% | 0.0 B/s | 124.0 B | 00m00s [211/311] Installing rust-transpose-dev 100% | 38.0 MiB/s | 39.0 KiB | 00m00s [212/311] Installing rust-transpose+def 100% | 0.0 B/s | 124.0 B | 00m00s [213/311] Installing rust-num-integer+s 100% | 0.0 B/s | 124.0 B | 00m00s [214/311] Installing rust-num-integer+d 100% | 0.0 B/s | 124.0 B | 00m00s [215/311] Installing rust-primal-check- 100% | 0.0 B/s | 24.1 KiB | 00m00s [216/311] Installing rust-primal-check+ 100% | 0.0 B/s | 124.0 B | 00m00s [217/311] Installing rust-rustfft-devel 100% | 390.8 MiB/s | 2.7 MiB | 00m00s [218/311] Installing rust-rustfft+avx-d 100% | 0.0 B/s | 124.0 B | 00m00s [219/311] Installing rust-rustfft+neon- 100% | 0.0 B/s | 124.0 B | 00m00s [220/311] Installing rust-rustfft+sse-d 100% | 0.0 B/s | 124.0 B | 00m00s [221/311] Installing rust-rustfft+defau 100% | 0.0 B/s | 124.0 B | 00m00s [222/311] Installing rust-rustdct-devel 100% | 145.7 MiB/s | 298.4 KiB | 00m00s [223/311] Installing rust-indexmap1-dev 100% | 136.3 MiB/s | 279.0 KiB | 00m00s [224/311] Installing rust-indexmap1+def 100% | 0.0 B/s | 124.0 B | 00m00s [225/311] Installing rust-color_quant-d 100% | 0.0 B/s | 21.2 KiB | 00m00s [226/311] Installing rust-color_quant+d 100% | 121.1 KiB/s | 124.0 B | 00m00s [227/311] Installing rust-image-devel-0 100% | 363.1 MiB/s | 12.7 MiB | 00m00s [228/311] Installing rust-image+bmp-dev 100% | 0.0 B/s | 124.0 B | 00m00s [229/311] Installing rust-image+dxt-dev 100% | 0.0 B/s | 124.0 B | 00m00s [230/311] Installing rust-image+dds-dev 100% | 0.0 B/s | 124.0 B | 00m00s [231/311] Installing rust-image+farbfel 100% | 0.0 B/s | 124.0 B | 00m00s [232/311] Installing rust-image+hdr-dev 100% | 0.0 B/s | 124.0 B | 00m00s [233/311] Installing rust-image+jpeg-de 100% | 0.0 B/s | 124.0 B | 00m00s [234/311] Installing rust-image+jpeg_ra 100% | 0.0 B/s | 124.0 B | 00m00s [235/311] Installing rust-image+pnm-dev 100% | 0.0 B/s | 124.0 B | 00m00s [236/311] Installing rust-image+qoi-dev 100% | 0.0 B/s | 124.0 B | 00m00s [237/311] Installing rust-image+tga-dev 100% | 0.0 B/s | 124.0 B | 00m00s [238/311] Installing rust-image+tiff-de 100% | 0.0 B/s | 124.0 B | 00m00s [239/311] Installing rust-image+webp-de 100% | 0.0 B/s | 124.0 B | 00m00s [240/311] Installing rust-gif+color_qua 100% | 0.0 B/s | 124.0 B | 00m00s [241/311] Installing rust-gif+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [242/311] Installing rust-image+gif-dev 100% | 0.0 B/s | 124.0 B | 00m00s [243/311] Installing rust-unicode-ident 100% | 147.4 MiB/s | 302.0 KiB | 00m00s [244/311] Installing rust-unicode-ident 100% | 0.0 B/s | 124.0 B | 00m00s [245/311] Installing rust-proc-macro2-d 100% | 40.8 MiB/s | 208.7 KiB | 00m00s [246/311] Installing rust-syn1-devel-0: 100% | 304.3 MiB/s | 1.8 MiB | 00m00s [247/311] Installing rust-quote-devel-0 100% | 61.0 MiB/s | 124.9 KiB | 00m00s [248/311] Installing rust-syn-devel-0:2 100% | 323.6 MiB/s | 1.9 MiB | 00m00s [249/311] Installing rust-proc-macro2+p 100% | 0.0 B/s | 124.0 B | 00m00s [250/311] Installing rust-quote+proc-ma 100% | 0.0 B/s | 124.0 B | 00m00s [251/311] Installing rust-quote+default 100% | 0.0 B/s | 124.0 B | 00m00s [252/311] Installing rust-syn+proc-macr 100% | 0.0 B/s | 124.0 B | 00m00s [253/311] Installing rust-proc-macro2+d 100% | 0.0 B/s | 124.0 B | 00m00s [254/311] Installing rust-syn+clone-imp 100% | 0.0 B/s | 124.0 B | 00m00s [255/311] Installing rust-syn+derive-de 100% | 0.0 B/s | 124.0 B | 00m00s [256/311] Installing rust-syn+parsing-d 100% | 0.0 B/s | 124.0 B | 00m00s [257/311] Installing rust-syn+printing- 100% | 0.0 B/s | 124.0 B | 00m00s [258/311] Installing rust-syn1+clone-im 100% | 0.0 B/s | 124.0 B | 00m00s [259/311] Installing rust-syn1+extra-tr 100% | 0.0 B/s | 124.0 B | 00m00s [260/311] Installing rust-syn1+full-dev 100% | 0.0 B/s | 124.0 B | 00m00s [261/311] Installing rust-syn1+parsing- 100% | 0.0 B/s | 124.0 B | 00m00s [262/311] Installing rust-serde_derive- 100% | 153.3 MiB/s | 313.9 KiB | 00m00s [263/311] Installing rust-serde_derive+ 100% | 0.0 B/s | 124.0 B | 00m00s [264/311] Installing rust-serde-devel-0 100% | 249.3 MiB/s | 510.5 KiB | 00m00s [265/311] Installing rust-serde_json-de 100% | 172.1 MiB/s | 704.9 KiB | 00m00s [266/311] Installing rust-serde+std-dev 100% | 0.0 B/s | 124.0 B | 00m00s [267/311] Installing rust-serde_json+st 100% | 0.0 B/s | 124.0 B | 00m00s [268/311] Installing rust-serde_json+de 100% | 0.0 B/s | 124.0 B | 00m00s [269/311] Installing rust-serde+default 100% | 0.0 B/s | 124.0 B | 00m00s [270/311] Installing rust-toml0.5-devel 100% | 130.6 MiB/s | 267.5 KiB | 00m00s [271/311] Installing rust-toml0.5+defau 100% | 0.0 B/s | 124.0 B | 00m00s [272/311] Installing rust-serde+serde_d 100% | 0.0 B/s | 124.0 B | 00m00s [273/311] Installing rust-serde+derive- 100% | 0.0 B/s | 124.0 B | 00m00s [274/311] Installing rust-syn+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [275/311] Installing rust-thiserror-imp 100% | 67.3 MiB/s | 68.9 KiB | 00m00s [276/311] Installing rust-thiserror-imp 100% | 0.0 B/s | 124.0 B | 00m00s [277/311] Installing rust-thiserror-dev 100% | 47.7 MiB/s | 97.7 KiB | 00m00s [278/311] Installing rust-syn1+proc-mac 100% | 0.0 B/s | 124.0 B | 00m00s [279/311] Installing rust-syn1+quote-de 100% | 0.0 B/s | 124.0 B | 00m00s [280/311] Installing rust-syn1+printing 100% | 0.0 B/s | 124.0 B | 00m00s [281/311] Installing rust-syn1+visit-mu 100% | 0.0 B/s | 124.0 B | 00m00s [282/311] Installing rust-syn1+derive-d 100% | 0.0 B/s | 124.0 B | 00m00s [283/311] Installing rust-syn1+default- 100% | 0.0 B/s | 124.0 B | 00m00s [284/311] Installing rust-peeking_take_ 100% | 0.0 B/s | 19.4 KiB | 00m00s [285/311] Installing rust-peeking_take_ 100% | 0.0 B/s | 124.0 B | 00m00s [286/311] Installing rust-lazycell-deve 100% | 0.0 B/s | 46.5 KiB | 00m00s [287/311] Installing rust-lazycell+defa 100% | 0.0 B/s | 124.0 B | 00m00s [288/311] Installing rust-lazy_static-d 100% | 29.9 MiB/s | 30.7 KiB | 00m00s [289/311] Installing rust-lazy_static+d 100% | 0.0 B/s | 124.0 B | 00m00s [290/311] Installing rust-bitflags1-dev 100% | 48.8 MiB/s | 99.9 KiB | 00m00s [291/311] Installing rust-bitflags1+def 100% | 0.0 B/s | 124.0 B | 00m00s [292/311] Installing rust-bindgen0.63-d 100% | 225.2 MiB/s | 922.5 KiB | 00m00s [293/311] Installing rust-bindgen0.63+r 100% | 0.0 B/s | 124.0 B | 00m00s [294/311] Installing rust-bindgen0.63+l 100% | 0.0 B/s | 124.0 B | 00m00s [295/311] Installing rust-bindgen0.63+l 100% | 0.0 B/s | 124.0 B | 00m00s [296/311] Installing rust-bindgen0.63+w 100% | 0.0 B/s | 124.0 B | 00m00s [297/311] Installing rust-bindgen0.63+w 100% | 0.0 B/s | 124.0 B | 00m00s [298/311] Installing rust-png-devel-0:0 100% | 195.2 MiB/s | 399.7 KiB | 00m00s [299/311] Installing rust-png+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [300/311] Installing rust-image+png-dev 100% | 0.0 B/s | 124.0 B | 00m00s [301/311] Installing rust-image+ico-dev 100% | 0.0 B/s | 124.0 B | 00m00s [302/311] Installing rust-heck0.4-devel 100% | 44.1 MiB/s | 45.2 KiB | 00m00s [303/311] Installing rust-heck0.4+defau 100% | 40.4 KiB/s | 124.0 B | 00m00s [304/311] Installing rust-cbindgen0.24- 100% | 64.1 MiB/s | 1.4 MiB | 00m00s [305/311] Installing rust-image+default 100% | 0.0 B/s | 124.0 B | 00m00s [306/311] Installing rust-bindgen0.63+d 100% | 0.0 B/s | 124.0 B | 00m00s [307/311] Installing rust-thiserror+def 100% | 0.0 B/s | 124.0 B | 00m00s [308/311] Installing rust-rustdct+defau 100% | 0.0 B/s | 124.0 B | 00m00s [309/311] Installing rust-sha2+default- 100% | 121.1 KiB/s | 124.0 B | 00m00s [310/311] Installing rust-hex+default-d 100% | 0.0 B/s | 124.0 B | 00m00s [311/311] Installing rust-log+std-devel 100% | 1.0 KiB/s | 124.0 B | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-16.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-16.fc41.x86_64 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714089600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9aLFmB + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc41.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 498.0 KiB/s | 20.4 KiB | 00m00s Copr repository 100% | 65.6 KiB/s | 1.8 KiB | 00m00s Repositories loaded. Nothing to do. Package "bc-1.07.1-21.fc40.x86_64" is already installed. Package "bzip2-devel-1.0.8-18.fc40.x86_64" is already installed. Package "cargo-1.77.2-4.fc41.x86_64" is already installed. Package "check-devel-0.15.2-12.fc40.x86_64" is already installed. Package "cmake-3.28.3-4.fc41.x86_64" is already installed. Package "libcurl-devel-8.7.1-1.fc41.x86_64" is already installed. Package "gcc-c++-14.0.1-0.15.fc41.x86_64" is already installed. Package "gettext-devel-0.22.5-2.fc41.x86_64" is already installed. Package "git-core-2.44.0-1.fc41.x86_64" is already installed. Package "gmp-devel-1:6.3.0-1.fc41.x86_64" is already installed. Package "gnutls-devel-3.8.5-1.fc41.x86_64" is already installed. Package "graphviz-10.0.1-1.fc41.x86_64" is already installed. Package "groff-1.23.0-6.fc40.x86_64" is already installed. Package "json-c-devel-0.17-3.fc40.x86_64" is already installed. Package "libprelude-devel-5.2.0-23.fc40.x86_64" is already installed. Package "libxml2-devel-2.12.6-1.fc41.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "nmap-ncat-3:7.95-1.fc41.x86_64" is already installed. Package "ncurses-devel-6.4-12.20240127.fc40.x86_64" is already installed. Package "ocaml-5.1.1-4.fc40.x86_64" is already installed. Package "openssl-devel-1:3.2.1-6.fc41.x86_64" is already installed. Package "pcre2-devel-10.43-1.fc41.x86_64" is already installed. Package "python3-3.12.3-2.fc41.x86_64" is already installed. Package "python3-pytest-7.4.3-3.fc40.noarch" is already installed. Package "rust-1.77.2-4.fc41.x86_64" is already installed. Package "cargo-rpm-macros-26.2-1.fc41.noarch" is already installed. Package "sendmail-milter-devel-8.18.1-1.fc40.x86_64" is already installed. Package "systemd-256~rc1-4.fc41.x86_64" is already installed. Package "systemd-devel-256~rc1-4.fc41.x86_64" is already installed. Package "systemd-rpm-macros-256~rc1-4.fc41.noarch" is already installed. Package "tcl-1:8.6.14-1.fc41.x86_64" is already installed. Package "valgrind-1:3.23.0-1.fc41.x86_64" is already installed. Package "zlib-ng-compat-devel-2.1.6-2.fc40.x86_64" is already installed. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1714089600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.i20S0Q + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pz4ywa + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamav-1.0.6 ++ echo -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ++ sed '/-Wl,--as-needed/!s/$/ -Wl,--as-needed/' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export have_cv_ipv6=yes + have_cv_ipv6=yes + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON '-DRUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' -DAPP_CONFIG_DIRECTORY=/etc -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/clamav -DCLAMAV_USER=clamupdate -DCLAMAV_GROUP=clamupdate -DDATABASE_DIRECTORY=/var/lib/clamav -DENABLE_UNRAR=OFF -- The C compiler identification is GNU 14.0.1 -- The CXX compiler identification is GNU 14.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.44.0") -- Rust tool `cargo` found: /usr/bin/cargo, 1.77.2 -- Rust tool `rustc` found: /usr/bin/rustc, 1.77.2 -- Rust tool `rustup` not found. -- Rust tool `rust-gdb` not found. -- Rust tool `rust-lldb` not found. -- Rust tool `rustdoc` found: /usr/bin/rustdoc, 1.77.2 -- Rust tool `rustfmt` not found. -- Rust tool `bindgen` not found. -- Rust's native static libs: -lgcc_s;-lutil;-lrt;-lpthread;-lm;-ldl;-lc -- Found Rust: /usr/bin/cargo (found version "1.77.2") -- Found Libcheck: /usr/include -- Found Python3: /usr/bin/python3.12 (found version "3.12.3") found components: Interpreter -- Valgrind found: /usr/bin/valgrind, 3.23.0 -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.2.1") -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.0") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.12.6") -- Found PCRE2: /usr/lib64/libpcre2-8.so -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: /usr/lib64/libc.so -- Found JSONC: /usr/lib64/libjson-c.so -- Found CURL: /usr/lib64/libcurl.so (found version "8.7.1") -- Found CURSES: /usr/lib64/libncurses.so;/usr/lib64/libtinfo.so -- Found Milter: /usr/lib64/libmilter.so -- Found SYSTEMD: /usr/lib64/libsystemd.so (found version "256") -- systemd services install dir: /usr/lib/systemd/system -- Performing Test CXX_FLAG__std_c_14 -- Performing Test CXX_FLAG__std_c_14 - Success -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for grp.h -- Looking for grp.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for poll.h -- Looking for poll.h - found -- Looking for pwd.h -- Looking for pwd.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/cdefs.h -- Looking for sys/cdefs.h - found -- Looking for sys/dl.h -- Looking for sys/dl.h - not found -- Looking for sys/fileio.h -- Looking for sys/fileio.h - not found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/queue.h -- Looking for sys/queue.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/times.h -- Looking for sys/times.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/fanotify.h -- Looking for sys/fanotify.h - found -- Looking for resolv.h -- Looking for resolv.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/inttypes.h -- Looking for sys/inttypes.h - not found -- Looking for sys/int_types.h -- Looking for sys/int_types.h - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of int -- Check size of int - done -- Check size of short -- Check size of short - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Performing Test HAVE_RESTRICT -- Performing Test HAVE_RESTRICT - Success -- Performing Test HAVE_ATTRIB_PACKED -- Performing Test HAVE_ATTRIB_PACKED - Success -- Performing Test HAVE_ATTRIB_ALIGNED -- Performing Test HAVE_ATTRIB_ALIGNED - Success -- Performing Test HAVE_SYSTEM_LFS_FTS -- Performing Test HAVE_SYSTEM_LFS_FTS - Success -- Looking for recvmsg -- Looking for recvmsg - found -- Looking for sendmsg -- Looking for sendmsg - found -- Performing Test HAVE_CONTROL_IN_MSGHDR -- Performing Test HAVE_CONTROL_IN_MSGHDR - Success -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success -- Check size of int * -- Check size of int * - done -- Check size of time_t -- Check size of time_t - done -- Looking for _Exit -- Looking for _Exit - found -- Looking for accept4 -- Looking for accept4 - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stat64 -- Looking for stat64 - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strlcat -- Looking for strlcat - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for sysctlbyname -- Looking for sysctlbyname - not found -- Looking for timegm -- Looking for timegm - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for fseeko -- Looking for fseeko - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for mkstemp -- Looking for mkstemp - not found -- Looking for poll -- Looking for poll - found -- Looking for setgroups -- Looking for setgroups - not found -- Looking for setsid -- Looking for setsid - found -- Looking for initgroups -- Looking for initgroups - found -- Performing Test C_FLAG__Wall -- Performing Test C_FLAG__Wall - Success -- Performing Test C_FLAG__Wextra -- Performing Test C_FLAG__Wextra - Success -- Performing Test C_FLAG__Wformat_security -- Performing Test C_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wall -- Performing Test CXX_FLAG__Wall - Success -- Performing Test CXX_FLAG__Wformat_security -- Performing Test CXX_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wno_comment -- Performing Test CXX_FLAG__Wno_comment - Success -- Performing Test HAVE_MMAP -- Performing Test HAVE_MMAP - Success -- Performing Test HAVE_MMAP_MAP_ANONYMOUS -- Performing Test HAVE_MMAP_MAP_ANONYMOUS - Success -- Performing Test HAVE_SYSCONF_SC_PAGESIZE -- Performing Test HAVE_SYSCONF_SC_PAGESIZE - Success -- Configuration Options Summary -- Package Version: ClamAV 1.0.6 libclamav version: 11:0:0 libfreshclam version: 2:2:0 Install prefix: /usr Install database dir: /var/lib/clamav Install config dir: /etc Host system: Linux-6.5.6-300.fc39.x86_64 Target system: Linux-6.5.6-300.fc39.x86_64 Compiler: Build type: RelWithDebInfo C compiler: /usr/bin/gcc C++ compiler: /usr/bin/g++ Rust toolchain: /usr/bin/cargo (1.77.2) CFLAGS: -O2 -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer CXXFLAGS: -O2 -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer WARNCFLAGS: -Wall -Wextra -Wformat-security -- Engine Options -- Bytecode Runtime: interpreter -- Test Dependencies -- Unit Test Framework: libcheck /usr/include /usr/lib64/libcheck.so Feature Test Framework: python3 /usr/bin/python3.12 test command pytest;-v -- libclamav Dependencies -- Compression support: bzip2 /usr/include /usr/lib64/libbz2.so zlib /usr/include /usr/lib64/libz.so XML support: libxml2 /usr/include/libxml2;/usr/include/libxml2;/usr/include /usr/lib64/libxml2.so RegEx support: libpcre2 /usr/include /usr/lib64/libpcre2-8.so Crypto support: openssl /usr/include /usr/lib64/libssl.so;/usr/lib64/libcrypto.so JSON support: json-c /usr/include/json-c /usr/lib64/libjson-c.so Threading support: -- libfreshclam Extra Dependencies -- HTTP support: curl /usr/include /usr/lib64/libcurl.so -- Application Extra Dependencies -- GUI support: ncurses /usr/include /usr/lib64/libncurses.so;/usr/lib64/libtinfo.so -- Warning: libjson-c is known to share symbol names with other JSON libraries which may result in crashes for applications that use libclamav. Consider providing a static json-c library that was compiled with: CFLAGS="-fPIC". Default build settings for json-c 0.15+ should also work. Use the `-DENABLE_JSON_SHARED=OFF` option to prefer detection of the static library, or use -DJSONC_INCLUDE_DIR and -DJSONC_LIBRARY to specify the static JSON library. Build Options: Build apps: ON Shared library: ON Static library: OFF Enable UnRAR: OFF Examples: OFF Tests: ON Build man pages: ON Build doxygen HTML: OFF Maintainer Mode: OFF Build Extras: Build milter: ON (toggle with -DENABLE_MILTER=ON/OFF) Build clamonacc: ON (toggle with -DENABLE_CLAMONACC=ON/OFF) pthread Locale support: iconv /usr/include /usr/lib64/libc.so systemd: unit directory /usr/lib/systemd/system systemd ctl support: libsystemd /usr/include /usr/lib64/libsystemd.so Milter Support: libmilter /usr/include /usr/lib64/libmilter.so -- Configuring done (11.9s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/clamav-1.0.6 -B/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/CMakeFiles /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclammspack/CMakeFiles/clammspack.dir/build.make libclammspack/CMakeFiles/clammspack.dir/depend /usr/bin/gmake -f libclamav/CMakeFiles/regex.dir/build.make libclamav/CMakeFiles/regex.dir/depend /usr/bin/gmake -f libclamav/CMakeFiles/lzma_sdk.dir/build.make libclamav/CMakeFiles/lzma_sdk.dir/depend /usr/bin/gmake -f libclamav/CMakeFiles/yara.dir/build.make libclamav/CMakeFiles/yara.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclammspack /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/CMakeFiles/clammspack.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/lzma_sdk.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/regex.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/yara.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclammspack/CMakeFiles/clammspack.dir/build.make libclammspack/CMakeFiles/clammspack.dir/build /usr/bin/gmake -f libclamav/CMakeFiles/regex.dir/build.make libclamav/CMakeFiles/regex.dir/build /usr/bin/gmake -f libclamav/CMakeFiles/lzma_sdk.dir/build.make libclamav/CMakeFiles/lzma_sdk.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/yara.dir/build.make libclamav/CMakeFiles/yara.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 0%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o [ 0%] Building C object libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o [ 0%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o -MF CMakeFiles/regex.dir/regex/strlcpy.c.o.d -o CMakeFiles/regex.dir/regex/strlcpy.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/strlcpy.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o -MF CMakeFiles/clammspack.dir/mspack/cabc.c.o.d -o CMakeFiles/clammspack.dir/mspack/cabc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/cabc.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zAlloc.c [ 0%] Building C object libclamav/CMakeFiles/yara.dir/yara_compiler.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_compiler.c.o -MF CMakeFiles/yara.dir/yara_compiler.c.o.d -o CMakeFiles/yara.dir/yara_compiler.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_compiler.c [ 0%] Building C object libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o [ 1%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o -MF CMakeFiles/regex.dir/regex/regcomp.c.o.d -o CMakeFiles/regex.dir/regex/regcomp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o -MF CMakeFiles/clammspack.dir/mspack/cabd.c.o.d -o CMakeFiles/clammspack.dir/mspack/cabd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/cabd.c [ 2%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zBuf.c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘cli_regcomp_real’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:188:22: warning: comparison of integer expressions of different signedness: ‘sopno’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | if (p->ssize < len) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘freeset’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1097:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1097 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘freezeset’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1125:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1125 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1128:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1128 | if (i == css) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘firstch’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1149:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1149 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c: In function ‘nch’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regcomp.c:1166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1166 | for (i = 0; i < css; i++) | ^ [ 2%] Building C object libclamav/CMakeFiles/yara.dir/yara_exec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_exec.c.o -MF CMakeFiles/yara.dir/yara_exec.c.o.d -o CMakeFiles/yara.dir/yara_exec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_exec.c [ 2%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zBuf2.c [ 2%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zCrc.c [ 2%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o -MF CMakeFiles/clammspack.dir/mspack/chmc.c.o.d -o CMakeFiles/clammspack.dir/mspack/chmc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/chmc.c [ 2%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o -MF CMakeFiles/clammspack.dir/mspack/chmd.c.o.d -o CMakeFiles/clammspack.dir/mspack/chmd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/chmd.c [ 2%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zCrcOpt.c [ 3%] Building C object libclamav/CMakeFiles/yara.dir/yara_hash.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_hash.c.o -MF CMakeFiles/yara.dir/yara_hash.c.o.d -o CMakeFiles/yara.dir/yara_hash.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_hash.c [ 4%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zDec.c [ 5%] Building C object libclamav/CMakeFiles/regex.dir/regex/regerror.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regerror.c.o -MF CMakeFiles/regex.dir/regex/regerror.c.o.d -o CMakeFiles/regex.dir/regex/regerror.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regerror.c [ 5%] Building C object libclamav/CMakeFiles/yara.dir/yara_parser.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_parser.c.o -MF CMakeFiles/yara.dir/yara_parser.c.o.d -o CMakeFiles/yara.dir/yara_parser.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_parser.c [ 5%] Building C object libclamav/CMakeFiles/regex.dir/regex/regexec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regexec.c.o -MF CMakeFiles/regex.dir/regex/regexec.c.o.d -o CMakeFiles/regex.dir/regex/regexec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regexec.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regexec.c:81: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘smatcher’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_malloc((g->nplus+1) * | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘sdissect’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable] 311 | const char *dp; | ^~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regexec.c:130: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘lmatcher’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_malloc((g->nplus+1) * | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c: In function ‘ldissect’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable] 311 | const char *dp; | ^~ [ 5%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o -MF CMakeFiles/clammspack.dir/mspack/crc32.c.o.d -o CMakeFiles/clammspack.dir/mspack/crc32.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/crc32.c [ 6%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o -MF CMakeFiles/clammspack.dir/mspack/hlpc.c.o.d -o CMakeFiles/clammspack.dir/mspack/hlpc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/hlpc.c [ 6%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o [ 6%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o -MF CMakeFiles/clammspack.dir/mspack/hlpd.c.o.d -o CMakeFiles/clammspack.dir/mspack/hlpd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/hlpd.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zFile.c [ 6%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o -MF CMakeFiles/clammspack.dir/mspack/kwajc.c.o.d -o CMakeFiles/clammspack.dir/mspack/kwajc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/kwajc.c [ 6%] Building C object libclamav/CMakeFiles/yara.dir/yara_arena.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_arena.c.o -MF CMakeFiles/yara.dir/yara_arena.c.o.d -o CMakeFiles/yara.dir/yara_arena.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_arena.c [ 6%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o -MF CMakeFiles/clammspack.dir/mspack/kwajd.c.o.d -o CMakeFiles/clammspack.dir/mspack/kwajd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/kwajd.c [ 6%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zIn.c [ 6%] Building C object libclamav/CMakeFiles/yara.dir/yara_grammar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_grammar.c.o -MF CMakeFiles/yara.dir/yara_grammar.c.o.d -o CMakeFiles/yara.dir/yara_grammar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_grammar.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o -MF CMakeFiles/clammspack.dir/mspack/litc.c.o.d -o CMakeFiles/clammspack.dir/mspack/litc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/litc.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o -MF CMakeFiles/clammspack.dir/mspack/litd.c.o.d -o CMakeFiles/clammspack.dir/mspack/litd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/litd.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o -MF CMakeFiles/clammspack.dir/mspack/lzssd.c.o.d -o CMakeFiles/clammspack.dir/mspack/lzssd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/lzssd.c [ 7%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o -MF CMakeFiles/clammspack.dir/mspack/lzxc.c.o.d -o CMakeFiles/clammspack.dir/mspack/lzxc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/lzxc.c [ 8%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o -MF CMakeFiles/clammspack.dir/mspack/lzxd.c.o.d -o CMakeFiles/clammspack.dir/mspack/lzxd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/lzxd.c [ 8%] Building C object libclamav/CMakeFiles/regex.dir/regex/regfree.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regfree.c.o -MF CMakeFiles/regex.dir/regex/regfree.c.o.d -o CMakeFiles/regex.dir/regex/regfree.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex/regfree.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 8%] Built target regex /usr/bin/gmake -f libclamav/CMakeFiles/tomsfastmath.dir/build.make libclamav/CMakeFiles/tomsfastmath.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/tomsfastmath.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/tomsfastmath.dir/build.make libclamav/CMakeFiles/tomsfastmath.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 8%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_add.c [ 8%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_add_d.c [ 8%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_addmod.c [ 9%] Building C object libclamav/CMakeFiles/yara.dir/yara_lexer.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_lexer.c.o -MF CMakeFiles/yara.dir/yara_lexer.c.o.d -o CMakeFiles/yara.dir/yara_lexer.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yara_lexer.c [ 10%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_cmp.c [ 10%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_cmp_d.c [ 10%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_cmp_mag.c [ 10%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o -MF CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/7zStream.c yara_lexer.c:2571:24: warning: ‘yy_fatal_error’ defined but not used [-Wunused-function] [ 10%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_sub.c [ 11%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_sub_d.c [ 11%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/fp_submod.c [ 11%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o [ 12%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Bcj2.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/s_fp_add.c [ 12%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/addsub/s_fp_sub.c [ 12%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o -MF CMakeFiles/clammspack.dir/mspack/mszipc.c.o.d -o CMakeFiles/clammspack.dir/mspack/mszipc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/mszipc.c yara_lexer.l: In function ‘yara_yylex’: yara_lexer.l:263:16: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] In file included from /usr/include/stdio.h:980, from yara_lexer.c:32: In function ‘snprintf’, inlined from ‘yara_yylex’ at yara_lexer.l:262:7: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 26 and 1049 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 12%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o -MF CMakeFiles/clammspack.dir/mspack/mszipd.c.o.d -o CMakeFiles/clammspack.dir/mspack/mszipd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/mszipd.c [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_radix_size.c [ 13%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Bra.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Bra.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Bra.c [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_read_radix.c [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_read_signed_bin.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 13%] Built target yara /usr/bin/gmake -f libclamav/CMakeFiles/bytecode_runtime.dir/build.make libclamav/CMakeFiles/bytecode_runtime.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/bytecode_runtime.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/bytecode_runtime.dir/build.make libclamav/CMakeFiles/bytecode_runtime.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 13%] Building C object libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -MF CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o.d -o CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_nojit.c [ 13%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_read_unsigned_bin.c [ 13%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_reverse.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Bra86.c [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_s_rmap.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_signed_bin_size.c [ 14%] Built target bytecode_runtime /usr/bin/gmake -f libclamav_rust/CMakeFiles/clamav_rust_target.dir/build.make libclamav_rust/CMakeFiles/clamav_rust_target.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav_rust /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav_rust /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav_rust/CMakeFiles/clamav_rust_target.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav_rust/CMakeFiles/clamav_rust_target.dir/build.make libclamav_rust/CMakeFiles/clamav_rust_target.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 14%] Building clamav_rust in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build with: /usr/bin/cargo build --target x86_64-unknown-linux-gnu --release --target-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build cd /builddir/build/BUILD/clamav-1.0.6/libclamav_rust && /usr/bin/cmake -E env CARGO_CMD=build CARGO_TARGET_DIR=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build MAINTAINER_MODE=OFF RUSTFLAGS=-Copt-level=3\ -Cdebuginfo=2\ -Ccodegen-units=1\ -Cstrip=none\ -Cforce-frame-pointers=yes\ -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes\ --cap-lints=warn\ -g /usr/bin/cargo build --target x86_64-unknown-linux-gnu --release --target-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build [ 14%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o [ 14%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o -MF CMakeFiles/clammspack.dir/mspack/oabc.c.o.d -o CMakeFiles/clammspack.dir/mspack/oabc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/oabc.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_to_signed_bin.c [ 14%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o -MF CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/BraIA64.c [ 15%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o -MF CMakeFiles/clammspack.dir/mspack/oabd.c.o.d -o CMakeFiles/clammspack.dir/mspack/oabd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/oabd.c [ 16%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_to_unsigned_bin.c [ 16%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o Compiling autocfg v1.2.0 Running `/usr/bin/rustc --crate-name autocfg /usr/share/cargo/registry/autocfg-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a99cda3962361155 -C extra-filename=-a99cda3962361155 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_toradix.c [ 16%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_toradix_n.c [ 17%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o -MF CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/CpuArch.c [ 17%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o -MF CMakeFiles/clammspack.dir/mspack/qtmd.c.o.d -o CMakeFiles/clammspack.dir/mspack/qtmd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/qtmd.c [ 17%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bin/fp_unsigned_bin_size.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_cnt_lsb.c [ 18%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Delta.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Delta.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Delta.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_count_bits.c [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_div_2.c Compiling proc-macro2 v1.0.81 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.81/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=03064b9d2fac8a97 -C extra-filename=-03064b9d2fac8a97 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/proc-macro2-03064b9d2fac8a97 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` [ 18%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_div_2d.c [ 18%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Lzma2Dec.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_lshd.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_mod_2d.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/bit/fp_rshd.c [ 19%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_div.c Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/proc-macro2-03064b9d2fac8a97/build-script-build` [ 19%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o -MF CMakeFiles/clammspack.dir/mspack/system.c.o.d -o CMakeFiles/clammspack.dir/mspack/system.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/system.c [ 19%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/LzmaDec.c Compiling unicode-ident v1.0.12 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=b3593ef1affd05b1 -C extra-filename=-b3593ef1affd05b1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.81/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=3d1068ce2f833fe3 -C extra-filename=-3d1068ce2f833fe3 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern unicode_ident=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libunicode_ident-b3593ef1affd05b1.rmeta --cap-lints allow --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro` [ 20%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_div_d.c [ 20%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o -MF CMakeFiles/clammspack.dir/mspack/szddc.c.o.d -o CMakeFiles/clammspack.dir/mspack/szddc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/szddc.c [ 21%] Building C object libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o -MF CMakeFiles/clammspack.dir/mspack/szddd.c.o.d -o CMakeFiles/clammspack.dir/mspack/szddd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack/szddd.c [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_mod.c [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/divide/fp_mod_d.c [ 21%] Linking C shared library libclammspack.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/cmake -E cmake_link_script CMakeFiles/clammspack.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libclammspack.so.0 -o libclammspack.so.0.8.0 CMakeFiles/clammspack.dir/mspack/cabc.c.o CMakeFiles/clammspack.dir/mspack/cabd.c.o CMakeFiles/clammspack.dir/mspack/chmc.c.o CMakeFiles/clammspack.dir/mspack/chmd.c.o CMakeFiles/clammspack.dir/mspack/crc32.c.o CMakeFiles/clammspack.dir/mspack/hlpc.c.o CMakeFiles/clammspack.dir/mspack/hlpd.c.o CMakeFiles/clammspack.dir/mspack/kwajc.c.o CMakeFiles/clammspack.dir/mspack/kwajd.c.o CMakeFiles/clammspack.dir/mspack/litc.c.o CMakeFiles/clammspack.dir/mspack/litd.c.o CMakeFiles/clammspack.dir/mspack/lzssd.c.o CMakeFiles/clammspack.dir/mspack/lzxc.c.o CMakeFiles/clammspack.dir/mspack/lzxd.c.o CMakeFiles/clammspack.dir/mspack/mszipc.c.o CMakeFiles/clammspack.dir/mspack/mszipd.c.o CMakeFiles/clammspack.dir/mspack/oabc.c.o CMakeFiles/clammspack.dir/mspack/oabd.c.o CMakeFiles/clammspack.dir/mspack/qtmd.c.o CMakeFiles/clammspack.dir/mspack/system.c.o CMakeFiles/clammspack.dir/mspack/szddc.c.o CMakeFiles/clammspack.dir/mspack/szddd.c.o [ 21%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/exptmod/fp_2expt.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/exptmod/fp_exptmod.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/misc/fp_ident.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/misc/fp_set.c [ 22%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mont/fp_montgomery_calc_normalization.c [ 23%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Ppmd7.c [ 24%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mont/fp_montgomery_reduce.c [ 24%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mont/fp_montgomery_setup.c Compiling quote v1.0.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=0ddcd69eee69f336 -C extra-filename=-0ddcd69eee69f336 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rmeta --cap-lints allow` [ 24%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul.c [ 24%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba.c [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_2.c [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_2d.c Compiling rustix v0.38.34 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' -C metadata=89165cae6cccee9f -C extra-filename=-89165cae6cccee9f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustix-89165cae6cccee9f -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_12.c [ 25%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Ppmd7Dec.c [ 25%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_17.c [ 26%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_20.c [ 26%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o -MF CMakeFiles/lzma_sdk.dir/7z/Xz.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/Xz.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/Xz.c Compiling version_check v0.9.4 Running `/usr/bin/rustc --crate-name version_check /usr/share/cargo/registry/version_check-0.9.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=29340537754cccc1 -C extra-filename=-29340537754cccc1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` [ 26%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_24.c [ 26%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o -MF CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzCrc64.c Compiling syn v2.0.60 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.60/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' -C metadata=b806a6f1b4132125 -C extra-filename=-b806a6f1b4132125 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-0ddcd69eee69f336.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libunicode_ident-b3593ef1affd05b1.rmeta --cap-lints allow` [ 27%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o -MF CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c [ 27%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_28.c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘Lzma2State_Code’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:309:80: warning: implicit conversion from ‘ECoderFinishMode’ to ‘ELzmaFinishMode’ [-Wenum-conversion] 309 | SRes res = Lzma2Dec_DecodeToBuf((CLzma2Dec *)pp, dest, destLen, src, srcLen, finishMode, &status); | ^~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘Xz_ParseHeader’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:499:56: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 499 | if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘Xz_CheckFooter’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:509:21: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘UInt32’ {aka ‘unsigned int’} [-Wsign-compare] 509 | (GetUi32(buf) == CrcCalc(buf + 4, 6) && | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘XzBlock_Parse’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:525:35: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 525 | if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:535:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 535 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:535:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 535 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:541:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 541 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:541:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 541 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:548:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 548 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:548:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 548 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:549:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 549 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:549:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 549 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:516:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 516 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c: In function ‘XzUnpacker_Code’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzDec.c:848:38: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 848 | if (CRC_GET_DIGEST(p->crc) != GetUi32(p->buf)) | ^~ [ 27%] Building C object libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o -MF CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o.d -o CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c [ 27%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_3.c [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_32.c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c: In function ‘Xz_ReadIndex2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:87:11: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 87 | if (crc != GetUi32(buf + size)) | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:92:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:92:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:110:7: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 110 | READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:110:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 110 | READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:111:7: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 111 | READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:111:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 111 | READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:79:24: warning: variable ‘crcStartPos’ set but not used [-Wunused-but-set-variable] 79 | size_t i, numBlocks, crcStartPos, pos = 1; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c: In function ‘Xz_ReadBackward’: /builddir/build/BUILD/clamav-1.0.6/libclamav/7z/XzIn.c:201:20: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘UInt32’ {aka ‘unsigned int’} [-Wsign-compare] 201 | if (GetUi32(buf) != CrcCalc(buf + 4, 6)) | ^~ gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target lzma_sdk Compiling num-traits v0.2.18 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/num-traits-0.2.18/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' -C metadata=793ffd8680939d4d -C extra-filename=-793ffd8680939d4d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/num-traits-793ffd8680939d4d -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern autocfg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libautocfg-a99cda3962361155.rlib --cap-lints allow` Compiling crossbeam-utils v0.8.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.19/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=befdf279613342b1 -C extra-filename=-befdf279613342b1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/crossbeam-utils-befdf279613342b1 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack && /usr/bin/cmake -E cmake_symlink_library libclammspack.so.0.8.0 libclammspack.so.0 libclammspack.so [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_4.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target clammspack /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/build.make unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/DependInfo.cmake "--color=" [ 28%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/build.make unit_tests/input/CMakeFiles/tgt_clamav_hdb_scanfiles.dir/build cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_48.c gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target tgt_clamav_hdb_scanfiles /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.cab.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.cab.dir/depend Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/crossbeam-utils-befdf279613342b1/build-script-build` gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.cab.dir/DependInfo.cmake "--color=" Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/num-traits-793ffd8680939d4d/build-script-build` gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.cab.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.cab.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Decrypting test file clam.cab... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.cab.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target tgt_clam.cab /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Decrypting test file clam.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target tgt_clam.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.zip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.zip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Decrypting test file clam.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target tgt_clam.zip Compiling libc v0.2.153 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.153/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=b04bc25b184f2e4d -C extra-filename=-b04bc25b184f2e4d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/libc-b04bc25b184f2e4d -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.arj.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.arj.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.arj.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.arj.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.arj.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Decrypting test file clam.arj... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.arj.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 28%] Built target tgt_clam.arj /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.rtf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 29%] Decrypting test file clam.exe.rtf... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf Running `/usr/bin/rustc --crate-name num_traits --edition=2018 /usr/share/cargo/registry/num-traits-0.2.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' -C metadata=994b0081e0f24553 -C extra-filename=-994b0081e0f24553 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg has_to_int_unchecked --cfg has_reverse_bits --cfg has_leading_trailing_ones --cfg has_div_euclid --cfg has_copysign --cfg has_is_subnormal --cfg has_total_cmp --cfg has_int_to_from_bytes --cfg has_float_to_from_bytes` Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 29%] Built target tgt_clam.exe.rtf /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.szdd.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 29%] Decrypting test file clam.exe.szdd... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 29%] Built target tgt_clam.exe.szdd /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tar.gz.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Decrypting test file clam.tar.gz... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Built target tgt_clam.tar.gz /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.chm.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.chm.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.chm.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.chm.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.chm.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Decrypting test file clam.chm... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.chm.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Built target tgt_clam.chm /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.sis.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.sis.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.sis.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.sis.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.sis.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Decrypting test file clam.sis... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.sis.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Built target tgt_clam.sis /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-aspack.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Decrypting test file clam-aspack.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Built target tgt_clam-aspack.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-pespin.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Decrypting test file clam-pespin.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe Running `/usr/bin/rustc --crate-name crossbeam_utils --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a92516736cf9d3bf -C extra-filename=-a92516736cf9d3bf --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 30%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_6.c Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 30%] Built target tgt_clam-pespin.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upx.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 31%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_64.c [ 31%] Decrypting test file clam-upx.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 31%] Built target tgt_clam-upx.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-fsg.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 31%] Decrypting test file clam-fsg.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 31%] Built target tgt_clam-fsg.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-mew.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustix-89165cae6cccee9f/build-script-build` [ 32%] Decrypting test file clam-mew.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe Compiling glob v0.3.1 Running `/usr/bin/rustc --crate-name glob /usr/share/cargo/registry/glob-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=73f88431e2ec4126 -C extra-filename=-73f88431e2ec4126 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 32%] Built target tgt_clam-mew.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-nsis.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 32%] Decrypting test file clam-nsis.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 32%] Built target tgt_clam-nsis.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-petite.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 32%] Decrypting test file clam-petite.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 32%] Built target tgt_clam-petite.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-upack.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 33%] Decrypting test file clam-upack.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 33%] Built target tgt_clam-upack.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-wwpack.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 33%] Decrypting test file clam-wwpack.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe Compiling serde v1.0.198 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.198/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=99fdb63b67b59d85 -C extra-filename=-99fdb63b67b59d85 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde-99fdb63b67b59d85 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 33%] Built target tgt_clam-wwpack.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.pdf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 33%] Decrypting test file clam.pdf... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.pdf.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 33%] Built target tgt_clam.pdf Compiling typenum v1.17.0 Running `/usr/bin/rustc --crate-name build_script_main --edition=2018 /usr/share/cargo/registry/typenum-1.17.0/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=915916cd74ee2e1c -C extra-filename=-915916cd74ee2e1c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/typenum-915916cd74ee2e1c -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=e894165353e4c712 -C extra-filename=-e894165353e4c712 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling bitflags v2.5.0 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=41e03e967a1421b5 -C extra-filename=-41e03e967a1421b5 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=53cc50b046d58374 -C extra-filename=-53cc50b046d58374 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling linux-raw-sys v0.4.12 Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=d7681af737a00249 -C extra-filename=-d7681af737a00249 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde-99fdb63b67b59d85/build-script-build` Compiling clang-sys v1.7.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/clang-sys-1.7.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=1fadda42962e33da -C extra-filename=-1fadda42962e33da --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clang-sys-1fadda42962e33da -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libglob-73f88431e2ec4126.rlib --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/typenum-915916cd74ee2e1c/build-script-main` Compiling crossbeam-epoch v0.9.18 Running `/usr/bin/rustc --crate-name crossbeam_epoch --edition=2021 /usr/share/cargo/registry/crossbeam-epoch-0.9.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=930e934da4767076 -C extra-filename=-930e934da4767076 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrossbeam_utils-a92516736cf9d3bf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' -C metadata=7b67697699a6d2c1 -C extra-filename=-7b67697699a6d2c1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libbitflags-41e03e967a1421b5.rmeta --extern linux_raw_sys=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblinux_raw_sys-d7681af737a00249.rmeta --cap-lints allow --cfg static_assertions --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling serde_derive v1.0.198 Running `/usr/bin/rustc --crate-name serde_derive /usr/share/cargo/registry/serde_derive-1.0.198/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=4d44f65bbb2dfbfe -C extra-filename=-4d44f65bbb2dfbfe --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rlib --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-0ddcd69eee69f336.rlib --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-b806a6f1b4132125.rlib --extern proc_macro --cap-lints allow` Compiling generic-array v0.14.7 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/generic-array-0.14.7/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="more_lengths"' -C metadata=3fd8df405563ccdf -C extra-filename=-3fd8df405563ccdf --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/generic-array-3fd8df405563ccdf -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern version_check=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libversion_check-29340537754cccc1.rlib --cap-lints allow` Compiling crc32fast v1.4.0 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/crc32fast-1.4.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=ab357490e5060041 -C extra-filename=-ab357490e5060041 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/crc32fast-ab357490e5060041 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling simd-adler32 v0.3.7 Running `/usr/bin/rustc --crate-name simd_adler32 --edition=2018 /usr/share/cargo/registry/simd-adler32-0.3.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="const-generics"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=8a967d022145bec0 -C extra-filename=-8a967d022145bec0 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling rayon-core v1.12.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rayon-core-1.12.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=4a1562bc52a985a4 -C extra-filename=-4a1562bc52a985a4 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rayon-core-4a1562bc52a985a4 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling syn v1.0.109 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=6f1e6175918320fa -C extra-filename=-6f1e6175918320fa --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/syn-6f1e6175918320fa -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_7.c [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_8.c [ 33%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_9.c Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/syn-6f1e6175918320fa/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rayon-core-4a1562bc52a985a4/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/crc32fast-ab357490e5060041/build-script-build` [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_comba_small_set.c Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/generic-array-3fd8df405563ccdf/build-script-build` Compiling crossbeam-deque v0.8.5 Running `/usr/bin/rustc --crate-name crossbeam_deque --edition=2021 /usr/share/cargo/registry/crossbeam-deque-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d7398e621091df93 -C extra-filename=-d7398e621091df93 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crossbeam_epoch=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrossbeam_epoch-930e934da4767076.rmeta --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrossbeam_utils-a92516736cf9d3bf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clang-sys-1fadda42962e33da/build-script-build` Running `/usr/bin/rustc --crate-name typenum --edition=2018 /usr/share/cargo/registry/typenum-1.17.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=ca91f2b48562149e -C extra-filename=-ca91f2b48562149e --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/libc-b04bc25b184f2e4d/build-script-build` Compiling indexmap v1.9.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/indexmap-1.9.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=55b9c9b41fb83418 -C extra-filename=-55b9c9b41fb83418 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/indexmap-55b9c9b41fb83418 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern autocfg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libautocfg-a99cda3962361155.rlib --cap-lints allow` Compiling serde_json v1.0.116 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.116/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d800e9dfc8822d62 -C extra-filename=-d800e9dfc8822d62 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde_json-d800e9dfc8822d62 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling minimal-lexical v0.2.1 Running `/usr/bin/rustc --crate-name minimal_lexical --edition=2018 /usr/share/cargo/registry/minimal-lexical-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=8fe22c1cb9a26eb0 -C extra-filename=-8fe22c1cb9a26eb0 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling adler v1.0.2 Running `/usr/bin/rustc --crate-name adler /usr/share/cargo/registry/adler-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=04f19557e9632fcc -C extra-filename=-04f19557e9632fcc --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling regex-syntax v0.8.3 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=a63862f16ca97725 -C extra-filename=-a63862f16ca97725 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling memchr v2.7.2 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=61def289dbbd9644 -C extra-filename=-61def289dbbd9644 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mul_d.c [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/mul/fp_mulmod.c [ 34%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/numtheory/fp_invmod.c [ 35%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr.c [ 35%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_12.c [ 35%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_17.c [ 35%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_20.c [ 36%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_24.c Compiling nom v7.1.3 Running `/usr/bin/rustc --crate-name nom --edition=2018 /usr/share/cargo/registry/nom-7.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=204a0f6c60ec432b -C extra-filename=-204a0f6c60ec432b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern memchr=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libmemchr-61def289dbbd9644.rmeta --extern minimal_lexical=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libminimal_lexical-8fe22c1cb9a26eb0.rmeta --cap-lints allow` [ 36%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_28.c [ 36%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_3.c [ 36%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_32.c [ 37%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_4.c [ 37%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_48.c Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.198/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' -C metadata=1e07022ecbcb78e9 -C extra-filename=-1e07022ecbcb78e9 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern serde_derive=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde_derive-4d44f65bbb2dfbfe.so --cap-lints allow` [ 37%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_6.c [ 37%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_64.c Compiling regex-automata v0.4.6 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="meta"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' -C metadata=26c0cca8a19feb02 -C extra-filename=-26c0cca8a19feb02 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern regex_syntax=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex_syntax-a63862f16ca97725.rmeta --cap-lints allow` Compiling miniz_oxide v0.7.2 Running `/usr/bin/rustc --crate-name miniz_oxide --edition=2018 /usr/share/cargo/registry/miniz_oxide-0.7.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="simd"' --cfg 'feature="simd-adler32"' --cfg 'feature="with-alloc"' -C metadata=1b07cdce6fe73879 -C extra-filename=-1b07cdce6fe73879 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern adler=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libadler-04f19557e9632fcc.rmeta --extern simd_adler32=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libsimd_adler32-8a967d022145bec0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` [ 38%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_7.c [ 38%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_8.c [ 38%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_9.c [ 38%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_generic.c [ 39%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqr_comba_small_set.c [ 39%] Building C object libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/headers -I/builddir/build/BUILD/clamav-1.0.6/libclamav -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -MF CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o.d -o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tomsfastmath/sqr/fp_sqrmod.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tomsfastmath Running `/usr/bin/rustc --crate-name generic_array /usr/share/cargo/registry/generic-array-0.14.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="more_lengths"' -C metadata=2f374aaa655da2d2 -C extra-filename=-2f374aaa655da2d2 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern typenum=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libtypenum-ca91f2b48562149e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg relaxed_coherence` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/serde_json-d800e9dfc8822d62/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/indexmap-55b9c9b41fb83418/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.153/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=2a20aa5cfb8c134c -C extra-filename=-2a20aa5cfb8c134c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/usr/bin/rustc --crate-name rayon_core --edition=2021 /usr/share/cargo/registry/rayon-core-1.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=1ed64de090f3d872 -C extra-filename=-1ed64de090f3d872 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crossbeam_deque=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrossbeam_deque-d7398e621091df93.rmeta --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrossbeam_utils-a92516736cf9d3bf.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name crc32fast /usr/share/cargo/registry/crc32fast-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=99c1ef44e2ea1d61 -C extra-filename=-99c1ef44e2ea1d61 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcfg_if-e894165353e4c712.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg crc32fast_stdarchx86` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit-mut"' -C metadata=adc338a7172ba4c5 -C extra-filename=-adc338a7172ba4c5 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-0ddcd69eee69f336.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libunicode_ident-b3593ef1affd05b1.rmeta --cap-lints allow --cfg syn_disable_nightly_tests` Compiling libloading v0.8.3 Running `/usr/bin/rustc --crate-name libloading /usr/share/cargo/registry/libloading-0.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=c446c4712b428b40 -C extra-filename=-c446c4712b428b40 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcfg_if-53cc50b046d58374.rmeta --cap-lints allow` Compiling num-integer v0.1.46 Running `/usr/bin/rustc --crate-name num_integer --edition=2018 /usr/share/cargo/registry/num-integer-0.1.46/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=2e2b72991f8c14d6 -C extra-filename=-2e2b72991f8c14d6 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_traits-994b0081e0f24553.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling hashbrown v0.12.3 Running `/usr/bin/rustc --crate-name hashbrown --edition=2021 /usr/share/cargo/registry/hashbrown-0.12.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="raw"' -C metadata=718b0a0e716de4f3 -C extra-filename=-718b0a0e716de4f3 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling either v1.11.0 Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=dcdf4a0e380085e1 -C extra-filename=-dcdf4a0e380085e1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling ryu v1.0.17 Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.17/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=e4f904016b8c2f26 -C extra-filename=-e4f904016b8c2f26 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name either --edition=2018 /usr/share/cargo/registry/either-1.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=48cfe7181c39e304 -C extra-filename=-48cfe7181c39e304 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling cbindgen v0.24.5 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/cbindgen-0.24.5/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=1e1d823b36691c44 -C extra-filename=-1e1d823b36691c44 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/cbindgen-1e1d823b36691c44 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling bindgen v0.63.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/bindgen-0.63.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="runtime"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=3b9fb5379b134454 -C extra-filename=-3b9fb5379b134454 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/bindgen-3b9fb5379b134454 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling itoa v1.0.11 Running `/usr/bin/rustc --crate-name itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=b191946b785e465e -C extra-filename=-b191946b785e465e --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling fastrand v2.0.2 Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a0ef87f1e202cfa9 -C extra-filename=-a0ef87f1e202cfa9 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling home v0.5.9 Running `/usr/bin/rustc --crate-name home --edition=2021 /usr/share/cargo/registry/home-0.5.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no '--allow=clippy::all' '--warn=clippy::self_named_module_files' --warn=rust_2018_idioms '--allow=rustdoc::private_intra_doc_links' '--warn=clippy::print_stdout' '--warn=clippy::print_stderr' '--warn=clippy::disallowed_methods' '--warn=clippy::dbg_macro' -C debug-assertions=off -C metadata=ed6f6d1a9a49491b -C extra-filename=-ed6f6d1a9a49491b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling log v0.4.21 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' -C metadata=e72ee4fe71469dec -C extra-filename=-e72ee4fe71469dec --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling tempfile v3.10.1 Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.10.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ebe00cc83090d1b1 -C extra-filename=-ebe00cc83090d1b1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcfg_if-53cc50b046d58374.rmeta --extern fastrand=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libfastrand-a0ef87f1e202cfa9.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/librustix-7b67697699a6d2c1.rmeta --cap-lints allow` Compiling which v4.4.2 Running `/usr/bin/rustc --crate-name which --edition=2021 /usr/share/cargo/registry/which-4.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=02350179e44e34f7 -C extra-filename=-02350179e44e34f7 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libeither-48cfe7181c39e304.rmeta --extern home=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libhome-ed6f6d1a9a49491b.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/librustix-7b67697699a6d2c1.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.116/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=571757f94bb341cc -C extra-filename=-571757f94bb341cc --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern itoa=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libitoa-b191946b785e465e.rmeta --extern ryu=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libryu-e4f904016b8c2f26.rmeta --extern serde=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde-1e07022ecbcb78e9.rmeta --cap-lints allow --cfg limb_width_64` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/bindgen-3b9fb5379b134454/build-script-build` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/cbindgen-1e1d823b36691c44/build-script-build` Compiling rayon v1.10.0 Running `/usr/bin/rustc --crate-name rayon --edition=2021 /usr/share/cargo/registry/rayon-1.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=c6011e7e9c180079 -C extra-filename=-c6011e7e9c180079 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libeither-dcdf4a0e380085e1.rmeta --extern rayon_core=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/librayon_core-1ed64de090f3d872.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name indexmap --edition=2021 /usr/share/cargo/registry/indexmap-1.9.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=b482f644a70d1139 -C extra-filename=-b482f644a70d1139 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern hashbrown=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libhashbrown-718b0a0e716de4f3.rmeta --cap-lints allow --cfg has_std` Running `/usr/bin/rustc --crate-name clang_sys /usr/share/cargo/registry/clang-sys-1.7.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' -C metadata=cd40d2ace84720f6 -C extra-filename=-cd40d2ace84720f6 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libglob-73f88431e2ec4126.rmeta --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblibc-2a20aa5cfb8c134c.rmeta --extern libloading=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblibloading-c446c4712b428b40.rmeta --cap-lints allow` Compiling flate2 v1.0.28 Running `/usr/bin/rustc --crate-name flate2 --edition=2018 /usr/share/cargo/registry/flate2-1.0.28/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="any_impl"' --cfg 'feature="default"' --cfg 'feature="miniz_oxide"' --cfg 'feature="rust_backend"' -C metadata=552b8fd7a4d050d9 -C extra-filename=-552b8fd7a4d050d9 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern crc32fast=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrc32fast-99c1ef44e2ea1d61.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libminiz_oxide-1b07cdce6fe73879.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling toml v0.5.11 Running `/usr/bin/rustc --crate-name toml --edition=2018 /usr/share/cargo/registry/toml-0.5.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=336446ea0ef0caba -C extra-filename=-336446ea0ef0caba --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern serde=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde-1e07022ecbcb78e9.rmeta --cap-lints allow` Compiling regex v1.10.4 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.10.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=030e983cfaefcb6b -C extra-filename=-030e983cfaefcb6b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern regex_automata=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex_automata-26c0cca8a19feb02.rmeta --extern regex_syntax=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex_syntax-a63862f16ca97725.rmeta --cap-lints allow` Compiling cexpr v0.6.0 Running `/usr/bin/rustc --crate-name cexpr --edition=2018 /usr/share/cargo/registry/cexpr-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=8a7d1f7c3eae829f -C extra-filename=-8a7d1f7c3eae829f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern nom=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libnom-204a0f6c60ec432b.rmeta --cap-lints allow` Compiling rustfft v6.2.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/rustfft-6.2.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="avx"' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="sse"' -C metadata=70db476f1aad62ba -C extra-filename=-70db476f1aad62ba --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustfft-70db476f1aad62ba -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern version_check=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libversion_check-29340537754cccc1.rlib --cap-lints allow` Compiling strength_reduce v0.2.4 Running `/usr/bin/rustc --crate-name strength_reduce /usr/share/cargo/registry/strength_reduce-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=13db847f10afa571 -C extra-filename=-13db847f10afa571 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling lazy_static v1.4.0 Running `/usr/bin/rustc --crate-name lazy_static /usr/share/cargo/registry/lazy_static-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=05a3ea71ebe35a87 -C extra-filename=-05a3ea71ebe35a87 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling peeking_take_while v0.1.2 Running `/usr/bin/rustc --crate-name peeking_take_while /usr/share/cargo/registry/peeking_take_while-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=6c804ef8e5c36f60 -C extra-filename=-6c804ef8e5c36f60 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling heck v0.4.1 Running `/usr/bin/rustc --crate-name heck --edition=2018 /usr/share/cargo/registry/heck-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=478f5eb60c06139a -C extra-filename=-478f5eb60c06139a --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling shlex v1.3.0 Running `/usr/bin/rustc --crate-name shlex /usr/share/cargo/registry/shlex-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5515af5ccfd67865 -C extra-filename=-5515af5ccfd67865 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling rustc-hash v1.1.0 Running `/usr/bin/rustc --crate-name rustc_hash /usr/share/cargo/registry/rustc-hash-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=b290097058f69772 -C extra-filename=-b290097058f69772 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling weezl v0.1.8 Running `/usr/bin/rustc --crate-name weezl --edition=2018 /usr/share/cargo/registry/weezl-0.1.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=68a92e180949a092 -C extra-filename=-68a92e180949a092 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling lazycell v1.3.0 Running `/usr/bin/rustc --crate-name lazycell /usr/share/cargo/registry/lazycell-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=ee03a63e8d7514d9 -C extra-filename=-ee03a63e8d7514d9 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=4ae8929f604e70ac -C extra-filename=-4ae8929f604e70ac --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name bindgen --edition=2018 /usr/share/cargo/registry/bindgen-0.63.0/./lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="runtime"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=9ea6db6ea57eb991 -C extra-filename=-9ea6db6ea57eb991 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libbitflags-4ae8929f604e70ac.rmeta --extern cexpr=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcexpr-8a7d1f7c3eae829f.rmeta --extern clang_sys=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libclang_sys-cd40d2ace84720f6.rmeta --extern lazy_static=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblazy_static-05a3ea71ebe35a87.rmeta --extern lazycell=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblazycell-ee03a63e8d7514d9.rmeta --extern log=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblog-e72ee4fe71469dec.rmeta --extern peeking_take_while=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libpeeking_take_while-6c804ef8e5c36f60.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-0ddcd69eee69f336.rmeta --extern regex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libregex-030e983cfaefcb6b.rmeta --extern rustc_hash=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/librustc_hash-b290097058f69772.rmeta --extern shlex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libshlex-5515af5ccfd67865.rmeta --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-adc338a7172ba4c5.rmeta --extern which=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libwhich-02350179e44e34f7.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name cbindgen --edition=2018 /usr/share/cargo/registry/cbindgen-0.24.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off -C metadata=a5f1777198b2ca9f -C extra-filename=-a5f1777198b2ca9f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern heck=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libheck-478f5eb60c06139a.rmeta --extern indexmap=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libindexmap-b482f644a70d1139.rmeta --extern log=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/liblog-e72ee4fe71469dec.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rmeta --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-0ddcd69eee69f336.rmeta --extern serde=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde-1e07022ecbcb78e9.rmeta --extern serde_json=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libserde_json-571757f94bb341cc.rmeta --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-adc338a7172ba4c5.rmeta --extern tempfile=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libtempfile-ebe00cc83090d1b1.rmeta --extern toml=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libtoml-336446ea0ef0caba.rmeta --cap-lints allow` Compiling transpose v0.2.3 Running `/usr/bin/rustc --crate-name transpose /usr/share/cargo/registry/transpose-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=12f5a9b7f6eafe08 -C extra-filename=-12f5a9b7f6eafe08 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_integer-2e2b72991f8c14d6.rmeta --extern strength_reduce=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libstrength_reduce-13db847f10afa571.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustfft-70db476f1aad62ba/build-script-build` Compiling jpeg-decoder v0.3.1 Running `/usr/bin/rustc --crate-name jpeg_decoder --edition=2021 /usr/share/cargo/registry/jpeg-decoder-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="rayon"' -C metadata=41732ecce4a1ced5 -C extra-filename=-41732ecce4a1ced5 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern rayon=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/librayon-c6011e7e9c180079.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling primal-check v0.3.3 Running `/usr/bin/rustc --crate-name primal_check --edition=2018 /usr/share/cargo/registry/primal-check-0.3.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=644719c18271934d -C extra-filename=-644719c18271934d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_integer-2e2b72991f8c14d6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling block-buffer v0.10.4 Running `/usr/bin/rustc --crate-name block_buffer --edition=2018 /usr/share/cargo/registry/block-buffer-0.10.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=406cfb9c856d12b1 -C extra-filename=-406cfb9c856d12b1 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern generic_array=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libgeneric_array-2f374aaa655da2d2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling crypto-common v0.1.6 Running `/usr/bin/rustc --crate-name crypto_common --edition=2018 /usr/share/cargo/registry/crypto-common-0.1.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=0b5365636f3d8a79 -C extra-filename=-0b5365636f3d8a79 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern generic_array=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libgeneric_array-2f374aaa655da2d2.rmeta --extern typenum=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libtypenum-ca91f2b48562149e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling fdeflate v0.3.4 Running `/usr/bin/rustc --crate-name fdeflate --edition=2021 /usr/share/cargo/registry/fdeflate-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=c0106a9dbe86da67 -C extra-filename=-c0106a9dbe86da67 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern simd_adler32=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libsimd_adler32-8a967d022145bec0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling num-complex v0.4.5 Running `/usr/bin/rustc --crate-name num_complex --edition=2018 /usr/share/cargo/registry/num-complex-0.4.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=0317e64d98171162 -C extra-filename=-0317e64d98171162 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_traits-994b0081e0f24553.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/rustix-89165cae6cccee9f/build-script-build` Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=787f1fcd1ade33b5 -C extra-filename=-787f1fcd1ade33b5 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling color_quant v1.1.0 Running `/usr/bin/rustc --crate-name color_quant /usr/share/cargo/registry/color_quant-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=d9c25de25704e89f -C extra-filename=-d9c25de25704e89f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=e4a7c75ff6a66c0b -C extra-filename=-e4a7c75ff6a66c0b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=5c7d7f6e862d882f -C extra-filename=-5c7d7f6e862d882f --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling thiserror v1.0.59 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/thiserror-1.0.59/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=04bd98a62e9930e3 -C extra-filename=-04bd98a62e9930e3 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/thiserror-04bd98a62e9930e3 -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow` Compiling bytemuck v1.14.1 Running `/usr/bin/rustc --crate-name bytemuck --edition=2018 /usr/share/cargo/registry/bytemuck-1.14.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="extern_crate_alloc"' -C metadata=ca473aece381f333 -C extra-filename=-ca473aece381f333 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling qoi v0.4.1 Running `/usr/bin/rustc --crate-name qoi --edition=2021 /usr/share/cargo/registry/qoi-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=bd842b9adc21eadb -C extra-filename=-bd842b9adc21eadb --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bytemuck=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libbytemuck-ca473aece381f333.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/thiserror-04bd98a62e9930e3/build-script-build` Compiling png v0.17.13 Running `/usr/bin/rustc --crate-name png --edition=2018 /usr/share/cargo/registry/png-0.17.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=a3805b7303c3e17c -C extra-filename=-a3805b7303c3e17c --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libbitflags-5c7d7f6e862d882f.rmeta --extern crc32fast=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrc32fast-99c1ef44e2ea1d61.rmeta --extern fdeflate=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libfdeflate-c0106a9dbe86da67.rmeta --extern flate2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libflate2-552b8fd7a4d050d9.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libminiz_oxide-1b07cdce6fe73879.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' -C metadata=5c30d7a157e120ab -C extra-filename=-5c30d7a157e120ab --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libbitflags-787f1fcd1ade33b5.rmeta --extern linux_raw_sys=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/liblinux_raw_sys-e4a7c75ff6a66c0b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg static_assertions --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling clamav_rust v0.0.1 (/builddir/build/BUILD/clamav-1.0.6/libclamav_rust) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 libclamav_rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off -C metadata=bd36e8e6fe8e8d4b -C extra-filename=-bd36e8e6fe8e8d4b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clamav_rust-bd36e8e6fe8e8d4b -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bindgen=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libbindgen-9ea6db6ea57eb991.rlib --extern cbindgen=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libcbindgen-a5f1777198b2ca9f.rlib` Compiling gif v0.13.1 Running `/usr/bin/rustc --crate-name gif --edition=2021 /usr/share/cargo/registry/gif-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="color_quant"' --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' --cfg 'feature="std"' -C metadata=c95453c699f4f96a -C extra-filename=-c95453c699f4f96a --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern color_quant=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcolor_quant-d9c25de25704e89f.rmeta --extern weezl=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libweezl-68a92e180949a092.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name rustfft --edition=2018 /usr/share/cargo/registry/rustfft-6.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="avx"' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="sse"' -C metadata=e30c13359723b4f7 -C extra-filename=-e30c13359723b4f7 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern num_complex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_complex-0317e64d98171162.rmeta --extern num_integer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_integer-2e2b72991f8c14d6.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_traits-994b0081e0f24553.rmeta --extern primal_check=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libprimal_check-644719c18271934d.rmeta --extern strength_reduce=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libstrength_reduce-13db847f10afa571.rmeta --extern transpose=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libtranspose-12f5a9b7f6eafe08.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling digest v0.10.7 Running `/usr/bin/rustc --crate-name digest --edition=2018 /usr/share/cargo/registry/digest-0.10.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="block-buffer"' --cfg 'feature="core-api"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=1971ab14288933ac -C extra-filename=-1971ab14288933ac --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern block_buffer=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libblock_buffer-406cfb9c856d12b1.rmeta --extern crypto_common=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcrypto_common-0b5365636f3d8a79.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling tiff v0.9.1 Running `/usr/bin/rustc --crate-name tiff --edition=2021 /usr/share/cargo/registry/tiff-0.9.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=a08561b3bb29e605 -C extra-filename=-a08561b3bb29e605 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern flate2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libflate2-552b8fd7a4d050d9.rmeta --extern jpeg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libjpeg_decoder-41732ecce4a1ced5.rmeta --extern weezl=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libweezl-68a92e180949a092.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling thiserror-impl v1.0.59 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2021 /usr/share/cargo/registry/thiserror-impl-1.0.59/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=bf787457b0c6c24d -C extra-filename=-bf787457b0c6c24d --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libproc_macro2-3d1068ce2f833fe3.rlib --extern quote=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libquote-0ddcd69eee69f336.rlib --extern syn=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libsyn-b806a6f1b4132125.rlib --extern proc_macro --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/libc-b04bc25b184f2e4d/build-script-build` Compiling cpufeatures v0.2.12 Running `/usr/bin/rustc --crate-name cpufeatures --edition=2018 /usr/share/cargo/registry/cpufeatures-0.2.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=bfc2906a3990e283 -C extra-filename=-bfc2906a3990e283 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d996f9c4ecf09176 -C extra-filename=-d996f9c4ecf09176 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling byteorder v1.5.0 Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=c69c71405c0f29d3 -C extra-filename=-c69c71405c0f29d3 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name thiserror --edition=2021 /usr/share/cargo/registry/thiserror-1.0.59/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=ed1fccad56aa8778 -C extra-filename=-ed1fccad56aa8778 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern thiserror_impl=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps/libthiserror_impl-bf787457b0c6c24d.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.10.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=69c3511f8ce03675 -C extra-filename=-69c3511f8ce03675 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcfg_if-e894165353e4c712.rmeta --extern fastrand=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libfastrand-d996f9c4ecf09176.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/librustix-5c30d7a157e120ab.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling image v0.24.9 Running `/usr/bin/rustc --crate-name image --edition=2021 /usr/share/cargo/registry/image-0.24.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="bmp"' --cfg 'feature="dds"' --cfg 'feature="default"' --cfg 'feature="dxt"' --cfg 'feature="farbfeld"' --cfg 'feature="gif"' --cfg 'feature="hdr"' --cfg 'feature="ico"' --cfg 'feature="jpeg"' --cfg 'feature="jpeg_rayon"' --cfg 'feature="png"' --cfg 'feature="pnm"' --cfg 'feature="qoi"' --cfg 'feature="tga"' --cfg 'feature="tiff"' --cfg 'feature="webp"' -C metadata=25f6a46c0151d520 -C extra-filename=-25f6a46c0151d520 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern bytemuck=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libbytemuck-ca473aece381f333.rmeta --extern byteorder=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libbyteorder-c69c71405c0f29d3.rmeta --extern color_quant=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcolor_quant-d9c25de25704e89f.rmeta --extern gif=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libgif-c95453c699f4f96a.rmeta --extern jpeg=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libjpeg_decoder-41732ecce4a1ced5.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_traits-994b0081e0f24553.rmeta --extern png=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libpng-a3805b7303c3e17c.rmeta --extern qoi=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libqoi-bd842b9adc21eadb.rmeta --extern tiff=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libtiff-a08561b3bb29e605.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Compiling sha2 v0.10.8 Running `/usr/bin/rustc --crate-name sha2 --edition=2018 /usr/share/cargo/registry/sha2-0.10.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=467d4af9cf4ef0ea -C extra-filename=-467d4af9cf4ef0ea --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcfg_if-e894165353e4c712.rmeta --extern cpufeatures=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libcpufeatures-bfc2906a3990e283.rmeta --extern digest=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libdigest-1971ab14288933ac.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.153/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' -C metadata=0f2aa5241535f27b -C extra-filename=-0f2aa5241535f27b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling rustdct v0.7.1 Running `/usr/bin/rustc --crate-name rustdct --edition=2018 /usr/share/cargo/registry/rustdct-0.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=b0c692609311d0dc -C extra-filename=-b0c692609311d0dc --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern rustfft=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/librustfft-e30c13359723b4f7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/build/clamav_rust-bd36e8e6fe8e8d4b/build-script-build` Compiling hex v0.4.3 Running `/usr/bin/rustc --crate-name hex --edition=2018 /usr/share/cargo/registry/hex-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=6ff17b90e21f9db5 -C extra-filename=-6ff17b90e21f9db5 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=d7eaa63fd2411e74 -C extra-filename=-d7eaa63fd2411e74 --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.mail.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.mail.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.mail.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.mail.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.mail.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/DependInfo.cmake "--color=" [ 39%] Decrypting test file clam.mail... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.mail.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ppt.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Decrypting test file clam.ppt... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ppt.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam.mail /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/DependInfo.cmake "--color=" Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.tnef.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 39%] Built target tgt_clam.ppt /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/depend [ 39%] Decrypting test file clam.tnef... gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.tnef.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea05.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.ea05.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.tnef /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ea06.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.ea06.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.ea05.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.d64.zip.dir/build /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/DependInfo.cmake "--color=" [ 40%] Decrypting test file clam.d64.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.base64.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Decrypting test file clam.exe.mbox.base64... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip' [ 40%] Built target tgt_clam.ea06.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/depend gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/DependInfo.cmake "--color=" [ 40%] Built target tgt_clam.d64.zip /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/depend gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.mbox.uu.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.binhex.dir/build [ 40%] Decrypting test file clam.exe.mbox.uu... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 40%] Built target tgt_clam.exe.mbox.base64 /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/DependInfo.cmake "--color=" [ 40%] Decrypting test file clam.exe.binhex... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.ole.doc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.ole.doc... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.exe.mbox.uu /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/depend [ 41%] Built target tgt_clam.exe.binhex gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/DependInfo.cmake "--color=" /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/DependInfo.cmake "--color=" Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.impl.zip.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.html.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.impl.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip [ 41%] Built target tgt_clam.ole.doc /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/DependInfo.cmake "--color=" [ 41%] Decrypting test file clam.exe.html... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-be.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.bin-be.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.impl.zip /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/depend [ 41%] Built target tgt_clam.exe.html gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/DependInfo.cmake "--color=" /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bin-le.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.newc.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.bin-le.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio [ 41%] Decrypting test file clam.newc.cpio... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio [ 41%] Built target tgt_clam.bin-be.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.odc.cpio.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam.odc.cpio... Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Built target tgt_clam.bin-le.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/depend [ 41%] Built target tgt_clam.newc.cpio gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/DependInfo.cmake "--color=" /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam-yc.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_int.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 41%] Decrypting test file clam-yc.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe [ 42%] Decrypting test file clam_IScab_int.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam.odc.cpio /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_IScab_ext.exe.dir/build Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_IScab_ext.exe... [ 42%] Built target tgt_clam-yc.exe cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_int.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_ISmsi_int.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam_ISmsi_int.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_ISmsi_ext.exe.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Decrypting test file clam_ISmsi_ext.exe... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 42%] Built target tgt_clam_IScab_int.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.7z.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.7z.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.7z.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.7z.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.7z.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe' [ 43%] Decrypting test file clam.7z... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.7z.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 43%] Built target tgt_clam_IScab_ext.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam_cache_emax.tgz.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 43%] Decrypting test file clam_cache_emax.tgz... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz [ 43%] Built target tgt_clam.7z /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.iso.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.iso.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.iso.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 44%] Decrypting test file clam.iso... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.iso.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 44%] Built target tgt_clam_cache_emax.tgz /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/build.make unit_tests/input/CMakeFiles/tgt_clamjol.iso.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 45%] Decrypting test file clamjol.iso... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 45%] Built target tgt_clam.iso /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe.bz2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 46%] Decrypting test file clam.exe.bz2... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 46%] Built target tgt_clam_ISmsi_ext.exe /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/DependInfo.cmake "--color=" Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2' [ 46%] Built target tgt_clamjol.iso /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.bz2.zip.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/build.make unit_tests/input/CMakeFiles/tgt_clam.exe_and_mail.tar.gz.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 46%] Built target tgt_clam.exe.bz2 gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Decrypting test file clam.bz2.zip... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip [ 47%] Decrypting test file clam.exe_and_mail.tar.gz... cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.12 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz.xor --out_file /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' Created: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz' [ 47%] Built target tgt_clam.bz2.zip gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Built target tgt_clam.exe_and_mail.tar.gz Running `/usr/bin/rustc --crate-name clamav_rust --edition=2018 libclamav_rust/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=324444c1b40cd47b -C extra-filename=-324444c1b40cd47b --out-dir /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/release/deps --extern flate2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libflate2-552b8fd7a4d050d9.rlib --extern hex=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libhex-6ff17b90e21f9db5.rlib --extern image=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libimage-25f6a46c0151d520.rlib --extern libc=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/liblibc-0f2aa5241535f27b.rlib --extern log=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/liblog-d7eaa63fd2411e74.rlib --extern num_traits=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libnum_traits-994b0081e0f24553.rlib --extern rustdct=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/librustdct-b0c692609311d0dc.rlib --extern sha2=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libsha2-467d4af9cf4ef0ea.rlib --extern tempfile=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libtempfile-69c3511f8ce03675.rlib --extern thiserror=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libthiserror-ed1fccad56aa8778.rlib --extern transpose=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/x86_64-unknown-linux-gnu/release/deps/libtranspose-12f5a9b7f6eafe08.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -g` Finished release [optimized] target(s) in 2m 11s gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 47%] Built target clamav_rust_target /usr/bin/gmake -f libclamav/CMakeFiles/clamav.dir/build.make libclamav/CMakeFiles/clamav.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/CMakeFiles/clamav.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libclamav/CMakeFiles/clamav.dir/build.make libclamav/CMakeFiles/clamav.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/hashtab.c.o [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/fpu.c.o [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/conv.c.o [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/blob.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/blob.c.o -MF CMakeFiles/clamav.dir/blob.c.o.d -o CMakeFiles/clamav.dir/blob.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/blob.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/conv.c.o -MF CMakeFiles/clamav.dir/conv.c.o.d -o CMakeFiles/clamav.dir/conv.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/conv.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fpu.c.o -MF CMakeFiles/clamav.dir/fpu.c.o.d -o CMakeFiles/clamav.dir/fpu.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/fpu.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hashtab.c.o -MF CMakeFiles/clamav.dir/hashtab.c.o.d -o CMakeFiles/clamav.dir/hashtab.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hashtab.c [ 48%] Building C object libclamav/CMakeFiles/clamav.dir/iowrap.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/iowrap.c.o -MF CMakeFiles/clamav.dir/iowrap.c.o.d -o CMakeFiles/clamav.dir/iowrap.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/iowrap.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/json_api.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/json_api.c.o -MF CMakeFiles/clamav.dir/json_api.c.o.d -o CMakeFiles/clamav.dir/json_api.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/json_api.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/others_common.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/others_common.c.o -MF CMakeFiles/clamav.dir/others_common.c.o.d -o CMakeFiles/clamav.dir/others_common.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/qsort.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/qsort.c.o -MF CMakeFiles/clamav.dir/qsort.c.o.d -o CMakeFiles/clamav.dir/qsort.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/qsort.c [ 49%] Building C object libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o -MF CMakeFiles/clamav.dir/sf_base64decode.c.o.d -o CMakeFiles/clamav.dir/sf_base64decode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/sf_base64decode.c /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_malloc’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:224:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 224 | cli_warnmsg("cli_malloc(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_calloc’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:245:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 245 | cli_warnmsg("cli_calloc2(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 246 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_realloc’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:266:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 266 | cli_warnmsg("cli_realloc(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_realloc2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:287:21: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 287 | cli_warnmsg("cli_realloc2(): File or section is too large to scan (%zu bytes). \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | For your safety, ClamAV limits how much memory an operation can allocate to %zu bytes\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_warnmsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 19 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_errmsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_infomsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_infomsg_simple’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 16 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_dbgmsg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c: In function ‘cli_dbgmsg_no_inline’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others_common.c:145:5: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 145 | strncpy(buff, x, len); \ | ^~~~~~~ [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/str.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/str.c.o -MF CMakeFiles/clamav.dir/str.c.o.d -o CMakeFiles/clamav.dir/str.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/str.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/strlcat.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/strlcat.c.o -MF CMakeFiles/clamav.dir/strlcat.c.o.d -o CMakeFiles/clamav.dir/strlcat.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/strlcat.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/table.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/table.c.o -MF CMakeFiles/clamav.dir/table.c.o.d -o CMakeFiles/clamav.dir/table.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/table.c [ 50%] Building C object libclamav/CMakeFiles/clamav.dir/text.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/text.c.o -MF CMakeFiles/clamav.dir/text.c.o.d -o CMakeFiles/clamav.dir/text.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/text.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/uniq.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/uniq.c.o -MF CMakeFiles/clamav.dir/uniq.c.o.d -o CMakeFiles/clamav.dir/uniq.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/uniq.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/www.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/www.c.o -MF CMakeFiles/clamav.dir/www.c.o.d -o CMakeFiles/clamav.dir/www.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/www.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/disasm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/disasm.c.o -MF CMakeFiles/clamav.dir/disasm.c.o.d -o CMakeFiles/clamav.dir/disasm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c [ 51%] Building C object libclamav/CMakeFiles/clamav.dir/filtering.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/filtering.c.o -MF CMakeFiles/clamav.dir/filtering.c.o.d -o CMakeFiles/clamav.dir/filtering.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o -MF CMakeFiles/clamav.dir/matcher-ac.c.o.d -o CMakeFiles/clamav.dir/matcher-ac.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o -MF CMakeFiles/clamav.dir/matcher-bm.c.o.d -o CMakeFiles/clamav.dir/matcher-bm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-bm.c /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c: In function ‘filter_add_static’: /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:213:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 213 | if (j + 2 > len) | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c: In function ‘cli_disasm_one’: /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1745:30: warning: this statement may fall through [-Wimplicit-fallthrough=] 1745 | w->arg[i][1] = s.args[i].reg; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1746:13: note: here 1746 | default: | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c: In function ‘disasm_x86’: /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1318:38: warning: this statement may fall through [-Wimplicit-fallthrough=] 1318 | reversed = 1; | ~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1319:25: note: here 1319 | case X87_R: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1321:58: warning: this statement may fall through [-Wimplicit-fallthrough=] 1321 | s->args[reversed ^ 1].reg = X86_REG_ST0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1322:25: note: here 1322 | case X87_ONE: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1502:56: warning: this statement may fall through [-Wimplicit-fallthrough=] 1502 | s->args[reversed].size += (s->opsize == 0); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1503:29: note: here 1503 | case SIZE_WORD: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1455:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 1455 | reversed = 1; | ~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/disasm.c:1457:21: note: here 1457 | case ADDR_MRM_GEN_EG: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c: In function ‘cli_ac_scanbuff’: /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c:1995:48: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 1995 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.c:2062:44: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 2062 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ In function ‘get_score’, inlined from ‘filter_add_acpatt’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:644:13: /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:357:8: warning: ‘base’ may be used uninitialized [-Wmaybe-uninitialized] 357 | if (base < 0) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c: In function ‘filter_add_acpatt’: /builddir/build/BUILD/clamav-1.0.6/libclamav/filtering.c:326:13: note: ‘base’ was declared here 326 | int32_t base; | ^~~~ [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o -MF CMakeFiles/clamav.dir/matcher-byte-comp.c.o.d -o CMakeFiles/clamav.dir/matcher-byte-comp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-byte-comp.c [ 52%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o -MF CMakeFiles/clamav.dir/matcher-hash.c.o.d -o CMakeFiles/clamav.dir/matcher-hash.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-hash.c [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o -MF CMakeFiles/clamav.dir/matcher-pcre.c.o.d -o CMakeFiles/clamav.dir/matcher-pcre.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-pcre.c [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/matcher.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher.c.o -MF CMakeFiles/clamav.dir/matcher.c.o.d -o CMakeFiles/clamav.dir/matcher.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o -MF CMakeFiles/clamav.dir/regex_pcre.c.o.d -o CMakeFiles/clamav.dir/regex_pcre.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_pcre.c /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c:349:12: warning: conflicting types for ‘cli_caloff’ due to enum/integer mismatch; have ‘cl_error_t(const char *, const struct cli_target_info *, cli_target_t, uint32_t *, uint32_t *, uint32_t *)’ {aka ‘cl_error_t(const char *, const struct cli_target_info *, cli_target_t, unsigned int *, unsigned int *, unsigned int *)’} [-Wenum-int-mismatch] 349 | cl_error_t cli_caloff(const char *offstr, const struct cli_target_info *info, cli_target_t target, uint32_t *offdata, uint32_t *offset_min, uint32_t *offset_max) | ^~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher-ac.h:133, from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav_rust.h:13, from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c:36: /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:366:12: note: previous declaration of ‘cli_caloff’ with type ‘cl_error_t(const char *, const struct cli_target_info *, unsigned int, uint32_t *, uint32_t *, uint32_t *)’ {aka ‘cl_error_t(const char *, const struct cli_target_info *, unsigned int, unsigned int *, unsigned int *, unsigned int *)’} 366 | cl_error_t cli_caloff(const char *offstr, const struct cli_target_info *info, unsigned int target, uint32_t *offdata, uint32_t *offset_min, uint32_t *offset_max); | ^~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.c:536:6: warning: conflicting types for ‘cli_targetinfo’ due to enum/integer mismatch; have ‘void(struct cli_target_info *, cli_target_t, cli_ctx *)’ {aka ‘void(struct cli_target_info *, cli_target_t, struct cli_ctx_tag *)’} [-Wenum-int-mismatch] 536 | void cli_targetinfo(struct cli_target_info *info, cli_target_t target, cli_ctx *ctx) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:396:6: note: previous declaration of ‘cli_targetinfo’ with type ‘void(struct cli_target_info *, unsigned int, cli_ctx *)’ {aka ‘void(struct cli_target_info *, unsigned int, struct cli_ctx_tag *)’} 396 | void cli_targetinfo(struct cli_target_info *info, unsigned int target, cli_ctx *ctx); | ^~~~~~~~~~~~~~ [ 53%] Building C object libclamav/CMakeFiles/clamav.dir/cvd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cvd.c.o -MF CMakeFiles/clamav.dir/cvd.c.o.d -o CMakeFiles/clamav.dir/cvd.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/cvd.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/dconf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dconf.c.o -MF CMakeFiles/clamav.dir/dconf.c.o.d -o CMakeFiles/clamav.dir/dconf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dconf.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/dsig.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dsig.c.o -MF CMakeFiles/clamav.dir/dsig.c.o.d -o CMakeFiles/clamav.dir/dsig.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dsig.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/readdb.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/readdb.c.o -MF CMakeFiles/clamav.dir/readdb.c.o.d -o CMakeFiles/clamav.dir/readdb.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c [ 54%] Building C object libclamav/CMakeFiles/clamav.dir/cache.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cache.c.o -MF CMakeFiles/clamav.dir/cache.c.o.d -o CMakeFiles/clamav.dir/cache.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/cache.c [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/crtmgr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/crtmgr.c.o -MF CMakeFiles/clamav.dir/crtmgr.c.o.d -o CMakeFiles/clamav.dir/crtmgr.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/crtmgr.c /builddir/build/BUILD/clamav-1.0.6/libclamav/crtmgr.c: In function ‘cli_crt_clear’: /builddir/build/BUILD/clamav-1.0.6/libclamav/crtmgr.c:56:29: warning: unused parameter ‘x509’ [-Wunused-parameter] 56 | void cli_crt_clear(cli_crt *x509) | ~~~~~~~~~^~~~ [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/crypto.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/crypto.c.o -MF CMakeFiles/clamav.dir/crypto.c.o.d -o CMakeFiles/clamav.dir/crypto.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/crypto.c [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/filetypes.c.o [ 55%] Building C object libclamav/CMakeFiles/clamav.dir/fmap.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/filetypes.c.o -MF CMakeFiles/clamav.dir/filetypes.c.o.d -o CMakeFiles/clamav.dir/filetypes.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/filetypes.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fmap.c.o -MF CMakeFiles/clamav.dir/fmap.c.o.d -o CMakeFiles/clamav.dir/fmap.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/fmap.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/mpool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mpool.c.o -MF CMakeFiles/clamav.dir/mpool.c.o.d -o CMakeFiles/clamav.dir/mpool.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mpool.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/others.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/others.c.o -MF CMakeFiles/clamav.dir/others.c.o.d -o CMakeFiles/clamav.dir/others.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/others.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/perflogging.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/perflogging.c.o -MF CMakeFiles/clamav.dir/perflogging.c.o.d -o CMakeFiles/clamav.dir/perflogging.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/perflogging.c [ 56%] Building C object libclamav/CMakeFiles/clamav.dir/scanners.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/scanners.c.o -MF CMakeFiles/clamav.dir/scanners.c.o.d -o CMakeFiles/clamav.dir/scanners.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/textdet.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/textdet.c.o -MF CMakeFiles/clamav.dir/textdet.c.o.d -o CMakeFiles/clamav.dir/textdet.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/textdet.c /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c: In function ‘scanraw’: /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:3891:29: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 3891 | ret = CL_TYPE_TEXT_ASCII; | ^ [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/version.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/version.c.o -MF CMakeFiles/clamav.dir/version.c.o.d -o CMakeFiles/clamav.dir/version.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/version.c [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o -MF CMakeFiles/clamav.dir/htmlnorm.c.o.d -o CMakeFiles/clamav.dir/htmlnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c [ 57%] Building C object libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o -MF CMakeFiles/clamav.dir/jsparse/js-norm.c.o.d -o CMakeFiles/clamav.dir/jsparse/js-norm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/jsparse/js-norm.c /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c: In function ‘cli_load’: /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c:2730:17: warning: ‘__strncpy_chk’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2730 | strncpy(buffer, signame, len); | ^ In function ‘cli_loadign’, inlined from ‘cli_load’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c:4828:15: /builddir/build/BUILD/clamav-1.0.6/libclamav/readdb.c:2721:21: note: length computed here 2721 | if (!(len = strlen(signame))) { | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c: In function ‘cli_html_normalise.constprop.0’: /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c:1845:9: warning: argument 1 null where non-null expected [-Wnonnull] 1845 | fclose(stream_in); | ^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/htmlnorm.c:29: /usr/include/stdio.h:184:12: note: in a call to function ‘fclose’ declared ‘nonnull’ 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/textnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/textnorm.c.o -MF CMakeFiles/clamav.dir/textnorm.c.o.d -o CMakeFiles/clamav.dir/textnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/textnorm.c [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o -MF CMakeFiles/clamav.dir/partition_intersection.c.o.d -o CMakeFiles/clamav.dir/partition_intersection.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/partition_intersection.c [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/special.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/special.c.o -MF CMakeFiles/clamav.dir/special.c.o.d -o CMakeFiles/clamav.dir/special.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/special.c /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c: In function ‘cli_scanegg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:696:55: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Wformat-truncation=] 696 | snprintf(prefix, prefixLen, "comments_%u", i); | ^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:696:45: note: directive argument in the range [0, 4294967294] 696 | snprintf(prefix, prefixLen, "comments_%u", i); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:29: In function ‘snprintf’, inlined from ‘cli_scanegg’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/scanners.c:696:17: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 11 and 20 bytes into a destination of size 14 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 58%] Building C object libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o -MF CMakeFiles/clamav.dir/hostid_internal.c.o.d -o CMakeFiles/clamav.dir/hostid_internal.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hostid_internal.c [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/stats_json.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/stats_json.c.o -MF CMakeFiles/clamav.dir/stats_json.c.o.d -o CMakeFiles/clamav.dir/stats_json.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/stats_json.c [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/stats.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/stats.c.o -MF CMakeFiles/clamav.dir/stats.c.o.d -o CMakeFiles/clamav.dir/stats.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o -MF CMakeFiles/clamav.dir/bytecode_api_decl.c.o.d -o CMakeFiles/clamav.dir/bytecode_api_decl.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api_decl.c /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c: In function ‘clamav_stats_get_hostid’: /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c:578:19: warning: unused variable ‘i’ [-Wunused-variable] 578 | size_t bufsz, i; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c:578:12: warning: unused variable ‘bufsz’ [-Wunused-variable] 578 | size_t bufsz, i; | ^~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/stats.c:575:11: warning: unused variable ‘sysctls’ [-Wunused-variable] 575 | char *sysctls[] = { | ^~~~~~~ [ 59%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o -MF CMakeFiles/clamav.dir/bytecode_api.c.o.d -o CMakeFiles/clamav.dir/bytecode_api.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o -MF CMakeFiles/clamav.dir/bytecode_detect.c.o.d -o CMakeFiles/clamav.dir/bytecode_detect.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_detect.c [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o -MF CMakeFiles/clamav.dir/bytecode_vm.c.o.d -o CMakeFiles/clamav.dir/bytecode_vm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/bytecode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode.c.o -MF CMakeFiles/clamav.dir/bytecode.c.o.d -o CMakeFiles/clamav.dir/bytecode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode.c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c: In function ‘cli_vm_execute’: /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:740:13: note: in expansion of macro ‘DEFINE_BINOP’ 740 | DEFINE_BINOP(OP_BC_ADD, res = op0 + op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:741:13: note: in expansion of macro ‘DEFINE_BINOP’ 741 | DEFINE_BINOP(OP_BC_SUB, res = op0 - op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:742:13: note: in expansion of macro ‘DEFINE_BINOP’ 742 | DEFINE_BINOP(OP_BC_MUL, res = op0 * op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:744:13: note: in expansion of macro ‘DEFINE_BINOP’ 744 | DEFINE_BINOP(OP_BC_UDIV, CHECK_OP(op1 == 0, "bytecode attempted to execute udiv#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:748:13: note: in expansion of macro ‘DEFINE_BINOP’ 748 | DEFINE_BINOP(OP_BC_UREM, CHECK_OP(op1 == 0, "bytecode attempted to execute urem#0\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:753:13: note: in expansion of macro ‘DEFINE_BINOP’ 753 | DEFINE_BINOP(OP_BC_SHL, CHECK_OP(op1 > inst->type, "bytecode attempted to execute shl greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:755:13: note: in expansion of macro ‘DEFINE_BINOP’ 755 | DEFINE_BINOP(OP_BC_LSHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute lshr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:757:13: note: in expansion of macro ‘DEFINE_BINOP’ 757 | DEFINE_BINOP(OP_BC_ASHR, CHECK_OP(op1 > inst->type, "bytecode attempted to execute ashr greater than bitwidth\n"); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:760:13: note: in expansion of macro ‘DEFINE_BINOP’ 760 | DEFINE_BINOP(OP_BC_AND, res = op0 & op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:761:13: note: in expansion of macro ‘DEFINE_BINOP’ 761 | DEFINE_BINOP(OP_BC_OR, res = op0 | op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:440:31: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 440 | #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:762:13: note: in expansion of macro ‘DEFINE_BINOP’ 762 | DEFINE_BINOP(OP_BC_XOR, res = op0 ^ op1); | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:800:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 800 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:800:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 800 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:801:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 801 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 1, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:801:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 801 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 1, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:802:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 802 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 2, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:802:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 802 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 2, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:803:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 803 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 3, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:803:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 803 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 3, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:520:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 520 | R0(tmp, inst->u.unaryop); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:804:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 804 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 4, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:527:15: warning: left-hand operand of comma expression has no effect [-Wunused-value] 527 | W0(ret, tmp); \ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:804:13: note: in expansion of macro ‘DEFINE_OP_BC_RET_N’ 804 | DEFINE_OP_BC_RET_N(OP_BC_RET_VOID * 5 + 4, uint8_t, (void), (void)); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:806:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 806 | DEFINE_ICMPOP(OP_BC_ICMP_EQ, res = (op0 == op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:807:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 807 | DEFINE_ICMPOP(OP_BC_ICMP_NE, res = (op0 != op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:808:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 808 | DEFINE_ICMPOP(OP_BC_ICMP_UGT, res = (op0 > op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:809:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 809 | DEFINE_ICMPOP(OP_BC_ICMP_UGE, res = (op0 >= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:810:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 810 | DEFINE_ICMPOP(OP_BC_ICMP_ULT, res = (op0 < op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:386:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 386 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:22: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:397:16: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 397 | int8_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:408:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 408 | int16_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:419:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 419 | int32_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:23: warning: variable ‘sop1’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:430:17: warning: variable ‘sop0’ set but not used [-Wunused-but-set-variable] 430 | int64_t sop0, sop1; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:441:32: note: in expansion of macro ‘DEFINE_BINOP_BC_HELPER’ 441 | #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_BC_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8) | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_vm.c:811:13: note: in expansion of macro ‘DEFINE_ICMPOP’ 811 | DEFINE_ICMPOP(OP_BC_ICMP_ULE, res = (op0 <= op1)); | ^~~~~~~~~~~~~ [ 60%] Building C object libclamav/CMakeFiles/clamav.dir/events.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/events.c.o -MF CMakeFiles/clamav.dir/events.c.o.d -o CMakeFiles/clamav.dir/events.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/events.c [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/7z_iface.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/7z_iface.c.o -MF CMakeFiles/clamav.dir/7z_iface.c.o.d -o CMakeFiles/clamav.dir/7z_iface.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/7z_iface.c /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c: In function ‘cli_bcapi_json_get_string’: /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c:2318:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2318 | strncpy((char *)str, jstr, len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/bytecode_api.c:2309:12: note: length computed here 2309 | len = strlen(jstr); | ^~~~~~~~~~~~ [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/explode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/explode.c.o -MF CMakeFiles/clamav.dir/explode.c.o.d -o CMakeFiles/clamav.dir/explode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/inflate64.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/inflate64.c.o -MF CMakeFiles/clamav.dir/inflate64.c.o.d -o CMakeFiles/clamav.dir/inflate64.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c: In function ‘explode’: /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:225:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 225 | X->state++; \ | ~~~~~~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:240:9: note: in expansion of macro ‘GETCODES’ 240 | GETCODES(GRABLITS, lit_tree, 256); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:202:5: note: here 202 | case CASE: { \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:242:9: note: in expansion of macro ‘GETCODES’ 242 | GETCODES(GRABLENS, len_tree, 64); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:225:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 225 | X->state++; \ | ~~~~~~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:242:9: note: in expansion of macro ‘GETCODES’ 242 | GETCODES(GRABLENS, len_tree, 64); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:202:5: note: here 202 | case CASE: { \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:244:9: note: in expansion of macro ‘GETCODES’ 244 | GETCODES(GRABDISTS, dist_tree, 64); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:229:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 229 | X->state = (CASE); \ | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:273:21: note: in expansion of macro ‘SETCASE’ 273 | SETCASE(EXPLODE_BASEDIST); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:230:5: note: here 230 | case (CASE): { /* FAKE */ \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/explode.c:273:21: note: in expansion of macro ‘SETCASE’ 273 | SETCASE(EXPLODE_BASEDIST); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c: In function ‘inflate64’: /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:441:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 441 | state->mode = DICT; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:442:9: note: here 442 | case DICT: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:446:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 446 | if (flush == Z_BLOCK) goto inf_leave; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:447:9: note: here 447 | case TYPEDO: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:489:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 489 | state->mode = COPY; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:490:9: note: here 490 | case COPY: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:613:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 613 | state->mode = LEN; | ~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:614:9: note: here 614 | case LEN: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:656:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 656 | state->mode = LENEXT; | ~~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:657:9: note: here 657 | case LENEXT: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:664:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 664 | state->mode = DIST; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:665:9: note: here 665 | case DIST: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:689:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 689 | state->mode = DISTEXT; | ~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:690:9: note: here 690 | case DISTEXT: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:707:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 707 | state->mode = MATCH; | ~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:708:9: note: here 708 | case MATCH: | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:757:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 757 | state->mode = DONE; | ~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/inflate64.c:758:9: note: here 758 | case DONE: | ^~~~ [ 61%] Building C object libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o -MF CMakeFiles/clamav.dir/lzma_iface.c.o.d -o CMakeFiles/clamav.dir/lzma_iface.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/lzma_iface.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o -MF CMakeFiles/clamav.dir/lzw/lzwdec.c.o.d -o CMakeFiles/clamav.dir/lzw/lzwdec.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/lzw/lzwdec.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/xz_iface.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xz_iface.c.o -MF CMakeFiles/clamav.dir/xz_iface.c.o.d -o CMakeFiles/clamav.dir/xz_iface.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xz_iface.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/arc4.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/arc4.c.o -MF CMakeFiles/clamav.dir/arc4.c.o.d -o CMakeFiles/clamav.dir/arc4.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/arc4.c [ 62%] Building C object libclamav/CMakeFiles/clamav.dir/rijndael.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rijndael.c.o -MF CMakeFiles/clamav.dir/rijndael.c.o.d -o CMakeFiles/clamav.dir/rijndael.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/rijndael.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/entconv.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/entconv.c.o -MF CMakeFiles/clamav.dir/entconv.c.o.d -o CMakeFiles/clamav.dir/entconv.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/entconv.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/dlp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dlp.c.o -MF CMakeFiles/clamav.dir/dlp.c.o.d -o CMakeFiles/clamav.dir/dlp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dlp.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/autoit.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/autoit.c.o -MF CMakeFiles/clamav.dir/autoit.c.o.d -o CMakeFiles/clamav.dir/autoit.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/autoit.c [ 63%] Building C object libclamav/CMakeFiles/clamav.dir/binhex.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/binhex.c.o -MF CMakeFiles/clamav.dir/binhex.c.o.d -o CMakeFiles/clamav.dir/binhex.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/binhex.c [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/cpio.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cpio.c.o -MF CMakeFiles/clamav.dir/cpio.c.o.d -o CMakeFiles/clamav.dir/cpio.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c: In function ‘cli_scancpio_old’: /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c:139:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 139 | name[namesize - 1] = 0; | ~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c:103:10: note: at offset 4294967295 into destination object ‘name’ of size 513 103 | char name[513]; | ^~~~ [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/ishield.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ishield.c.o -MF CMakeFiles/clamav.dir/ishield.c.o.d -o CMakeFiles/clamav.dir/ishield.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/ishield.c [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/libmspack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/libmspack.c.o -MF CMakeFiles/clamav.dir/libmspack.c.o.d -o CMakeFiles/clamav.dir/libmspack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/libmspack.c [ 64%] Building C object libclamav/CMakeFiles/clamav.dir/msexpand.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msexpand.c.o -MF CMakeFiles/clamav.dir/msexpand.c.o.d -o CMakeFiles/clamav.dir/msexpand.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msexpand.c /builddir/build/BUILD/clamav-1.0.6/libclamav/libmspack.c: In function ‘mspack_fmap_message’: /builddir/build/BUILD/clamav-1.0.6/libclamav/libmspack.c:293:9: warning: ‘strncpy’ output truncated before terminating nul copying 17 bytes from a string of the same length [-Wstringop-truncation] 293 | strncpy(buff, "LibClamAV debug: ", len); | ^ [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o -MF CMakeFiles/clamav.dir/nsis/bzlib.c.o.d -o CMakeFiles/clamav.dir/nsis/bzlib.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o -MF CMakeFiles/clamav.dir/nsis/infblock.c.o.d -o CMakeFiles/clamav.dir/nsis/infblock.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c: In function ‘nsis_inflate’: /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:570:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 570 | s->mode = CODES_START; | ~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:578:5: note: here 578 | case CODES_START: /* x: set up for LEN */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:581:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 581 | s->mode = CODES_LEN; | ~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:582:5: note: here 582 | case CODES_LEN: /* i: get length/literal/eob next */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:620:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 620 | s->mode = CODES_DIST; | ~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:621:5: note: here 621 | case CODES_DIST: /* i: get distance next */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:646:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 646 | s->mode = CODES_COPY; | ~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:647:5: note: here 647 | case CODES_COPY: /* o: copying bytes in window, waiting for space */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:668:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 668 | if (k > 7) /* return unused byte, if any */ | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/infblock.c:680:5: note: here 680 | case DRY: | ^~~~ [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o -MF CMakeFiles/clamav.dir/nsis/nulsft.c.o.d -o CMakeFiles/clamav.dir/nsis/nulsft.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nulsft.c /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c: In function ‘BZ2_decompress’: /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:538:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 538 | if (s->smallDecompress) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:549:7: note: in expansion of macro ‘GET_UCHAR’ 549 | GET_UCHAR(BZ_X_BLKHDR_1, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:584:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 584 | s->origPtr = 0; | ~~~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:585:7: note: in expansion of macro ‘GET_UCHAR’ 585 | GET_UCHAR(BZ_X_ORIGPTR_1, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:586:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 586 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:587:7: note: in expansion of macro ‘GET_UCHAR’ 587 | GET_UCHAR(BZ_X_ORIGPTR_2, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:588:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 588 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:589:7: note: in expansion of macro ‘GET_UCHAR’ 589 | GET_UCHAR(BZ_X_ORIGPTR_3, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:615:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 615 | alphaSize = s->nInUse+2; | ~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:618:7: note: in expansion of macro ‘GET_BITS’ 618 | GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:619:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 619 | if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:620:7: note: in expansion of macro ‘GET_BITS’ 620 | GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:623:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 623 | j = 0; | ~~^~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:625:13: note: in expansion of macro ‘GET_BIT’ 625 | GET_BIT(BZ_X_SELECTOR_3, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:652:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 652 | if (curr < 1 || curr > 20) RETURN(BZ_DATA_ERROR); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:653:16: note: in expansion of macro ‘GET_BIT’ 653 | GET_BIT(BZ_X_CODING_2, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:654:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 654 | if (uc == 0) break; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:655:16: note: in expansion of macro ‘GET_BIT’ 655 | GET_BIT(BZ_X_CODING_3, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nulsft.c:38: /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nsis_zlib.h:215:9: warning: "Z_NULL" redefined 215 | #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ | ^~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/dconf.h:26, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:48, from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:29, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:22, from /builddir/build/BUILD/clamav-1.0.6/libclamav/nsis/nulsft.c:35: /usr/include/zlib.h:223:9: note: this is the location of the previous definition 223 | #define Z_NULL NULL /* for compatibility with zlib, was for initializing zalloc, zfree, opaque */ | ^~~~~~ [ 65%] Building C object libclamav/CMakeFiles/clamav.dir/hwp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hwp.c.o -MF CMakeFiles/clamav.dir/hwp.c.o.d -o CMakeFiles/clamav.dir/hwp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/msdoc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msdoc.c.o -MF CMakeFiles/clamav.dir/msdoc.c.o.d -o CMakeFiles/clamav.dir/msdoc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msdoc.c [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o -MF CMakeFiles/clamav.dir/msxml_parser.c.o.d -o CMakeFiles/clamav.dir/msxml_parser.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msxml_parser.c /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwp3_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1809:13: warning: ‘fonts’ may be used uninitialized [-Wmaybe-uninitialized] 1809 | cli_jsonint(fonts, NULL, nfonts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1760:18: note: ‘fonts’ was declared here 1760 | json_object *fonts; | ^~~~~ In function ‘parsehwp3_infoblk_1’, inlined from ‘hwp3_cb’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1861:29: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1565:17: warning: ‘contents’ may be used uninitialized [-Wmaybe-uninitialized] 1565 | entry = cli_jsonobj(contents, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwp3_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1528:30: note: ‘contents’ was declared here 1528 | json_object *infoblk_1, *contents, *counter, *entry; | ^~~~~~~~ In function ‘parsehwp3_infoblk_1’, inlined from ‘hwp3_cb’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1861:29: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1596:9: warning: ‘entry’ may be used uninitialized [-Wmaybe-uninitialized] 1596 | cli_jsonint(entry, "Length", infolen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c: In function ‘hwp3_cb’: /builddir/build/BUILD/clamav-1.0.6/libclamav/hwp.c:1528:51: note: ‘entry’ was declared here 1528 | json_object *infoblk_1, *contents, *counter, *entry; | ^~~~~ [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/msxml.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msxml.c.o -MF CMakeFiles/clamav.dir/msxml.c.o.d -o CMakeFiles/clamav.dir/msxml.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/msxml.c [ 66%] Building C object libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o -MF CMakeFiles/clamav.dir/ole2_extract.c.o.d -o CMakeFiles/clamav.dir/ole2_extract.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/ole2_extract.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o -MF CMakeFiles/clamav.dir/xlm_extract.c.o.d -o CMakeFiles/clamav.dir/xlm_extract.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xlm_extract.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/ooxml.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ooxml.c.o -MF CMakeFiles/clamav.dir/ooxml.c.o.d -o CMakeFiles/clamav.dir/ooxml.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/ooxml.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/rtf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rtf.c.o -MF CMakeFiles/clamav.dir/rtf.c.o.d -o CMakeFiles/clamav.dir/rtf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/rtf.c [ 67%] Building C object libclamav/CMakeFiles/clamav.dir/vba_extract.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/vba_extract.c.o -MF CMakeFiles/clamav.dir/vba_extract.c.o.d -o CMakeFiles/clamav.dir/vba_extract.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/vba_extract.c /builddir/build/BUILD/clamav-1.0.6/libclamav/rtf.c: In function ‘push_state’: /builddir/build/BUILD/clamav-1.0.6/libclamav/rtf.c:159:12: warning: variable ‘defelements’ set but not used [-Wunused-but-set-variable] 159 | size_t defelements; | ^~~~~~~~~~~ [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/asn1.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/asn1.c.o -MF CMakeFiles/clamav.dir/asn1.c.o.d -o CMakeFiles/clamav.dir/asn1.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/asn1.c [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/elf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/elf.c.o -MF CMakeFiles/clamav.dir/elf.c.o.d -o CMakeFiles/clamav.dir/elf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/elf.c [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/execs.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/execs.c.o -MF CMakeFiles/clamav.dir/execs.c.o.d -o CMakeFiles/clamav.dir/execs.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/execs.c [ 68%] Building C object libclamav/CMakeFiles/clamav.dir/macho.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/macho.c.o -MF CMakeFiles/clamav.dir/macho.c.o.d -o CMakeFiles/clamav.dir/macho.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/macho.c [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/pe_icons.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pe_icons.c.o -MF CMakeFiles/clamav.dir/pe_icons.c.o.d -o CMakeFiles/clamav.dir/pe_icons.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe_icons.c [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/pe.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pe.c.o -MF CMakeFiles/clamav.dir/pe.c.o.d -o CMakeFiles/clamav.dir/pe.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c: In function ‘cli_scanpe’: /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c:3443:45: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 3443 | cli_readint32(epbuff + 1) > EC32(peinfo->pe_opt.opt32.ImageBase) && | ^ [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o -MF CMakeFiles/clamav.dir/rebuildpe.c.o.d -o CMakeFiles/clamav.dir/rebuildpe.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/rebuildpe.c [ 69%] Building C object libclamav/CMakeFiles/clamav.dir/aspack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/aspack.c.o -MF CMakeFiles/clamav.dir/aspack.c.o.d -o CMakeFiles/clamav.dir/aspack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/aspack.c [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/fsg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fsg.c.o -MF CMakeFiles/clamav.dir/fsg.c.o.d -o CMakeFiles/clamav.dir/fsg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/fsg.c [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/mew.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mew.c.o -MF CMakeFiles/clamav.dir/mew.c.o.d -o CMakeFiles/clamav.dir/mew.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c: In function ‘mew_lzma’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mew.c:343:16: warning: variable ‘var30’ set but not used [-Wunused-but-set-variable] 343 | char var1, var30; | ^~~~~ [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/packlibs.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/packlibs.c.o -MF CMakeFiles/clamav.dir/packlibs.c.o.d -o CMakeFiles/clamav.dir/packlibs.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/packlibs.c [ 70%] Building C object libclamav/CMakeFiles/clamav.dir/petite.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/petite.c.o -MF CMakeFiles/clamav.dir/petite.c.o.d -o CMakeFiles/clamav.dir/petite.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/petite.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/matcher.h:29, from /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:22, from /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c:66: /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c: In function ‘cli_peheader’: /builddir/build/BUILD/clamav-1.0.6/libclamav/others.h:646:66: warning: ‘opt64’ may be used uninitialized [-Wmaybe-uninitialized] 646 | #define cli_readint16(buff) (((const union unaligned_16 *)(buff))->una_s16) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/pe.c:4511:37: note: ‘opt64’ was declared here 4511 | struct pe_image_optional_hdr64 *opt64; | ^~~~~ [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/spin.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/spin.c.o -MF CMakeFiles/clamav.dir/spin.c.o.d -o CMakeFiles/clamav.dir/spin.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/unsp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unsp.c.o -MF CMakeFiles/clamav.dir/unsp.c.o.d -o CMakeFiles/clamav.dir/unsp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/unsp.c /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c: In function ‘exec86’: /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c:74:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 74 | len++; | ~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/spin.c:75:13: note: here 75 | case 0x0a: | ^~~~ [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/upack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/upack.c.o -MF CMakeFiles/clamav.dir/upack.c.o.d -o CMakeFiles/clamav.dir/upack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/upack.c [ 71%] Building C object libclamav/CMakeFiles/clamav.dir/upx.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/upx.c.o -MF CMakeFiles/clamav.dir/upx.c.o.d -o CMakeFiles/clamav.dir/upx.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/upx.c [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/wwunpack.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/wwunpack.c.o -MF CMakeFiles/clamav.dir/wwunpack.c.o.d -o CMakeFiles/clamav.dir/wwunpack.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c: In function ‘wwunpack’: /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:152:34: warning: this statement may fall through [-Wimplicit-fallthrough=] 152 | backbytes++; | ~~~~~~~~~^~ /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:153:21: note: here 153 | case 3: /* 8,9 */ | ^~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:155:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 155 | backbytes += bits; | ~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/wwunpack.c:156:21: note: here 156 | case 0: | ^~~~ [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/yc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/yc.c.o -MF CMakeFiles/clamav.dir/yc.c.o.d -o CMakeFiles/clamav.dir/yc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/yc.c [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/line.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/line.c.o -MF CMakeFiles/clamav.dir/line.c.o.d -o CMakeFiles/clamav.dir/line.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/line.c [ 72%] Building C object libclamav/CMakeFiles/clamav.dir/mbox.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mbox.c.o -MF CMakeFiles/clamav.dir/mbox.c.o.d -o CMakeFiles/clamav.dir/mbox.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/message.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/message.c.o -MF CMakeFiles/clamav.dir/message.c.o.d -o CMakeFiles/clamav.dir/message.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/message.c [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o -MF CMakeFiles/clamav.dir/phish_domaincheck_db.c.o.d -o CMakeFiles/clamav.dir/phish_domaincheck_db.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/phish_domaincheck_db.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c: In function ‘parseEmailBody’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c:2412:28: warning: implicit conversion from ‘enum cl_error_t’ to ‘mbox_status’ [-Wenum-conversion] 2412 | rc = CL_EFORMAT; | ^ [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o -MF CMakeFiles/clamav.dir/phish_allow_list.c.o.d -o CMakeFiles/clamav.dir/phish_allow_list.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/phish_allow_list.c [ 73%] Building C object libclamav/CMakeFiles/clamav.dir/phishcheck.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phishcheck.c.o -MF CMakeFiles/clamav.dir/phishcheck.c.o.d -o CMakeFiles/clamav.dir/phishcheck.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/phishcheck.c [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/regex_list.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_list.c.o -MF CMakeFiles/clamav.dir/regex_list.c.o.d -o CMakeFiles/clamav.dir/regex_list.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c /builddir/build/BUILD/clamav-1.0.6/libclamav/phishcheck.c: In function ‘url_get_host’: /builddir/build/BUILD/clamav-1.0.6/libclamav/phishcheck.c:267:5: warning: ‘strncpy’ output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation] 267 | strncpy(ret, prefix, prefix_len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c: In function ‘regex_list_match’: /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:209:5: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 209 | strncpy(buffer, real_url, real_len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:196:19: note: length computed here 196 | real_len = strlen(real_url); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:218:9: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 218 | strncpy(buffer + real_len + 1, display_url, display_len); | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_list.c:197:19: note: length computed here 197 | display_len = strlen(display_url); | ^~~~~~~~~~~~~~~~~~~ [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o -MF CMakeFiles/clamav.dir/regex_suffix.c.o.d -o CMakeFiles/clamav.dir/regex_suffix.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/regex_suffix.c [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/sis.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/sis.c.o -MF CMakeFiles/clamav.dir/sis.c.o.d -o CMakeFiles/clamav.dir/sis.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/sis.c [ 74%] Building C object libclamav/CMakeFiles/clamav.dir/tnef.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/tnef.c.o -MF CMakeFiles/clamav.dir/tnef.c.o.d -o CMakeFiles/clamav.dir/tnef.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tnef.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c: In function ‘cli_parse_mbox’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbox.c:850:5: warning: ‘strncpy’ output may be truncated copying 1000 bytes from a string of length 1000 [-Wstringop-truncation] 850 | strncpy(buffer, firstLine, sizeof(buffer) - 1); | ^ [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/uuencode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/uuencode.c.o -MF CMakeFiles/clamav.dir/uuencode.c.o.d -o CMakeFiles/clamav.dir/uuencode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/uuencode.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/swf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/swf.c.o -MF CMakeFiles/clamav.dir/swf.c.o.d -o CMakeFiles/clamav.dir/swf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/swf.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/pdf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdf.c.o -MF CMakeFiles/clamav.dir/pdf.c.o.d -o CMakeFiles/clamav.dir/pdf.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c [ 75%] Building C object libclamav/CMakeFiles/clamav.dir/pdfng.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdfng.c.o -MF CMakeFiles/clamav.dir/pdfng.c.o.d -o CMakeFiles/clamav.dir/pdfng.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdfng.c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c: In function ‘pdf_findobj_in_objstm’: /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c:341:25: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 341 | obj = calloc(sizeof(struct pdf_obj), 1); | ^~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/pdf.c:341:25: note: earlier argument should specify number of elements, later size of each element [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o -MF CMakeFiles/clamav.dir/pdfdecode.c.o.d -o CMakeFiles/clamav.dir/pdfdecode.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/pdfdecode.c [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/xdp.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xdp.c.o -MF CMakeFiles/clamav.dir/xdp.c.o.d -o CMakeFiles/clamav.dir/xdp.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xdp.c [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/unarj.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unarj.c.o -MF CMakeFiles/clamav.dir/unarj.c.o.d -o CMakeFiles/clamav.dir/unarj.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c [ 76%] Building C object libclamav/CMakeFiles/clamav.dir/is_tar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/is_tar.c.o -MF CMakeFiles/clamav.dir/is_tar.c.o.d -o CMakeFiles/clamav.dir/is_tar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/is_tar.c [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/untar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/untar.c.o -MF CMakeFiles/clamav.dir/untar.c.o.d -o CMakeFiles/clamav.dir/untar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/untar.c [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/unzip.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unzip.c.o -MF CMakeFiles/clamav.dir/unzip.c.o.d -o CMakeFiles/clamav.dir/unzip.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/unzip.c [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/adc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/adc.c.o -MF CMakeFiles/clamav.dir/adc.c.o.d -o CMakeFiles/clamav.dir/adc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/adc.c In file included from /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:40: In function ‘arj_read_file_header’, inlined from ‘cli_unarj_prepare_file’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1170:12, inlined from ‘cli_unarj_prepare_file’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1159:12: /builddir/build/BUILD/clamav-1.0.6/libclamav/str.h:43:21: warning: ‘filename’ may be used uninitialized [-Wmaybe-uninitialized] 43 | #define CLI_STRNDUP strndup /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c: In function ‘cli_unarj_prepare_file’: /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:975:17: note: ‘filename’ was declared here 975 | const char *filename, *comment; | ^~~~~~~~ In function ‘arj_read_file_header’, inlined from ‘cli_unarj_prepare_file’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1170:12, inlined from ‘cli_unarj_prepare_file’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1159:12: /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:1090:5: warning: ‘comment’ may be used uninitialized [-Wmaybe-uninitialized] 1090 | text_normalize_buffer(&comstate, (const unsigned char *)comment, comment_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c: In function ‘cli_unarj_prepare_file’: /builddir/build/BUILD/clamav-1.0.6/libclamav/unarj.c:975:28: note: ‘comment’ was declared here 975 | const char *filename, *comment; | ^~~~~~~ [ 77%] Building C object libclamav/CMakeFiles/clamav.dir/dmg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dmg.c.o -MF CMakeFiles/clamav.dir/dmg.c.o.d -o CMakeFiles/clamav.dir/dmg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/dmg.c [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/xar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xar.c.o -MF CMakeFiles/clamav.dir/xar.c.o.d -o CMakeFiles/clamav.dir/xar.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/xar.c [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/egg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/egg.c.o -MF CMakeFiles/clamav.dir/egg.c.o.d -o CMakeFiles/clamav.dir/egg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/egg.c [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/mbr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mbr.c.o -MF CMakeFiles/clamav.dir/mbr.c.o.d -o CMakeFiles/clamav.dir/mbr.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c: In function ‘cli_mbr_check’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c:85:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 85 | return CL_TYPE_GPT; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c: In function ‘cli_mbr_check2’: /builddir/build/BUILD/clamav-1.0.6/libclamav/mbr.c:128:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 128 | return CL_TYPE_GPT; | ^~~~~~~~~~~ [ 78%] Building C object libclamav/CMakeFiles/clamav.dir/gpt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/gpt.c.o -MF CMakeFiles/clamav.dir/gpt.c.o.d -o CMakeFiles/clamav.dir/gpt.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/gpt.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/apm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/apm.c.o -MF CMakeFiles/clamav.dir/apm.c.o.d -o CMakeFiles/clamav.dir/apm.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/apm.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/hfsplus.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hfsplus.c.o -MF CMakeFiles/clamav.dir/hfsplus.c.o.d -o CMakeFiles/clamav.dir/hfsplus.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/hfsplus.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/iso9660.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/iso9660.c.o -MF CMakeFiles/clamav.dir/iso9660.c.o.d -o CMakeFiles/clamav.dir/iso9660.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/iso9660.c [ 79%] Building C object libclamav/CMakeFiles/clamav.dir/openioc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/openioc.c.o -MF CMakeFiles/clamav.dir/openioc.c.o.d -o CMakeFiles/clamav.dir/openioc.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/openioc.c [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/jpeg.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/jpeg.c.o -MF CMakeFiles/clamav.dir/jpeg.c.o.d -o CMakeFiles/clamav.dir/jpeg.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/png.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/png.c.o -MF CMakeFiles/clamav.dir/png.c.o.d -o CMakeFiles/clamav.dir/png.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/png.c /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c: In function ‘cli_parsejpeg’: /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c:386:12: warning: ‘marker’ may be used uninitialized [-Wmaybe-uninitialized] 386 | if (JPEG_MARKER_SEGMENT_COM_COMMENT == marker) { | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/jpeg.c:317:19: note: ‘marker’ was declared here 317 | jpeg_marker_t marker, prev_marker, prev_segment = JPEG_MARKER_NOT_A_MARKER_0x00; | ^~~~~~ [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/tiff.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/tiff.c.o -MF CMakeFiles/clamav.dir/tiff.c.o.d -o CMakeFiles/clamav.dir/tiff.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/tiff.c [ 80%] Building C object libclamav/CMakeFiles/clamav.dir/gif.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/gcc -DHAVE_CONFIG_H -DTFM_CHECK -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/gif.c.o -MF CMakeFiles/clamav.dir/gif.c.o.d -o CMakeFiles/clamav.dir/gif.c.o -c /builddir/build/BUILD/clamav-1.0.6/libclamav/gif.c [ 81%] Linking C shared library libclamav.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamav.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libclamav.so.11 -o libclamav.so.11.0.0 CMakeFiles/clamav.dir/blob.c.o CMakeFiles/clamav.dir/conv.c.o CMakeFiles/clamav.dir/fpu.c.o CMakeFiles/clamav.dir/hashtab.c.o CMakeFiles/clamav.dir/iowrap.c.o CMakeFiles/clamav.dir/json_api.c.o CMakeFiles/clamav.dir/others_common.c.o CMakeFiles/clamav.dir/qsort.c.o CMakeFiles/clamav.dir/sf_base64decode.c.o CMakeFiles/clamav.dir/str.c.o CMakeFiles/clamav.dir/strlcat.c.o CMakeFiles/clamav.dir/table.c.o CMakeFiles/clamav.dir/text.c.o CMakeFiles/clamav.dir/uniq.c.o CMakeFiles/clamav.dir/www.c.o CMakeFiles/clamav.dir/disasm.c.o CMakeFiles/clamav.dir/filtering.c.o "CMakeFiles/clamav.dir/matcher-ac.c.o" "CMakeFiles/clamav.dir/matcher-bm.c.o" "CMakeFiles/clamav.dir/matcher-byte-comp.c.o" "CMakeFiles/clamav.dir/matcher-hash.c.o" "CMakeFiles/clamav.dir/matcher-pcre.c.o" CMakeFiles/clamav.dir/matcher.c.o CMakeFiles/clamav.dir/regex_pcre.c.o CMakeFiles/clamav.dir/cvd.c.o CMakeFiles/clamav.dir/dconf.c.o CMakeFiles/clamav.dir/dsig.c.o CMakeFiles/clamav.dir/readdb.c.o CMakeFiles/clamav.dir/cache.c.o CMakeFiles/clamav.dir/crtmgr.c.o CMakeFiles/clamav.dir/crypto.c.o CMakeFiles/clamav.dir/filetypes.c.o CMakeFiles/clamav.dir/fmap.c.o CMakeFiles/clamav.dir/mpool.c.o CMakeFiles/clamav.dir/others.c.o CMakeFiles/clamav.dir/perflogging.c.o CMakeFiles/clamav.dir/scanners.c.o CMakeFiles/clamav.dir/textdet.c.o CMakeFiles/clamav.dir/version.c.o CMakeFiles/clamav.dir/htmlnorm.c.o "CMakeFiles/clamav.dir/jsparse/js-norm.c.o" CMakeFiles/clamav.dir/textnorm.c.o CMakeFiles/clamav.dir/partition_intersection.c.o CMakeFiles/clamav.dir/special.c.o CMakeFiles/clamav.dir/hostid_internal.c.o CMakeFiles/clamav.dir/stats_json.c.o CMakeFiles/clamav.dir/stats.c.o CMakeFiles/clamav.dir/bytecode_api_decl.c.o CMakeFiles/clamav.dir/bytecode_api.c.o CMakeFiles/clamav.dir/bytecode_detect.c.o CMakeFiles/clamav.dir/bytecode_vm.c.o CMakeFiles/clamav.dir/bytecode.c.o CMakeFiles/clamav.dir/events.c.o CMakeFiles/clamav.dir/7z_iface.c.o CMakeFiles/clamav.dir/explode.c.o CMakeFiles/clamav.dir/inflate64.c.o CMakeFiles/clamav.dir/lzma_iface.c.o CMakeFiles/clamav.dir/lzw/lzwdec.c.o CMakeFiles/clamav.dir/xz_iface.c.o CMakeFiles/clamav.dir/arc4.c.o CMakeFiles/clamav.dir/rijndael.c.o CMakeFiles/clamav.dir/entconv.c.o CMakeFiles/clamav.dir/dlp.c.o CMakeFiles/clamav.dir/autoit.c.o CMakeFiles/clamav.dir/binhex.c.o CMakeFiles/clamav.dir/cpio.c.o CMakeFiles/clamav.dir/ishield.c.o CMakeFiles/clamav.dir/libmspack.c.o CMakeFiles/clamav.dir/msexpand.c.o CMakeFiles/clamav.dir/nsis/bzlib.c.o CMakeFiles/clamav.dir/nsis/infblock.c.o CMakeFiles/clamav.dir/nsis/nulsft.c.o CMakeFiles/clamav.dir/hwp.c.o CMakeFiles/clamav.dir/msdoc.c.o CMakeFiles/clamav.dir/msxml_parser.c.o CMakeFiles/clamav.dir/msxml.c.o CMakeFiles/clamav.dir/ole2_extract.c.o CMakeFiles/clamav.dir/xlm_extract.c.o CMakeFiles/clamav.dir/ooxml.c.o CMakeFiles/clamav.dir/rtf.c.o CMakeFiles/clamav.dir/vba_extract.c.o CMakeFiles/clamav.dir/asn1.c.o CMakeFiles/clamav.dir/elf.c.o CMakeFiles/clamav.dir/execs.c.o CMakeFiles/clamav.dir/macho.c.o CMakeFiles/clamav.dir/pe_icons.c.o CMakeFiles/clamav.dir/pe.c.o CMakeFiles/clamav.dir/rebuildpe.c.o CMakeFiles/clamav.dir/aspack.c.o CMakeFiles/clamav.dir/fsg.c.o CMakeFiles/clamav.dir/mew.c.o CMakeFiles/clamav.dir/packlibs.c.o CMakeFiles/clamav.dir/petite.c.o CMakeFiles/clamav.dir/spin.c.o CMakeFiles/clamav.dir/unsp.c.o CMakeFiles/clamav.dir/upack.c.o CMakeFiles/clamav.dir/upx.c.o CMakeFiles/clamav.dir/wwunpack.c.o CMakeFiles/clamav.dir/yc.c.o CMakeFiles/clamav.dir/line.c.o CMakeFiles/clamav.dir/mbox.c.o CMakeFiles/clamav.dir/message.c.o CMakeFiles/clamav.dir/phish_domaincheck_db.c.o CMakeFiles/clamav.dir/phish_allow_list.c.o CMakeFiles/clamav.dir/phishcheck.c.o CMakeFiles/clamav.dir/regex_list.c.o CMakeFiles/clamav.dir/regex_suffix.c.o CMakeFiles/clamav.dir/sis.c.o CMakeFiles/clamav.dir/tnef.c.o CMakeFiles/clamav.dir/uuencode.c.o CMakeFiles/clamav.dir/swf.c.o CMakeFiles/clamav.dir/pdf.c.o CMakeFiles/clamav.dir/pdfng.c.o CMakeFiles/clamav.dir/pdfdecode.c.o CMakeFiles/clamav.dir/xdp.c.o CMakeFiles/clamav.dir/unarj.c.o CMakeFiles/clamav.dir/is_tar.c.o CMakeFiles/clamav.dir/untar.c.o CMakeFiles/clamav.dir/unzip.c.o CMakeFiles/clamav.dir/adc.c.o CMakeFiles/clamav.dir/dmg.c.o CMakeFiles/clamav.dir/xar.c.o CMakeFiles/clamav.dir/egg.c.o CMakeFiles/clamav.dir/mbr.c.o CMakeFiles/clamav.dir/gpt.c.o CMakeFiles/clamav.dir/apm.c.o CMakeFiles/clamav.dir/hfsplus.c.o CMakeFiles/clamav.dir/iso9660.c.o CMakeFiles/clamav.dir/openioc.c.o CMakeFiles/clamav.dir/jpeg.c.o CMakeFiles/clamav.dir/png.c.o CMakeFiles/clamav.dir/tiff.c.o CMakeFiles/clamav.dir/gif.c.o CMakeFiles/regex.dir/regex/strlcpy.c.o CMakeFiles/regex.dir/regex/regcomp.c.o CMakeFiles/regex.dir/regex/regerror.c.o CMakeFiles/regex.dir/regex/regexec.c.o CMakeFiles/regex.dir/regex/regfree.c.o CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o CMakeFiles/lzma_sdk.dir/7z/Bra.c.o CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o CMakeFiles/lzma_sdk.dir/7z/Delta.c.o CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o CMakeFiles/lzma_sdk.dir/7z/Xz.c.o CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o CMakeFiles/yara.dir/yara_compiler.c.o CMakeFiles/yara.dir/yara_exec.c.o CMakeFiles/yara.dir/yara_hash.c.o CMakeFiles/yara.dir/yara_parser.c.o CMakeFiles/yara.dir/yara_arena.c.o CMakeFiles/yara.dir/yara_grammar.c.o CMakeFiles/yara.dir/yara_lexer.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -ldl -lm -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c: In function ‘cli_scancpio_old’: /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c:139:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 139 | name[namesize - 1] = 0; | ^ /builddir/build/BUILD/clamav-1.0.6/libclamav/cpio.c:103:10: note: at offset 4294967295 into destination object ‘name’ of size 513 103 | char name[513]; | ^ cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav && /usr/bin/cmake -E cmake_symlink_library libclamav.so.11.0.0 libclamav.so.11 libclamav.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 81%] Built target clamav /usr/bin/gmake -f common/CMakeFiles/common.dir/build.make common/CMakeFiles/common.dir/depend /usr/bin/gmake -f unit_tests/CMakeFiles/check_fpu_endian.dir/build.make unit_tests/CMakeFiles/check_fpu_endian.dir/depend /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamav.dir/build.make unit_tests/CMakeFiles/check_clamav.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/common /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common/CMakeFiles/common.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/CMakeFiles/check_clamav.dir/DependInfo.cmake "--color=" cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/CMakeFiles/check_fpu_endian.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f common/CMakeFiles/common.dir/build.make common/CMakeFiles/common.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/CMakeFiles/check_fpu_endian.dir/build.make unit_tests/CMakeFiles/check_fpu_endian.dir/build /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamav.dir/build.make unit_tests/CMakeFiles/check_clamav.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 82%] Building C object common/CMakeFiles/common.dir/cert_util.c.o [ 82%] Building C object common/CMakeFiles/common.dir/actions.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/actions.c.o -MF CMakeFiles/common.dir/actions.c.o.d -o CMakeFiles/common.dir/actions.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/actions.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/cert_util.c.o -MF CMakeFiles/common.dir/cert_util.c.o.d -o CMakeFiles/common.dir/cert_util.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/cert_util.c [ 82%] Building C object unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o [ 82%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -MF CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o.d -o CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_fpu_endian.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o -MF CMakeFiles/check_clamav.dir/check_bytecode.c.o.d -o CMakeFiles/check_clamav.dir/check_bytecode.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c [ 82%] Linking C executable check_fpu_endian cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_fpu_endian.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -o check_fpu_endian -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack ../libclamav/libclamav.so.11.0.0 /usr/lib64/libcheck.so /usr/lib64/libjson-c.so ../libclammspack/libclammspack.so.0.8.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so /usr/lib64/libpcre2-8.so ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc -ldl -lm /usr/lib64/librt.a -lm /usr/lib64/libsubunit.so /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c: In function ‘runtest’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c:68:17: warning: unused variable ‘virname’ [-Wunused-variable] 68 | const char *virname = NULL; | ^~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c:32: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c: At top level: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_bytecode.c:488:12: warning: ‘test_retmagic_7_int’ defined but not used [-Wunused-variable] 488 | START_TEST(test_retmagic_7_int) | ^~~~~~~~~~~~~~~~~~~ [ 82%] Building C object common/CMakeFiles/common.dir/clamdcom.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/clamdcom.c.o -MF CMakeFiles/common.dir/clamdcom.c.o.d -o CMakeFiles/common.dir/clamdcom.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/clamdcom.c [ 82%] Building C object common/CMakeFiles/common.dir/getopt.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/getopt.c.o -MF CMakeFiles/common.dir/getopt.c.o.d -o CMakeFiles/common.dir/getopt.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/getopt.c [ 82%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o -MF CMakeFiles/check_clamav.dir/check_clamav.c.o.d -o CMakeFiles/check_clamav.dir/check_clamav.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c [ 82%] Building C object common/CMakeFiles/common.dir/hostid.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/hostid.c.o -MF CMakeFiles/common.dir/hostid.c.o.d -o CMakeFiles/common.dir/hostid.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/hostid.c [ 83%] Building C object common/CMakeFiles/common.dir/idmef_logging.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/idmef_logging.c.o -MF CMakeFiles/common.dir/idmef_logging.c.o.d -o CMakeFiles/common.dir/idmef_logging.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/idmef_logging.c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c: In function ‘test_cl_cvdunpack_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:495:12: warning: unused variable ‘utf8_size’ [-Wunused-variable] 495 | size_t utf8_size = 0; | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:494:11: warning: unused variable ‘utf8’ [-Wunused-variable] 494 | char *utf8 = NULL; | ^~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c: In function ‘test_cl_cvdverify_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:478:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 478 | fread(cvd_bytes, 1, 5000, orig_fs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:11: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c: At top level: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamav.c:491:12: warning: ‘test_cl_cvdunpack’ defined but not used [-Wunused-variable] 491 | START_TEST(test_cl_cvdunpack) | ^~~~~~~~~~~~~~~~~ [ 83%] Building C object common/CMakeFiles/common.dir/misc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/misc.c.o -MF CMakeFiles/common.dir/misc.c.o.d -o CMakeFiles/common.dir/misc.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/misc.c [ 83%] Building C object common/CMakeFiles/common.dir/optparser.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/optparser.c.o -MF CMakeFiles/common.dir/optparser.c.o.d -o CMakeFiles/common.dir/optparser.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/optparser.c [ 83%] Building C object common/CMakeFiles/common.dir/output.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/output.c.o -MF CMakeFiles/common.dir/output.c.o.d -o CMakeFiles/common.dir/output.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/output.c [ 84%] Building C object common/CMakeFiles/common.dir/tar.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/tar.c.o -MF CMakeFiles/common.dir/tar.c.o.d -o CMakeFiles/common.dir/tar.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/tar.c [ 84%] Building C object common/CMakeFiles/common.dir/linux/cert_util_linux.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/linux/cert_util_linux.c.o -MF CMakeFiles/common.dir/linux/cert_util_linux.c.o.d -o CMakeFiles/common.dir/linux/cert_util_linux.c.o -c /builddir/build/BUILD/clamav-1.0.6/common/linux/cert_util_linux.c [ 84%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o -MF CMakeFiles/check_clamav.dir/check_disasm.c.o.d -o CMakeFiles/check_clamav.dir/check_disasm.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_disasm.c [ 84%] Linking C static library libcommon.a cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/cmake -P CMakeFiles/common.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/common && /usr/bin/cmake -E cmake_link_script CMakeFiles/common.dir/link.txt --verbose=1 /usr/bin/ar qc libcommon.a CMakeFiles/common.dir/cert_util.c.o CMakeFiles/common.dir/actions.c.o CMakeFiles/common.dir/clamdcom.c.o CMakeFiles/common.dir/getopt.c.o CMakeFiles/common.dir/hostid.c.o CMakeFiles/common.dir/idmef_logging.c.o CMakeFiles/common.dir/misc.c.o CMakeFiles/common.dir/optparser.c.o CMakeFiles/common.dir/output.c.o CMakeFiles/common.dir/tar.c.o CMakeFiles/common.dir/linux/cert_util_linux.c.o /usr/bin/ranlib libcommon.a gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 85%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o -MF CMakeFiles/check_clamav.dir/check_htmlnorm.c.o.d -o CMakeFiles/check_clamav.dir/check_htmlnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_htmlnorm.c [ 85%] Built target common /usr/bin/gmake -f libfreshclam/CMakeFiles/freshclam.dir/build.make libfreshclam/CMakeFiles/freshclam.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/libfreshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/CMakeFiles/freshclam.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f libfreshclam/CMakeFiles/freshclam.dir/build.make libfreshclam/CMakeFiles/freshclam.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 85%] Building C object libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o -MF CMakeFiles/freshclam.dir/libfreshclam.c.o.d -o CMakeFiles/freshclam.dir/libfreshclam.c.o -c /builddir/build/BUILD/clamav-1.0.6/libfreshclam/libfreshclam.c [ 86%] Building C object libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o -MF CMakeFiles/freshclam.dir/libfreshclam_internal.c.o.d -o CMakeFiles/freshclam.dir/libfreshclam_internal.c.o -c /builddir/build/BUILD/clamav-1.0.6/libfreshclam/libfreshclam_internal.c [ 86%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o -MF CMakeFiles/check_clamav.dir/check_jsnorm.c.o.d -o CMakeFiles/check_clamav.dir/check_jsnorm.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c: In function ‘js_buffer_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c:408:45: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 408 | strncpy(tst + len - sizeof(e), e, sizeof(e)); | ^ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c:412:57: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 412 | strncpy(exp + sizeof(s_exp) + len - 2, e_exp, sizeof(e_exp)); | ^ [ 86%] Building C object libfreshclam/CMakeFiles/freshclam.dir/dns.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/dns.c.o -MF CMakeFiles/freshclam.dir/dns.c.o.d -o CMakeFiles/freshclam.dir/dns.c.o -c /builddir/build/BUILD/clamav-1.0.6/libfreshclam/dns.c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_jsnorm.c:407:5: warning: ‘strncpy’ output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 407 | strncpy(tst, s, strlen(s)); | ^ [ 86%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o -MF CMakeFiles/check_clamav.dir/check_matchers.c.o.d -o CMakeFiles/check_clamav.dir/check_matchers.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_matchers.c [ 86%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o -MF CMakeFiles/check_clamav.dir/check_regex.c.o.d -o CMakeFiles/check_clamav.dir/check_regex.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c [ 86%] Linking C shared library libfreshclam.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/cmake -E cmake_link_script CMakeFiles/freshclam.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libfreshclam.so.2 -o libfreshclam.so.2.0.2 CMakeFiles/freshclam.dir/libfreshclam.c.o CMakeFiles/freshclam.dir/libfreshclam_internal.c.o CMakeFiles/freshclam.dir/dns.c.o -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -lresolv ../libclamav/libclamav.so.11.0.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libz.so /usr/lib64/libsystemd.so In file included from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:31: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c: In function ‘regex_list_match_test_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:297:22: warning: comparison between ‘cl_error_t’ and ‘rtr_t’ {aka ‘enum rtest_result’} [-Wenum-compare] 297 | ck_assert_msg(rc == rtest->result, "regex_list_match"); | ^~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c: In function ‘do_phishing_test’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:439:29: warning: unused variable ‘viruname’ [-Wunused-variable] 439 | const char *viruname = NULL; | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c: In function ‘do_phishing_test_allscan’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_regex.c:546:29: warning: unused variable ‘viruname’ [-Wunused-variable] 546 | const char *viruname = NULL; | ^~~~~~~~ [ 87%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o -MF CMakeFiles/check_clamav.dir/check_str.c.o.d -o CMakeFiles/check_clamav.dir/check_str.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c In file included from /usr/include/string.h:548, from /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c:31: In function ‘memcpy’, inlined from ‘textbuffer_append_len’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/jsparse/textbuf.h:48:5, inlined from ‘test_append_len_fn’ at /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c:120:5: /usr/include/bits/string_fortified.h:29:10: warning: ‘memcpy’ forming offset [5, 1073741823] is out of the bounds [0, 5] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 87%] Building C object unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o -MF CMakeFiles/check_clamav.dir/check_uniq.c.o.d -o CMakeFiles/check_clamav.dir/check_uniq.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_uniq.c [ 87%] Linking C executable check_clamav cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_clamav.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/check_clamav.dir/check_bytecode.c.o CMakeFiles/check_clamav.dir/check_clamav.c.o CMakeFiles/check_clamav.dir/check_disasm.c.o CMakeFiles/check_clamav.dir/check_htmlnorm.c.o CMakeFiles/check_clamav.dir/check_jsnorm.c.o CMakeFiles/check_clamav.dir/check_matchers.c.o CMakeFiles/check_clamav.dir/check_regex.c.o CMakeFiles/check_clamav.dir/check_str.c.o CMakeFiles/check_clamav.dir/check_uniq.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -o check_clamav -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack ../libclamav/libclamav.so.11.0.0 /usr/lib64/libcheck.so /usr/lib64/libjson-c.so ../libclammspack/libclammspack.so.0.8.0 /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so /usr/lib64/libpcre2-8.so ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc -ldl -lm /usr/lib64/librt.a -lm /usr/lib64/libsubunit.so cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam && /usr/bin/cmake -E cmake_symlink_library libfreshclam.so.2.0.2 libfreshclam.so.2 libfreshclam.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 87%] Built target freshclam /usr/bin/gmake -f clamconf/CMakeFiles/clamconf.dir/build.make clamconf/CMakeFiles/clamconf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamconf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf/CMakeFiles/clamconf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamconf/CMakeFiles/clamconf.dir/build.make clamconf/CMakeFiles/clamconf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 87%] Building C object clamconf/CMakeFiles/clamconf.dir/clamconf.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamconf/CMakeFiles/clamconf.dir/clamconf.c.o -MF CMakeFiles/clamconf.dir/clamconf.c.o.d -o CMakeFiles/clamconf.dir/clamconf.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamconf/clamconf.c /builddir/build/BUILD/clamav-1.0.6/clamconf/clamconf.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/clamconf/clamconf.c:492:13: warning: ‘strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 492 | strncpy(dbdir, pt, sizeof(dbdir)); | ^ /usr/bin/gmake -f clamd/CMakeFiles/clamd.dir/build.make clamd/CMakeFiles/clamd.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/CMakeFiles/clamd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamd/CMakeFiles/clamd.dir/build.make clamd/CMakeFiles/clamd.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 88%] Building C object clamd/CMakeFiles/clamd.dir/clamd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/clamd.c.o -MF CMakeFiles/clamd.dir/clamd.c.o.d -o CMakeFiles/clamd.dir/clamd.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/clamd.c [ 88%] Linking C executable clamconf cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamconf && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamconf.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamconf.dir/clamconf.c.o -o clamconf -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 88%] Built target check_fpu_endian /usr/bin/gmake -f clamdscan/CMakeFiles/clamdscan.dir/build.make clamdscan/CMakeFiles/clamdscan.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamdscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/CMakeFiles/clamdscan.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamdscan/CMakeFiles/clamdscan.dir/build.make clamdscan/CMakeFiles/clamdscan.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 88%] Building C object clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o -MF CMakeFiles/clamdscan.dir/clamdscan.c.o.d -o CMakeFiles/clamdscan.dir/clamdscan.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdscan/clamdscan.c [ 88%] Building C object clamd/CMakeFiles/clamd.dir/clamd_others.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/clamd_others.c.o -MF CMakeFiles/clamd.dir/clamd_others.c.o.d -o CMakeFiles/clamd.dir/clamd_others.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/clamd_others.c [ 88%] Building C object clamdscan/CMakeFiles/clamdscan.dir/client.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/client.c.o -MF CMakeFiles/clamdscan.dir/client.c.o.d -o CMakeFiles/clamdscan.dir/client.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdscan/client.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 88%] Built target clamconf /usr/bin/gmake -f clamonacc/CMakeFiles/clamonacc.dir/build.make clamonacc/CMakeFiles/clamonacc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamonacc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc/CMakeFiles/clamonacc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamonacc/CMakeFiles/clamonacc.dir/build.make clamonacc/CMakeFiles/clamonacc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 88%] Building C object clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o -MF CMakeFiles/clamonacc.dir/clamonacc.c.o.d -o CMakeFiles/clamonacc.dir/clamonacc.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/clamonacc.c [ 88%] Building C object clamd/CMakeFiles/clamd.dir/localserver.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/localserver.c.o -MF CMakeFiles/clamd.dir/localserver.c.o.d -o CMakeFiles/clamd.dir/localserver.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/localserver.c [ 88%] Building C object clamdscan/CMakeFiles/clamdscan.dir/proto.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/proto.c.o -MF CMakeFiles/clamdscan.dir/proto.c.o.d -o CMakeFiles/clamdscan.dir/proto.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdscan/proto.c [ 88%] Building C object clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o -MF CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o.d -o CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/c-thread-pool/thpool.c [ 88%] Building C object clamd/CMakeFiles/clamd.dir/scanner.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/scanner.c.o -MF CMakeFiles/clamd.dir/scanner.c.o.d -o CMakeFiles/clamd.dir/scanner.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/scanner.c [ 89%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o -MF CMakeFiles/clamonacc.dir/client/client.c.o.d -o CMakeFiles/clamonacc.dir/client/client.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/client.c [ 90%] Linking C executable clamdscan cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamdscan.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamdscan.dir/clamdscan.c.o CMakeFiles/clamdscan.dir/client.c.o CMakeFiles/clamdscan.dir/proto.c.o -o clamdscan -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/client.c: In function ‘onas_setup_client’: /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/client.c:409:29: warning: unused variable ‘opt’ [-Wunused-variable] 409 | const struct optstruct *opt; | ^~~ [ 91%] Building C object clamd/CMakeFiles/clamd.dir/server-th.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/server-th.c.o -MF CMakeFiles/clamd.dir/server-th.c.o.d -o CMakeFiles/clamd.dir/server-th.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/server-th.c [ 91%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o -MF CMakeFiles/clamonacc.dir/client/communication.c.o.d -o CMakeFiles/clamonacc.dir/client/communication.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/communication.c [ 91%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o -MF CMakeFiles/clamonacc.dir/client/protocol.c.o.d -o CMakeFiles/clamonacc.dir/client/protocol.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/protocol.c [ 91%] Building C object clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o -MF CMakeFiles/clamonacc.dir/client/socket.c.o.d -o CMakeFiles/clamonacc.dir/client/socket.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/client/socket.c In function ‘memcpy’, inlined from ‘textbuffer_append_len’ at /builddir/build/BUILD/clamav-1.0.6/libclamav/jsparse/textbuf.h:48:5, inlined from ‘test_append_len_fn’ at /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_str.c:120:5: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ reading 1073741824 bytes from a region of size 5 [-Wstringop-overread] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^ [ 91%] Building C object clamd/CMakeFiles/clamd.dir/session.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/session.c.o -MF CMakeFiles/clamd.dir/session.c.o.d -o CMakeFiles/clamd.dir/session.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/session.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 91%] Built target clamdscan /usr/bin/gmake -f clamav-milter/CMakeFiles/clamav-milter.dir/build.make clamav-milter/CMakeFiles/clamav-milter.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamav-milter /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter/CMakeFiles/clamav-milter.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamav-milter/CMakeFiles/clamav-milter.dir/build.make clamav-milter/CMakeFiles/clamav-milter.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 91%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o -MF CMakeFiles/clamav-milter.dir/clamav-milter.c.o.d -o CMakeFiles/clamav-milter.dir/clamav-milter.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c [ 91%] Building C object clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o -MF CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o.d -o CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/fanotif/fanotif.c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c:185:73: warning: ‘%s’ directive output may be truncated writing up to 254 bytes into a region of size 237 [-Wformat-truncation=] 185 | snprintf(xvirushdr, sizeof(xvirushdr), "clamav-milter %s at %s", | ^~ 186 | get_version(), myname); | ~~~~~~ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c:26: In function ‘snprintf’, inlined from ‘main’ at /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamav-milter.c:185:13: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 19 or more bytes (assuming 273) into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 91%] Building C object clamd/CMakeFiles/clamd.dir/tcpserver.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/tcpserver.c.o -MF CMakeFiles/clamd.dir/tcpserver.c.o.d -o CMakeFiles/clamd.dir/tcpserver.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/tcpserver.c [ 91%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o -MF CMakeFiles/clamav-milter.dir/clamfi.c.o.d -o CMakeFiles/clamav-milter.dir/clamfi.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/clamfi.c [ 92%] Building C object clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o -MF CMakeFiles/clamonacc.dir/inotif/inotif.c.o.d -o CMakeFiles/clamonacc.dir/inotif/inotif.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/inotif/inotif.c [ 92%] Building C object clamd/CMakeFiles/clamd.dir/thrmgr.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/thrmgr.c.o -MF CMakeFiles/clamd.dir/thrmgr.c.o.d -o CMakeFiles/clamd.dir/thrmgr.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamd/thrmgr.c [ 92%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o -MF CMakeFiles/clamav-milter.dir/connpool.c.o.d -o CMakeFiles/clamav-milter.dir/connpool.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c: In function ‘cpool_init’: /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c:212:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 212 | if (!(cp = calloc(sizeof(*cp), 1))) { | ^ /builddir/build/BUILD/clamav-1.0.6/clamav-milter/connpool.c:212:29: note: earlier argument should specify number of elements, later size of each element [ 92%] Building C object clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o -MF CMakeFiles/clamonacc.dir/inotif/hash.c.o.d -o CMakeFiles/clamonacc.dir/inotif/hash.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/inotif/hash.c [ 93%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o [ 94%] Linking C executable clamd cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o -MF CMakeFiles/clamav-milter.dir/netcode.c.o.d -o CMakeFiles/clamav-milter.dir/netcode.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/netcode.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamd.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamd.dir/clamd.c.o CMakeFiles/clamd.dir/clamd_others.c.o CMakeFiles/clamd.dir/localserver.c.o CMakeFiles/clamd.dir/scanner.c.o "CMakeFiles/clamd.dir/server-th.c.o" CMakeFiles/clamd.dir/session.c.o CMakeFiles/clamd.dir/tcpserver.c.o CMakeFiles/clamd.dir/thrmgr.c.o -o clamd -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so [ 94%] Building C object clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o -MF CMakeFiles/clamonacc.dir/misc/utils.c.o.d -o CMakeFiles/clamonacc.dir/misc/utils.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/misc/utils.c [ 94%] Building C object clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o -MF CMakeFiles/clamav-milter.dir/allow_list.c.o.d -o CMakeFiles/clamav-milter.dir/allow_list.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamav-milter/allow_list.c [ 94%] Linking C executable clamav-milter cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamav-milter && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamav-milter.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/clamav-milter.dir/clamav-milter.c.o" "CMakeFiles/clamav-milter.dir/clamfi.c.o" "CMakeFiles/clamav-milter.dir/connpool.c.o" "CMakeFiles/clamav-milter.dir/netcode.c.o" "CMakeFiles/clamav-milter.dir/allow_list.c.o" -o clamav-milter -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libmilter.so ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so [ 94%] Building C object clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o -MF CMakeFiles/clamonacc.dir/scan/onas_queue.c.o.d -o CMakeFiles/clamonacc.dir/scan/onas_queue.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/scan/onas_queue.c [ 95%] Building C object clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/clamonacc -I/builddir/build/BUILD/clamav-1.0.6/clamd -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o -MF CMakeFiles/clamonacc.dir/scan/thread.c.o.d -o CMakeFiles/clamonacc.dir/scan/thread.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamonacc/scan/thread.c [ 95%] Linking C executable clamonacc cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamonacc && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamonacc.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamonacc.dir/clamonacc.c.o "CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o" CMakeFiles/clamonacc.dir/client/client.c.o CMakeFiles/clamonacc.dir/client/communication.c.o CMakeFiles/clamonacc.dir/client/protocol.c.o CMakeFiles/clamonacc.dir/client/socket.c.o CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o CMakeFiles/clamonacc.dir/inotif/inotif.c.o CMakeFiles/clamonacc.dir/inotif/hash.c.o CMakeFiles/clamonacc.dir/misc/utils.c.o CMakeFiles/clamonacc.dir/scan/onas_queue.c.o CMakeFiles/clamonacc.dir/scan/thread.c.o -o clamonacc -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libcurl.so ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libsystemd.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 95%] Built target clamav-milter /usr/bin/gmake -f clamscan/CMakeFiles/clamscan.dir/build.make clamscan/CMakeFiles/clamscan.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/CMakeFiles/clamscan.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamscan/CMakeFiles/clamscan.dir/build.make clamscan/CMakeFiles/clamscan.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 95%] Building C object clamscan/CMakeFiles/clamscan.dir/clamscan.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamscan/CMakeFiles/clamscan.dir/clamscan.c.o -MF CMakeFiles/clamscan.dir/clamscan.c.o.d -o CMakeFiles/clamscan.dir/clamscan.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamscan/clamscan.c [ 95%] Building C object clamscan/CMakeFiles/clamscan.dir/manager.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamscan/CMakeFiles/clamscan.dir/manager.c.o -MF CMakeFiles/clamscan.dir/manager.c.o.d -o CMakeFiles/clamscan.dir/manager.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 95%] Built target clamd /usr/bin/gmake -f sigtool/CMakeFiles/sigtool.dir/build.make sigtool/CMakeFiles/sigtool.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/sigtool /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/CMakeFiles/sigtool.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f sigtool/CMakeFiles/sigtool.dir/build.make sigtool/CMakeFiles/sigtool.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 95%] Building C object sigtool/CMakeFiles/sigtool.dir/sigtool.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT sigtool/CMakeFiles/sigtool.dir/sigtool.c.o -MF CMakeFiles/sigtool.dir/sigtool.c.o.d -o CMakeFiles/sigtool.dir/sigtool.c.o -c /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘decodehex’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2595:19: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2595 | (void)write(1, decoded, dlen); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2676:19: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2676 | (void)write(1, decoded, dlen); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2688:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2688 | (void)write(1, decoded, dlen); | ^~~~~~~~~~~~~~~~~~~~~~~ In function ‘checkaccess’, inlined from ‘scanfile’ at /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c:376:13: /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c:90:21: warning: argument 1 null where non-null expected [-Wnonnull] 90 | if ((user = getpwnam(username)) == NULL) { | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/clamscan/manager.c:34: /usr/include/pwd.h: In function ‘scanfile’: /usr/include/pwd.h:116:23: note: in a call to function ‘getpwnam’ declared ‘nonnull’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 96%] Linking C executable clamscan cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamscan.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamscan.dir/clamscan.c.o CMakeFiles/clamscan.dir/manager.c.o -o clamscan -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so [ 96%] Built target clamonacc /usr/bin/gmake -f clambc/CMakeFiles/clambc.dir/build.make clambc/CMakeFiles/clambc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clambc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc/CMakeFiles/clambc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clambc/CMakeFiles/clambc.dir/build.make clambc/CMakeFiles/clambc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 97%] Building C object clambc/CMakeFiles/clambc.dir/bcrun.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clambc/CMakeFiles/clambc.dir/bcrun.c.o -MF CMakeFiles/clambc.dir/bcrun.c.o.d -o CMakeFiles/clambc.dir/bcrun.c.o -c /builddir/build/BUILD/clamav-1.0.6/clambc/bcrun.c /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘decodehex.isra.0’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2539:46: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 2539 | mprintf(LOGG_INFO, " +-> CFLAGS: %s\n", cflags); | ^~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2500:30: warning: ‘rlen’ may be used uninitialized [-Wmaybe-uninitialized] 2500 | clen = hexlen - tlen - rlen - 2; /* 2 from regex boundaries '/' */ | ~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:2474:38: note: ‘rlen’ was declared here 2474 | size_t tlen = wild - hexsig, rlen, clen; | ^~~~ [ 97%] Linking C executable clambc cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clambc && /usr/bin/cmake -E cmake_link_script CMakeFiles/clambc.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clambc.dir/bcrun.c.o -o clambc -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:820:56: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 820 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^ In file included from /usr/include/stdio.h:980, from /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:29: In function ‘snprintf’, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:820:17: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 37) into a destination of size 36 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:622:37: warning: ‘.info’ directive output may be truncated writing 5 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 622 | snprintf(file, sizeof(file), "%s.info", dbname); | ^~~~~ In function ‘snprintf’, inlined from ‘writeinfo’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:622:5, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:927:9: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 6 and 37 bytes into a destination of size 32 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:659:50: warning: ‘%s’ directive output may be truncated writing likely 4 or more bytes into a region of size between 0 and 31 [-Wformat-truncation=] 659 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^~ In function ‘writeinfo’, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:927:9: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:659:46: note: assuming directive output of 4 bytes 659 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^~~~~~~ In function ‘snprintf’, inlined from ‘writeinfo’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:659:13, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:927:9: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 37) into a destination of size 32 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘build’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:977:52: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 977 | snprintf(dbfile, sizeof(dbfile), "%s.%s", dbname, dblist[i].ext); | ^ In function ‘snprintf’, inlined from ‘build’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:977:13: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 37) into a destination of size 36 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c: In function ‘main’: /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:3243:38: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 3243 | snprintf(name, sizeof(name), "%s-%u.script", getdbname(opts->filename[0], dbname, sizeof(dbname)), newver); | ^~ In function ‘snprintf’, inlined from ‘makediff’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:3243:5, inlined from ‘main’ at /builddir/build/BUILD/clamav-1.0.6/sigtool/sigtool.c:3550:15: /usr/include/bits/stdio2.h:68:10: note: ‘__snprintf_chk’ output between 10 and 50 bytes into a destination of size 32 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [ 98%] Building C object sigtool/CMakeFiles/sigtool.dir/vba.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT sigtool/CMakeFiles/sigtool.dir/vba.c.o -MF CMakeFiles/sigtool.dir/vba.c.o.d -o CMakeFiles/sigtool.dir/vba.c.o -c /builddir/build/BUILD/clamav-1.0.6/sigtool/vba.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 98%] Built target clambc /usr/bin/gmake -f clamsubmit/CMakeFiles/clamsubmit.dir/build.make clamsubmit/CMakeFiles/clamsubmit.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamsubmit /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit/CMakeFiles/clamsubmit.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamsubmit/CMakeFiles/clamsubmit.dir/build.make clamsubmit/CMakeFiles/clamsubmit.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 98%] Building C object clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o -MF CMakeFiles/clamsubmit.dir/clamsubmit.c.o.d -o CMakeFiles/clamsubmit.dir/clamsubmit.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c: In function ‘main’: gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:472:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 472 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:40: /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:472:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 472 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:472:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 472 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:479:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 479 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:479:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 479 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:479:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 479 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:486:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 486 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:486:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 486 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ [ 98%] Built target clamscan /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:486:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 486 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /usr/bin/gmake -f freshclam/CMakeFiles/freshclam-bin.dir/build.make freshclam/CMakeFiles/freshclam-bin.dir/depend /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:493:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 493 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:493:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 493 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/freshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/CMakeFiles/freshclam-bin.dir/DependInfo.cmake "--color=" /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:493:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 493 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:500:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 500 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ [ 98%] Linking C executable sigtool /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:500:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 500 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool && /usr/bin/cmake -E cmake_link_script CMakeFiles/sigtool.dir/link.txt --verbose=1 /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:500:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 500 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:507:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 507 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:507:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 507 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:507:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 507 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:514:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 514 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:514:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 514 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:514:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 514 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:521:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 521 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:521:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 521 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:521:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 521 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:523:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2515:3: note: declared here 2515 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f freshclam/CMakeFiles/freshclam-bin.dir/build.make freshclam/CMakeFiles/freshclam-bin.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:528:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 528 | curl_easy_setopt(aws_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:537:5: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 537 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/sigtool.dir/sigtool.c.o CMakeFiles/sigtool.dir/vba.c.o -o sigtool -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /usr/include/curl/curl.h:2617:1: note: declared here 2617 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ [ 98%] Building C object freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:557:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 557 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o -MF CMakeFiles/freshclam-bin.dir/freshclam.c.o.d -o CMakeFiles/freshclam-bin.dir/freshclam.c.o -c /builddir/build/BUILD/clamav-1.0.6/freshclam/freshclam.c /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:557:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 557 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:557:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 557 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:558:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 558 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:558:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 558 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:558:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 558 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:559:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:559:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:559:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:560:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:560:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:560:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:561:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:561:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:561:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:562:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:562:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:562:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:564:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:564:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:564:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:566:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:566:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:566:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:568:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:568:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:568:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:569:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 569 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:569:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 569 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:569:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 569 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:570:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2581:1: note: declared here 2581 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:570:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2506:3: note: declared here 2506 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:570:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2509:3: note: declared here 2509 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:573:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 573 | curl_easy_setopt(clam_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1191:3: note: declared here 1191 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/clamsubmit/clamsubmit.c:618:9: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 618 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2617:1: note: declared here 2617 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ [ 98%] Linking C executable clamsubmit cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamsubmit && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamsubmit.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamsubmit.dir/clamsubmit.c.o -o clamsubmit -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libjson-c.so /usr/lib64/libcurl.so ../libclamav/libclamav.so.11.0.0 /usr/lib64/libjson-c.so ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libsystemd.so [ 99%] Building C object freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o -MF CMakeFiles/freshclam-bin.dir/execute.c.o.d -o CMakeFiles/freshclam-bin.dir/execute.c.o -c /builddir/build/BUILD/clamav-1.0.6/freshclam/execute.c [ 99%] Building C object freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libfreshclam -I/builddir/build/BUILD/clamav-1.0.6/common -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o -MF CMakeFiles/freshclam-bin.dir/notify.c.o.d -o CMakeFiles/freshclam-bin.dir/notify.c.o -c /builddir/build/BUILD/clamav-1.0.6/freshclam/notify.c [ 99%] Linking C executable freshclam cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam && /usr/bin/cmake -E cmake_link_script CMakeFiles/freshclam-bin.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/freshclam-bin.dir/freshclam.c.o" "CMakeFiles/freshclam-bin.dir/execute.c.o" "CMakeFiles/freshclam-bin.dir/notify.c.o" -o freshclam -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../libfreshclam/libfreshclam.so.2.0.2 ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libz.so /usr/lib64/libsystemd.so /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -lresolv gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Built target clamsubmit /usr/bin/gmake -f clamdtop/CMakeFiles/clamdtop.dir/build.make clamdtop/CMakeFiles/clamdtop.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/clamdtop /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop/CMakeFiles/clamdtop.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f clamdtop/CMakeFiles/clamdtop.dir/build.make clamdtop/CMakeFiles/clamdtop.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Building C object clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop && /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MT clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o -MF CMakeFiles/clamdtop.dir/clamdtop.c.o.d -o CMakeFiles/clamdtop.dir/clamdtop.c.o -c /builddir/build/BUILD/clamav-1.0.6/clamdtop/clamdtop.c cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E copy /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/. gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Built target check_clamav /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamd.dir/build.make unit_tests/CMakeFiles/check_clamd.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/clamav-1.0.6 /builddir/build/BUILD/clamav-1.0.6/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/CMakeFiles/check_clamd.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/gmake -f unit_tests/CMakeFiles/check_clamd.dir/build.make unit_tests/CMakeFiles/check_clamd.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Building C object unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.0.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.0.6 -I/builddir/build/BUILD/clamav-1.0.6/libclamav -I/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.0.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.0.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.0.6/common -isystem /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.0.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o -MF CMakeFiles/check_clamd.dir/check_clamd.c.o.d -o CMakeFiles/check_clamd.dir/check_clamd.c.o -c /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Built target sigtool gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [ 99%] Built target freshclam-bin /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c: In function ‘commands_setup’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c:156:17: warning: unused variable ‘nonempty’ [-Wunused-variable] 156 | const char *nonempty = "NONEMPTYFILE"; | ^~~~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c: In function ‘test_fildes_many_fn’: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c:569:21: warning: variable ‘killed’ set but not used [-Wunused-but-set-variable] 569 | int dummyfd, i, killed = 0; | ^~~~~~ /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c: At top level: /builddir/build/BUILD/clamav-1.0.6/unit_tests/check_clamd.c:66:12: warning: ‘conn_tcp’ defined but not used [-Wunused-function] 66 | static int conn_tcp(int port) | ^~~~~~~~ [ 99%] Linking C executable clamdtop cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdtop && /usr/bin/cmake -E cmake_link_script CMakeFiles/clamdtop.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/clamdtop.dir/clamdtop.c.o -o clamdtop -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack: ../common/libcommon.a ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so -lncurses /usr/lib64/libtinfo.so [100%] Linking C executable check_clamd cd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/check_clamd.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/check_clamd.dir/check_clamd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_add_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_addmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_cmp_mag.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_sub_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/fp_submod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_add.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/addsub/s_fp_sub.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_radix_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_radix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_read_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_reverse.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_s_rmap.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_signed_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_signed_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_to_unsigned_bin.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_toradix_n.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bin/fp_unsigned_bin_size.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_cnt_lsb.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_count_bits.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_div_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_lshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_mod_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/bit/fp_rshd.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_div_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/divide/fp_mod_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_2expt.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/exptmod/fp_exptmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_ident.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/misc/fp_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_calc_normalization.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_reduce.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mont/fp_montgomery_setup.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_2d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mul_d.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/mul/fp_mulmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/numtheory/fp_invmod.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_12.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_17.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_20.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_24.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_28.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_3.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_32.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_4.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_48.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_6.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_64.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_7.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_8.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_9.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_generic.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqr_comba_small_set.c.o ../libclamav/CMakeFiles/tomsfastmath.dir/tomsfastmath/sqr/fp_sqrmod.c.o -o check_clamd -Wl,-rpath,/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack ../common/libcommon.a /usr/lib64/libcheck.so /usr/lib64/libjson-c.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so ../libclamav/libclamav.so.11.0.0 ../libclammspack/libclammspack.so.0.8.0 /usr/lib64/libbz2.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so /usr/lib64/libpcre2-8.so ../x86_64-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /usr/lib64/librt.a -lm /usr/lib64/libsubunit.so gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [100%] Built target clamdtop gmake[2]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' [100%] Built target check_clamd gmake[1]: Leaving directory '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9KBRGC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 ++ dirname /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamav-1.0.6 + rm -rf '_doc*' + DESTDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamav-config -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/pkgconfig/libclamav.pc -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclammspack.so.0.8.0 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclammspack.so.0 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclammspack.so -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclamav.so.11.0.0 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclamav.so.11 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclamav.so.11.0.0" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libclamav.so -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/clamav.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/clamav-types.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/clamav-version.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libfreshclam.so.2.0.2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libfreshclam.so.2 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libfreshclam.so.2.0.2" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib64/libfreshclam.so -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/libfreshclam.h -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamconf -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamconf" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/sbin/clamd -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/sbin/clamd" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-daemon.service -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-daemon.socket -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamdscan -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamdscan" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/sbin/clamonacc -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/sbin/clamonacc" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-clamonacc.service -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/sbin/clamav-milter -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/sbin/clamav-milter" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamscan -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamscan" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/sigtool -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/sigtool" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clambc -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clambc" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamsubmit -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamsubmit" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/freshclam -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/freshclam" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-freshclam.service -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamdtop -- Set non-toolchain portion of runtime path of "/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/bin/clamdtop" to "" -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamd.conf.sample -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/freshclam.conf.sample -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamav-milter.conf.sample -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/clamscan.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/freshclam.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/sigtool.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/clamdscan.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/clamconf.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/clamdtop.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/clamsubmit.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man1/clambc.1 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man5/clamd.conf.5 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man5/clamav-milter.conf.5 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man5/freshclam.conf.5 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man8/clamd.8 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man8/clamav-milter.8 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/man/man8/clamonacc.8 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/404.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/css/print.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/css/variables.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/css/general.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/css/chrome.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/OPEN-SANS-LICENSE.txt -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/SOURCE-CODE-PRO-LICENSE.txt -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300italic.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/fonts.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/source-code-pro-v11-all-charsets-500.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-regular.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/print.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/highlight.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/mark.min.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/community_resources -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/community_resources/CommunityResources.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/community_resources/CompileClamAV_AmazonLinux2.txt -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/searchindex.json -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/change-fork-name.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/demon.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/new-git-workflow.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/cisco.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/logo.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/clone-your-fork.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/fork-is-behind.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/old-git-workflow.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/flamegraph.svg -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/images/create-a-fork.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/theme-tomorrow_night.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/book.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/favicon.png -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/tomorrow-night.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/css/font-awesome.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.ttf -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts/FontAwesome.ttf -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.woff -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.svg -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.eot -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/FontAwesome/fonts/fontawesome-webfont.woff2 -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/ace.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/highlight.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/mode-rust.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/theme-dawn.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/ayu-highlight.css -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-malware-fp-reports.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-uninstall.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-win32.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-ignore.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-whichversion.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-freshclam.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-troubleshoot.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-rust.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-misc.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-safebrowsing.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-scan-alerts.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-pua.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-eol.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-ml.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-upgrade.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/faq/faq-cvd.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/searcher.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/clipboard.min.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/editor.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/searchindex.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/index.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix/CvdPrivateMirror.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix/Authenticode.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix/FunctionalityLevels.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix/Terminology.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix/Appendix.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/appendix/FileTypes.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/googled62299e9391332c4.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/elasticlunr.min.js -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/sitemap.xml -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/Introduction.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/github-pr-basics.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/tips-and-tricks.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/testing-pull-requests.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/clamav-git-work-flow.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/libclamav.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/performance-profiling.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/Contribute.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/personal-forks.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/build-installer-packages.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/development-builds.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/fuzzing-sanitizers.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development/code-coverage.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Development.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/SignatureNames.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/YaraRules.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/PhishSigs.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/LogicalSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/AllowLists.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/DatabaseInfo.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/DynamicConfig.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/ExtendedSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/ContainerMetadata.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/FileTypeMagic.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/BodySignatureFormat.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/BytecodeSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/HashSignatures.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/EncryptedArchives.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Signatures/AuthenticodeRules.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage/Configuration.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage/SignatureManagement.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage/Services.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage/ReportABug.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage/Scanning.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/OnAccess.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Usage.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Packages.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Unix.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Community-projects.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Windows.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Unix-old.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Docker.html -- Installing: /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav/html/manual/Installing/Add-clamav-user.html + install -d -m 0755 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/tmpfiles.d /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/var/lib/clamav /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/var/spool/quarantine + install -D -m 0644 -p /builddir/build/SOURCES/main-62.cvd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/var/lib/clamav/main.cvd + install -D -m 0644 -p /builddir/build/SOURCES/daily-27256.cvd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/var/lib/clamav/daily.cvd + install -D -m 0644 -p /builddir/build/SOURCES/bytecode-335.cvd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/var/lib/clamav/bytecode.cvd + sed -ri -e 's!^Example!#Example!' -e 's!^#?(UpdateLogFile )!#\1!g;' -e 's!(DatabaseOwner *)clamav$!\1clamupdate!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/freshclam.conf.sample + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/freshclam.conf.sample /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/freshclam.conf + chmod 600 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/freshclam.conf + install -D -m 0644 -p /builddir/build/SOURCES/clamd.logrotate _doc_server/clamd.logrotate + install -D -m 0644 -p /builddir/build/SOURCES/clamd-README _doc_server/README + ln -s clamav-clamonacc.service /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamonacc.service + install -D -p -m 0644 /builddir/build/SOURCES/clamd@.service /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamd@.service + sed -ri -e 's!^Example!#Example!' -e 's!^#?(LogFile ).*!#\1/var/log/clamd.!g' -e 's!^#?(LocalSocket ).*!#\1/run/clamd./clamd.sock!g' -e 's!^(#?PidFile ).*!\1/run/clamd./clamd.pid!g' -e 's!^#?(User ).*!\1!g' -e 's!^#?(AllowSupplementaryGroups|LogSyslog).*!\1 yes!g' -e 's! /usr/local/share/clamav,! /var/lib/clamav,!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamd.conf.sample + install -d -m 0755 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamd.d + sed -e 's!!scan!g;s!!clamscan!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamd.conf.sample + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamd.conf.sample _doc_server/clamd.conf + cat + sed -ri -e 's!^#?(User).*!\1 clamilt!g' -e 's!^#?(AllowSupplementaryGroups|LogSyslog) .*!\1 yes!g' -e 's! /tmp/clamav-milter.socket! /run/clamav-milter/clamav-milter.socket!g' -e 's! /var/run/clamav-milter.pid! /run/clamav-milter/clamav-milter.pid!g' -e 's!:/var/run/clamd/clamd.socket!:/run/clamd.scan/clamd.sock!g' -e 's! /tmp/clamav-milter.log! /var/log/clamav-milter.log!g' /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamav-milter.conf.sample + install -d -m 0755 /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/mail + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/clamav-milter.conf.sample /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/etc/mail/clamav-milter.conf + install -D -p -m 0644 /builddir/build/SOURCES/clamav-milter.systemd /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-milter.service + cat + mv /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/clamav-types.h /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/clamav-types-64.h + install -m 0644 /builddir/build/SOURCES/clamav-types.h /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/include/clamav-types.h + rm /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-daemon.service /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/lib/systemd/system/clamav-daemon.socket + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.6-1.fc41 --unique-debug-suffix -1.0.6-1.fc41.x86_64 --unique-debug-src-base clamav-1.0.6-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/clamav-1.0.6 find-debuginfo: starting Extracting debug info from 14 files DWARF-compressing 14 files sepdebugcrcfix: Updated 14 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/clamav-1.0.6-1.fc41.x86_64 cpio: redhat-linux-build/libclamav/yara_grammar.c: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_grammar.h: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_grammar.y: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_lexer.c: Cannot stat: No such file or directory cpio: redhat-linux-build/libclamav/yara_lexer.l: Cannot stat: No such file or directory 16658 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/clamav-config from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MT9qlb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clamav-1.0.6 + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j4 -- -E valgrind Internal ctest changing into directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Test project /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Start 1: libclamav Start 2: libclamav_rust Start 3: clamscan Start 4: clamd 1/6 Test #3: clamscan ......................... Passed 5.26 sec Start 5: freshclam 2/6 Test #1: libclamav ........................ Passed 8.84 sec Start 6: sigtool 3/6 Test #6: sigtool .......................... Passed 0.67 sec 4/6 Test #4: clamd ............................ Passed 11.91 sec 5/6 Test #2: libclamav_rust ................... Passed 39.41 sec 6/6 Test #5: freshclam ........................ Passed 41.19 sec 100% tests passed, 0 tests failed out of 6 Total Test time (real) = 46.45 sec + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j4 -- -R valgrind Internal ctest changing into directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Test project /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build Start 2: libclamav_valgrind Start 5: clamscan_valgrind Start 7: clamd_valgrind Start 9: freshclam_valgrind 1/5 Test #9: freshclam_valgrind ...............***Failed 29.93 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 11 items freshclam_test.py::TC::test_freshclam_00_version FAILED [ 9%] freshclam_test.py::TC::test_freshclam_00_version ERROR [ 9%] freshclam_test.py::TC::test_freshclam_01_file_copy FAILED [ 18%] freshclam_test.py::TC::test_freshclam_01_file_copy ERROR [ 18%] freshclam_test.py::TC::test_freshclam_02_http_403 FAILED [ 27%] freshclam_test.py::TC::test_freshclam_02_http_403 ERROR [ 27%] freshclam_test.py::TC::test_freshclam_03_http_403_daemonized FAILED [ 36%] freshclam_test.py::TC::test_freshclam_03_http_403_daemonized ERROR [ 36%] freshclam_test.py::TC::test_freshclam_04_http_429 FAILED [ 45%] freshclam_test.py::TC::test_freshclam_04_http_429 ERROR [ 45%] freshclam_test.py::TC::test_freshclam_05_cdiff_update FAILED [ 54%] freshclam_test.py::TC::test_freshclam_05_cdiff_update ERROR [ 54%] freshclam_test.py::TC::test_freshclam_05_cdiff_update_UNC SKIPPED (T...) [ 63%] freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 FAILED [ 72%] freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 ERROR [ 72%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 FAILED [ 81%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 ERROR [ 81%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd FAILED [ 90%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd ERROR [ 90%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice FAILED [100%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice ERROR [100%] ==================================== ERRORS ==================================== ______________ ERROR at teardown of TC.test_freshclam_00_version _______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: freshclam version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9765== Memcheck, a memory error detector [INFO]: ==9765== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9765== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9765== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf -V [INFO]: ==9765== Parent PID: 9755 [INFO]: ==9765== [INFO]: --9765-- [INFO]: --9765-- Valgrind options: [INFO]: --9765-- -v [INFO]: --9765-- --trace-children=yes [INFO]: --9765-- --track-fds=yes [INFO]: --9765-- --leak-check=full [INFO]: --9765-- --show-possibly-lost=no [INFO]: --9765-- --show-leak-kinds=definite [INFO]: --9765-- --errors-for-leak-kinds=definite [INFO]: --9765-- --main-stacksize=16777216 [INFO]: --9765-- --gen-suppressions=all [INFO]: --9765-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9765-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9765-- --error-exitcode=123 [INFO]: --9765-- Contents of /proc/version: [INFO]: --9765-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9765-- [INFO]: --9765-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9765-- Page sizes: currently 4096, max supported 4096 [INFO]: --9765-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9765-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9765-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9765-- might be shown as UnknownInlinedFun [INFO]: --9765-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9765-- object doesn't have a dynamic symbol table [INFO]: --9765-- Scheduler: using generic scheduler lock implementation. [INFO]: --9765-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9765-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9765== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9765-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9765== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9765-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9765== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9765-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9765== [INFO]: ==9765== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9765== don't want to do, unless you know exactly what you're doing, [INFO]: ==9765== or are doing some strange experiment): [INFO]: ==9765== /usr/libexec/valgrind/../../bin/vgdb --pid=9765 ...command... [INFO]: ==9765== [INFO]: ==9765== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9765== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9765== and then give GDB the following command [INFO]: ==9765== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9765 [INFO]: ==9765== --pid is optional if only one valgrind process is running [INFO]: ==9765== [INFO]: --9765-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9765-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9765-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9765-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9765-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9765-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9765-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9765-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9765-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9765-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9765-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9765-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9765-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9765-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9765-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9765-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9765-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9765-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9765-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9765-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9765-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9765-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9765-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9765-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9765-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9765-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9765-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9765-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9765-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9765-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9765-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9765-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9765-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9765-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9765-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9765-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9765-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9765-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9765-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9765-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9765-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9765-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== Preferring higher priority redirection: [INFO]: --9765-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9765-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9765-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9765-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9765-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9765-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9765-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9765-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9765-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9765-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9765-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9765-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9765-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9765-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9765-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: ==9765== [INFO]: ==9765== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9765== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9765== [INFO]: ==9765== [INFO]: ==9765== (No origin, error cannot be suppressed) [INFO]: ==9765== [INFO]: ==9765== HEAP SUMMARY: [INFO]: ==9765== in use at exit: 0 bytes in 0 blocks [INFO]: ==9765== total heap usage: 143 allocs, 143 frees, 15,762 bytes allocated [INFO]: ==9765== [INFO]: ==9765== All heap blocks were freed -- no leaks are possible [INFO]: ==9765== [INFO]: ==9765== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_freshclam_01_file_copy ______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Basic freshclam test using file:// to "download" clamav.hdb [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:45 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:45 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:45 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:45 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:45 2024 -> Saved freshclam.dat Mon Apr 29 21:22:45 2024 -> ClamAV update process started at Mon Apr 29 21:22:45 2024 Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:45 2024 -> Downloading clamav.hdb [100%] Mon Apr 29 21:22:45 2024 -> updatecustomdb: Running g_cb_download_complete callback... Mon Apr 29 21:22:45 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb Mon Apr 29 21:22:45 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:22:45 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:22:45 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb' ... Mon Apr 29 21:22:45 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb Mon Apr 29 21:22:45 2024 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb Mon Apr 29 21:22:45 2024 -> updatecustomdb: callback failed: Test failed (8) Mon Apr 29 21:22:45 2024 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/clamav.hdb [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:45 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:45 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:22:45 2024 -> Database test FAILED. WARNING: Mon Apr 29 21:22:45 2024 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8) ERROR: Mon Apr 29 21:22:45 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:22:45 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9774== Memcheck, a memory error detector [INFO]: ==9774== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9774== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9774== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf [INFO]: ==9774== Parent PID: 9755 [INFO]: ==9774== [INFO]: --9774-- [INFO]: --9774-- Valgrind options: [INFO]: --9774-- -v [INFO]: --9774-- --trace-children=yes [INFO]: --9774-- --track-fds=yes [INFO]: --9774-- --leak-check=full [INFO]: --9774-- --show-possibly-lost=no [INFO]: --9774-- --show-leak-kinds=definite [INFO]: --9774-- --errors-for-leak-kinds=definite [INFO]: --9774-- --main-stacksize=16777216 [INFO]: --9774-- --gen-suppressions=all [INFO]: --9774-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9774-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9774-- --error-exitcode=123 [INFO]: --9774-- Contents of /proc/version: [INFO]: --9774-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9774-- [INFO]: --9774-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9774-- Page sizes: currently 4096, max supported 4096 [INFO]: --9774-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9774-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9774-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9774-- might be shown as UnknownInlinedFun [INFO]: --9774-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9774-- object doesn't have a dynamic symbol table [INFO]: --9774-- Scheduler: using generic scheduler lock implementation. [INFO]: --9774-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9774-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9774== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9774-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9774== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9774-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9774== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9774-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9774== [INFO]: ==9774== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9774== don't want to do, unless you know exactly what you're doing, [INFO]: ==9774== or are doing some strange experiment): [INFO]: ==9774== /usr/libexec/valgrind/../../bin/vgdb --pid=9774 ...command... [INFO]: ==9774== [INFO]: ==9774== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9774== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9774== and then give GDB the following command [INFO]: ==9774== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9774 [INFO]: ==9774== --pid is optional if only one valgrind process is running [INFO]: ==9774== [INFO]: --9774-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9774-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9774-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9774-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9774-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9774-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9774-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9774-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9774-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9774-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9774-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9774-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9774-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9774-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9774-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9774-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9774-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9774-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9774-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9774-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9774-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9774-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9774-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9774-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9774-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9774-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9774-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9774-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9774-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9774-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9774-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9774-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9774-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9774-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9774-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9774-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9774-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9774-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9774-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9774-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9774-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9774-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== Preferring higher priority redirection: [INFO]: --9774-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9774-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9774-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9774-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9774-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9774-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9774-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9774-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9774-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9774-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9774-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9774-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9774-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9774-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9774-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9774-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9774-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9774-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9774-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9774-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9774-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9774-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9774-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9774-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9774-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9774-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9776== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9776-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9776== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9776-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9776== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9776-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9776== [INFO]: ==9776== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9776== don't want to do, unless you know exactly what you're doing, [INFO]: ==9776== or are doing some strange experiment): [INFO]: ==9776== /usr/libexec/valgrind/../../bin/vgdb --pid=9776 ...command... [INFO]: ==9776== [INFO]: ==9776== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9776== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9776== and then give GDB the following command [INFO]: ==9776== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9776 [INFO]: ==9776== --pid is optional if only one valgrind process is running [INFO]: ==9776== [INFO]: ==9776== [INFO]: ==9776== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9776== Open file descriptor 5: [INFO]: ==9776== at 0x4FDD73D: pipe (in /usr/lib64/libc.so.6) [INFO]: ==9776== by 0x10D5FB: download_complete_callback (freshclam.c:279) [INFO]: ==9776== by 0x486A929: UnknownInlinedFun (libfreshclam_internal.c:2647) [INFO]: ==9776== by 0x486A929: updatecustomdb (libfreshclam_internal.c:2525) [INFO]: ==9776== by 0x486AE06: fc_download_url_database (libfreshclam.c:862) [INFO]: ==9776== by 0x486B21F: fc_download_url_databases (libfreshclam.c:983) [INFO]: ==9776== by 0x10E6D1: perform_database_update (freshclam.c:1536) [INFO]: ==9776== by 0x10BD32: main (freshclam.c:1877) [INFO]: ==9776== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:pipe [INFO]: fun:download_complete_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:updatecustomdb [INFO]: fun:fc_download_url_database [INFO]: fun:fc_download_url_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==9776== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9776== [INFO]: ==9776== [INFO]: ==9776== (No origin, error cannot be suppressed) [INFO]: ==9776== [INFO]: ==9776== HEAP SUMMARY: [INFO]: ==9776== in use at exit: 6,025 bytes in 145 blocks [INFO]: ==9776== total heap usage: 6,702 allocs, 6,557 frees, 992,386 bytes allocated [INFO]: ==9776== [INFO]: ==9776== Searching for pointers to 145 not-freed blocks [INFO]: ==9776== Checked 511,568 bytes [INFO]: ==9776== [INFO]: ==9776== LEAK SUMMARY: [INFO]: ==9776== definitely lost: 0 bytes in 0 blocks [INFO]: ==9776== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9776== possibly lost: 0 bytes in 0 blocks [INFO]: ==9776== still reachable: 6,025 bytes in 145 blocks [INFO]: ==9776== suppressed: 0 bytes in 0 blocks [INFO]: ==9776== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9776== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9776== [INFO]: ==9776== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9774== [INFO]: ==9774== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9774== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9774== [INFO]: ==9774== [INFO]: ==9774== (No origin, error cannot be suppressed) [INFO]: ==9774== [INFO]: ==9774== HEAP SUMMARY: [INFO]: ==9774== in use at exit: 0 bytes in 0 blocks [INFO]: ==9774== total heap usage: 6,685 allocs, 6,685 frees, 770,748 bytes allocated [INFO]: ==9774== [INFO]: ==9774== All heap blocks were freed -- no leaks are possible [INFO]: ==9774== [INFO]: ==9774== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_freshclam_02_http_403 ______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:47 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:47 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:47 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:47 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:48 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:48 2024 -> Saved freshclam.dat Mon Apr 29 21:22:48 2024 -> ClamAV update process started at Mon Apr 29 21:22:48 2024 Mon Apr 29 21:22:48 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:48 2024 -> check_for_new_database_version: No local copy of "daily" database. Mon Apr 29 21:22:48 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59020 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 4e03d75d-74f3-4e34-8820-541bad09e9de) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:48 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:48 2024 -> OK Mon Apr 29 21:22:48 2024 -> daily database version obtained using HTTP GET: 25934 Mon Apr 29 21:22:48 2024 -> daily database available for download (remote version: 25934) Mon Apr 29 21:22:48 2024 -> Retrieving http://localhost:8001/daily.cvd Mon Apr 29 21:22:48 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Mon Apr 29 21:22:48 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.6602e5c16a/clamav-978d99faecd75b63942c6209d6ab8274.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59036 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 4e03d75d-74f3-4e34-8820-541bad09e9de) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:48 GMT < Content-type: text/html < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:48 2024 -> Saved freshclam.dat Mon Apr 29 21:22:48 2024 -> This could mean several things: Mon Apr 29 21:22:48 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Mon Apr 29 21:22:48 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Mon Apr 29 21:22:48 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Mon Apr 29 21:22:48 2024 -> In order to rectify this please check that you are: Mon Apr 29 21:22:48 2024 -> a. Running an up-to-date version of FreshClam Mon Apr 29 21:22:48 2024 -> b. Running FreshClam no more than once an hour Mon Apr 29 21:22:48 2024 -> c. If you have checked (a) and (b), please open a ticket at Mon Apr 29 21:22:48 2024 -> https://github.com/Cisco-Talos/clamav/issues Mon Apr 29 21:22:48 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:48 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:48 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Mon Apr 29 21:22:48 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Mon Apr 29 21:22:48 2024 -> You are on cool-down until after: 2024-04-30 21:22:48 ERROR: Mon Apr 29 21:22:48 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Mon Apr 29 21:22:48 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9782== Memcheck, a memory error detector [INFO]: ==9782== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9782== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9782== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily [INFO]: ==9782== Parent PID: 9755 [INFO]: ==9782== [INFO]: --9782-- [INFO]: --9782-- Valgrind options: [INFO]: --9782-- -v [INFO]: --9782-- --trace-children=yes [INFO]: --9782-- --track-fds=yes [INFO]: --9782-- --leak-check=full [INFO]: --9782-- --show-possibly-lost=no [INFO]: --9782-- --show-leak-kinds=definite [INFO]: --9782-- --errors-for-leak-kinds=definite [INFO]: --9782-- --main-stacksize=16777216 [INFO]: --9782-- --gen-suppressions=all [INFO]: --9782-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9782-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9782-- --error-exitcode=123 [INFO]: --9782-- Contents of /proc/version: [INFO]: --9782-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9782-- [INFO]: --9782-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9782-- Page sizes: currently 4096, max supported 4096 [INFO]: --9782-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9782-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9782-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9782-- might be shown as UnknownInlinedFun [INFO]: --9782-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9782-- object doesn't have a dynamic symbol table [INFO]: --9782-- Scheduler: using generic scheduler lock implementation. [INFO]: --9782-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9782-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9782== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9782-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9782== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9782-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9782== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9782-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9782== [INFO]: ==9782== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9782== don't want to do, unless you know exactly what you're doing, [INFO]: ==9782== or are doing some strange experiment): [INFO]: ==9782== /usr/libexec/valgrind/../../bin/vgdb --pid=9782 ...command... [INFO]: ==9782== [INFO]: ==9782== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9782== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9782== and then give GDB the following command [INFO]: ==9782== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9782 [INFO]: ==9782== --pid is optional if only one valgrind process is running [INFO]: ==9782== [INFO]: --9782-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9782-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9782-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9782-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9782-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9782-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9782-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9782-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9782-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9782-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9782-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9782-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9782-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9782-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9782-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9782-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9782-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9782-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9782-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9782-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9782-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9782-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9782-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9782-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9782-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9782-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9782-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9782-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9782-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9782-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9782-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9782-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9782-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9782-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9782-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9782-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9782-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9782-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9782-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9782-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9782-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9782-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== Preferring higher priority redirection: [INFO]: --9782-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9782-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9782-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9782-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9782-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9782-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9782-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9782-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9782-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9782-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9782-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9782-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9782-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9782-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9782-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9782-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9782-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9782-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9782-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9782-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9782-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9782-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9782-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9782-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9782-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9782-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9782-- REDIR: 0x505c3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9782== [INFO]: ==9782== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9782== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9782== [INFO]: ==9782== [INFO]: ==9782== (No origin, error cannot be suppressed) [INFO]: ==9782== [INFO]: ==9782== HEAP SUMMARY: [INFO]: ==9782== in use at exit: 0 bytes in 0 blocks [INFO]: ==9782== total heap usage: 6,850 allocs, 6,850 frees, 793,707 bytes allocated [INFO]: ==9782== [INFO]: ==9782== All heap blocks were freed -- no leaks are possible [INFO]: ==9782== [INFO]: ==9782== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:48] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:48] "GET /daily.cvd HTTP/1.1" 403 - ________ ERROR at teardown of TC.test_freshclam_03_http_403_daemonized _________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) and daemonized [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily --daemon -F Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:50 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:50 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:50 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:50 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:50 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:50 2024 -> Saved freshclam.dat Mon Apr 29 21:22:50 2024 -> ClamAV update process started at Mon Apr 29 21:22:50 2024 Mon Apr 29 21:22:50 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:50 2024 -> check_for_new_database_version: No local copy of "daily" database. Mon Apr 29 21:22:50 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59052 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: e048cf67-3536-44fd-9b24-41a7270668fd) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:50 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:50 2024 -> OK Mon Apr 29 21:22:50 2024 -> daily database version obtained using HTTP GET: 25934 Mon Apr 29 21:22:50 2024 -> daily database available for download (remote version: 25934) Mon Apr 29 21:22:50 2024 -> Retrieving http://localhost:8001/daily.cvd Mon Apr 29 21:22:50 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Mon Apr 29 21:22:50 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.46055e862b/clamav-59d456dea1dc34648c14b384eccc4b2f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59060 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: e048cf67-3536-44fd-9b24-41a7270668fd) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:50 GMT < Content-type: text/html < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:50 2024 -> Saved freshclam.dat Mon Apr 29 21:22:50 2024 -> This could mean several things: Mon Apr 29 21:22:50 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Mon Apr 29 21:22:50 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Mon Apr 29 21:22:50 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Mon Apr 29 21:22:50 2024 -> In order to rectify this please check that you are: Mon Apr 29 21:22:50 2024 -> a. Running an up-to-date version of FreshClam Mon Apr 29 21:22:50 2024 -> b. Running FreshClam no more than once an hour Mon Apr 29 21:22:50 2024 -> c. If you have checked (a) and (b), please open a ticket at Mon Apr 29 21:22:50 2024 -> https://github.com/Cisco-Talos/clamav/issues Mon Apr 29 21:22:50 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:50 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:50 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Mon Apr 29 21:22:50 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Mon Apr 29 21:22:50 2024 -> You are on cool-down until after: 2024-04-30 21:22:50 ERROR: Mon Apr 29 21:22:50 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Mon Apr 29 21:22:50 2024 -> Update failed. WARNING: Mon Apr 29 21:22:50 2024 -> FreshClam was forbidden from downloading a database. WARNING: Mon Apr 29 21:22:50 2024 -> This is fatal. Retrying later won't help. Exiting now. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9799== Memcheck, a memory error detector [INFO]: ==9799== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9799== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9799== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily --daemon -F [INFO]: ==9799== Parent PID: 9755 [INFO]: ==9799== [INFO]: --9799-- [INFO]: --9799-- Valgrind options: [INFO]: --9799-- -v [INFO]: --9799-- --trace-children=yes [INFO]: --9799-- --track-fds=yes [INFO]: --9799-- --leak-check=full [INFO]: --9799-- --show-possibly-lost=no [INFO]: --9799-- --show-leak-kinds=definite [INFO]: --9799-- --errors-for-leak-kinds=definite [INFO]: --9799-- --main-stacksize=16777216 [INFO]: --9799-- --gen-suppressions=all [INFO]: --9799-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9799-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9799-- --error-exitcode=123 [INFO]: --9799-- Contents of /proc/version: [INFO]: --9799-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9799-- [INFO]: --9799-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9799-- Page sizes: currently 4096, max supported 4096 [INFO]: --9799-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9799-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9799-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9799-- might be shown as UnknownInlinedFun [INFO]: --9799-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9799-- object doesn't have a dynamic symbol table [INFO]: --9799-- Scheduler: using generic scheduler lock implementation. [INFO]: --9799-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9799-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9799== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9799-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9799== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9799-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9799== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9799-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9799== [INFO]: ==9799== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9799== don't want to do, unless you know exactly what you're doing, [INFO]: ==9799== or are doing some strange experiment): [INFO]: ==9799== /usr/libexec/valgrind/../../bin/vgdb --pid=9799 ...command... [INFO]: ==9799== [INFO]: ==9799== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9799== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9799== and then give GDB the following command [INFO]: ==9799== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9799 [INFO]: ==9799== --pid is optional if only one valgrind process is running [INFO]: ==9799== [INFO]: --9799-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9799-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9799-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9799-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9799-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9799-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9799-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9799-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9799-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9799-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9799-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9799-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9799-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9799-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9799-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9799-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9799-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9799-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9799-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9799-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9799-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9799-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9799-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9799-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9799-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9799-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9799-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9799-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9799-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9799-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9799-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9799-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9799-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9799-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9799-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9799-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9799-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9799-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9799-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9799-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9799-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9799-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== Preferring higher priority redirection: [INFO]: --9799-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9799-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9799-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9799-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9799-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9799-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9799-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9799-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9799-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9799-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9799-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9799-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9799-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9799-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9799-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9799-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9799-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9799-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9799-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9799-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9799-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9799-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9799-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9799-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9799-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9799-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9799-- REDIR: 0x505c3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9799== [INFO]: ==9799== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9799== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9799== [INFO]: ==9799== [INFO]: ==9799== (No origin, error cannot be suppressed) [INFO]: ==9799== [INFO]: ==9799== HEAP SUMMARY: [INFO]: ==9799== in use at exit: 0 bytes in 0 blocks [INFO]: ==9799== total heap usage: 6,854 allocs, 6,854 frees, 798,305 bytes allocated [INFO]: ==9799== [INFO]: ==9799== All heap blocks were freed -- no leaks are possible [INFO]: ==9799== [INFO]: ==9799== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:50] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:50] "GET /daily.cvd HTTP/1.1" 403 - ______________ ERROR at teardown of TC.test_freshclam_04_http_429 ______________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 429 (too-many-requests) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:52 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:52 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:52 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:52 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:52 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:52 2024 -> Saved freshclam.dat Mon Apr 29 21:22:52 2024 -> ClamAV update process started at Mon Apr 29 21:22:52 2024 Mon Apr 29 21:22:52 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:52 2024 -> check_for_new_database_version: No local copy of "daily" database. Mon Apr 29 21:22:52 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59066 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 2a98f596-2137-4d2d-be93-b096809e7db2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:52 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:52 2024 -> OK Mon Apr 29 21:22:52 2024 -> daily database version obtained using HTTP GET: 25934 Mon Apr 29 21:22:52 2024 -> daily database available for download (remote version: 25934) Mon Apr 29 21:22:52 2024 -> Retrieving http://localhost:8001/daily.cvd Mon Apr 29 21:22:52 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Mon Apr 29 21:22:52 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.1505d5d33b/clamav-1d3dd1dee59c7144975bc804febc2d2f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59070 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 2a98f596-2137-4d2d-be93-b096809e7db2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 429 Too Many Requests < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:52 GMT < Content-type: text/html < Retry-After: 60 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:52 2024 -> Saved freshclam.dat Mon Apr 29 21:22:52 2024 -> This means that you have been rate limited by the CDN. Mon Apr 29 21:22:52 2024 -> 1. Run FreshClam no more than once an hour to check for updates. Mon Apr 29 21:22:52 2024 -> FreshClam should check DNS first to see if an update is needed. Mon Apr 29 21:22:52 2024 -> 2. If you have more than 10 hosts on your network attempting to download, Mon Apr 29 21:22:52 2024 -> it is recommended that you set up a private mirror on your network using Mon Apr 29 21:22:52 2024 -> cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the Mon Apr 29 21:22:52 2024 -> CDN and your own network. Mon Apr 29 21:22:52 2024 -> 3. Please do not open a ticket asking for an exemption from the rate limit, Mon Apr 29 21:22:52 2024 -> it will not be granted. [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:52 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:52 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Mon Apr 29 21:22:52 2024 -> FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN). WARNING: Mon Apr 29 21:22:52 2024 -> You are on cool-down until after: 2024-04-29 21:23:52 [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9819== Memcheck, a memory error detector [INFO]: ==9819== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9819== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9819== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily [INFO]: ==9819== Parent PID: 9755 [INFO]: ==9819== [INFO]: --9819-- [INFO]: --9819-- Valgrind options: [INFO]: --9819-- -v [INFO]: --9819-- --trace-children=yes [INFO]: --9819-- --track-fds=yes [INFO]: --9819-- --leak-check=full [INFO]: --9819-- --show-possibly-lost=no [INFO]: --9819-- --show-leak-kinds=definite [INFO]: --9819-- --errors-for-leak-kinds=definite [INFO]: --9819-- --main-stacksize=16777216 [INFO]: --9819-- --gen-suppressions=all [INFO]: --9819-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9819-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9819-- --error-exitcode=123 [INFO]: --9819-- Contents of /proc/version: [INFO]: --9819-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9819-- [INFO]: --9819-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9819-- Page sizes: currently 4096, max supported 4096 [INFO]: --9819-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9819-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9819-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9819-- might be shown as UnknownInlinedFun [INFO]: --9819-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9819-- object doesn't have a dynamic symbol table [INFO]: --9819-- Scheduler: using generic scheduler lock implementation. [INFO]: --9819-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9819-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9819== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9819-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9819== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9819-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9819== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9819-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9819== [INFO]: ==9819== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9819== don't want to do, unless you know exactly what you're doing, [INFO]: ==9819== or are doing some strange experiment): [INFO]: ==9819== /usr/libexec/valgrind/../../bin/vgdb --pid=9819 ...command... [INFO]: ==9819== [INFO]: ==9819== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9819== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9819== and then give GDB the following command [INFO]: ==9819== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9819 [INFO]: ==9819== --pid is optional if only one valgrind process is running [INFO]: ==9819== [INFO]: --9819-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9819-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9819-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9819-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9819-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9819-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9819-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9819-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9819-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9819-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9819-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9819-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9819-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9819-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9819-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9819-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9819-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9819-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9819-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9819-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9819-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9819-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9819-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9819-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9819-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9819-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9819-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9819-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9819-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9819-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9819-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9819-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9819-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9819-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9819-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9819-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9819-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9819-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9819-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9819-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9819-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9819-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== Preferring higher priority redirection: [INFO]: --9819-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9819-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9819-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9819-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9819-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9819-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9819-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9819-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9819-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9819-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9819-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9819-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9819-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9819-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9819-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9819-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9819-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9819-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9819-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9819-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9819-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9819-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9819-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9819-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9819-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9819-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9819-- REDIR: 0x505c3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9819== [INFO]: ==9819== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9819== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9819== [INFO]: ==9819== [INFO]: ==9819== (No origin, error cannot be suppressed) [INFO]: ==9819== [INFO]: ==9819== HEAP SUMMARY: [INFO]: ==9819== in use at exit: 0 bytes in 0 blocks [INFO]: ==9819== total heap usage: 6,848 allocs, 6,848 frees, 793,728 bytes allocated [INFO]: ==9819== [INFO]: ==9819== All heap blocks were freed -- no leaks are possible [INFO]: ==9819== [INFO]: ==9819== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:52] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:52] "GET /daily.cvd HTTP/1.1" 429 - ____________ ERROR at teardown of TC.test_freshclam_05_cdiff_update ____________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 4319: invalid start byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b"d::os::fd::owned::OwnedFd> (mod.rs:507)\n==9838== by 0x4B334BB: drop_in_place ...844== by 0x4868F6C: updatedb (libfreshclam_internal.c:2338)\n==9844== by 0x4869FC2: fc_update_database (libfresh" final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 4319: invalid start byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff Mock Server: Sending 973 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:54 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:54 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:54 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:54 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:55 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:55 2024 -> Saved freshclam.dat Mon Apr 29 21:22:55 2024 -> ClamAV update process started at Mon Apr 29 21:22:55 2024 Mon Apr 29 21:22:55 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:55 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:22:55 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37642 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:55 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:55 2024 -> OK Mon Apr 29 21:22:55 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:22:55 2024 -> test database available for update (local version: 1, remote version: 6) Mon Apr 29 21:22:55 2024 -> Retrieving http://localhost:8001/test-2.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download destination: ./clamav-014d37001b2c4e41b114e2541475a3c0.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37644 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:55 GMT < Content-type: application/octet-stream < * Closing connection Mon Apr 29 21:22:55 2024 -> Retrieving http://localhost:8001/test-3.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download destination: ./clamav-45c2192c04b153c8337deafd9683ecaf.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37660 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:55 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> Retrieving http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download destination: ./clamav-04ede6decb1b77c11a9119b45eb5ae2a.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37674 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:56 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download destination: ./clamav-36ffc5ef583fd75a6a19c77cf4611e21.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37682 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:56 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download destination: ./clamav-a15c3e9fff39de7e58d105cb0e55cf74.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37684 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:56 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:22:56 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld Mon Apr 29 21:22:56 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:22:56 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:22:56 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld' ... Mon Apr 29 21:22:56 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld Mon Apr 29 21:22:56 2024 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld Mon Apr 29 21:22:56 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:55 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:56 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:22:56 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:22:56 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:22:56 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:22:56 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:55] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:55] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:55] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:56] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:56] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:56] "GET /test-6.cdiff HTTP/1.1" 200 - _______ ERROR at teardown of TC.test_freshclam_06_cdiff_partial_minus_1 ________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 5998: invalid start byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b"C2: fc_update_database (libfreshclam.c:633)\n==9848== by 0x486A4A4: fc_update_databases (libfreshclam.c:805)\n==9...\n fun:main\n}\n==9855== \n==9855== 1 errors in context 2 of 4:\n==9855== File descriptor 4: \x90\xed X is already c" final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 5998: invalid start byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will accept a partial update with 1 missing cdiff [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:58 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:58 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:58 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:58 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:58 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:58 2024 -> Saved freshclam.dat Mon Apr 29 21:22:58 2024 -> ClamAV update process started at Mon Apr 29 21:22:58 2024 Mon Apr 29 21:22:58 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:58 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:22:58 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37692 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:58 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:58 2024 -> OK Mon Apr 29 21:22:58 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:22:58 2024 -> test database available for update (local version: 3, remote version: 6) Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-94336044e2355a03acad81b3dc8478dc.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37696 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-efaaef1c9db1e3c35a73911313c75ce8.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37698 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-77aa4ecc8bce0d318a4e4cf09d3698d5.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37702 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-0231c40a848662e7cb7cd212dd5336e8.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37714 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-320eff2f469517605200151e08db8b8e.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37728 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Downloaded 2 patches for test, which is fewer than the 3 expected patches. Mon Apr 29 21:22:59 2024 -> We'll settle for this partial-update, at least for now. Mon Apr 29 21:22:59 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:22:59 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld Mon Apr 29 21:22:59 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:22:59 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:22:59 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld' ... Mon Apr 29 21:22:59 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld Mon Apr 29 21:22:59 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld Mon Apr 29 21:23:00 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:58 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:23:00 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:00 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:00 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:00 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:00 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:58] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:59] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:22:59] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:22:59] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-6.cdiff HTTP/1.1" 404 - _______ ERROR at teardown of TC.test_freshclam_07_cdiff_partial_minus_2 ________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 3827: invalid start byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b"C2: fc_update_database (libfreshclam.c:633)\n==9861== by 0x486A4A4: fc_update_databases (libfreshclam.c:805)\n==9...d\n==9861== at 0x4FDD493: open (in /usr/lib64/libc.so.6)\n==9861== by 0x486816B: UnknownInlinedFun (fcntl2.h:55)" final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 3827: invalid start byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam behavior with 2 missing cdiffs [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:23:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:02 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:23:02 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:23:02 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:23:02 2024 -> Creating new freshclam.dat Mon Apr 29 21:23:02 2024 -> Saved freshclam.dat Mon Apr 29 21:23:02 2024 -> ClamAV update process started at Mon Apr 29 21:23:02 2024 Mon Apr 29 21:23:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:02 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:23:02 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37738 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:02 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:02 2024 -> OK Mon Apr 29 21:23:02 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:23:02 2024 -> test database available for update (local version: 3, remote version: 6) Mon Apr 29 21:23:02 2024 -> Retrieving http://localhost:8001/test-4.cdiff Mon Apr 29 21:23:02 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Mon Apr 29 21:23:02 2024 -> downloadFile: Download destination: ./clamav-2ef5070e9767339b54e84ed26f2343ad.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37746 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:02 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download destination: ./clamav-493613282e5f88ec32718eac8fde1044.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37760 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:03 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download destination: ./clamav-d15df09de1d4fc87be452dbbe77600cb.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37776 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:03 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download destination: ./clamav-25ca906eb4052e091faf217b2080db11.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37782 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:03 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Downloaded 1 patches for test, which is fewer than the 3 expected patches. Mon Apr 29 21:23:03 2024 -> We'll settle for this partial-update, at least for now. Mon Apr 29 21:23:03 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:23:03 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld Mon Apr 29 21:23:03 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:23:03 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:23:03 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld' ... Mon Apr 29 21:23:03 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld Mon Apr 29 21:23:03 2024 -> Properly loaded 12 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld Mon Apr 29 21:23:03 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:23:02 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:03 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:03 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:03 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:03 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:23:02] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:23:02] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:03] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:23:03] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:23:03] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:23:03] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:23:03] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:23:03] "GET /test-5.cdiff HTTP/1.1" 404 - ______ ERROR at teardown of TC.test_freshclam_07_no_cdiff_out_of_date_cvd ______ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 3827: invalid start byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b"C2: fc_update_database (libfreshclam.c:633)\n==9872== by 0x486A4A4: fc_update_databases (libfreshclam.c:805)\n==9...d\n==9872== at 0x4FDD493: open (in /usr/lib64/libc.so.6)\n==9872== by 0x486816B: UnknownInlinedFun (fcntl2.h:55)" final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 3827: invalid start byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-3.cdiff Mock Server: Sending 0 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: Sending 9818 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:23:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:05 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:23:05 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:23:05 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:23:05 2024 -> Creating new freshclam.dat Mon Apr 29 21:23:05 2024 -> Saved freshclam.dat Mon Apr 29 21:23:05 2024 -> ClamAV update process started at Mon Apr 29 21:23:05 2024 Mon Apr 29 21:23:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:05 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:23:05 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33074 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> OK Mon Apr 29 21:23:06 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:23:06 2024 -> test database available for update (local version: 1, remote version: 6) Mon Apr 29 21:23:06 2024 -> Retrieving http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download destination: ./clamav-726965c4051cec5d5626fa69afb24669.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33080 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> Retrieving http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download destination: ./clamav-ab2c2880947e6f2d9401d328f238e952.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33086 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> Empty script test-3.cdiff, need to download entire database Mon Apr 29 21:23:06 2024 -> Empty CDIFF found. Skip incremental updates for this version and download test.cvd Mon Apr 29 21:23:06 2024 -> Retrieving http://localhost:8001/test.cvd Mon Apr 29 21:23:06 2024 -> downloadFile: Download source: http://localhost:8001/test.cvd Mon Apr 29 21:23:06 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33096 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> The test.cvd database downloaded from http://localhost:8001 is older than the version advertised in the DNS TXT record. Mon Apr 29 21:23:06 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:23:06 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd Mon Apr 29 21:23:06 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:23:06 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:23:06 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd' ... Mon Apr 29 21:23:06 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd Mon Apr 29 21:23:07 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd Mon Apr 29 21:23:07 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:23:05 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:23:06 2024 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we'll have to settle for a slightly out-of-date database. WARNING: Mon Apr 29 21:23:07 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:07 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:07 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:07 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:07 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test.cvd HTTP/1.1" 200 - _________ ERROR at teardown of TC.test_freshclam_08_cdiff_update_twice _________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 5998: invalid start byte testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() freshclam_test.py:74: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b"C2: fc_update_database (libfreshclam.c:633)\n==9884== by 0x486A4A4: fc_update_databases (libfreshclam.c:805)\n==9...\n fun:main\n}\n==9887== \n==9887== 1 errors in context 2 of 4:\n==9887== File descriptor 4: \x90\xed X is already c" final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 5998: invalid start byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:23:09 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:09 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:23:09 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:23:09 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:23:09 2024 -> Creating new freshclam.dat Mon Apr 29 21:23:09 2024 -> Saved freshclam.dat Mon Apr 29 21:23:09 2024 -> ClamAV update process started at Mon Apr 29 21:23:09 2024 Mon Apr 29 21:23:09 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:09 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:23:09 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33100 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: bb6fd289-3368-420b-9d1d-ef43212c295f) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:09 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:09 2024 -> OK Mon Apr 29 21:23:09 2024 -> test database version obtained using HTTP GET: 3 Mon Apr 29 21:23:09 2024 -> test database available for update (local version: 1, remote version: 3) Mon Apr 29 21:23:09 2024 -> Retrieving http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:09 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:09 2024 -> downloadFile: Download destination: ./clamav-33df3bb2bc252659e04c56a6b8c5301f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33110 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: bb6fd289-3368-420b-9d1d-ef43212c295f) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:09 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:10 2024 -> Retrieving http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:10 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:10 2024 -> downloadFile: Download destination: ./clamav-880a4ac09a54146875334b6d38ebf7e3.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33116 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: bb6fd289-3368-420b-9d1d-ef43212c295f) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:10 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:10 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:23:10 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld Mon Apr 29 21:23:10 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:23:10 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:23:10 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld' ... Mon Apr 29 21:23:10 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld Mon Apr 29 21:23:10 2024 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld Mon Apr 29 21:23:10 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:23:09 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:23:10 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:10 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:10 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:10 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:10 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:23:09] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:23:09] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:10] "GET /test-3.cdiff HTTP/1.1" 200 - --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym =================================== FAILURES =================================== _________________________ TC.test_freshclam_00_version _________________________ self = def test_freshclam_00_version(self): self.step_name('freshclam version test') if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:95: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: freshclam version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9765== Memcheck, a memory error detector [INFO]: ==9765== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9765== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9765== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf -V [INFO]: ==9765== Parent PID: 9755 [INFO]: ==9765== [INFO]: --9765-- [INFO]: --9765-- Valgrind options: [INFO]: --9765-- -v [INFO]: --9765-- --trace-children=yes [INFO]: --9765-- --track-fds=yes [INFO]: --9765-- --leak-check=full [INFO]: --9765-- --show-possibly-lost=no [INFO]: --9765-- --show-leak-kinds=definite [INFO]: --9765-- --errors-for-leak-kinds=definite [INFO]: --9765-- --main-stacksize=16777216 [INFO]: --9765-- --gen-suppressions=all [INFO]: --9765-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9765-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9765-- --error-exitcode=123 [INFO]: --9765-- Contents of /proc/version: [INFO]: --9765-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9765-- [INFO]: --9765-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9765-- Page sizes: currently 4096, max supported 4096 [INFO]: --9765-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9765-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9765-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9765-- might be shown as UnknownInlinedFun [INFO]: --9765-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9765-- object doesn't have a dynamic symbol table [INFO]: --9765-- Scheduler: using generic scheduler lock implementation. [INFO]: --9765-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9765-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9765== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9765-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9765== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9765-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9765== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9765-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9765== [INFO]: ==9765== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9765== don't want to do, unless you know exactly what you're doing, [INFO]: ==9765== or are doing some strange experiment): [INFO]: ==9765== /usr/libexec/valgrind/../../bin/vgdb --pid=9765 ...command... [INFO]: ==9765== [INFO]: ==9765== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9765== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9765== and then give GDB the following command [INFO]: ==9765== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9765 [INFO]: ==9765== --pid is optional if only one valgrind process is running [INFO]: ==9765== [INFO]: --9765-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9765-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9765-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9765-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9765-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9765-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9765-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9765-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9765-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9765-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9765-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9765-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9765-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9765-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9765-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9765-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9765-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9765-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9765-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9765-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9765-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9765-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9765-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9765-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9765-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9765-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9765-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9765-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9765-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9765-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9765-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9765-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9765-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9765-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9765-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9765-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9765-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9765-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9765-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9765-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9765-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9765-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9765-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== Preferring higher priority redirection: [INFO]: --9765-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9765-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9765-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9765-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9765== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9765-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9765-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9765-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9765-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9765-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9765-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9765-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9765-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9765-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9765-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9765-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9765-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9765-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9765-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9765-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: ==9765== [INFO]: ==9765== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9765== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9765== [INFO]: ==9765== [INFO]: ==9765== (No origin, error cannot be suppressed) [INFO]: ==9765== [INFO]: ==9765== HEAP SUMMARY: [INFO]: ==9765== in use at exit: 0 bytes in 0 blocks [INFO]: ==9765== total heap usage: 143 allocs, 143 frees, 15,762 bytes allocated [INFO]: ==9765== [INFO]: ==9765== All heap blocks were freed -- no leaks are possible [INFO]: ==9765== [INFO]: ==9765== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_freshclam_01_file_copy ________________________ self = def test_freshclam_01_file_copy(self): self.step_name('Basic freshclam test using file:// to "download" clamav.hdb') if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) # Select database files for test shutil.copy( str(TC.path_build / 'unit_tests' / 'input' / 'clamav.hdb'), str(TC.path_www), ) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseCustomURL file://{file_db} ExcludeDatabase daily ExcludeDatabase main ExcludeDatabase bytecode DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, file_db=TC.path_www / "clamav.hdb", port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:45 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:22:45 2024 -> It probably doesn't exist yet. That's ok.\nMon Apr 29 21:22:45 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:22:45 2024 -> Creating new freshclam.dat\nMon Apr 29 21:22:45 2024 -> Saved freshclam.dat\nMon Apr 29 21:22:45 2024 -> ClamAV update process started at Mon Apr 29 21:22:45 2024\nMon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:45 2024 -> Downloading clamav.hdb [100%]\nMon Apr 29 21:22:45 2024 -> updatecustomdb: Running g_cb_download_complete callback...\nMon Apr 29 21:22:45 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/cla... 29 21:22:45 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb\nMon Apr 29 21:22:45 2024 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb\nMon Apr 29 21:22:45 2024 -> updatecustomdb: callback failed: Test failed (8)\nMon Apr 29 21:22:45 2024 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/clamav.hdb\n", err='WARNING: Mon Apr 29 21:22:45 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:22:45 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Mon Apr 29 21:22:45 2024 -> Database test FAILED.\nWARNING: Mon Apr 29 21:22:45 2024 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8)\nERROR: Mon Apr 29 21:22:45 2024 -> Database update process failed: Test failed\nERROR: Mon Apr 29 21:22:45 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:141: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Basic freshclam test using file:// to "download" clamav.hdb [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:45 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:45 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:45 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:45 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:45 2024 -> Saved freshclam.dat Mon Apr 29 21:22:45 2024 -> ClamAV update process started at Mon Apr 29 21:22:45 2024 Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:45 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:45 2024 -> Downloading clamav.hdb [100%] Mon Apr 29 21:22:45 2024 -> updatecustomdb: Running g_cb_download_complete callback... Mon Apr 29 21:22:45 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb Mon Apr 29 21:22:45 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:22:45 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:22:45 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb' ... Mon Apr 29 21:22:45 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb Mon Apr 29 21:22:45 2024 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.85c3f7f656/clamav-38035c352413401206911604487777b8.tmp-clamav.hdb Mon Apr 29 21:22:45 2024 -> updatecustomdb: callback failed: Test failed (8) Mon Apr 29 21:22:45 2024 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/clamav.hdb [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:45 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:45 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:22:45 2024 -> Database test FAILED. WARNING: Mon Apr 29 21:22:45 2024 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8) ERROR: Mon Apr 29 21:22:45 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:22:45 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9774== Memcheck, a memory error detector [INFO]: ==9774== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9774== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9774== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf [INFO]: ==9774== Parent PID: 9755 [INFO]: ==9774== [INFO]: --9774-- [INFO]: --9774-- Valgrind options: [INFO]: --9774-- -v [INFO]: --9774-- --trace-children=yes [INFO]: --9774-- --track-fds=yes [INFO]: --9774-- --leak-check=full [INFO]: --9774-- --show-possibly-lost=no [INFO]: --9774-- --show-leak-kinds=definite [INFO]: --9774-- --errors-for-leak-kinds=definite [INFO]: --9774-- --main-stacksize=16777216 [INFO]: --9774-- --gen-suppressions=all [INFO]: --9774-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9774-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9774-- --error-exitcode=123 [INFO]: --9774-- Contents of /proc/version: [INFO]: --9774-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9774-- [INFO]: --9774-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9774-- Page sizes: currently 4096, max supported 4096 [INFO]: --9774-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9774-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9774-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9774-- might be shown as UnknownInlinedFun [INFO]: --9774-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9774-- object doesn't have a dynamic symbol table [INFO]: --9774-- Scheduler: using generic scheduler lock implementation. [INFO]: --9774-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9774-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9774== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9774-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9774== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9774-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9774== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9774-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9774== [INFO]: ==9774== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9774== don't want to do, unless you know exactly what you're doing, [INFO]: ==9774== or are doing some strange experiment): [INFO]: ==9774== /usr/libexec/valgrind/../../bin/vgdb --pid=9774 ...command... [INFO]: ==9774== [INFO]: ==9774== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9774== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9774== and then give GDB the following command [INFO]: ==9774== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9774 [INFO]: ==9774== --pid is optional if only one valgrind process is running [INFO]: ==9774== [INFO]: --9774-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9774-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9774-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9774-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9774-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9774-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9774-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9774-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9774-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9774-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9774-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9774-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9774-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9774-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9774-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9774-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9774-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9774-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9774-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9774-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9774-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9774-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9774-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9774-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9774-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9774-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9774-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9774-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9774-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9774-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9774-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9774-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9774-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9774-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9774-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9774-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9774-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9774-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9774-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9774-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9774-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9774-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9774-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== Preferring higher priority redirection: [INFO]: --9774-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9774-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9774-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9774-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9774== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9774-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9774-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9774-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9774-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9774-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9774-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9774-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9774-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9774-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9774-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9774-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9774-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9774-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9774-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9774-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9774-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9774-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9774-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9774-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9774-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9774-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9774-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9774-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9774-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9774-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9774-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9776== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9776-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9776== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9776-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9776== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9776-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9776== [INFO]: ==9776== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9776== don't want to do, unless you know exactly what you're doing, [INFO]: ==9776== or are doing some strange experiment): [INFO]: ==9776== /usr/libexec/valgrind/../../bin/vgdb --pid=9776 ...command... [INFO]: ==9776== [INFO]: ==9776== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9776== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9776== and then give GDB the following command [INFO]: ==9776== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9776 [INFO]: ==9776== --pid is optional if only one valgrind process is running [INFO]: ==9776== [INFO]: ==9776== [INFO]: ==9776== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9776== Open file descriptor 5: [INFO]: ==9776== at 0x4FDD73D: pipe (in /usr/lib64/libc.so.6) [INFO]: ==9776== by 0x10D5FB: download_complete_callback (freshclam.c:279) [INFO]: ==9776== by 0x486A929: UnknownInlinedFun (libfreshclam_internal.c:2647) [INFO]: ==9776== by 0x486A929: updatecustomdb (libfreshclam_internal.c:2525) [INFO]: ==9776== by 0x486AE06: fc_download_url_database (libfreshclam.c:862) [INFO]: ==9776== by 0x486B21F: fc_download_url_databases (libfreshclam.c:983) [INFO]: ==9776== by 0x10E6D1: perform_database_update (freshclam.c:1536) [INFO]: ==9776== by 0x10BD32: main (freshclam.c:1877) [INFO]: ==9776== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:pipe [INFO]: fun:download_complete_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:updatecustomdb [INFO]: fun:fc_download_url_database [INFO]: fun:fc_download_url_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==9776== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9776== [INFO]: ==9776== [INFO]: ==9776== (No origin, error cannot be suppressed) [INFO]: ==9776== [INFO]: ==9776== HEAP SUMMARY: [INFO]: ==9776== in use at exit: 6,025 bytes in 145 blocks [INFO]: ==9776== total heap usage: 6,702 allocs, 6,557 frees, 992,386 bytes allocated [INFO]: ==9776== [INFO]: ==9776== Searching for pointers to 145 not-freed blocks [INFO]: ==9776== Checked 511,568 bytes [INFO]: ==9776== [INFO]: ==9776== LEAK SUMMARY: [INFO]: ==9776== definitely lost: 0 bytes in 0 blocks [INFO]: ==9776== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9776== possibly lost: 0 bytes in 0 blocks [INFO]: ==9776== still reachable: 6,025 bytes in 145 blocks [INFO]: ==9776== suppressed: 0 bytes in 0 blocks [INFO]: ==9776== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9776== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9776== [INFO]: ==9776== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) [INFO]: ==9774== [INFO]: ==9774== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9774== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9774== [INFO]: ==9774== [INFO]: ==9774== (No origin, error cannot be suppressed) [INFO]: ==9774== [INFO]: ==9774== HEAP SUMMARY: [INFO]: ==9774== in use at exit: 0 bytes in 0 blocks [INFO]: ==9774== total heap usage: 6,685 allocs, 6,685 frees, 770,748 bytes allocated [INFO]: ==9774== [INFO]: ==9774== All heap blocks were freed -- no leaks are possible [INFO]: ==9774== [INFO]: ==9774== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_freshclam_02_http_403 _________________________ self = def test_freshclam_02_http_403(self): self.step_name('Verify correct behavior when receiving 403 (forbidden)') # Start our mock database mirror. TC.mock_mirror = Process(target=mock_database_mirror, args=(WebServerHandler_02,)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=daily'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 17 # forbidden E assert 123 == 17 E + where 123 = CmdResult(ec=123, out='Mon Apr 29 21:22:47 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:47 2024 -> Can\'t open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:22:47 2024 -> It probably doesn\'t exist yet. That\'s ok.\nMon Apr 29 21:22:47 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:22:48 2024 -> Creating new freshclam.dat\nMon Apr 29 21:22:48 2024 -> Saved freshclam.dat\nMon Apr 29 21:22:48 2024 -> ClamAV update process started at Mon Apr 29 21:22:48 2024\nMon Apr 29 21:22:48 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:48 2024 -> check_for_new_database_version: No local copy of "daily" database.\nMon Apr 29 21:22:48 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 59020 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Con...ion by visiting https://www.clamav.net/downloads\nMon Apr 29 21:22:48 2024 -> 2. Your network is explicitly denied by the FreshClam CDN.\nMon Apr 29 21:22:48 2024 -> In order to rectify this please check that you are:\nMon Apr 29 21:22:48 2024 -> a. Running an up-to-date version of FreshClam\nMon Apr 29 21:22:48 2024 -> b. Running FreshClam no more than once an hour\nMon Apr 29 21:22:48 2024 -> c. If you have checked (a) and (b), please open a ticket at\nMon Apr 29 21:22:48 2024 -> https://github.com/Cisco-Talos/clamav/issues\nMon Apr 29 21:22:48 2024 -> and we will investigate why your network is blocked.\n', err="WARNING: Mon Apr 29 21:22:48 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:22:48 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd\nWARNING: Mon Apr 29 21:22:48 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN).\nWARNING: Mon Apr 29 21:22:48 2024 -> You are on cool-down until after: 2024-04-30 21:22:48\nERROR: Mon Apr 29 21:22:48 2024 -> Database update process failed: Forbidden; Blocked by CDN\nERROR: Mon Apr 29 21:22:48 2024 -> Update failed.\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:182: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:47 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:47 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:47 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:47 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:48 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:48 2024 -> Saved freshclam.dat Mon Apr 29 21:22:48 2024 -> ClamAV update process started at Mon Apr 29 21:22:48 2024 Mon Apr 29 21:22:48 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:48 2024 -> check_for_new_database_version: No local copy of "daily" database. Mon Apr 29 21:22:48 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59020 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 4e03d75d-74f3-4e34-8820-541bad09e9de) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:48 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:48 2024 -> OK Mon Apr 29 21:22:48 2024 -> daily database version obtained using HTTP GET: 25934 Mon Apr 29 21:22:48 2024 -> daily database available for download (remote version: 25934) Mon Apr 29 21:22:48 2024 -> Retrieving http://localhost:8001/daily.cvd Mon Apr 29 21:22:48 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Mon Apr 29 21:22:48 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.6602e5c16a/clamav-978d99faecd75b63942c6209d6ab8274.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59036 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 4e03d75d-74f3-4e34-8820-541bad09e9de) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:48 GMT < Content-type: text/html < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:48 2024 -> Saved freshclam.dat Mon Apr 29 21:22:48 2024 -> This could mean several things: Mon Apr 29 21:22:48 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Mon Apr 29 21:22:48 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Mon Apr 29 21:22:48 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Mon Apr 29 21:22:48 2024 -> In order to rectify this please check that you are: Mon Apr 29 21:22:48 2024 -> a. Running an up-to-date version of FreshClam Mon Apr 29 21:22:48 2024 -> b. Running FreshClam no more than once an hour Mon Apr 29 21:22:48 2024 -> c. If you have checked (a) and (b), please open a ticket at Mon Apr 29 21:22:48 2024 -> https://github.com/Cisco-Talos/clamav/issues Mon Apr 29 21:22:48 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:48 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:48 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Mon Apr 29 21:22:48 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Mon Apr 29 21:22:48 2024 -> You are on cool-down until after: 2024-04-30 21:22:48 ERROR: Mon Apr 29 21:22:48 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Mon Apr 29 21:22:48 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9782== Memcheck, a memory error detector [INFO]: ==9782== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9782== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9782== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily [INFO]: ==9782== Parent PID: 9755 [INFO]: ==9782== [INFO]: --9782-- [INFO]: --9782-- Valgrind options: [INFO]: --9782-- -v [INFO]: --9782-- --trace-children=yes [INFO]: --9782-- --track-fds=yes [INFO]: --9782-- --leak-check=full [INFO]: --9782-- --show-possibly-lost=no [INFO]: --9782-- --show-leak-kinds=definite [INFO]: --9782-- --errors-for-leak-kinds=definite [INFO]: --9782-- --main-stacksize=16777216 [INFO]: --9782-- --gen-suppressions=all [INFO]: --9782-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9782-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9782-- --error-exitcode=123 [INFO]: --9782-- Contents of /proc/version: [INFO]: --9782-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9782-- [INFO]: --9782-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9782-- Page sizes: currently 4096, max supported 4096 [INFO]: --9782-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9782-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9782-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9782-- might be shown as UnknownInlinedFun [INFO]: --9782-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9782-- object doesn't have a dynamic symbol table [INFO]: --9782-- Scheduler: using generic scheduler lock implementation. [INFO]: --9782-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9782-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9782== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9782-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9782== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9782-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9782== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9782-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9782== [INFO]: ==9782== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9782== don't want to do, unless you know exactly what you're doing, [INFO]: ==9782== or are doing some strange experiment): [INFO]: ==9782== /usr/libexec/valgrind/../../bin/vgdb --pid=9782 ...command... [INFO]: ==9782== [INFO]: ==9782== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9782== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9782== and then give GDB the following command [INFO]: ==9782== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9782 [INFO]: ==9782== --pid is optional if only one valgrind process is running [INFO]: ==9782== [INFO]: --9782-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9782-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9782-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9782-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9782-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9782-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9782-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9782-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9782-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9782-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9782-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9782-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9782-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9782-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9782-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9782-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9782-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9782-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9782-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9782-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9782-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9782-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9782-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9782-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9782-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9782-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9782-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9782-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9782-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9782-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9782-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9782-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9782-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9782-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9782-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9782-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9782-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9782-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9782-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9782-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9782-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9782-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9782-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== Preferring higher priority redirection: [INFO]: --9782-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9782-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9782-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9782-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9782== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9782-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9782-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9782-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9782-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9782-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9782-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9782-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9782-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9782-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9782-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9782-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9782-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9782-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9782-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9782-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9782-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9782-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9782-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9782-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9782-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9782-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9782-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9782-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9782-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9782-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9782-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9782-- REDIR: 0x505c3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9782== [INFO]: ==9782== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9782== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9782== [INFO]: ==9782== [INFO]: ==9782== (No origin, error cannot be suppressed) [INFO]: ==9782== [INFO]: ==9782== HEAP SUMMARY: [INFO]: ==9782== in use at exit: 0 bytes in 0 blocks [INFO]: ==9782== total heap usage: 6,850 allocs, 6,850 frees, 793,707 bytes allocated [INFO]: ==9782== [INFO]: ==9782== All heap blocks were freed -- no leaks are possible [INFO]: ==9782== [INFO]: ==9782== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:48] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:48] "GET /daily.cvd HTTP/1.1" 403 - ___________________ TC.test_freshclam_03_http_403_daemonized ___________________ self = def test_freshclam_03_http_403_daemonized(self): self.step_name('Verify correct behavior when receiving 403 (forbidden) and daemonized') # Start our mock database mirror. TC.mock_mirror = Process(target=mock_database_mirror, args=(WebServerHandler_02,)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=daily --daemon -F'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 17 # forbidden E assert 123 == 17 E + where 123 = CmdResult(ec=123, out='Mon Apr 29 21:22:50 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:50 2024 -> Can\'t open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:22:50 2024 -> It probably doesn\'t exist yet. That\'s ok.\nMon Apr 29 21:22:50 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:22:50 2024 -> Creating new freshclam.dat\nMon Apr 29 21:22:50 2024 -> Saved freshclam.dat\nMon Apr 29 21:22:50 2024 -> ClamAV update process started at Mon Apr 29 21:22:50 2024\nMon Apr 29 21:22:50 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:50 2024 -> check_for_new_database_version: No local copy of "daily" database.\nMon Apr 29 21:22:50 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 59052 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Con...ectify this please check that you are:\nMon Apr 29 21:22:50 2024 -> a. Running an up-to-date version of FreshClam\nMon Apr 29 21:22:50 2024 -> b. Running FreshClam no more than once an hour\nMon Apr 29 21:22:50 2024 -> c. If you have checked (a) and (b), please open a ticket at\nMon Apr 29 21:22:50 2024 -> https://github.com/Cisco-Talos/clamav/issues\nMon Apr 29 21:22:50 2024 -> and we will investigate why your network is blocked.\n', err="WARNING: Mon Apr 29 21:22:50 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:22:50 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd\nWARNING: Mon Apr 29 21:22:50 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN).\nWARNING: Mon Apr 29 21:22:50 2024 -> You are on cool-down until after: 2024-04-30 21:22:50\nERROR: Mon Apr 29 21:22:50 2024 -> Database update process failed: Forbidden; Blocked by CDN\nERROR: Mon Apr 29 21:22:50 2024 -> Update failed.\nWARNING: Mon Apr 29 21:22:50 2024 -> FreshClam was forbidden from downloading a database.\nWARNING: Mon Apr 29 21:22:50 2024 -> This is fatal. Retrying later won't help. Exiting now.\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:237: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 403 (forbidden) and daemonized [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily --daemon -F Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:50 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:50 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:50 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:50 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:50 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:50 2024 -> Saved freshclam.dat Mon Apr 29 21:22:50 2024 -> ClamAV update process started at Mon Apr 29 21:22:50 2024 Mon Apr 29 21:22:50 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:50 2024 -> check_for_new_database_version: No local copy of "daily" database. Mon Apr 29 21:22:50 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59052 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: e048cf67-3536-44fd-9b24-41a7270668fd) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:50 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:50 2024 -> OK Mon Apr 29 21:22:50 2024 -> daily database version obtained using HTTP GET: 25934 Mon Apr 29 21:22:50 2024 -> daily database available for download (remote version: 25934) Mon Apr 29 21:22:50 2024 -> Retrieving http://localhost:8001/daily.cvd Mon Apr 29 21:22:50 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Mon Apr 29 21:22:50 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.46055e862b/clamav-59d456dea1dc34648c14b384eccc4b2f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59060 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: e048cf67-3536-44fd-9b24-41a7270668fd) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 403 Forbidden < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:50 GMT < Content-type: text/html < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:50 2024 -> Saved freshclam.dat Mon Apr 29 21:22:50 2024 -> This could mean several things: Mon Apr 29 21:22:50 2024 -> 1. You are running an out-of-date version of ClamAV / FreshClam. Mon Apr 29 21:22:50 2024 -> Ensure you are the most updated version by visiting https://www.clamav.net/downloads Mon Apr 29 21:22:50 2024 -> 2. Your network is explicitly denied by the FreshClam CDN. Mon Apr 29 21:22:50 2024 -> In order to rectify this please check that you are: Mon Apr 29 21:22:50 2024 -> a. Running an up-to-date version of FreshClam Mon Apr 29 21:22:50 2024 -> b. Running FreshClam no more than once an hour Mon Apr 29 21:22:50 2024 -> c. If you have checked (a) and (b), please open a ticket at Mon Apr 29 21:22:50 2024 -> https://github.com/Cisco-Talos/clamav/issues Mon Apr 29 21:22:50 2024 -> and we will investigate why your network is blocked. [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:50 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:50 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Mon Apr 29 21:22:50 2024 -> FreshClam received error code 403 from the ClamAV Content Delivery Network (CDN). WARNING: Mon Apr 29 21:22:50 2024 -> You are on cool-down until after: 2024-04-30 21:22:50 ERROR: Mon Apr 29 21:22:50 2024 -> Database update process failed: Forbidden; Blocked by CDN ERROR: Mon Apr 29 21:22:50 2024 -> Update failed. WARNING: Mon Apr 29 21:22:50 2024 -> FreshClam was forbidden from downloading a database. WARNING: Mon Apr 29 21:22:50 2024 -> This is fatal. Retrying later won't help. Exiting now. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9799== Memcheck, a memory error detector [INFO]: ==9799== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9799== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9799== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily --daemon -F [INFO]: ==9799== Parent PID: 9755 [INFO]: ==9799== [INFO]: --9799-- [INFO]: --9799-- Valgrind options: [INFO]: --9799-- -v [INFO]: --9799-- --trace-children=yes [INFO]: --9799-- --track-fds=yes [INFO]: --9799-- --leak-check=full [INFO]: --9799-- --show-possibly-lost=no [INFO]: --9799-- --show-leak-kinds=definite [INFO]: --9799-- --errors-for-leak-kinds=definite [INFO]: --9799-- --main-stacksize=16777216 [INFO]: --9799-- --gen-suppressions=all [INFO]: --9799-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9799-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9799-- --error-exitcode=123 [INFO]: --9799-- Contents of /proc/version: [INFO]: --9799-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9799-- [INFO]: --9799-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9799-- Page sizes: currently 4096, max supported 4096 [INFO]: --9799-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9799-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9799-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9799-- might be shown as UnknownInlinedFun [INFO]: --9799-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9799-- object doesn't have a dynamic symbol table [INFO]: --9799-- Scheduler: using generic scheduler lock implementation. [INFO]: --9799-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9799-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9799== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9799-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9799== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9799-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9799== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9799-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9799== [INFO]: ==9799== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9799== don't want to do, unless you know exactly what you're doing, [INFO]: ==9799== or are doing some strange experiment): [INFO]: ==9799== /usr/libexec/valgrind/../../bin/vgdb --pid=9799 ...command... [INFO]: ==9799== [INFO]: ==9799== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9799== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9799== and then give GDB the following command [INFO]: ==9799== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9799 [INFO]: ==9799== --pid is optional if only one valgrind process is running [INFO]: ==9799== [INFO]: --9799-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9799-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9799-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9799-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9799-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9799-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9799-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9799-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9799-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9799-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9799-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9799-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9799-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9799-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9799-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9799-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9799-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9799-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9799-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9799-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9799-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9799-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9799-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9799-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9799-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9799-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9799-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9799-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9799-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9799-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9799-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9799-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9799-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9799-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9799-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9799-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9799-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9799-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9799-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9799-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9799-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9799-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9799-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== Preferring higher priority redirection: [INFO]: --9799-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9799-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9799-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9799-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9799== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9799-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9799-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9799-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9799-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9799-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9799-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9799-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9799-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9799-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9799-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9799-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9799-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9799-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9799-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9799-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9799-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9799-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9799-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9799-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9799-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9799-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9799-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9799-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9799-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9799-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9799-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9799-- REDIR: 0x505c3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9799== [INFO]: ==9799== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9799== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9799== [INFO]: ==9799== [INFO]: ==9799== (No origin, error cannot be suppressed) [INFO]: ==9799== [INFO]: ==9799== HEAP SUMMARY: [INFO]: ==9799== in use at exit: 0 bytes in 0 blocks [INFO]: ==9799== total heap usage: 6,854 allocs, 6,854 frees, 798,305 bytes allocated [INFO]: ==9799== [INFO]: ==9799== All heap blocks were freed -- no leaks are possible [INFO]: ==9799== [INFO]: ==9799== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:50] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:50] "GET /daily.cvd HTTP/1.1" 403 - ________________________ TC.test_freshclam_04_http_429 _________________________ self = def test_freshclam_04_http_429(self): self.step_name('Verify correct behavior when receiving 429 (too-many-requests)') # Start our mock database mirror. TC.mock_mirror = Process(target=mock_database_mirror, args=(WebServerHandler_04,TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=daily'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out='Mon Apr 29 21:22:52 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:52 2024 -> Can\'t open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:22:52 2024 -> It probably doesn\'t exist yet. That\'s ok.\nMon Apr 29 21:22:52 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:22:52 2024 -> Creating new freshclam.dat\nMon Apr 29 21:22:52 2024 -> Saved freshclam.dat\nMon Apr 29 21:22:52 2024 -> ClamAV update process started at Mon Apr 29 21:22:52 2024\nMon Apr 29 21:22:52 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:52 2024 -> check_for_new_database_version: No local copy of "daily" database.\nMon Apr 29 21:22:52 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 59066 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Con...This means that you have been rate limited by the CDN.\nMon Apr 29 21:22:52 2024 -> 1. Run FreshClam no more than once an hour to check for updates.\nMon Apr 29 21:22:52 2024 -> FreshClam should check DNS first to see if an update is needed.\nMon Apr 29 21:22:52 2024 -> 2. If you have more than 10 hosts on your network attempting to download,\nMon Apr 29 21:22:52 2024 -> it is recommended that you set up a private mirror on your network using\nMon Apr 29 21:22:52 2024 -> cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the\nMon Apr 29 21:22:52 2024 -> CDN and your own network.\nMon Apr 29 21:22:52 2024 -> 3. Please do not open a ticket asking for an exemption from the rate limit,\nMon Apr 29 21:22:52 2024 -> it will not be granted.\n', err="WARNING: Mon Apr 29 21:22:52 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:22:52 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd\nWARNING: Mon Apr 29 21:22:52 2024 -> FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN).\nWARNING: Mon Apr 29 21:22:52 2024 -> You are on cool-down until after: 2024-04-29 21:23:52\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:277: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify correct behavior when receiving 429 (too-many-requests) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily Web server is running on port 8001 [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:52 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:52 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:52 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:52 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:52 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:52 2024 -> Saved freshclam.dat Mon Apr 29 21:22:52 2024 -> ClamAV update process started at Mon Apr 29 21:22:52 2024 Mon Apr 29 21:22:52 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:52 2024 -> check_for_new_database_version: No local copy of "daily" database. Mon Apr 29 21:22:52 2024 -> Trying to retrieve CVD header from http://localhost:8001/daily.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59066 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 2a98f596-2137-4d2d-be93-b096809e7db2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:52 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:52 2024 -> OK Mon Apr 29 21:22:52 2024 -> daily database version obtained using HTTP GET: 25934 Mon Apr 29 21:22:52 2024 -> daily database available for download (remote version: 25934) Mon Apr 29 21:22:52 2024 -> Retrieving http://localhost:8001/daily.cvd Mon Apr 29 21:22:52 2024 -> downloadFile: Download source: http://localhost:8001/daily.cvd Mon Apr 29 21:22:52 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.1505d5d33b/clamav-1d3dd1dee59c7144975bc804febc2d2f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 59070 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /daily.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 2a98f596-2137-4d2d-be93-b096809e7db2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 429 Too Many Requests < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:52 GMT < Content-type: text/html < Retry-After: 60 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:52 2024 -> Saved freshclam.dat Mon Apr 29 21:22:52 2024 -> This means that you have been rate limited by the CDN. Mon Apr 29 21:22:52 2024 -> 1. Run FreshClam no more than once an hour to check for updates. Mon Apr 29 21:22:52 2024 -> FreshClam should check DNS first to see if an update is needed. Mon Apr 29 21:22:52 2024 -> 2. If you have more than 10 hosts on your network attempting to download, Mon Apr 29 21:22:52 2024 -> it is recommended that you set up a private mirror on your network using Mon Apr 29 21:22:52 2024 -> cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the Mon Apr 29 21:22:52 2024 -> CDN and your own network. Mon Apr 29 21:22:52 2024 -> 3. Please do not open a ticket asking for an exemption from the rate limit, Mon Apr 29 21:22:52 2024 -> it will not be granted. [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:52 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:52 2024 -> Can't download daily.cvd from http://localhost:8001/daily.cvd WARNING: Mon Apr 29 21:22:52 2024 -> FreshClam received error code 429 from the ClamAV Content Delivery Network (CDN). WARNING: Mon Apr 29 21:22:52 2024 -> You are on cool-down until after: 2024-04-29 21:23:52 [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9819== Memcheck, a memory error detector [INFO]: ==9819== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9819== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9819== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=daily [INFO]: ==9819== Parent PID: 9755 [INFO]: ==9819== [INFO]: --9819-- [INFO]: --9819-- Valgrind options: [INFO]: --9819-- -v [INFO]: --9819-- --trace-children=yes [INFO]: --9819-- --track-fds=yes [INFO]: --9819-- --leak-check=full [INFO]: --9819-- --show-possibly-lost=no [INFO]: --9819-- --show-leak-kinds=definite [INFO]: --9819-- --errors-for-leak-kinds=definite [INFO]: --9819-- --main-stacksize=16777216 [INFO]: --9819-- --gen-suppressions=all [INFO]: --9819-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9819-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: --9819-- --error-exitcode=123 [INFO]: --9819-- Contents of /proc/version: [INFO]: --9819-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9819-- [INFO]: --9819-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9819-- Page sizes: currently 4096, max supported 4096 [INFO]: --9819-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: --9819-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9819-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9819-- might be shown as UnknownInlinedFun [INFO]: --9819-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9819-- object doesn't have a dynamic symbol table [INFO]: --9819-- Scheduler: using generic scheduler lock implementation. [INFO]: --9819-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9819-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9819== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9819-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9819== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9819-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9819== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9819-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9819== [INFO]: ==9819== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9819== don't want to do, unless you know exactly what you're doing, [INFO]: ==9819== or are doing some strange experiment): [INFO]: ==9819== /usr/libexec/valgrind/../../bin/vgdb --pid=9819 ...command... [INFO]: ==9819== [INFO]: ==9819== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9819== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam [INFO]: ==9819== and then give GDB the following command [INFO]: ==9819== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9819 [INFO]: ==9819== --pid is optional if only one valgrind process is running [INFO]: ==9819== [INFO]: --9819-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9819-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9819-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9819-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9819-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9819-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9819-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9819-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libfreshclam.so.2.0.2 [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9819-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9819-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --9819-- Reading syms from /usr/lib64/libssl.so.3.2.1 [INFO]: --9819-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9819-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9819-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9819-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9819-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9819-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9819-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9819-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9819-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9819-- Reading syms from /usr/lib64/libnghttp2.so.14.28.0 [INFO]: --9819-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --9819-- Reading syms from /usr/lib64/libssh.so.4.9.6 [INFO]: --9819-- Reading syms from /usr/lib64/libpsl.so.5.3.5 [INFO]: --9819-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --9819-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --9819-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --9819-- Reading syms from /usr/lib64/libbrotlidec.so.1.1.0 [INFO]: --9819-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9819-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --9819-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --9819-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --9819-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --9819-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --9819-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --9819-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --9819-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --9819-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --9819-- Reading syms from /usr/lib64/libbrotlicommon.so.1.1.0 [INFO]: --9819-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --9819-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --9819-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9819-- REDIR: 0x4f80da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7ef30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f95ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f953a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4ff7cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7df80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f95c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7d5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f94230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7ee20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f942e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4fa1d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f95170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7edb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7eea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7d4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7fff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7e330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4fa1dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4ff7de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x4f7e1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7dd40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== Preferring higher priority redirection: [INFO]: --9819-- old: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9819-- new: 0x0503ce40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9819-- REDIR: 0x4f7d430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f81030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f93e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f7de60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x4f818a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x4f7e100 (libc.so.6:rawmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9819-- REDIR: 0x4f80be0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9819== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9819-- old: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9819-- new: 0x0503ce10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9819-- REDIR: 0x5041a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9819-- REDIR: 0x503fb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9819-- REDIR: 0x5040c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9819-- REDIR: 0x4f796b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9819-- REDIR: 0x503d840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9819-- REDIR: 0x503ce10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9819-- REDIR: 0x503f3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9819-- REDIR: 0x4f79d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9819-- REDIR: 0x503efa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9819-- REDIR: 0x503c440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9819-- REDIR: 0x503ce40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9819-- REDIR: 0x505ef50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9819-- REDIR: 0x4f7a700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9819-- REDIR: 0x4f79ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9819-- REDIR: 0x503e280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9819-- REDIR: 0x4f91920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9819-- REDIR: 0x503f1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9819-- REDIR: 0x503daf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9819-- REDIR: 0x503ce00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9819-- REDIR: 0x50412c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9819-- REDIR: 0x503f930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9819-- REDIR: 0x5041760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9819-- REDIR: 0x503c6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9819-- REDIR: 0x503fd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9819-- REDIR: 0x505c3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9819== [INFO]: ==9819== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9819== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log [INFO]: ==9819== [INFO]: ==9819== [INFO]: ==9819== (No origin, error cannot be suppressed) [INFO]: ==9819== [INFO]: ==9819== HEAP SUMMARY: [INFO]: ==9819== in use at exit: 0 bytes in 0 blocks [INFO]: ==9819== total heap usage: 6,848 allocs, 6,848 frees, 793,728 bytes allocated [INFO]: ==9819== [INFO]: ==9819== All heap blocks were freed -- no leaks are possible [INFO]: ==9819== [INFO]: ==9819== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:52] "GET /daily.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:52] "GET /daily.cvd HTTP/1.1" 429 - ______________________ TC.test_freshclam_05_cdiff_update _______________________ self = def test_freshclam_05_cdiff_update(self): self.step_name('Verify that freshclam can update from an older CVD to a newer with CDIFF patches') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Mon Apr 29 21:22:54 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:54 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:22:54 2024 -> It probably doesn't exist yet. That's ok.\nMon Apr 29 21:22:54 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:22:55 2024 -> Creating new freshclam.dat\nMon Apr 29 21:22:55 2024 -> Saved freshclam.dat\nMon Apr 29 21:22:55 2024 -> ClamAV update process started at Mon Apr 29 21:22:55 2024\nMon Apr 29 21:22:55 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:55 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nMon Apr 29 21:22:55 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 37642 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...led : 1\nMon Apr 29 21:22:56 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld' ...\nMon Apr 29 21:22:56 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld\nMon Apr 29 21:22:56 2024 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld\nMon Apr 29 21:22:56 2024 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Mon Apr 29 21:22:55 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:22:56 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Mon Apr 29 21:22:56 2024 -> Database test FAILED.\nERROR: Mon Apr 29 21:22:56 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Mon Apr 29 21:22:56 2024 -> Database update process failed: Test failed\nERROR: Mon Apr 29 21:22:56 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:330: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff Mock Server: Sending 973 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:54 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:54 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:54 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:54 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:55 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:55 2024 -> Saved freshclam.dat Mon Apr 29 21:22:55 2024 -> ClamAV update process started at Mon Apr 29 21:22:55 2024 Mon Apr 29 21:22:55 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:55 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:22:55 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37642 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:55 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:55 2024 -> OK Mon Apr 29 21:22:55 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:22:55 2024 -> test database available for update (local version: 1, remote version: 6) Mon Apr 29 21:22:55 2024 -> Retrieving http://localhost:8001/test-2.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download destination: ./clamav-014d37001b2c4e41b114e2541475a3c0.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37644 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:55 GMT < Content-type: application/octet-stream < * Closing connection Mon Apr 29 21:22:55 2024 -> Retrieving http://localhost:8001/test-3.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Mon Apr 29 21:22:55 2024 -> downloadFile: Download destination: ./clamav-45c2192c04b153c8337deafd9683ecaf.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37660 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:55 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> Retrieving http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download destination: ./clamav-04ede6decb1b77c11a9119b45eb5ae2a.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37674 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:56 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download destination: ./clamav-36ffc5ef583fd75a6a19c77cf4611e21.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37682 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:56 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:56 2024 -> downloadFile: Download destination: ./clamav-a15c3e9fff39de7e58d105cb0e55cf74.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37684 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 0576aae0-52c5-499b-9c5f-173197270cd8) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:56 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:56 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:22:56 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld Mon Apr 29 21:22:56 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:22:56 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:22:56 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld' ... Mon Apr 29 21:22:56 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld Mon Apr 29 21:22:56 2024 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.b1ad18b8a6/clamav-e6cfbb500f6b13a69d7e3bce36f8b1b9.tmp-test.cld Mon Apr 29 21:22:56 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:55 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:56 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:22:56 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:22:56 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:22:56 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:22:56 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:55] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:55] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:55] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:56] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:56] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:56] "GET /test-6.cdiff HTTP/1.1" 200 - __________________ TC.test_freshclam_06_cdiff_partial_minus_1 __________________ self = def test_freshclam_06_cdiff_partial_minus_1(self): self.step_name('Verify that freshclam will accept a partial update with 1 missing cdiff') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) #shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) # <-- don't give them the last CDIFF handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Mon Apr 29 21:22:58 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:58 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:22:58 2024 -> It probably doesn't exist yet. That's ok.\nMon Apr 29 21:22:58 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:22:58 2024 -> Creating new freshclam.dat\nMon Apr 29 21:22:58 2024 -> Saved freshclam.dat\nMon Apr 29 21:22:58 2024 -> ClamAV update process started at Mon Apr 29 21:22:58 2024\nMon Apr 29 21:22:58 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:22:58 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nMon Apr 29 21:22:58 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 37692 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...db: callback failed: Test failed (8)\n", err='WARNING: Mon Apr 29 21:22:58 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Mon Apr 29 21:23:00 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Mon Apr 29 21:23:00 2024 -> Database test FAILED.\nERROR: Mon Apr 29 21:23:00 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Mon Apr 29 21:23:00 2024 -> Database update process failed: Test failed\nERROR: Mon Apr 29 21:23:00 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:448: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will accept a partial update with 1 missing cdiff [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Sending 993 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-6.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:22:58 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:58 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:22:58 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:22:58 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:22:58 2024 -> Creating new freshclam.dat Mon Apr 29 21:22:58 2024 -> Saved freshclam.dat Mon Apr 29 21:22:58 2024 -> ClamAV update process started at Mon Apr 29 21:22:58 2024 Mon Apr 29 21:22:58 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:22:58 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:22:58 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37692 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:58 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:58 2024 -> OK Mon Apr 29 21:22:58 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:22:58 2024 -> test database available for update (local version: 3, remote version: 6) Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-94336044e2355a03acad81b3dc8478dc.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37696 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-efaaef1c9db1e3c35a73911313c75ce8.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37698 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-77aa4ecc8bce0d318a4e4cf09d3698d5.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37702 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-0231c40a848662e7cb7cd212dd5336e8.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37714 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Retrieving http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Mon Apr 29 21:22:59 2024 -> downloadFile: Download destination: ./clamav-320eff2f469517605200151e08db8b8e.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37728 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 7236ecb3-3297-48a9-b984-104aa5eb83d2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:22:59 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:22:59 2024 -> Downloaded 2 patches for test, which is fewer than the 3 expected patches. Mon Apr 29 21:22:59 2024 -> We'll settle for this partial-update, at least for now. Mon Apr 29 21:22:59 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:22:59 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld Mon Apr 29 21:22:59 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:22:59 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:22:59 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld' ... Mon Apr 29 21:22:59 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld Mon Apr 29 21:22:59 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.8060821b53/clamav-3630990ddad0a692abc832ab323a2615.tmp-test.cld Mon Apr 29 21:23:00 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:22:58 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:22:59 2024 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Mon Apr 29 21:23:00 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:00 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:00 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:00 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:00 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:22:58] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:22:59] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:22:59] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:22:59] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:22:59] "GET /test-6.cdiff HTTP/1.1" 404 - __________________ TC.test_freshclam_07_cdiff_partial_minus_2 __________________ self = def test_freshclam_07_cdiff_partial_minus_2(self): self.step_name('Verify that freshclam behavior with 2 missing cdiffs') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # serve this CVD when requested instead of the advertised one shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.served')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) # shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) <--- dont' give them the second to last, either! # shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) <--- don't give them the last CDIFF handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Mon Apr 29 21:23:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:23:02 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:23:02 2024 -> It probably doesn't exist yet. That's ok.\nMon Apr 29 21:23:02 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:23:02 2024 -> Creating new freshclam.dat\nMon Apr 29 21:23:02 2024 -> Saved freshclam.dat\nMon Apr 29 21:23:02 2024 -> ClamAV update process started at Mon Apr 29 21:23:02 2024\nMon Apr 29 21:23:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:23:02 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nMon Apr 29 21:23:02 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 37738 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...db: callback failed: Test failed (8)\n", err='WARNING: Mon Apr 29 21:23:02 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Mon Apr 29 21:23:03 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Mon Apr 29 21:23:03 2024 -> Database test FAILED.\nERROR: Mon Apr 29 21:23:03 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Mon Apr 29 21:23:03 2024 -> Database update process failed: Test failed\nERROR: Mon Apr 29 21:23:03 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:534: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam behavior with 2 missing cdiffs [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-4.cdiff Mock Server: Sending 945 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-5.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:23:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:02 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:23:02 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:23:02 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:23:02 2024 -> Creating new freshclam.dat Mon Apr 29 21:23:02 2024 -> Saved freshclam.dat Mon Apr 29 21:23:02 2024 -> ClamAV update process started at Mon Apr 29 21:23:02 2024 Mon Apr 29 21:23:02 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:02 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:23:02 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37738 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:02 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:02 2024 -> OK Mon Apr 29 21:23:02 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:23:02 2024 -> test database available for update (local version: 3, remote version: 6) Mon Apr 29 21:23:02 2024 -> Retrieving http://localhost:8001/test-4.cdiff Mon Apr 29 21:23:02 2024 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Mon Apr 29 21:23:02 2024 -> downloadFile: Download destination: ./clamav-2ef5070e9767339b54e84ed26f2343ad.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37746 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:02 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download destination: ./clamav-493613282e5f88ec32718eac8fde1044.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37760 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:03 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download destination: ./clamav-d15df09de1d4fc87be452dbbe77600cb.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37776 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:03 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Retrieving http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Mon Apr 29 21:23:03 2024 -> downloadFile: Download destination: ./clamav-25ca906eb4052e091faf217b2080db11.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 37782 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 744c9754-b4fe-49d1-be7d-ce748824d931) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:03 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 343 < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:03 2024 -> Downloaded 1 patches for test, which is fewer than the 3 expected patches. Mon Apr 29 21:23:03 2024 -> We'll settle for this partial-update, at least for now. Mon Apr 29 21:23:03 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:23:03 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld Mon Apr 29 21:23:03 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:23:03 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:23:03 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld' ... Mon Apr 29 21:23:03 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld Mon Apr 29 21:23:03 2024 -> Properly loaded 12 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.102485fd15/clamav-851d3d815aa202e3848becca973ffa25.tmp-test.cld Mon Apr 29 21:23:03 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:23:02 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Mon Apr 29 21:23:03 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:03 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:03 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:03 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:03 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:23:02] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:23:02] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:03] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:23:03] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:23:03] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:23:03] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [29/Apr/2024 21:23:03] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [29/Apr/2024 21:23:03] "GET /test-5.cdiff HTTP/1.1" 404 - ________________ TC.test_freshclam_07_no_cdiff_out_of_date_cvd _________________ self = def test_freshclam_07_no_cdiff_out_of_date_cvd(self): self.step_name('Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF') # start with CVD 1 shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise CVD 6 (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # Serve the patches 2. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) # Serve a zero-byte file instead of test-3.cdiff. This should trigger a whole CVD download. with (TC.path_www / 'test-3.cdiff').open('w') as fp: pass # Serve CVD 5 when test.cvd is requested instead of 6 (the advertised one). This should trigger an incremental update, starting a test-4.cvd + patches 5-6. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cvd'), str(TC.path_www / 'test.cvd.served')) # Serve the patches 5 - 6. Patch 4 should never be requested. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) # # 1st attempt # command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Mon Apr 29 21:23:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:23:05 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:23:05 2024 -> It probably doesn't exist yet. That's ok.\nMon Apr 29 21:23:05 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:23:05 2024 -> Creating new freshclam.dat\nMon Apr 29 21:23:05 2024 -> Saved freshclam.dat\nMon Apr 29 21:23:05 2024 -> ClamAV update process started at Mon Apr 29 21:23:05 2024\nMon Apr 29 21:23:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:23:05 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nMon Apr 29 21:23:05 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 33074 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...p-test.cvd' ...\nMon Apr 29 21:23:06 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd\nMon Apr 29 21:23:07 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd\nMon Apr 29 21:23:07 2024 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Mon Apr 29 21:23:05 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:23:06 2024 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we\'ll have to settle for a slightly out-of-date database.\nWARNING: Mon Apr 29 21:23:07 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Mon Apr 29 21:23:07 2024 -> Database test FAILED.\nERROR: Mon Apr 29 21:23:07 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Mon Apr 29 21:23:07 2024 -> Database update process failed: Test failed\nERROR: Mon Apr 29 21:23:07 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:625: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-3.cdiff Mock Server: Sending 0 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: Sending 9818 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:23:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:05 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:23:05 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:23:05 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:23:05 2024 -> Creating new freshclam.dat Mon Apr 29 21:23:05 2024 -> Saved freshclam.dat Mon Apr 29 21:23:05 2024 -> ClamAV update process started at Mon Apr 29 21:23:05 2024 Mon Apr 29 21:23:05 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:05 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:23:05 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33074 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> OK Mon Apr 29 21:23:06 2024 -> test database version obtained using HTTP GET: 6 Mon Apr 29 21:23:06 2024 -> test database available for update (local version: 1, remote version: 6) Mon Apr 29 21:23:06 2024 -> Retrieving http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download destination: ./clamav-726965c4051cec5d5626fa69afb24669.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33080 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> Retrieving http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:06 2024 -> downloadFile: Download destination: ./clamav-ab2c2880947e6f2d9401d328f238e952.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33086 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> Empty script test-3.cdiff, need to download entire database Mon Apr 29 21:23:06 2024 -> Empty CDIFF found. Skip incremental updates for this version and download test.cvd Mon Apr 29 21:23:06 2024 -> Retrieving http://localhost:8001/test.cvd Mon Apr 29 21:23:06 2024 -> downloadFile: Download source: http://localhost:8001/test.cvd Mon Apr 29 21:23:06 2024 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33096 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 665e9a82-b574-4ff2-b050-9d2a98f7dcd2) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:06 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:06 2024 -> The test.cvd database downloaded from http://localhost:8001 is older than the version advertised in the DNS TXT record. Mon Apr 29 21:23:06 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:23:06 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd Mon Apr 29 21:23:06 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:23:06 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:23:06 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd' ... Mon Apr 29 21:23:06 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd Mon Apr 29 21:23:07 2024 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.3382b3a9a6/clamav-e2611f3977d0cced6f57705edef56497.tmp-test.cvd Mon Apr 29 21:23:07 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:23:05 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:23:06 2024 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we'll have to settle for a slightly out-of-date database. WARNING: Mon Apr 29 21:23:07 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:07 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:07 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:07 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:07 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:06] "GET /test.cvd HTTP/1.1" 200 - ___________________ TC.test_freshclam_08_cdiff_update_twice ____________________ self = def test_freshclam_08_cdiff_update_twice(self): self.step_name('Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD FIRST (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) # # Now run the update for the first set up updates. # command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Mon Apr 29 21:23:09 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:23:09 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database\nMon Apr 29 21:23:09 2024 -> It probably doesn't exist yet. That's ok.\nMon Apr 29 21:23:09 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat\nMon Apr 29 21:23:09 2024 -> Creating new freshclam.dat\nMon Apr 29 21:23:09 2024 -> Saved freshclam.dat\nMon Apr 29 21:23:09 2024 -> ClamAV update process started at Mon Apr 29 21:23:09 2024\nMon Apr 29 21:23:09 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/\nMon Apr 29 21:23:09 2024 -> check_for_new_database_version: Local copy of test found: test.cvd.\nMon Apr 29 21:23:09 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 33100 failed: Connection refused\n* Trying 127.0.0.1:8001...\n* Connec...led : 1\nMon Apr 29 21:23:10 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld' ...\nMon Apr 29 21:23:10 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld\nMon Apr 29 21:23:10 2024 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld\nMon Apr 29 21:23:10 2024 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Mon Apr 29 21:23:09 2024 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Mon Apr 29 21:23:10 2024 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Mon Apr 29 21:23:10 2024 -> Database test FAILED.\nERROR: Mon Apr 29 21:23:10 2024 -> Unexpected error when attempting to update test: Test failed\nERROR: Mon Apr 29 21:23:10 2024 -> Database update process failed: Test failed\nERROR: Mon Apr 29 21:23:10 2024 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:732: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/freshclam-test.conf --update-db=test Web server is running on port 8001 Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test.cvd Mock Server: But they only want bytes 0 through 511 ... Mock Server: Sending 512 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-2.cdiff Mock Server: Sending 765 bytes back to client. Mock Server: Test requested: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/www/test-3.cdiff Mock Server: Sending 1637 bytes back to client. [DEBUG]: Exit code: 123 [DEBUG]: stdout: Mon Apr 29 21:23:09 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:09 2024 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database Mon Apr 29 21:23:09 2024 -> It probably doesn't exist yet. That's ok. Mon Apr 29 21:23:09 2024 -> Failed to load freshclam.dat; will create a new freshclam.dat Mon Apr 29 21:23:09 2024 -> Creating new freshclam.dat Mon Apr 29 21:23:09 2024 -> Saved freshclam.dat Mon Apr 29 21:23:09 2024 -> ClamAV update process started at Mon Apr 29 21:23:09 2024 Mon Apr 29 21:23:09 2024 -> Current working dir is /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/ Mon Apr 29 21:23:09 2024 -> check_for_new_database_version: Local copy of test found: test.cvd. Mon Apr 29 21:23:09 2024 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33100 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: bb6fd289-3368-420b-9d1d-ef43212c295f) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:09 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:09 2024 -> OK Mon Apr 29 21:23:09 2024 -> test database version obtained using HTTP GET: 3 Mon Apr 29 21:23:09 2024 -> test database available for update (local version: 1, remote version: 3) Mon Apr 29 21:23:09 2024 -> Retrieving http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:09 2024 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Mon Apr 29 21:23:09 2024 -> downloadFile: Download destination: ./clamav-33df3bb2bc252659e04c56a6b8c5301f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33110 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: bb6fd289-3368-420b-9d1d-ef43212c295f) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:09 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:10 2024 -> Retrieving http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:10 2024 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Mon Apr 29 21:23:10 2024 -> downloadFile: Download destination: ./clamav-880a4ac09a54146875334b6d38ebf7e3.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33116 failed: Connection refused * Trying 127.0.0.1:8001... * Connected to localhost (127.0.0.1) port 8001 > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.0.6 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: bb6fd289-3368-420b-9d1d-ef43212c295f) Accept: */* Connection: close * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP/0.6 Python/3.12.3 < Date: Mon, 29 Apr 2024 21:23:10 GMT < Content-type: application/octet-stream < * we are done reading and this is set to close, stop send * Request completely sent off * Closing connection Mon Apr 29 21:23:10 2024 -> updatedb: Running g_cb_download_complete callback... Mon Apr 29 21:23:10 2024 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld Mon Apr 29 21:23:10 2024 -> download_complete_callback: fc_context->bTestDatabases : 1 Mon Apr 29 21:23:10 2024 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Mon Apr 29 21:23:10 2024 -> Testing database: '/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld' ... Mon Apr 29 21:23:10 2024 -> Loading signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld Mon Apr 29 21:23:10 2024 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/database/tmp.37d8d32923/clamav-821ce9f1374df353ec7f161f2c9641e8.tmp-test.cld Mon Apr 29 21:23:10 2024 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Mon Apr 29 21:23:09 2024 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Mon Apr 29 21:23:10 2024 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Mon Apr 29 21:23:10 2024 -> Database test FAILED. ERROR: Mon Apr 29 21:23:10 2024 -> Unexpected error when attempting to update test: Test failed ERROR: Mon Apr 29 21:23:10 2024 -> Database update process failed: Test failed ERROR: Mon Apr 29 21:23:10 2024 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzfy5zym/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [29/Apr/2024 21:23:09] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [29/Apr/2024 21:23:09] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [29/Apr/2024 21:23:10] "GET /test-3.cdiff HTTP/1.1" 200 - =============================== warnings summary =============================== freshclam_test.py:20 /builddir/build/BUILD/clamav-1.0.6/unit_tests/freshclam_test.py:20: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED freshclam_test.py::TC::test_freshclam_00_version - AssertionError: ass... FAILED freshclam_test.py::TC::test_freshclam_01_file_copy - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_02_http_403 - assert 123 == 17 FAILED freshclam_test.py::TC::test_freshclam_03_http_403_daemonized - assert ... FAILED freshclam_test.py::TC::test_freshclam_04_http_429 - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_05_cdiff_update - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 - asser... FAILED freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - asser... FAILED freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd - as... FAILED freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice - assert 1... ERROR freshclam_test.py::TC::test_freshclam_00_version - AssertionError: Valg... ERROR freshclam_test.py::TC::test_freshclam_01_file_copy - AssertionError: Va... ERROR freshclam_test.py::TC::test_freshclam_02_http_403 - AssertionError: Val... ERROR freshclam_test.py::TC::test_freshclam_03_http_403_daemonized - Assertio... ERROR freshclam_test.py::TC::test_freshclam_04_http_429 - AssertionError: Val... ERROR freshclam_test.py::TC::test_freshclam_05_cdiff_update - UnicodeDecodeEr... ERROR freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 - Unicod... ERROR freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - Unicod... ERROR freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd - Uni... ERROR freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice - UnicodeDe... ============= 10 failed, 1 skipped, 1 warning, 10 errors in 29.02s ============= Start 11: sigtool_valgrind 2/5 Test #11: sigtool_valgrind .................***Failed 5.79 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 3 items sigtool_test.py::TC::test_sigtool_00_version FAILED [ 33%] sigtool_test.py::TC::test_sigtool_00_version ERROR [ 33%] sigtool_test.py::TC::test_sigtool_01_run_cdiff FAILED [ 66%] sigtool_test.py::TC::test_sigtool_01_run_cdiff ERROR [ 66%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work FAILED [100%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work ERROR [100%] ==================================== ERRORS ==================================== _______________ ERROR at teardown of TC.test_sigtool_00_version ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9895== Memcheck, a memory error detector [INFO]: ==9895== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9895== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9895== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [INFO]: ==9895== Parent PID: 9891 [INFO]: ==9895== [INFO]: --9895-- [INFO]: --9895-- Valgrind options: [INFO]: --9895-- -v [INFO]: --9895-- --trace-children=yes [INFO]: --9895-- --track-fds=yes [INFO]: --9895-- --leak-check=full [INFO]: --9895-- --show-possibly-lost=no [INFO]: --9895-- --show-leak-kinds=definite [INFO]: --9895-- --errors-for-leak-kinds=definite [INFO]: --9895-- --main-stacksize=16777216 [INFO]: --9895-- --gen-suppressions=all [INFO]: --9895-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: --9895-- --error-exitcode=123 [INFO]: --9895-- Contents of /proc/version: [INFO]: --9895-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9895-- [INFO]: --9895-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9895-- Page sizes: currently 4096, max supported 4096 [INFO]: --9895-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --9895-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9895-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9895-- might be shown as UnknownInlinedFun [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9895-- object doesn't have a dynamic symbol table [INFO]: --9895-- Scheduler: using generic scheduler lock implementation. [INFO]: --9895-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9895== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9895-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9895== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9895-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9895== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9895-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9895== [INFO]: ==9895== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9895== don't want to do, unless you know exactly what you're doing, [INFO]: ==9895== or are doing some strange experiment): [INFO]: ==9895== /usr/libexec/valgrind/../../bin/vgdb --pid=9895 ...command... [INFO]: ==9895== [INFO]: ==9895== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9895== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==9895== and then give GDB the following command [INFO]: ==9895== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9895 [INFO]: ==9895== --pid is optional if only one valgrind process is running [INFO]: ==9895== [INFO]: --9895-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9895-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9895-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9895-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9895-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9895-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9895-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9895-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9895-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9895-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9895-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9895-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9895-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9895-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9895-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9895-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9895-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9895-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9895-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9895== Preferring higher priority redirection: [INFO]: --9895-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9895-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9895-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9895-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9895-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9895-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9895-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9895-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9895-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9895-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9895-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9895-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9895-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9895-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9895-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9895-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: ==9895== [INFO]: ==9895== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9895== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: ==9895== [INFO]: ==9895== [INFO]: ==9895== (No origin, error cannot be suppressed) [INFO]: ==9895== [INFO]: ==9895== HEAP SUMMARY: [INFO]: ==9895== in use at exit: 0 bytes in 0 blocks [INFO]: ==9895== total heap usage: 260 allocs, 260 frees, 16,400 bytes allocated [INFO]: ==9895== [INFO]: ==9895== All heap blocks were freed -- no leaks are possible [INFO]: ==9895== [INFO]: ==9895== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_sigtool_01_run_cdiff _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool run cdiff test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9910== Memcheck, a memory error detector [INFO]: ==9910== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9910== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9910== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==9910== Parent PID: 9891 [INFO]: ==9910== [INFO]: --9910-- [INFO]: --9910-- Valgrind options: [INFO]: --9910-- -v [INFO]: --9910-- --trace-children=yes [INFO]: --9910-- --track-fds=yes [INFO]: --9910-- --leak-check=full [INFO]: --9910-- --show-possibly-lost=no [INFO]: --9910-- --show-leak-kinds=definite [INFO]: --9910-- --errors-for-leak-kinds=definite [INFO]: --9910-- --main-stacksize=16777216 [INFO]: --9910-- --gen-suppressions=all [INFO]: --9910-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9910-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: --9910-- --error-exitcode=123 [INFO]: --9910-- Contents of /proc/version: [INFO]: --9910-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9910-- [INFO]: --9910-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9910-- Page sizes: currently 4096, max supported 4096 [INFO]: --9910-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9910-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --9910-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9910-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9910-- might be shown as UnknownInlinedFun [INFO]: --9910-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9910-- object doesn't have a dynamic symbol table [INFO]: --9910-- Scheduler: using generic scheduler lock implementation. [INFO]: --9910-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9910-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9910== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9910-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9910== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9910-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9910== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9910-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9910== [INFO]: ==9910== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9910== don't want to do, unless you know exactly what you're doing, [INFO]: ==9910== or are doing some strange experiment): [INFO]: ==9910== /usr/libexec/valgrind/../../bin/vgdb --pid=9910 ...command... [INFO]: ==9910== [INFO]: ==9910== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9910== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==9910== and then give GDB the following command [INFO]: ==9910== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9910 [INFO]: ==9910== --pid is optional if only one valgrind process is running [INFO]: ==9910== [INFO]: --9910-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9910-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9910-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9910-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9910-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9910-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9910-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9910-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9910-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9910-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9910-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9910-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9910-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9910-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9910-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9910-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9910-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9910-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9910-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9910-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9910-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9910-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9910-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9910== Preferring higher priority redirection: [INFO]: --9910-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9910-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9910-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9910-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9910-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9910-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9910-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9910-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9910-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9910-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9910-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9910-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9910-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9910-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9910-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9910-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9910-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9910-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9910-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9910-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9910-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9910-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9910-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9910-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9910== [INFO]: ==9910== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9910== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: ==9910== [INFO]: ==9910== [INFO]: ==9910== (No origin, error cannot be suppressed) [INFO]: ==9910== [INFO]: ==9910== HEAP SUMMARY: [INFO]: ==9910== in use at exit: 0 bytes in 0 blocks [INFO]: ==9910== total heap usage: 4,639 allocs, 4,639 frees, 1,763,340 bytes allocated [INFO]: ==9910== [INFO]: ==9910== All heap blocks were freed -- no leaks are possible [INFO]: ==9910== [INFO]: ==9910== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______ ERROR at teardown of TC.test_sigtool_02_rust_logs_messages_work ________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool test rust log macros work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9921== Memcheck, a memory error detector [INFO]: ==9921== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9921== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9921== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==9921== Parent PID: 9891 [INFO]: ==9921== [INFO]: --9921-- [INFO]: --9921-- Valgrind options: [INFO]: --9921-- -v [INFO]: --9921-- --trace-children=yes [INFO]: --9921-- --track-fds=yes [INFO]: --9921-- --leak-check=full [INFO]: --9921-- --show-possibly-lost=no [INFO]: --9921-- --show-leak-kinds=definite [INFO]: --9921-- --errors-for-leak-kinds=definite [INFO]: --9921-- --main-stacksize=16777216 [INFO]: --9921-- --gen-suppressions=all [INFO]: --9921-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: --9921-- --error-exitcode=123 [INFO]: --9921-- Contents of /proc/version: [INFO]: --9921-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9921-- [INFO]: --9921-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9921-- Page sizes: currently 4096, max supported 4096 [INFO]: --9921-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --9921-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9921-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9921-- might be shown as UnknownInlinedFun [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9921-- object doesn't have a dynamic symbol table [INFO]: --9921-- Scheduler: using generic scheduler lock implementation. [INFO]: --9921-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9921== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9921-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9921== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9921-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9921== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9921-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9921== [INFO]: ==9921== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9921== don't want to do, unless you know exactly what you're doing, [INFO]: ==9921== or are doing some strange experiment): [INFO]: ==9921== /usr/libexec/valgrind/../../bin/vgdb --pid=9921 ...command... [INFO]: ==9921== [INFO]: ==9921== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9921== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==9921== and then give GDB the following command [INFO]: ==9921== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9921 [INFO]: ==9921== --pid is optional if only one valgrind process is running [INFO]: ==9921== [INFO]: --9921-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9921-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9921-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9921-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9921-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9921-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9921-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9921-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9921-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9921-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9921-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9921-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9921-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9921-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9921-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9921-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9921-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9921-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9921-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9921== Preferring higher priority redirection: [INFO]: --9921-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9921-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9921-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9921-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9921-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9921-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9921-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9921-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9921-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9921-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9921-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9921-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9921-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9921-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9921-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9921-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9921-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9921-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9921-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9921-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9921-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9921-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9921-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9921-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9921== [INFO]: ==9921== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9921== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: ==9921== [INFO]: ==9921== [INFO]: ==9921== (No origin, error cannot be suppressed) [INFO]: ==9921== [INFO]: ==9921== HEAP SUMMARY: [INFO]: ==9921== in use at exit: 0 bytes in 0 blocks [INFO]: ==9921== total heap usage: 4,639 allocs, 4,639 frees, 1,763,340 bytes allocated [INFO]: ==9921== [INFO]: ==9921== All heap blocks were freed -- no leaks are possible [INFO]: ==9921== [INFO]: ==9921== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3 =================================== FAILURES =================================== __________________________ TC.test_sigtool_00_version __________________________ self = def test_sigtool_00_version(self): self.step_name('sigtool version test') self.log.warning('VG: {}'.format(os.getenv("VG"))) command = '{valgrind} {valgrind_args} {sigtool} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:78: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9895== Memcheck, a memory error detector [INFO]: ==9895== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9895== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9895== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool -V [INFO]: ==9895== Parent PID: 9891 [INFO]: ==9895== [INFO]: --9895-- [INFO]: --9895-- Valgrind options: [INFO]: --9895-- -v [INFO]: --9895-- --trace-children=yes [INFO]: --9895-- --track-fds=yes [INFO]: --9895-- --leak-check=full [INFO]: --9895-- --show-possibly-lost=no [INFO]: --9895-- --show-leak-kinds=definite [INFO]: --9895-- --errors-for-leak-kinds=definite [INFO]: --9895-- --main-stacksize=16777216 [INFO]: --9895-- --gen-suppressions=all [INFO]: --9895-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: --9895-- --error-exitcode=123 [INFO]: --9895-- Contents of /proc/version: [INFO]: --9895-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9895-- [INFO]: --9895-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9895-- Page sizes: currently 4096, max supported 4096 [INFO]: --9895-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --9895-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9895-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9895-- might be shown as UnknownInlinedFun [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9895-- object doesn't have a dynamic symbol table [INFO]: --9895-- Scheduler: using generic scheduler lock implementation. [INFO]: --9895-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9895-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9895== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9895-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9895== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9895-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9895== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9895-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9895== [INFO]: ==9895== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9895== don't want to do, unless you know exactly what you're doing, [INFO]: ==9895== or are doing some strange experiment): [INFO]: ==9895== /usr/libexec/valgrind/../../bin/vgdb --pid=9895 ...command... [INFO]: ==9895== [INFO]: ==9895== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9895== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==9895== and then give GDB the following command [INFO]: ==9895== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9895 [INFO]: ==9895== --pid is optional if only one valgrind process is running [INFO]: ==9895== [INFO]: --9895-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9895-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9895-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9895-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9895-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9895-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9895-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9895-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9895-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9895-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9895-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9895-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9895-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9895-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9895-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9895-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9895-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9895-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9895-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9895-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9895-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9895== Preferring higher priority redirection: [INFO]: --9895-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9895-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9895-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9895-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9895== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9895-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9895-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9895-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9895-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9895-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9895-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9895-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9895-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9895-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9895-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9895-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9895-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9895-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9895-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9895-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: ==9895== [INFO]: ==9895== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9895== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: ==9895== [INFO]: ==9895== [INFO]: ==9895== (No origin, error cannot be suppressed) [INFO]: ==9895== [INFO]: ==9895== HEAP SUMMARY: [INFO]: ==9895== in use at exit: 0 bytes in 0 blocks [INFO]: ==9895== total heap usage: 260 allocs, 260 frees, 16,400 bytes allocated [INFO]: ==9895== [INFO]: ==9895== All heap blocks were freed -- no leaks are possible [INFO]: ==9895== [INFO]: ==9895== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_sigtool_01_run_cdiff _________________________ self = def test_sigtool_01_run_cdiff(self): self.step_name('sigtool run cdiff test') # In addition to testing that running a cdiff works, this also tests a regression. # Applying test-3.cdiff was failing because UNLINK wasn't properly implemented (since 0.105.0). # We didn't notice it because logging wasn't enabled, and leniency in our freshclam cdiff process # allowed the test to pass without noticing the bug. self.log.warning('VG: {}'.format(os.getenv("VG"))) (TC.path_tmp / 'run_cdiff').mkdir() os.chdir(str(TC.path_tmp / 'run_cdiff')) command = '{valgrind} {valgrind_args} {sigtool} --unpack {cvd}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cvd=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-1.cvd' ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:103: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool run cdiff test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9910== Memcheck, a memory error detector [INFO]: ==9910== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9910== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9910== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==9910== Parent PID: 9891 [INFO]: ==9910== [INFO]: --9910-- [INFO]: --9910-- Valgrind options: [INFO]: --9910-- -v [INFO]: --9910-- --trace-children=yes [INFO]: --9910-- --track-fds=yes [INFO]: --9910-- --leak-check=full [INFO]: --9910-- --show-possibly-lost=no [INFO]: --9910-- --show-leak-kinds=definite [INFO]: --9910-- --errors-for-leak-kinds=definite [INFO]: --9910-- --main-stacksize=16777216 [INFO]: --9910-- --gen-suppressions=all [INFO]: --9910-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9910-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: --9910-- --error-exitcode=123 [INFO]: --9910-- Contents of /proc/version: [INFO]: --9910-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9910-- [INFO]: --9910-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9910-- Page sizes: currently 4096, max supported 4096 [INFO]: --9910-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9910-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --9910-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9910-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9910-- might be shown as UnknownInlinedFun [INFO]: --9910-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9910-- object doesn't have a dynamic symbol table [INFO]: --9910-- Scheduler: using generic scheduler lock implementation. [INFO]: --9910-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9910-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9910== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9910-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9910== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9910-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9910== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9910-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9910== [INFO]: ==9910== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9910== don't want to do, unless you know exactly what you're doing, [INFO]: ==9910== or are doing some strange experiment): [INFO]: ==9910== /usr/libexec/valgrind/../../bin/vgdb --pid=9910 ...command... [INFO]: ==9910== [INFO]: ==9910== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9910== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==9910== and then give GDB the following command [INFO]: ==9910== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9910 [INFO]: ==9910== --pid is optional if only one valgrind process is running [INFO]: ==9910== [INFO]: --9910-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9910-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9910-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9910-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9910-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9910-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9910-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9910-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9910-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9910-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9910-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9910-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9910-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9910-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9910-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9910-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9910-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9910-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9910-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9910-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9910-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9910-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9910-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9910== Preferring higher priority redirection: [INFO]: --9910-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9910-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9910-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9910-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9910== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9910-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9910-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9910-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9910-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9910-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9910-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9910-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9910-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9910-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9910-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9910-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9910-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9910-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9910-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9910-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9910-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9910-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9910-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9910-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9910-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9910-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9910-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9910-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9910== [INFO]: ==9910== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9910== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: ==9910== [INFO]: ==9910== [INFO]: ==9910== (No origin, error cannot be suppressed) [INFO]: ==9910== [INFO]: ==9910== HEAP SUMMARY: [INFO]: ==9910== in use at exit: 0 bytes in 0 blocks [INFO]: ==9910== total heap usage: 4,639 allocs, 4,639 frees, 1,763,340 bytes allocated [INFO]: ==9910== [INFO]: ==9910== All heap blocks were freed -- no leaks are possible [INFO]: ==9910== [INFO]: ==9910== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ TC.test_sigtool_02_rust_logs_messages_work __________________ self = def test_sigtool_02_rust_logs_messages_work(self): self.step_name('sigtool test rust log macros work') # In addition to testing that running a cdiff works, this also tests a regression. # Applying test-3.cdiff was failing because UNLINK wasn't properly implemented (since 0.105.0). # We didn't notice it because logging wasn't enabled, and leniency in our freshclam cdiff process # allowed the test to pass without noticing the bug. self.log.warning('VG: {}'.format(os.getenv("VG"))) (TC.path_tmp / 'run_cdiff_log').mkdir() os.chdir(str(TC.path_tmp / 'run_cdiff_log')) command = '{valgrind} {valgrind_args} {sigtool} --unpack {cvd}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cvd=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-1.cvd' ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/sigtool_test.py:142: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool test rust log macros work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9921== Memcheck, a memory error detector [INFO]: ==9921== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9921== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9921== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/freshclam_testfiles/test-1.cvd [INFO]: ==9921== Parent PID: 9891 [INFO]: ==9921== [INFO]: --9921-- [INFO]: --9921-- Valgrind options: [INFO]: --9921-- -v [INFO]: --9921-- --trace-children=yes [INFO]: --9921-- --track-fds=yes [INFO]: --9921-- --leak-check=full [INFO]: --9921-- --show-possibly-lost=no [INFO]: --9921-- --show-leak-kinds=definite [INFO]: --9921-- --errors-for-leak-kinds=definite [INFO]: --9921-- --main-stacksize=16777216 [INFO]: --9921-- --gen-suppressions=all [INFO]: --9921-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: --9921-- --error-exitcode=123 [INFO]: --9921-- Contents of /proc/version: [INFO]: --9921-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9921-- [INFO]: --9921-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9921-- Page sizes: currently 4096, max supported 4096 [INFO]: --9921-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: --9921-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9921-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9921-- might be shown as UnknownInlinedFun [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9921-- object doesn't have a dynamic symbol table [INFO]: --9921-- Scheduler: using generic scheduler lock implementation. [INFO]: --9921-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9921-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9921== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9921-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9921== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9921-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9921== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9921-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9921== [INFO]: ==9921== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9921== don't want to do, unless you know exactly what you're doing, [INFO]: ==9921== or are doing some strange experiment): [INFO]: ==9921== /usr/libexec/valgrind/../../bin/vgdb --pid=9921 ...command... [INFO]: ==9921== [INFO]: ==9921== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9921== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/sigtool/sigtool [INFO]: ==9921== and then give GDB the following command [INFO]: ==9921== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9921 [INFO]: ==9921== --pid is optional if only one valgrind process is running [INFO]: ==9921== [INFO]: --9921-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9921-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9921-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9921-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9921-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9921-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9921-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9921-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9921-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9921-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9921-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9921-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9921-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9921-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9921-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9921-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9921-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9921-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9921-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9921-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9921-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9921== Preferring higher priority redirection: [INFO]: --9921-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9921-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9921-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9921-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9921== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9921-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9921-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9921-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9921-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9921-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9921-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9921-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9921-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9921-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9921-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9921-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9921-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9921-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9921-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9921-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9921-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9921-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9921-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9921-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9921-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9921-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9921-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9921-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9921== [INFO]: ==9921== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9921== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-wzbpxxv3/valgrind.log [INFO]: ==9921== [INFO]: ==9921== [INFO]: ==9921== (No origin, error cannot be suppressed) [INFO]: ==9921== [INFO]: ==9921== HEAP SUMMARY: [INFO]: ==9921== in use at exit: 0 bytes in 0 blocks [INFO]: ==9921== total heap usage: 4,639 allocs, 4,639 frees, 1,763,340 bytes allocated [INFO]: ==9921== [INFO]: ==9921== All heap blocks were freed -- no leaks are possible [INFO]: ==9921== [INFO]: ==9921== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED sigtool_test.py::TC::test_sigtool_00_version - AssertionError: assert ... FAILED sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: asser... FAILED sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Asserti... ERROR sigtool_test.py::TC::test_sigtool_00_version - AssertionError: Valgrind... ERROR sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: Valgri... ERROR sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Assertio... ========================= 3 failed, 3 errors in 4.90s ========================== 3/5 Test #7: clamd_valgrind ...................***Failed 64.63 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 11 items clamd_test.py::TC::test_clamd_00_version FAILED [ 9%] clamd_test.py::TC::test_clamd_00_version ERROR [ 9%] clamd_test.py::TC::test_clamd_01_ping_pong FAILED [ 18%] clamd_test.py::TC::test_clamd_02_clamdscan_version FAILED [ 27%] clamd_test.py::TC::test_clamd_03_reload FAILED [ 36%] clamd_test.py::TC::test_clamd_04_all_testfiles FAILED [ 45%] clamd_test.py::TC::test_clamd_05_check_clamd FAILED [ 54%] clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off FAILED [ 63%] clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on FAILED [ 72%] clamd_test.py::TC::test_clamd_08_VirusEvent FAILED [ 81%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath FAILED [ 90%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath ERROR [ 90%] clamd_test.py::TC::test_clamd_10_allmatch_not_sticky FAILED [100%] ==================================== ERRORS ==================================== ________________ ERROR at teardown of TC.test_clamd_00_version _________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamd version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9761== Memcheck, a memory error detector [INFO]: ==9761== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9761== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9761== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf -V [INFO]: ==9761== Parent PID: 9754 [INFO]: ==9761== [INFO]: --9761-- [INFO]: --9761-- Valgrind options: [INFO]: --9761-- -v [INFO]: --9761-- --trace-children=yes [INFO]: --9761-- --track-fds=yes [INFO]: --9761-- --leak-check=full [INFO]: --9761-- --show-possibly-lost=no [INFO]: --9761-- --show-leak-kinds=definite [INFO]: --9761-- --errors-for-leak-kinds=definite [INFO]: --9761-- --main-stacksize=16777216 [INFO]: --9761-- --gen-suppressions=all [INFO]: --9761-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9761-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9761-- --error-exitcode=123 [INFO]: --9761-- Contents of /proc/version: [INFO]: --9761-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9761-- [INFO]: --9761-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9761-- Page sizes: currently 4096, max supported 4096 [INFO]: --9761-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9761-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9761-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9761-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9761-- might be shown as UnknownInlinedFun [INFO]: --9761-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9761-- object doesn't have a dynamic symbol table [INFO]: --9761-- Scheduler: using generic scheduler lock implementation. [INFO]: --9761-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9761-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9761== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9761-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9761== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9761-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9761== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9761-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9761== [INFO]: ==9761== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9761== don't want to do, unless you know exactly what you're doing, [INFO]: ==9761== or are doing some strange experiment): [INFO]: ==9761== /usr/libexec/valgrind/../../bin/vgdb --pid=9761 ...command... [INFO]: ==9761== [INFO]: ==9761== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9761== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9761== and then give GDB the following command [INFO]: ==9761== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9761 [INFO]: ==9761== --pid is optional if only one valgrind process is running [INFO]: ==9761== [INFO]: --9761-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9761-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9761-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9761-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9761-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9761-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9761-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9761-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9761-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9761-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9761-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9761-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9761-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9761-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9761-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9761-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9761-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9761-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9761-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9761-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9761-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9761-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9761-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9761-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9761-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9761== Preferring higher priority redirection: [INFO]: --9761-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9761-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9761-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9761-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9761-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9761-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9761-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9761-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9761-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9761-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9761-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9761-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9761-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9761-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9761-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9761-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9761-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9761-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9761-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9761-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9761-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9761-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9761-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9761-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9761-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9761-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9761-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9761== [INFO]: ==9761== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9761== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9761== [INFO]: ==9761== [INFO]: ==9761== (No origin, error cannot be suppressed) [INFO]: ==9761== [INFO]: ==9761== HEAP SUMMARY: [INFO]: ==9761== in use at exit: 0 bytes in 0 blocks [INFO]: ==9761== total heap usage: 484 allocs, 484 frees, 58,652 bytes allocated [INFO]: ==9761== [INFO]: ==9761== All heap blocks were freed -- no leaks are possible [INFO]: ==9761== [INFO]: ==9761== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________ ERROR at teardown of TC.test_clamd_09_clamdscan_ExcludePath __________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ ExcludePath [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:23:33 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:33 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:33 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:33 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:33 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:33 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:33 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:33 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:33 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:33 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:33 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:33 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:33 2024 -> Archive support enabled. Mon Apr 29 21:23:33 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:33 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:33 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:33 2024 -> ELF support enabled. Mon Apr 29 21:23:33 2024 -> Mail files support enabled. Mon Apr 29 21:23:33 2024 -> OLE2 support enabled. Mon Apr 29 21:23:33 2024 -> PDF support enabled. Mon Apr 29 21:23:33 2024 -> SWF support enabled. Mon Apr 29 21:23:33 2024 -> HTML support enabled. Mon Apr 29 21:23:33 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:33 2024 -> HWP3 support enabled. Mon Apr 29 21:23:33 2024 -> Heuristic: precedence enabled Mon Apr 29 21:23:33 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:33 2024 -> Listening daemon: PID: 9981 Mon Apr 29 21:23:33 2024 -> MaxQueue set to: 800 Mon Apr 29 21:23:34 2024 -> Not supported file type: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.socket Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/test-clamd.log: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.pid: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/clamav.hdb: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/daily.pdb: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 4 Time: 0.044 sec (0 m 0 s) Start Date: 2024:04:29 21:23:34 End Date: 2024:04:29 21:23:34 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9983== Memcheck, a memory error detector [INFO]: ==9983== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9983== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9983== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9983== Parent PID: 9754 [INFO]: ==9983== [INFO]: --9983-- [INFO]: --9983-- Valgrind options: [INFO]: --9983-- -v [INFO]: --9983-- --trace-children=yes [INFO]: --9983-- --track-fds=yes [INFO]: --9983-- --leak-check=full [INFO]: --9983-- --show-possibly-lost=no [INFO]: --9983-- --show-leak-kinds=definite [INFO]: --9983-- --errors-for-leak-kinds=definite [INFO]: --9983-- --main-stacksize=16777216 [INFO]: --9983-- --gen-suppressions=all [INFO]: --9983-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9983-- --error-exitcode=123 [INFO]: --9983-- Contents of /proc/version: [INFO]: --9983-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9983-- [INFO]: --9983-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9983-- Page sizes: currently 4096, max supported 4096 [INFO]: --9983-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --9983-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9983-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9983-- might be shown as UnknownInlinedFun [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9983-- object doesn't have a dynamic symbol table [INFO]: --9983-- Scheduler: using generic scheduler lock implementation. [INFO]: --9983-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9983== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== [INFO]: ==9983== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9983== don't want to do, unless you know exactly what you're doing, [INFO]: ==9983== or are doing some strange experiment): [INFO]: ==9983== /usr/libexec/valgrind/../../bin/vgdb --pid=9983 ...command... [INFO]: ==9983== [INFO]: ==9983== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9983== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==9983== and then give GDB the following command [INFO]: ==9983== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9983 [INFO]: ==9983== --pid is optional if only one valgrind process is running [INFO]: ==9983== [INFO]: --9983-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9983-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9983-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9983-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9983-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9983-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9983-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9983-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9983-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9983-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9983-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9983-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9983-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9983-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9983-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9983-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9983-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9983-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== Preferring higher priority redirection: [INFO]: --9983-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9983-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9983-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9983-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9983-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9983-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9983-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9983-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9983-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9983-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9983-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9983-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9983-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9983-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9983-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9983-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9983-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9983-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9983-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9983-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9983-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: ==9983== [INFO]: ==9983== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9983== Open AF_UNIX socket 4: [INFO]: ==9983== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9983== by 0x10D4C7: dconnect (clamdcom.c:279) [INFO]: ==9983== by 0x110B0B: ping_clamd (client.c:223) [INFO]: ==9983== by 0x10B54D: UnknownInlinedFun (client.c:398) [INFO]: ==9983== by 0x10B54D: main (clamdscan.c:169) [INFO]: ==9983== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9983== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9983== [INFO]: ==9983== [INFO]: ==9983== (No origin, error cannot be suppressed) [INFO]: ==9983== [INFO]: ==9983== HEAP SUMMARY: [INFO]: ==9983== in use at exit: 0 bytes in 0 blocks [INFO]: ==9983== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==9983== [INFO]: ==9983== All heap blocks were freed -- no leaks are possible [INFO]: ==9983== [INFO]: ==9983== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Mon Apr 29 21:23:34 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:34 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:34 2024 -> Pid file removed. Mon Apr 29 21:23:34 2024 -> --- Stopped at Mon Apr 29 21:23:34 2024 Mon Apr 29 21:23:34 2024 -> Closing the main sockets. Mon Apr 29 21:23:34 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9983== Memcheck, a memory error detector [INFO]: ==9983== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9983== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9983== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9983== Parent PID: 9754 [INFO]: ==9983== [INFO]: --9983-- [INFO]: --9983-- Valgrind options: [INFO]: --9983-- -v [INFO]: --9983-- --trace-children=yes [INFO]: --9983-- --track-fds=yes [INFO]: --9983-- --leak-check=full [INFO]: --9983-- --show-possibly-lost=no [INFO]: --9983-- --show-leak-kinds=definite [INFO]: --9983-- --errors-for-leak-kinds=definite [INFO]: --9983-- --main-stacksize=16777216 [INFO]: --9983-- --gen-suppressions=all [INFO]: --9983-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9983-- --error-exitcode=123 [INFO]: --9983-- Contents of /proc/version: [INFO]: --9983-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9983-- [INFO]: --9983-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9983-- Page sizes: currently 4096, max supported 4096 [INFO]: --9983-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --9983-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9983-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9983-- might be shown as UnknownInlinedFun [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9983-- object doesn't have a dynamic symbol table [INFO]: --9983-- Scheduler: using generic scheduler lock implementation. [INFO]: --9983-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9983== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== [INFO]: ==9983== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9983== don't want to do, unless you know exactly what you're doing, [INFO]: ==9983== or are doing some strange experiment): [INFO]: ==9983== /usr/libexec/valgrind/../../bin/vgdb --pid=9983 ...command... [INFO]: ==9983== [INFO]: ==9983== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9983== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==9983== and then give GDB the following command [INFO]: ==9983== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9983 [INFO]: ==9983== --pid is optional if only one valgrind process is running [INFO]: ==9983== [INFO]: --9983-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9983-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9983-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9983-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9983-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9983-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9983-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9983-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9983-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9983-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9983-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9983-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9983-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9983-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9983-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9983-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9983-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9983-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== Preferring higher priority redirection: [INFO]: --9983-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9983-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9983-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9983-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9983-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9983-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9983-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9983-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9983-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9983-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9983-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9983-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9983-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9983-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9983-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9983-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9983-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9983-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9983-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9983-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9983-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: ==9983== [INFO]: ==9983== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9983== Open AF_UNIX socket 4: [INFO]: ==9983== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9983== by 0x10D4C7: dconnect (clamdcom.c:279) [INFO]: ==9983== by 0x110B0B: ping_clamd (client.c:223) [INFO]: ==9983== by 0x10B54D: UnknownInlinedFun (client.c:398) [INFO]: ==9983== by 0x10B54D: main (clamdscan.c:169) [INFO]: ==9983== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9983== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9983== [INFO]: ==9983== [INFO]: ==9983== (No origin, error cannot be suppressed) [INFO]: ==9983== [INFO]: ==9983== HEAP SUMMARY: [INFO]: ==9983== in use at exit: 0 bytes in 0 blocks [INFO]: ==9983== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==9983== [INFO]: ==9983== All heap blocks were freed -- no leaks are possible [INFO]: ==9983== [INFO]: ==9983== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) =================================== FAILURES =================================== ___________________________ TC.test_clamd_00_version ___________________________ self = def test_clamd_00_version(self): ''' verify that clamd -v returns the version ''' self.step_name('clamd version test') command = '{valgrind} {valgrind_args} {clamd} --config-file={clamd_config} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamd=TC.clamd, clamd_config=TC.clamd_config) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:263: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamd version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9761== Memcheck, a memory error detector [INFO]: ==9761== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9761== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9761== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf -V [INFO]: ==9761== Parent PID: 9754 [INFO]: ==9761== [INFO]: --9761-- [INFO]: --9761-- Valgrind options: [INFO]: --9761-- -v [INFO]: --9761-- --trace-children=yes [INFO]: --9761-- --track-fds=yes [INFO]: --9761-- --leak-check=full [INFO]: --9761-- --show-possibly-lost=no [INFO]: --9761-- --show-leak-kinds=definite [INFO]: --9761-- --errors-for-leak-kinds=definite [INFO]: --9761-- --main-stacksize=16777216 [INFO]: --9761-- --gen-suppressions=all [INFO]: --9761-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9761-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9761-- --error-exitcode=123 [INFO]: --9761-- Contents of /proc/version: [INFO]: --9761-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9761-- [INFO]: --9761-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9761-- Page sizes: currently 4096, max supported 4096 [INFO]: --9761-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9761-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9761-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9761-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9761-- might be shown as UnknownInlinedFun [INFO]: --9761-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9761-- object doesn't have a dynamic symbol table [INFO]: --9761-- Scheduler: using generic scheduler lock implementation. [INFO]: --9761-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9761-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9761== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9761-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9761== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9761-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9761== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9761-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9761== [INFO]: ==9761== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9761== don't want to do, unless you know exactly what you're doing, [INFO]: ==9761== or are doing some strange experiment): [INFO]: ==9761== /usr/libexec/valgrind/../../bin/vgdb --pid=9761 ...command... [INFO]: ==9761== [INFO]: ==9761== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9761== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9761== and then give GDB the following command [INFO]: ==9761== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9761 [INFO]: ==9761== --pid is optional if only one valgrind process is running [INFO]: ==9761== [INFO]: --9761-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9761-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9761-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9761-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9761-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9761-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9761-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9761-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9761-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9761-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9761-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9761-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9761-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9761-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9761-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9761-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9761-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9761-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9761-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9761-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9761-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9761-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9761-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9761-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9761-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9761== Preferring higher priority redirection: [INFO]: --9761-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9761-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9761-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9761-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9761== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9761-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9761-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9761-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9761-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9761-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9761-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9761-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9761-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9761-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9761-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9761-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9761-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9761-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9761-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9761-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9761-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9761-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9761-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9761-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9761-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9761-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9761-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9761-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9761-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9761-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9761-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9761== [INFO]: ==9761== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9761== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9761== [INFO]: ==9761== [INFO]: ==9761== (No origin, error cannot be suppressed) [INFO]: ==9761== [INFO]: ==9761== HEAP SUMMARY: [INFO]: ==9761== in use at exit: 0 bytes in 0 blocks [INFO]: ==9761== total heap usage: 484 allocs, 484 frees, 58,652 bytes allocated [INFO]: ==9761== [INFO]: ==9761== All heap blocks were freed -- no leaks are possible [INFO]: ==9761== [INFO]: ==9761== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_clamd_01_ping_pong __________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan PING PONG feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:45 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:22:45 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:22:45 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:22:45 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:22:45 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:22:45 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:22:45 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:22:45 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:22:45 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:22:45 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:22:45 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:22:45 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:22:45 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:22:45 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:22:45 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:22:45 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:22:45 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:22:45 2024 -> Archive support enabled. Mon Apr 29 21:22:45 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:22:45 2024 -> Heuristic alerts enabled. Mon Apr 29 21:22:45 2024 -> Portable Executable support enabled. Mon Apr 29 21:22:45 2024 -> ELF support enabled. Mon Apr 29 21:22:45 2024 -> Mail files support enabled. Mon Apr 29 21:22:45 2024 -> OLE2 support enabled. Mon Apr 29 21:22:45 2024 -> PDF support enabled. Mon Apr 29 21:22:45 2024 -> SWF support enabled. Mon Apr 29 21:22:45 2024 -> HTML support enabled. Mon Apr 29 21:22:45 2024 -> XMLDOCS support enabled. Mon Apr 29 21:22:45 2024 -> HWP3 support enabled. Mon Apr 29 21:22:45 2024 -> Self checking every 600 seconds. Mon Apr 29 21:22:45 2024 -> Listening daemon: PID: 9770 Mon Apr 29 21:22:45 2024 -> MaxQueue set to: 800 [DEBUG]: Exit code: 0 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PONG Mon Apr 29 21:22:45 2024 -> Waiting for all threads to finish ERROR: Mon Apr 29 21:22:45 2024 -> write syncpipe failed Mon Apr 29 21:22:45 2024 -> Shutting down the main sockets. Mon Apr 29 21:22:45 2024 -> Pid file removed. Mon Apr 29 21:22:45 2024 -> --- Stopped at Mon Apr 29 21:22:45 2024 Mon Apr 29 21:22:45 2024 -> Closing the main sockets. Mon Apr 29 21:22:45 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9770== Memcheck, a memory error detector [INFO]: ==9770== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9770== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9770== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9770== Parent PID: 9754 [INFO]: ==9770== [INFO]: --9770-- [INFO]: --9770-- Valgrind options: [INFO]: --9770-- -v [INFO]: --9770-- --trace-children=yes [INFO]: --9770-- --track-fds=yes [INFO]: --9770-- --leak-check=full [INFO]: --9770-- --show-possibly-lost=no [INFO]: --9770-- --show-leak-kinds=definite [INFO]: --9770-- --errors-for-leak-kinds=definite [INFO]: --9770-- --main-stacksize=16777216 [INFO]: --9770-- --gen-suppressions=all [INFO]: --9770-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9770-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9770-- --error-exitcode=123 [INFO]: --9770-- Contents of /proc/version: [INFO]: --9770-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9770-- [INFO]: --9770-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9770-- Page sizes: currently 4096, max supported 4096 [INFO]: --9770-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9770-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9770-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9770-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9770-- might be shown as UnknownInlinedFun [INFO]: --9770-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9770-- object doesn't have a dynamic symbol table [INFO]: --9770-- Scheduler: using generic scheduler lock implementation. [INFO]: --9770-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9770-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9770== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9770-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9770== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9770-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9770== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9770-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9770== [INFO]: ==9770== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9770== don't want to do, unless you know exactly what you're doing, [INFO]: ==9770== or are doing some strange experiment): [INFO]: ==9770== /usr/libexec/valgrind/../../bin/vgdb --pid=9770 ...command... [INFO]: ==9770== [INFO]: ==9770== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9770== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9770== and then give GDB the following command [INFO]: ==9770== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9770 [INFO]: ==9770== --pid is optional if only one valgrind process is running [INFO]: ==9770== [INFO]: --9770-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9770-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9770-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9770-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9770-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9770-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9770-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9770-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9770-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9770-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9770-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9770-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9770-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9770-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9770-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9770-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9770-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9770-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9770-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9770-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9770-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9770-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9770-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9770-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9770-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9770-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9770== Preferring higher priority redirection: [INFO]: --9770-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9770-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9770-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9770-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9770-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9770-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9770-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9770-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9770== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9770-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9770-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9770-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9770-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9770-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9770-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9770-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9770-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9770-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9770-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9770-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9770-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9770-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9770-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9770-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9770-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9770-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9770-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9770-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9770-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9770-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9770-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9770-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9770-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9770-- REDIR: 0x4f53920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9770-- REDIR: 0x5011c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9770-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9770-- REDIR: 0x5012d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9770== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x10DF41: main (clamd.c:844) [INFO]: ==9770== Previously closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9770== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9770== Originally opened [INFO]: ==9770== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9770== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9770== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x10DF41: main (clamd.c:844) [INFO]: ==9770== Previously closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9770== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9770== Originally opened [INFO]: ==9770== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9770== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9770== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x10DF41: main (clamd.c:844) [INFO]: ==9770== Previously closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9770== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9770== Originally opened [INFO]: ==9770== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9770== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9770-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9770-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9770-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9770== [INFO]: ==9770== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9770== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9770== [INFO]: ==9770== [INFO]: ==9770== (No origin, error cannot be suppressed) [INFO]: ==9770== [INFO]: ==9770== HEAP SUMMARY: [INFO]: ==9770== in use at exit: 0 bytes in 0 blocks [INFO]: ==9770== total heap usage: 5,108 allocs, 5,108 frees, 976,567 bytes allocated [INFO]: ==9770== [INFO]: ==9770== All heap blocks were freed -- no leaks are possible [INFO]: ==9770== [INFO]: ==9770== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9770== [INFO]: ==9770== 1 errors in context 1 of 4: [INFO]: ==9770== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x10DF41: main (clamd.c:844) [INFO]: ==9770== Previously closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9770== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9770== Originally opened [INFO]: ==9770== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9770== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9770== [INFO]: ==9770== 1 errors in context 2 of 4: [INFO]: ==9770== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x10DF41: main (clamd.c:844) [INFO]: ==9770== Previously closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9770== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9770== Originally opened [INFO]: ==9770== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9770== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9770== [INFO]: ==9770== 1 errors in context 3 of 4: [INFO]: ==9770== File descriptor 4: /proc/self/status is already closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x10DF41: main (clamd.c:844) [INFO]: ==9770== Previously closed [INFO]: ==9770== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9770== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9770== Originally opened [INFO]: ==9770== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9770== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9770== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9770== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ______________________ TC.test_clamd_02_clamdscan_version ______________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan version feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:47 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:22:47 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:22:47 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:22:47 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:22:47 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:22:47 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:22:47 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:22:47 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:22:47 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:22:47 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:22:47 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:22:47 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:22:47 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:22:47 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:22:47 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:22:47 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:22:47 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:22:47 2024 -> Archive support enabled. Mon Apr 29 21:22:47 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:22:47 2024 -> Heuristic alerts enabled. Mon Apr 29 21:22:47 2024 -> Portable Executable support enabled. Mon Apr 29 21:22:47 2024 -> ELF support enabled. Mon Apr 29 21:22:47 2024 -> Mail files support enabled. Mon Apr 29 21:22:47 2024 -> OLE2 support enabled. Mon Apr 29 21:22:47 2024 -> PDF support enabled. Mon Apr 29 21:22:47 2024 -> SWF support enabled. Mon Apr 29 21:22:47 2024 -> HTML support enabled. Mon Apr 29 21:22:47 2024 -> XMLDOCS support enabled. Mon Apr 29 21:22:47 2024 -> HWP3 support enabled. Mon Apr 29 21:22:47 2024 -> Self checking every 600 seconds. Mon Apr 29 21:22:47 2024 -> Listening daemon: PID: 9777 Mon Apr 29 21:22:47 2024 -> MaxQueue set to: 800 [DEBUG]: Exit code: 0 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PONG [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --version -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:48 2024 -> Client disconnected (FD 11) [DEBUG]: Exit code: 0 [DEBUG]: stdout: ClamAV 1.0.6 Mon Apr 29 21:22:48 2024 -> Waiting for all threads to finish Mon Apr 29 21:22:48 2024 -> Shutting down the main sockets. Mon Apr 29 21:22:48 2024 -> Pid file removed. Mon Apr 29 21:22:48 2024 -> --- Stopped at Mon Apr 29 21:22:48 2024 Mon Apr 29 21:22:48 2024 -> Closing the main sockets. Mon Apr 29 21:22:48 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9777== Memcheck, a memory error detector [INFO]: ==9777== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9777== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9777== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9777== Parent PID: 9754 [INFO]: ==9777== [INFO]: --9777-- [INFO]: --9777-- Valgrind options: [INFO]: --9777-- -v [INFO]: --9777-- --trace-children=yes [INFO]: --9777-- --track-fds=yes [INFO]: --9777-- --leak-check=full [INFO]: --9777-- --show-possibly-lost=no [INFO]: --9777-- --show-leak-kinds=definite [INFO]: --9777-- --errors-for-leak-kinds=definite [INFO]: --9777-- --main-stacksize=16777216 [INFO]: --9777-- --gen-suppressions=all [INFO]: --9777-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9777-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9777-- --error-exitcode=123 [INFO]: --9777-- Contents of /proc/version: [INFO]: --9777-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9777-- [INFO]: --9777-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9777-- Page sizes: currently 4096, max supported 4096 [INFO]: --9777-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9777-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9777-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9777-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9777-- might be shown as UnknownInlinedFun [INFO]: --9777-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9777-- object doesn't have a dynamic symbol table [INFO]: --9777-- Scheduler: using generic scheduler lock implementation. [INFO]: --9777-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9777-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9777== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9777-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9777== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9777-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9777== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9777-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9777== [INFO]: ==9777== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9777== don't want to do, unless you know exactly what you're doing, [INFO]: ==9777== or are doing some strange experiment): [INFO]: ==9777== /usr/libexec/valgrind/../../bin/vgdb --pid=9777 ...command... [INFO]: ==9777== [INFO]: ==9777== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9777== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9777== and then give GDB the following command [INFO]: ==9777== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9777 [INFO]: ==9777== --pid is optional if only one valgrind process is running [INFO]: ==9777== [INFO]: --9777-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9777-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9777-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9777-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9777-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9777-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9777-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9777-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9777-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9777-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9777-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9777-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9777-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9777-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9777-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9777-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9777-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9777-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9777-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9777-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9777-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9777-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9777-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9777-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9777-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9777-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9777== Preferring higher priority redirection: [INFO]: --9777-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9777-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9777-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9777-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9777-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9777-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9777-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9777-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9777== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9777-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9777-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9777-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9777-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9777-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9777-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9777-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9777-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9777-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9777-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9777-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9777-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9777-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9777-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9777-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9777-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9777-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9777-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9777-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9777-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9777-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9777-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9777-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9777-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9777-- REDIR: 0x4f53920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9777-- REDIR: 0x5011c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9777-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9777-- REDIR: 0x5012d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9777== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x10DF41: main (clamd.c:844) [INFO]: ==9777== Previously closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9777== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9777== Originally opened [INFO]: ==9777== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9777== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9777== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x10DF41: main (clamd.c:844) [INFO]: ==9777== Previously closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9777== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9777== Originally opened [INFO]: ==9777== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9777== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9777== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x10DF41: main (clamd.c:844) [INFO]: ==9777== Previously closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9777== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9777== Originally opened [INFO]: ==9777== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9777== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9777-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9777-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9777-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9777== [INFO]: ==9777== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9777== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9777== [INFO]: ==9777== [INFO]: ==9777== (No origin, error cannot be suppressed) [INFO]: ==9777== [INFO]: ==9777== HEAP SUMMARY: [INFO]: ==9777== in use at exit: 0 bytes in 0 blocks [INFO]: ==9777== total heap usage: 5,116 allocs, 5,116 frees, 981,072 bytes allocated [INFO]: ==9777== [INFO]: ==9777== All heap blocks were freed -- no leaks are possible [INFO]: ==9777== [INFO]: ==9777== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9777== [INFO]: ==9777== 1 errors in context 1 of 4: [INFO]: ==9777== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x10DF41: main (clamd.c:844) [INFO]: ==9777== Previously closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9777== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9777== Originally opened [INFO]: ==9777== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9777== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9777== [INFO]: ==9777== 1 errors in context 2 of 4: [INFO]: ==9777== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x10DF41: main (clamd.c:844) [INFO]: ==9777== Previously closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9777== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9777== Originally opened [INFO]: ==9777== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9777== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9777== [INFO]: ==9777== 1 errors in context 3 of 4: [INFO]: ==9777== File descriptor 4: /proc/self/status is already closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x10DF41: main (clamd.c:844) [INFO]: ==9777== Previously closed [INFO]: ==9777== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9777== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9777== Originally opened [INFO]: ==9777== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9777== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9777== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9777== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ___________________________ TC.test_clamd_03_reload ____________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test scan before & after reload [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:50 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:22:50 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:22:50 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:22:50 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:22:50 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:22:50 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:22:50 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:22:50 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:22:50 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:22:50 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:22:50 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:22:50 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:22:50 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:22:50 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:22:50 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:22:50 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:22:50 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:22:50 2024 -> Archive support enabled. Mon Apr 29 21:22:50 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:22:50 2024 -> Heuristic alerts enabled. Mon Apr 29 21:22:50 2024 -> Portable Executable support enabled. Mon Apr 29 21:22:50 2024 -> ELF support enabled. Mon Apr 29 21:22:50 2024 -> Mail files support enabled. Mon Apr 29 21:22:50 2024 -> OLE2 support enabled. Mon Apr 29 21:22:50 2024 -> PDF support enabled. Mon Apr 29 21:22:50 2024 -> SWF support enabled. Mon Apr 29 21:22:50 2024 -> HTML support enabled. Mon Apr 29 21:22:50 2024 -> XMLDOCS support enabled. Mon Apr 29 21:22:50 2024 -> HWP3 support enabled. Mon Apr 29 21:22:50 2024 -> Self checking every 600 seconds. Mon Apr 29 21:22:50 2024 -> Listening daemon: PID: 9786 Mon Apr 29 21:22:50 2024 -> MaxQueue set to: 800 Mon Apr 29 21:22:50 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 2.457 sec (0 m 2 s) Start Date: 2024:04:29 21:22:48 End Date: 2024:04:29 21:22:50 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:50 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.008 sec (0 m 0 s) Start Date: 2024:04:29 21:22:50 End Date: 2024:04:29 21:22:50 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:50 2024 -> instream(local): OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.011 sec (0 m 0 s) Start Date: 2024:04:29 21:22:50 End Date: 2024:04:29 21:22:50 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:50 2024 -> instream(local): OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.007 sec (0 m 0 s) Start Date: 2024:04:29 21:22:50 End Date: 2024:04:29 21:22:51 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.007 sec (0 m 0 s) Start Date: 2024:04:29 21:22:51 End Date: 2024:04:29 21:22:51 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:51 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK [DEBUG]: Exit code: 0 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: OK ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 0.002 sec (0 m 0 s) Start Date: 2024:04:29 21:22:51 End Date: 2024:04:29 21:22:51 [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --reload -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Exit code: 0 [DEBUG]: stdout: Mon Apr 29 21:22:51 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database Mon Apr 29 21:22:51 2024 -> Database correctly reloaded (203 signatures) Mon Apr 29 21:22:51 2024 -> Activating the newly loaded database... [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.025 sec (0 m 0 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:22:53 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.002 sec (0 m 0 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:22:53 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:53 2024 -> instream(local): ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.003 sec (0 m 0 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:22:53 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:53 2024 -> instream(local): ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.002 sec (0 m 0 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:22:53 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.002 sec (0 m 0 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:22:53 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:53 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.002 sec (0 m 0 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:22:53 [DEBUG]: stderr: Mon Apr 29 21:22:53 2024 -> Waiting for all threads to finish Mon Apr 29 21:22:53 2024 -> Shutting down the main sockets. Mon Apr 29 21:22:53 2024 -> Pid file removed. Mon Apr 29 21:22:53 2024 -> --- Stopped at Mon Apr 29 21:22:53 2024 Mon Apr 29 21:22:53 2024 -> Closing the main sockets. Mon Apr 29 21:22:53 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9786== Memcheck, a memory error detector [INFO]: ==9786== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9786== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9786== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9786== Parent PID: 9754 [INFO]: ==9786== [INFO]: --9786-- [INFO]: --9786-- Valgrind options: [INFO]: --9786-- -v [INFO]: --9786-- --trace-children=yes [INFO]: --9786-- --track-fds=yes [INFO]: --9786-- --leak-check=full [INFO]: --9786-- --show-possibly-lost=no [INFO]: --9786-- --show-leak-kinds=definite [INFO]: --9786-- --errors-for-leak-kinds=definite [INFO]: --9786-- --main-stacksize=16777216 [INFO]: --9786-- --gen-suppressions=all [INFO]: --9786-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9786-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9786-- --error-exitcode=123 [INFO]: --9786-- Contents of /proc/version: [INFO]: --9786-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9786-- [INFO]: --9786-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9786-- Page sizes: currently 4096, max supported 4096 [INFO]: --9786-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9786-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9786-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9786-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9786-- might be shown as UnknownInlinedFun [INFO]: --9786-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9786-- object doesn't have a dynamic symbol table [INFO]: --9786-- Scheduler: using generic scheduler lock implementation. [INFO]: --9786-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9786-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9786== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9786-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9786== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9786-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9786== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9786-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9786== [INFO]: ==9786== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9786== don't want to do, unless you know exactly what you're doing, [INFO]: ==9786== or are doing some strange experiment): [INFO]: ==9786== /usr/libexec/valgrind/../../bin/vgdb --pid=9786 ...command... [INFO]: ==9786== [INFO]: ==9786== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9786== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9786== and then give GDB the following command [INFO]: ==9786== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9786 [INFO]: ==9786== --pid is optional if only one valgrind process is running [INFO]: ==9786== [INFO]: --9786-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9786-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9786-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9786-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9786-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9786-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9786-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9786-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9786-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9786-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9786-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9786-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9786-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9786-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9786-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9786-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9786-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9786-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9786-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9786-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9786-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9786-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9786-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9786-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9786-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9786-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9786== Preferring higher priority redirection: [INFO]: --9786-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9786-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9786-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9786-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9786-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9786-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9786-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9786-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9786== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9786-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9786-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9786-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9786-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9786-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9786-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9786-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9786-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9786-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9786-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9786-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9786-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9786-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9786-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9786-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9786-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9786-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9786-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9786-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9786-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9786-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9786-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9786-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9786-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9786-- REDIR: 0x4f53920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9786-- REDIR: 0x5011c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9786-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9786-- REDIR: 0x5012d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9786-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9786== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x10DF41: main (clamd.c:844) [INFO]: ==9786== Previously closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9786== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9786== Originally opened [INFO]: ==9786== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9786== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9786== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x10DF41: main (clamd.c:844) [INFO]: ==9786== Previously closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9786== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9786== Originally opened [INFO]: ==9786== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9786== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9786== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x10DF41: main (clamd.c:844) [INFO]: ==9786== Previously closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9786== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9786== Originally opened [INFO]: ==9786== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9786== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9786-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9786-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9786-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9786== [INFO]: ==9786== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9786== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9786== [INFO]: ==9786== [INFO]: ==9786== (No origin, error cannot be suppressed) [INFO]: ==9786== [INFO]: ==9786== HEAP SUMMARY: [INFO]: ==9786== in use at exit: 0 bytes in 0 blocks [INFO]: ==9786== total heap usage: 14,571 allocs, 14,571 frees, 2,718,661 bytes allocated [INFO]: ==9786== [INFO]: ==9786== All heap blocks were freed -- no leaks are possible [INFO]: ==9786== [INFO]: ==9786== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9786== [INFO]: ==9786== 1 errors in context 1 of 4: [INFO]: ==9786== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x10DF41: main (clamd.c:844) [INFO]: ==9786== Previously closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9786== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9786== Originally opened [INFO]: ==9786== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9786== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9786== [INFO]: ==9786== 1 errors in context 2 of 4: [INFO]: ==9786== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x10DF41: main (clamd.c:844) [INFO]: ==9786== Previously closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9786== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9786== Originally opened [INFO]: ==9786== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9786== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9786== [INFO]: ==9786== 1 errors in context 3 of 4: [INFO]: ==9786== File descriptor 4: /proc/self/status is already closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x10DF41: main (clamd.c:844) [INFO]: ==9786== Previously closed [INFO]: ==9786== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9786== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9786== Originally opened [INFO]: ==9786== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9786== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9786== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9786== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ________________________ TC.test_clamd_04_all_testfiles ________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan scan of all `test` files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:22:55 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:22:55 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:22:55 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:22:55 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:22:55 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:22:55 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:22:55 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:22:55 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:22:55 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:22:55 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:22:55 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:22:55 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:22:55 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:22:55 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:22:55 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:22:55 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:22:55 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:22:55 2024 -> Archive support enabled. Mon Apr 29 21:22:55 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:22:55 2024 -> Heuristic alerts enabled. Mon Apr 29 21:22:55 2024 -> Portable Executable support enabled. Mon Apr 29 21:22:55 2024 -> ELF support enabled. Mon Apr 29 21:22:55 2024 -> Mail files support enabled. Mon Apr 29 21:22:55 2024 -> OLE2 support enabled. Mon Apr 29 21:22:55 2024 -> PDF support enabled. Mon Apr 29 21:22:55 2024 -> SWF support enabled. Mon Apr 29 21:22:55 2024 -> HTML support enabled. Mon Apr 29 21:22:55 2024 -> XMLDOCS support enabled. Mon Apr 29 21:22:55 2024 -> HWP3 support enabled. Mon Apr 29 21:22:55 2024 -> Self checking every 600 seconds. Mon Apr 29 21:22:55 2024 -> Listening daemon: PID: 9839 Mon Apr 29 21:22:55 2024 -> MaxQueue set to: 800 LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:56 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:57 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:22:58 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:00 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 7.467 sec (0 m 7 s) Start Date: 2024:04:29 21:22:53 End Date: 2024:04:29 21:23:01 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:01 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 1.883 sec (0 m 1 s) Start Date: 2024:04:29 21:23:01 End Date: 2024:04:29 21:23:02 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:02 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:03 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 1.964 sec (0 m 1 s) Start Date: 2024:04:29 21:23:02 End Date: 2024:04:29 21:23:04 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:04 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:05 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:05 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:05 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:05 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:05 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 1.951 sec (0 m 1 s) Start Date: 2024:04:29 21:23:04 End Date: 2024:04:29 21:23:06 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:06 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:06 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:07 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 1.866 sec (0 m 1 s) Start Date: 2024:04:29 21:23:06 End Date: 2024:04:29 21:23:08 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:08 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:09 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 47 Time: 1.878 sec (0 m 1 s) Start Date: 2024:04:29 21:23:08 End Date: 2024:04:29 21:23:10 [DEBUG]: stderr: Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:10 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:10 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:10 2024 -> Pid file removed. Mon Apr 29 21:23:10 2024 -> --- Stopped at Mon Apr 29 21:23:10 2024 Mon Apr 29 21:23:10 2024 -> Closing the main sockets. Mon Apr 29 21:23:10 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9839== Memcheck, a memory error detector [INFO]: ==9839== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9839== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9839== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9839== Parent PID: 9754 [INFO]: ==9839== [INFO]: --9839-- [INFO]: --9839-- Valgrind options: [INFO]: --9839-- -v [INFO]: --9839-- --trace-children=yes [INFO]: --9839-- --track-fds=yes [INFO]: --9839-- --leak-check=full [INFO]: --9839-- --show-possibly-lost=no [INFO]: --9839-- --show-leak-kinds=definite [INFO]: --9839-- --errors-for-leak-kinds=definite [INFO]: --9839-- --main-stacksize=16777216 [INFO]: --9839-- --gen-suppressions=all [INFO]: --9839-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9839-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9839-- --error-exitcode=123 [INFO]: --9839-- Contents of /proc/version: [INFO]: --9839-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9839-- [INFO]: --9839-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9839-- Page sizes: currently 4096, max supported 4096 [INFO]: --9839-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9839-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9839-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9839-- might be shown as UnknownInlinedFun [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9839-- object doesn't have a dynamic symbol table [INFO]: --9839-- Scheduler: using generic scheduler lock implementation. [INFO]: --9839-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9839-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9839== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9839-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9839== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9839-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9839== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9839-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9839== [INFO]: ==9839== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9839== don't want to do, unless you know exactly what you're doing, [INFO]: ==9839== or are doing some strange experiment): [INFO]: ==9839== /usr/libexec/valgrind/../../bin/vgdb --pid=9839 ...command... [INFO]: ==9839== [INFO]: ==9839== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9839== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9839== and then give GDB the following command [INFO]: ==9839== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9839 [INFO]: ==9839== --pid is optional if only one valgrind process is running [INFO]: ==9839== [INFO]: --9839-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9839-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9839-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9839-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9839-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9839-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9839-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9839-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9839-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9839-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9839-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9839-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9839-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9839-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9839-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9839-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9839-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9839-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9839-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9839-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9839-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9839-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9839-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9839-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9839== Preferring higher priority redirection: [INFO]: --9839-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9839-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9839-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9839-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9839-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9839-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9839-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9839-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9839== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9839-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9839-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9839-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9839-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9839-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9839-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9839-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9839-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9839-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9839-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9839-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9839-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9839-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9839-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9839-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9839-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9839-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9839-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9839-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9839-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9839-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9839-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9839-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9839-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9839-- REDIR: 0x4f53920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9839-- REDIR: 0x5011c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9839-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9839-- REDIR: 0x5012d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9839-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9839-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9839-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9839-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9839-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9839-- REDIR: 0x4fcb890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: ==9839== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x10DF41: main (clamd.c:844) [INFO]: ==9839== Previously closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== Originally opened [INFO]: ==9839== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9839== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9839== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x10DF41: main (clamd.c:844) [INFO]: ==9839== Previously closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== Originally opened [INFO]: ==9839== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9839== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9839== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x10DF41: main (clamd.c:844) [INFO]: ==9839== Previously closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== Originally opened [INFO]: ==9839== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9839== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9839-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9839-- Discarding syms at 0x8979130-0x897aa15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9839== [INFO]: ==9839== FILE DESCRIPTORS: 10 open (3 std) at exit. [INFO]: ==9839== Open file descriptor 20: /tmp/20240429_212310-scantemp.c60ff5aa6a/ole2-tmp.f476d7dd7e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9839== at 0x4FB0505: open (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9839== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9839== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9839== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9839== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9839== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9839== by 0x1153A7: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9839== by 0x116195: UnknownInlinedFun (session.c:301) [INFO]: ==9839== by 0x116195: scanner_thread (server-th.c:126) [INFO]: ==9839== by 0x113A93: thrmgr_worker (thrmgr.c:703) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: fun:clone [INFO]: } [INFO]: ==9839== Open file descriptor 18: /tmp/20240429_212306-scantemp.5b0d7cbc64/ole2-tmp.562ef19f40/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9839== at 0x4FB0505: open (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9839== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9839== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9839== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9839== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9839== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9839== by 0x1153A7: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9839== by 0x116012: UnknownInlinedFun (session.c:332) [INFO]: ==9839== by 0x116012: scanner_thread (server-th.c:126) [INFO]: ==9839== by 0x113A93: thrmgr_worker (thrmgr.c:703) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: fun:clone [INFO]: } [INFO]: ==9839== Open file descriptor 16: /tmp/20240429_212304-scantemp.d1efbca71c/ole2-tmp.4954b2350f/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9839== at 0x4FB0505: open (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9839== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9839== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9839== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9839== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9839== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9839== by 0x1153A7: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9839== by 0x116012: UnknownInlinedFun (session.c:332) [INFO]: ==9839== by 0x116012: scanner_thread (server-th.c:126) [INFO]: ==9839== by 0x113A93: thrmgr_worker (thrmgr.c:703) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: fun:clone [INFO]: } [INFO]: ==9839== Open file descriptor 15: /tmp/20240429_212302-scantemp.35f94fa1b2/ole2-tmp.24eccb0541/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9839== at 0x4FB0505: open (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9839== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9839== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9839== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9839== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9839== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9839== by 0x492570F: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9839== by 0x114306: scan_callback (scanner.c:270) [INFO]: ==9839== by 0x48E48EF: UnknownInlinedFun (others_common.c:676) [INFO]: ==9839== by 0x48E48EF: cli_ftw (others_common.c:760) [INFO]: ==9839== by 0x115A62: UnknownInlinedFun (session.c:380) [INFO]: ==9839== by 0x115A62: scanner_thread (server-th.c:126) [INFO]: ==9839== by 0x113A93: thrmgr_worker (thrmgr.c:703) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:scan_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ftw [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: fun:clone [INFO]: } [INFO]: ==9839== Open file descriptor 14: /tmp/20240429_212300-scantemp.4125b38402/ole2-tmp.e06c002506/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9839== at 0x4FB0505: open (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9839== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9839== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9839== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9839== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9839== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9839== by 0x492570F: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9839== by 0x114306: scan_callback (scanner.c:270) [INFO]: ==9839== by 0x48E48EF: UnknownInlinedFun (others_common.c:676) [INFO]: ==9839== by 0x48E48EF: cli_ftw (others_common.c:760) [INFO]: ==9839== by 0x115A62: UnknownInlinedFun (session.c:380) [INFO]: ==9839== by 0x115A62: scanner_thread (server-th.c:126) [INFO]: ==9839== by 0x113A93: thrmgr_worker (thrmgr.c:703) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:scan_callback [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ftw [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: fun:clone [INFO]: } [INFO]: ==9839== Open file descriptor 13: /tmp/20240429_212308-scantemp.4b140ec0be/ole2-tmp.bb54acece7/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9839== at 0x4FB0505: open (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9839== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9839== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9839== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9839== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9839== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9839== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9839== by 0x1153A7: scanfd.constprop.0 (scanner.c:430) [INFO]: ==9839== by 0x116195: UnknownInlinedFun (session.c:301) [INFO]: ==9839== by 0x116195: scanner_thread (server-th.c:126) [INFO]: ==9839== by 0x113A93: thrmgr_worker (thrmgr.c:703) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfd.constprop.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:scanner_thread [INFO]: fun:thrmgr_worker [INFO]: fun:start_thread [INFO]: fun:clone [INFO]: } [INFO]: ==9839== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9839== [INFO]: ==9839== [INFO]: ==9839== (No origin, error cannot be suppressed) [INFO]: ==9839== [INFO]: ==9839== HEAP SUMMARY: [INFO]: ==9839== in use at exit: 36,011 bytes in 128 blocks [INFO]: ==9839== total heap usage: 58,988 allocs, 58,860 frees, 234,385,881 bytes allocated [INFO]: ==9839== [INFO]: ==9839== Searching for pointers to 128 not-freed blocks [INFO]: ==9839== Checked 8,665,336 bytes [INFO]: ==9839== [INFO]: ==9839== LEAK SUMMARY: [INFO]: ==9839== definitely lost: 0 bytes in 0 blocks [INFO]: ==9839== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9839== possibly lost: 1,344 bytes in 4 blocks [INFO]: ==9839== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9839== suppressed: 0 bytes in 0 blocks [INFO]: ==9839== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9839== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9839== [INFO]: ==9839== ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0) [INFO]: ==9839== [INFO]: ==9839== 1 errors in context 1 of 10: [INFO]: ==9839== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x10DF41: main (clamd.c:844) [INFO]: ==9839== Previously closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== Originally opened [INFO]: ==9839== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9839== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9839== [INFO]: ==9839== 1 errors in context 2 of 10: [INFO]: ==9839== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x10DF41: main (clamd.c:844) [INFO]: ==9839== Previously closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== Originally opened [INFO]: ==9839== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9839== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9839== [INFO]: ==9839== 1 errors in context 3 of 10: [INFO]: ==9839== File descriptor 4: /proc/self/status is already closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x10DF41: main (clamd.c:844) [INFO]: ==9839== Previously closed [INFO]: ==9839== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9839== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9839== Originally opened [INFO]: ==9839== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9839== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9839== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9839== ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0) _________________________ TC.test_clamd_05_check_clamd _________________________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 1070: invalid continuation byte /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'n /usr/lib64/libc.so.6)\n==9888== by 0x112BB4: localserver (localserver.c:149)\n==9888== by 0x10EBAB: main (cl...or:FdBadClose\n fun:close\n fun:main\n}\n==9888== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)\n' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 1070: invalid continuation byte :322: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + check_clamd [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:23:12 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:12 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:12 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:12 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:12 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:12 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:12 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:12 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:12 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:12 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:12 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:12 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:12 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:12 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:12 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:12 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:12 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:12 2024 -> Archive support enabled. Mon Apr 29 21:23:12 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:12 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:12 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:12 2024 -> ELF support enabled. Mon Apr 29 21:23:12 2024 -> Mail files support enabled. Mon Apr 29 21:23:12 2024 -> OLE2 support enabled. Mon Apr 29 21:23:12 2024 -> PDF support enabled. Mon Apr 29 21:23:12 2024 -> SWF support enabled. Mon Apr 29 21:23:12 2024 -> HTML support enabled. Mon Apr 29 21:23:12 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:12 2024 -> HWP3 support enabled. Mon Apr 29 21:23:12 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:12 2024 -> Listening daemon: PID: 9888 Mon Apr 29 21:23:12 2024 -> MaxQueue set to: 800 [DEBUG]: Exit code: 0 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PONG [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamd Mon Apr 29 21:23:13 2024 -> Client disconnected (FD 11) Mon Apr 29 21:23:13 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database Mon Apr 29 21:23:13 2024 -> Database correctly reloaded (203 signatures) Mon Apr 29 21:23:13 2024 -> Activating the newly loaded database... Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> INSTREAM: Size limit reached, (requested: 4294967295, max: 104857600) WARNING: Mon Apr 29 21:23:13 2024 -> INSTREAM: Size limit reached, (requested: 4294967295, max: 104857600) Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:13 2024 -> File path check failure on: /nonexistentfilename Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:13 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> Database correctly reloaded (203 signatures) Mon Apr 29 21:23:14 2024 -> Activating the newly loaded database... Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK WARNING: Mon Apr 29 21:23:14 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:14 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:14 2024 -> File path check failure on: /nonexistentfilename Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK WARNING: Mon Apr 29 21:23:14 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:14 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:14 2024 -> File path check failure on: /nonexistentfilename Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/CMakeLists.txt: OK Mon Apr 29 21:23:14 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> instream(local): OK WARNING: Mon Apr 29 21:23:14 2024 -> File path check failure for: /nonexistentfilename Mon Apr 29 21:23:14 2024 -> Quarantine of the file may fail if file path contains symlinks. WARNING: Mon Apr 29 21:23:14 2024 -> File path check failure on: /nonexistentfilename Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:14 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 11) [DEBUG]: Exit code: 0 [DEBUG]: stdout: Running suite(s): clamd 100%: Checks: 71, Failures: 0, Errors: 0 [INFO]: check_clamd stdout: Running suite(s): clamd 100%: Checks: 71, Failures: 0, Errors: 0 [INFO]: check_clamd stderr: Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 11) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 12) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 13) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 14) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 15) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 16) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 17) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 18) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 19) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 20) [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 21) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 22) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 23) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 24) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 25) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 26) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 27) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 28) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 29) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 30) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 31) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 32) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 33) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 34) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 35) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 36) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 37) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 38) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 39) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 40) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 41) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 42) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 43) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 44) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 45) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 46) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 47) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 48) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 49) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 50) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 51) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 52) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 53) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 54) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 55) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 56) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 57) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 58) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 59) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 60) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 61) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 62) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 63) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 64) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 65) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 66) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 67) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 68) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 69) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 70) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 71) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 72) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 73) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 74) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 75) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 76) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 77) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 78) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 79) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 80) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 81) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 82) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 83) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 84) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 85) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 86) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 87) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 88) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 89) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 90) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 91) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 92) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 93) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 94) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 95) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 96) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 97) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 98) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 99) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 100) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 101) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 102) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 103) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 104) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 105) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 106) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 107) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 108) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 109) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 110) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 111) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 112) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 113) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 114) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 115) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 116) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 117) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 118) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 119) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 120) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 121) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 122) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 123) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 124) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 125) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 126) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 127) Mon Apr 29 21:23:15 2024 -> Reading databases from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database [DEBUG]: Exit code: 0 [DEBUG]: stdout: PONG Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 128) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 129) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 130) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 131) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 132) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 133) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 134) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 135) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 136) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 137) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 138) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 139) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 140) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 141) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 142) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 143) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 144) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 145) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 146) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 147) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 148) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 149) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 150) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 151) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 152) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 153) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 154) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 155) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 156) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 157) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 158) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 159) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 160) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 161) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 162) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 163) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 164) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 165) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 166) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 167) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 168) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 169) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 170) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 171) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 172) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 173) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 174) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 175) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 176) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 177) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 178) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 179) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 180) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 181) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 182) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 183) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 184) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 185) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 186) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 187) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 188) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 189) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 190) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 191) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 192) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 193) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 194) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 195) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 196) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 197) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 198) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 199) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 200) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 201) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 202) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 203) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 204) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 205) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 206) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 207) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 208) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 209) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 210) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 211) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 212) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 213) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 214) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 215) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 216) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 217) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 218) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 219) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 220) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 221) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 222) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 223) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 224) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 225) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 226) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 227) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 228) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 229) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 230) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 231) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 232) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 233) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 234) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 235) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 236) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 237) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 238) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 239) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 240) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 241) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 242) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 243) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 244) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 245) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 246) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 247) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 248) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 249) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 250) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 251) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 252) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 253) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 254) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 255) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 256) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 257) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 258) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 259) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 260) Mon Apr 29 21:23:15 2024 -> Client disconnected (FD 11) Mon Apr 29 21:23:15 2024 -> Database correctly reloaded (203 signatures) Mon Apr 29 21:23:15 2024 -> Activating the newly loaded database... Mon Apr 29 21:23:20 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:20 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:20 2024 -> Pid file removed. Mon Apr 29 21:23:20 2024 -> --- Stopped at Mon Apr 29 21:23:20 2024 Mon Apr 29 21:23:20 2024 -> Closing the main sockets. Mon Apr 29 21:23:20 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... _________________ TC.test_clamd_06_HeuristicScanPrecedence_off _________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence no (default) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:23:22 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:22 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:22 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:22 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:22 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:22 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:22 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:22 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:22 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:22 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:22 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:22 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:22 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:22 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:22 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:22 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:22 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:22 2024 -> Archive support enabled. Mon Apr 29 21:23:22 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:22 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:22 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:22 2024 -> ELF support enabled. Mon Apr 29 21:23:22 2024 -> Mail files support enabled. Mon Apr 29 21:23:22 2024 -> OLE2 support enabled. Mon Apr 29 21:23:22 2024 -> PDF support enabled. Mon Apr 29 21:23:22 2024 -> SWF support enabled. Mon Apr 29 21:23:22 2024 -> HTML support enabled. Mon Apr 29 21:23:22 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:22 2024 -> HWP3 support enabled. Mon Apr 29 21:23:22 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:22 2024 -> Listening daemon: PID: 9928 Mon Apr 29 21:23:22 2024 -> MaxQueue set to: 800 LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 2.655 sec (0 m 2 s) Start Date: 2024:04:29 21:23:20 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.013 sec (0 m 0 s) Start Date: 2024:04:29 21:23:23 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:23 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.016 sec (0 m 0 s) Start Date: 2024:04:29 21:23:23 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:23 2024 -> instream(local): ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.012 sec (0 m 0 s) Start Date: 2024:04:29 21:23:23 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.011 sec (0 m 0 s) Start Date: 2024:04:29 21:23:23 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:23 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.008 sec (0 m 0 s) Start Date: 2024:04:29 21:23:23 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: Mon Apr 29 21:23:23 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:23 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:23 2024 -> Pid file removed. Mon Apr 29 21:23:23 2024 -> --- Stopped at Mon Apr 29 21:23:23 2024 Mon Apr 29 21:23:23 2024 -> Closing the main sockets. Mon Apr 29 21:23:23 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9928== Memcheck, a memory error detector [INFO]: ==9928== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9928== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9928== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9928== Parent PID: 9754 [INFO]: ==9928== [INFO]: --9928-- [INFO]: --9928-- Valgrind options: [INFO]: --9928-- -v [INFO]: --9928-- --trace-children=yes [INFO]: --9928-- --track-fds=yes [INFO]: --9928-- --leak-check=full [INFO]: --9928-- --show-possibly-lost=no [INFO]: --9928-- --show-leak-kinds=definite [INFO]: --9928-- --errors-for-leak-kinds=definite [INFO]: --9928-- --main-stacksize=16777216 [INFO]: --9928-- --gen-suppressions=all [INFO]: --9928-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9928-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9928-- --error-exitcode=123 [INFO]: --9928-- Contents of /proc/version: [INFO]: --9928-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9928-- [INFO]: --9928-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9928-- Page sizes: currently 4096, max supported 4096 [INFO]: --9928-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9928-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9928-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9928-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9928-- might be shown as UnknownInlinedFun [INFO]: --9928-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9928-- object doesn't have a dynamic symbol table [INFO]: --9928-- Scheduler: using generic scheduler lock implementation. [INFO]: --9928-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9928-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9928== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9928-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9928== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9928-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9928== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9928-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9928== [INFO]: ==9928== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9928== don't want to do, unless you know exactly what you're doing, [INFO]: ==9928== or are doing some strange experiment): [INFO]: ==9928== /usr/libexec/valgrind/../../bin/vgdb --pid=9928 ...command... [INFO]: ==9928== [INFO]: ==9928== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9928== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9928== and then give GDB the following command [INFO]: ==9928== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9928 [INFO]: ==9928== --pid is optional if only one valgrind process is running [INFO]: ==9928== [INFO]: --9928-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9928-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9928-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9928-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9928-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9928-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9928-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9928-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9928-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9928-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9928-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9928-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9928-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9928-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9928-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9928-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9928-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9928-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9928-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9928-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9928-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9928-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9928-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9928-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9928-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9928-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9928== Preferring higher priority redirection: [INFO]: --9928-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9928-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9928-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9928-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9928-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9928-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9928-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9928-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9928== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9928-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9928-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9928-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9928-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9928-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9928-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9928-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9928-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9928-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9928-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9928-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9928-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9928-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9928-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9928-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9928-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9928-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9928-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9928-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9928-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9928-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9928-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9928-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9928-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9928-- REDIR: 0x4f53920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9928-- REDIR: 0x5011c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9928-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9928-- REDIR: 0x5012d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9928-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9928-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9928-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9928== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x10DF41: main (clamd.c:844) [INFO]: ==9928== Previously closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9928== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9928== Originally opened [INFO]: ==9928== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9928== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9928== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x10DF41: main (clamd.c:844) [INFO]: ==9928== Previously closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9928== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9928== Originally opened [INFO]: ==9928== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9928== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9928== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x10DF41: main (clamd.c:844) [INFO]: ==9928== Previously closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9928== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9928== Originally opened [INFO]: ==9928== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9928== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9928-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9928-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: ==9928== [INFO]: ==9928== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9928== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9928== [INFO]: ==9928== [INFO]: ==9928== (No origin, error cannot be suppressed) [INFO]: ==9928== [INFO]: ==9928== HEAP SUMMARY: [INFO]: ==9928== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9928== total heap usage: 10,907 allocs, 10,846 frees, 2,894,676 bytes allocated [INFO]: ==9928== [INFO]: ==9928== Searching for pointers to 61 not-freed blocks [INFO]: ==9928== Checked 288,040 bytes [INFO]: ==9928== [INFO]: ==9928== LEAK SUMMARY: [INFO]: ==9928== definitely lost: 0 bytes in 0 blocks [INFO]: ==9928== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9928== possibly lost: 0 bytes in 0 blocks [INFO]: ==9928== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9928== suppressed: 0 bytes in 0 blocks [INFO]: ==9928== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9928== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9928== [INFO]: ==9928== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9928== [INFO]: ==9928== 1 errors in context 1 of 4: [INFO]: ==9928== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x10DF41: main (clamd.c:844) [INFO]: ==9928== Previously closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9928== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9928== Originally opened [INFO]: ==9928== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9928== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9928== [INFO]: ==9928== 1 errors in context 2 of 4: [INFO]: ==9928== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x10DF41: main (clamd.c:844) [INFO]: ==9928== Previously closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9928== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9928== Originally opened [INFO]: ==9928== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9928== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9928== [INFO]: ==9928== 1 errors in context 3 of 4: [INFO]: ==9928== File descriptor 4: /proc/self/status is already closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x10DF41: main (clamd.c:844) [INFO]: ==9928== Previously closed [INFO]: ==9928== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9928== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9928== Originally opened [INFO]: ==9928== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9928== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9928== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9928== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) _________________ TC.test_clamd_07_HeuristicScanPrecedence_on __________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence yes [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:23:25 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:25 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:25 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:25 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:25 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:25 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:25 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:25 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:25 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:25 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:25 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:25 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:25 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:25 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:25 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:25 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:25 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:25 2024 -> Archive support enabled. Mon Apr 29 21:23:25 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:25 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:25 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:25 2024 -> ELF support enabled. Mon Apr 29 21:23:25 2024 -> Mail files support enabled. Mon Apr 29 21:23:25 2024 -> OLE2 support enabled. Mon Apr 29 21:23:25 2024 -> PDF support enabled. Mon Apr 29 21:23:25 2024 -> SWF support enabled. Mon Apr 29 21:23:25 2024 -> HTML support enabled. Mon Apr 29 21:23:25 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:25 2024 -> HWP3 support enabled. Mon Apr 29 21:23:25 2024 -> Heuristic: precedence enabled Mon Apr 29 21:23:25 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:25 2024 -> Listening daemon: PID: 9943 Mon Apr 29 21:23:25 2024 -> MaxQueue set to: 800 LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:26 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 2.593 sec (0 m 2 s) Start Date: 2024:04:29 21:23:23 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:26 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.009 sec (0 m 0 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:26 2024 -> instream(local): Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.012 sec (0 m 0 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --stream --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:26 2024 -> instream(local): Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.009 sec (0 m 0 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:26 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.008 sec (0 m 0 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --fdpass --multiscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://fake.example.com LibClamAV info: Display URL: ebay.de Mon Apr 29 21:23:26 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: Heuristics.Phishing.Email.SpoofedDomain FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 0.004 sec (0 m 0 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: Mon Apr 29 21:23:26 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:26 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:26 2024 -> Pid file removed. Mon Apr 29 21:23:26 2024 -> --- Stopped at Mon Apr 29 21:23:26 2024 Mon Apr 29 21:23:26 2024 -> Closing the main sockets. Mon Apr 29 21:23:26 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9943== Memcheck, a memory error detector [INFO]: ==9943== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9943== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9943== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9943== Parent PID: 9754 [INFO]: ==9943== [INFO]: --9943-- [INFO]: --9943-- Valgrind options: [INFO]: --9943-- -v [INFO]: --9943-- --trace-children=yes [INFO]: --9943-- --track-fds=yes [INFO]: --9943-- --leak-check=full [INFO]: --9943-- --show-possibly-lost=no [INFO]: --9943-- --show-leak-kinds=definite [INFO]: --9943-- --errors-for-leak-kinds=definite [INFO]: --9943-- --main-stacksize=16777216 [INFO]: --9943-- --gen-suppressions=all [INFO]: --9943-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9943-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9943-- --error-exitcode=123 [INFO]: --9943-- Contents of /proc/version: [INFO]: --9943-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9943-- [INFO]: --9943-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9943-- Page sizes: currently 4096, max supported 4096 [INFO]: --9943-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9943-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: --9943-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9943-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9943-- might be shown as UnknownInlinedFun [INFO]: --9943-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9943-- object doesn't have a dynamic symbol table [INFO]: --9943-- Scheduler: using generic scheduler lock implementation. [INFO]: --9943-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9943-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9943== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9943-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9943== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9943-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9943== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9943-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9943== [INFO]: ==9943== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9943== don't want to do, unless you know exactly what you're doing, [INFO]: ==9943== or are doing some strange experiment): [INFO]: ==9943== /usr/libexec/valgrind/../../bin/vgdb --pid=9943 ...command... [INFO]: ==9943== [INFO]: ==9943== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9943== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd [INFO]: ==9943== and then give GDB the following command [INFO]: ==9943== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9943 [INFO]: ==9943== --pid is optional if only one valgrind process is running [INFO]: ==9943== [INFO]: --9943-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9943-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9943-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9943-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9943-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9943-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9943-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9943-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9943-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9943-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9943-- Reading syms from /usr/lib64/libsystemd.so.0.39.0 [INFO]: --9943-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9943-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9943-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9943-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9943-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9943-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9943-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9943-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9943-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9943-- Reading syms from /usr/lib64/libcap.so.2.69 [INFO]: --9943-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9943-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9943-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9943-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9943-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9943== Preferring higher priority redirection: [INFO]: --9943-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9943-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9943-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9943-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9943-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9943-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9943-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9943-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9943== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9943-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9943-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9943-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9943-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9943-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9943-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9943-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9943-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9943-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9943-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9943-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9943-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9943-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9943-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9943-- REDIR: 0x5011290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9943-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9943-- REDIR: 0x5010af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9943-- REDIR: 0x5014760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9943-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9943-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9943-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9943-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9943-- REDIR: 0x4f64920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9943-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9943-- REDIR: 0x4f53920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9943-- REDIR: 0x5011c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9943-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9943-- REDIR: 0x5012d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9943-- REDIR: 0x5012930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9943-- REDIR: 0x4f4e3a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9943-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9943== File descriptor 4: AF_INET6 socket 4: [::1]:3319 <-> is already closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x10DF41: main (clamd.c:844) [INFO]: ==9943== Previously closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9943== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9943== Originally opened [INFO]: ==9943== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9943== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9943== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x10DF41: main (clamd.c:844) [INFO]: ==9943== Previously closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9943== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9943== Originally opened [INFO]: ==9943== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9943== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9943== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x10DF41: main (clamd.c:844) [INFO]: ==9943== Previously closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9943== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9943== Originally opened [INFO]: ==9943== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9943== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9943-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9943-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: ==9943== [INFO]: ==9943== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9943== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9943== [INFO]: ==9943== [INFO]: ==9943== (No origin, error cannot be suppressed) [INFO]: ==9943== [INFO]: ==9943== HEAP SUMMARY: [INFO]: ==9943== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==9943== total heap usage: 10,279 allocs, 10,218 frees, 2,226,664 bytes allocated [INFO]: ==9943== [INFO]: ==9943== Searching for pointers to 61 not-freed blocks [INFO]: ==9943== Checked 288,040 bytes [INFO]: ==9943== [INFO]: ==9943== LEAK SUMMARY: [INFO]: ==9943== definitely lost: 0 bytes in 0 blocks [INFO]: ==9943== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9943== possibly lost: 0 bytes in 0 blocks [INFO]: ==9943== still reachable: 1,059 bytes in 61 blocks [INFO]: ==9943== suppressed: 0 bytes in 0 blocks [INFO]: ==9943== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9943== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9943== [INFO]: ==9943== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9943== [INFO]: ==9943== 1 errors in context 1 of 4: [INFO]: ==9943== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x10DF41: main (clamd.c:844) [INFO]: ==9943== Previously closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9943== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9943== Originally opened [INFO]: ==9943== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9943== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9943== [INFO]: ==9943== 1 errors in context 2 of 4: [INFO]: ==9943== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x10DF41: main (clamd.c:844) [INFO]: ==9943== Previously closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9943== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9943== Originally opened [INFO]: ==9943== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9943== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9943== [INFO]: ==9943== 1 errors in context 3 of 4: [INFO]: ==9943== File descriptor 4: /proc/self/status is already closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x10DF41: main (clamd.c:844) [INFO]: ==9943== Previously closed [INFO]: ==9943== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9943== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9943== Originally opened [INFO]: ==9943== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9943== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9943== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9943== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) _________________________ TC.test_clamd_08_VirusEvent __________________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ VirusEvent [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Mon Apr 29 21:23:28 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:28 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:28 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:28 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:28 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:28 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:28 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:28 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:28 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:28 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:28 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:28 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:28 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:28 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:28 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:28 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:28 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:28 2024 -> Archive support enabled. Mon Apr 29 21:23:28 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:28 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:28 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:28 2024 -> ELF support enabled. Mon Apr 29 21:23:28 2024 -> Mail files support enabled. Mon Apr 29 21:23:28 2024 -> OLE2 support enabled. Mon Apr 29 21:23:28 2024 -> PDF support enabled. Mon Apr 29 21:23:28 2024 -> SWF support enabled. Mon Apr 29 21:23:28 2024 -> HTML support enabled. Mon Apr 29 21:23:28 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:28 2024 -> HWP3 support enabled. Mon Apr 29 21:23:28 2024 -> Heuristic: precedence enabled Mon Apr 29 21:23:28 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:28 2024 -> Listening daemon: PID: 9962 Mon Apr 29 21:23:28 2024 -> MaxQueue set to: 800 Mon Apr 29 21:23:29 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 4.310 sec (0 m 4 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:31 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf -m /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Mon Apr 29 21:23:31 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 1.695 sec (0 m 1 s) Start Date: 2024:04:29 21:23:31 End Date: 2024:04:29 21:23:32 [DEBUG]: stderr: [INFO]: verifying log output from virusaction-test.sh: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/test-clamd.log Mon Apr 29 21:23:32 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:32 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:32 2024 -> Pid file removed. Mon Apr 29 21:23:32 2024 -> --- Stopped at Mon Apr 29 21:23:32 2024 Mon Apr 29 21:23:32 2024 -> Closing the main sockets. Mon Apr 29 21:23:32 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9978== Memcheck, a memory error detector [INFO]: ==9978== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9978== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9978== Command: /usr/bin/basename /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9978== Parent PID: 9975 [INFO]: ==9978== [INFO]: --9978-- [INFO]: --9978-- Valgrind options: [INFO]: --9978-- -v [INFO]: --9978-- --trace-children=yes [INFO]: --9978-- --track-fds=yes [INFO]: --9978-- --leak-check=full [INFO]: --9978-- --show-possibly-lost=no [INFO]: --9978-- --show-leak-kinds=definite [INFO]: --9978-- --errors-for-leak-kinds=definite [INFO]: --9978-- --main-stacksize=16777216 [INFO]: --9978-- --gen-suppressions=all [INFO]: --9978-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9978-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9978-- --error-exitcode=123 [INFO]: --9978-- Contents of /proc/version: [INFO]: --9978-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9978-- [INFO]: --9978-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9978-- Page sizes: currently 4096, max supported 4096 [INFO]: --9978-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9978-- Reading syms from /usr/bin/basename [INFO]: --9978-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9978-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9978-- might be shown as UnknownInlinedFun [INFO]: --9978-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9978-- object doesn't have a dynamic symbol table [INFO]: --9978-- Scheduler: using generic scheduler lock implementation. [INFO]: --9978-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9978-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9978== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9978-by-???-on-??? [INFO]: ==9978== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9978-by-???-on-??? [INFO]: ==9978== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9978-by-???-on-??? [INFO]: ==9978== [INFO]: ==9978== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9978== don't want to do, unless you know exactly what you're doing, [INFO]: ==9978== or are doing some strange experiment): [INFO]: ==9978== /usr/libexec/valgrind/../../bin/vgdb --pid=9978 ...command... [INFO]: ==9978== [INFO]: ==9978== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9978== /path/to/gdb /usr/bin/basename [INFO]: ==9978== and then give GDB the following command [INFO]: ==9978== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9978 [INFO]: ==9978== --pid is optional if only one valgrind process is running [INFO]: ==9978== [INFO]: --9978-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9978-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9978-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9978-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9978-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9978== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9978-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9978-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9978== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9978-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9978-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9978-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9978-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9978-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9978-- REDIR: 0x490cda0 (libc.so.6:strnlen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490ce30 (libc.so.6:strpbrk) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490af30 (libc.so.6:strcmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4921ca0 (libc.so.6:wcsnlen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490a010 (libc.so.6:memset) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x49213a0 (libc.so.6:wcslen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4983cc0 (libc.so.6:__memcpy_chk) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4909f80 (libc.so.6:memrchr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4921c40 (libc.so.6:wcsncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x49095a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4920230 (libc.so.6:wcschr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490ae20 (libc.so.6:index) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490ce60 (libc.so.6:rindex) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x49202e0 (libc.so.6:wcscmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490a230 (libc.so.6:stpncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x492dd40 (libc.so.6:wmemchr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490cc40 (libc.so.6:strncmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490a290 (libc.so.6:strcasecmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490c060 (libc.so.6:strcspn) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4921170 (libc.so.6:wcscpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490adb0 (libc.so.6:strcat) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490cb40 (libc.so.6:strncasecmp_l) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490aea0 (libc.so.6:strchrnul) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x49094b0 (libc.so.6:bcmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490bff0 (libc.so.6:strcpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490a330 (libc.so.6:strcasecmp_l) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490ca10 (libc.so.6:strlen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490cce0 (libc.so.6:strncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x492ddc0 (libc.so.6:wmemcmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4983de0 (libc.so.6:__memmove_chk) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: ==9978== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9978-- old: 0x049c8e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9978-- new: 0x049c8e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9978-- REDIR: 0x490a1c0 (libc.so.6:stpcpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4909d40 (libc.so.6:memmove) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: ==9978== Preferring higher priority redirection: [INFO]: --9978-- old: 0x049c8e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9978-- new: 0x049c8e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9978-- REDIR: 0x4909430 (libc.so.6:memchr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490d030 (libc.so.6:strspn) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x491fe60 (libc.so.6:wcpncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x4909e60 (libc.so.6:mempcpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x490caa0 (libc.so.6:strncasecmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --9978-- REDIR: 0x49cda30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9978-- REDIR: 0x49ccc60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9978-- REDIR: 0x49cb3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9978-- REDIR: 0x49cbb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9978-- REDIR: 0x49cafa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9978-- REDIR: 0x4905d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9978-- REDIR: 0x49056b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9978-- REDIR: 0x49c8e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: ==9978== [INFO]: ==9978== FILE DESCRIPTORS: 13 open (1 std) at exit. [INFO]: ==9978== Open file descriptor 14: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 10: [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 9: [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 8: [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 7: [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9978== [INFO]: ==9978== [INFO]: ==9978== (No origin, error cannot be suppressed) [INFO]: ==9978== [INFO]: ==9978== HEAP SUMMARY: [INFO]: ==9978== in use at exit: 0 bytes in 0 blocks [INFO]: ==9978== total heap usage: 4 allocs, 4 frees, 4,149 bytes allocated [INFO]: ==9978== [INFO]: ==9978== All heap blocks were freed -- no leaks are possible [INFO]: ==9978== [INFO]: ==9978== ERROR SUMMARY: 12 errors from 12 contexts (suppressed: 0 from 0) [INFO]: --9975-- REDIR: 0x49f5e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: ==9975== [INFO]: ==9975== FILE DESCRIPTORS: 15 open (3 std) at exit. [INFO]: ==9975== Open file descriptor 255: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/virusaction-test.sh [INFO]: ==9975== at 0x49921DB: dup2 (in /usr/lib64/libc.so.6) [INFO]: ==9975== by 0x13B86C: move_to_high_fd (in /usr/bin/bash) [INFO]: ==9975== by 0x12DB2D: main (in /usr/bin/bash) [INFO]: ==9975== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup2 [INFO]: fun:move_to_high_fd [INFO]: fun:main [INFO]: } [INFO]: ==9975== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open file descriptor 10: [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open file descriptor 9: [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open file descriptor 8: [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open file descriptor 7: [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9975== [INFO]: ==9975== [INFO]: ==9975== (No origin, error cannot be suppressed) [INFO]: ==9975== [INFO]: ==9975== HEAP SUMMARY: [INFO]: ==9975== in use at exit: 49,395 bytes in 375 blocks [INFO]: ==9975== total heap usage: 576 allocs, 201 frees, 76,642 bytes allocated [INFO]: ==9975== [INFO]: ==9975== Searching for pointers to 375 not-freed blocks [INFO]: ==9975== Checked 210,848 bytes [INFO]: ==9975== [INFO]: ==9975== LEAK SUMMARY: [INFO]: ==9975== definitely lost: 0 bytes in 0 blocks [INFO]: ==9975== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9975== possibly lost: 0 bytes in 0 blocks [INFO]: ==9975== still reachable: 49,395 bytes in 375 blocks [INFO]: ==9975== suppressed: 0 bytes in 0 blocks [INFO]: ==9975== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9975== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9975== [INFO]: ==9975== ERROR SUMMARY: 12 errors from 12 contexts (suppressed: 0 from 0) [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x10DF41: main (clamd.c:844) [INFO]: ==9962== Previously closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9962== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9962== Originally opened [INFO]: ==9962== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9962== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9962== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x10DF41: main (clamd.c:844) [INFO]: ==9962== Previously closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9962== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9962== Originally opened [INFO]: ==9962== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9962== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9962== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x10DF41: main (clamd.c:844) [INFO]: ==9962== Previously closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9962== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9962== Originally opened [INFO]: ==9962== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9962== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9962-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9962-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9962-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9962== [INFO]: ==9962== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9962== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9962== [INFO]: ==9962== [INFO]: ==9962== (No origin, error cannot be suppressed) [INFO]: ==9962== [INFO]: ==9962== HEAP SUMMARY: [INFO]: ==9962== in use at exit: 0 bytes in 0 blocks [INFO]: ==9962== total heap usage: 9,657 allocs, 9,657 frees, 1,288,944 bytes allocated [INFO]: ==9962== [INFO]: ==9962== All heap blocks were freed -- no leaks are possible [INFO]: ==9962== [INFO]: ==9962== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9962== [INFO]: ==9962== 1 errors in context 1 of 4: [INFO]: ==9962== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x10DF41: main (clamd.c:844) [INFO]: ==9962== Previously closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9962== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9962== Originally opened [INFO]: ==9962== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9962== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9962== [INFO]: ==9962== 1 errors in context 2 of 4: [INFO]: ==9962== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x10DF41: main (clamd.c:844) [INFO]: ==9962== Previously closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9962== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9962== Originally opened [INFO]: ==9962== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9962== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9962== [INFO]: ==9962== 1 errors in context 3 of 4: [INFO]: ==9962== File descriptor 4: /proc/self/status is already closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x10DF41: main (clamd.c:844) [INFO]: ==9962== Previously closed [INFO]: ==9962== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9962== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9962== Originally opened [INFO]: ==9962== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9962== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9962== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9962== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ____________________ TC.test_clamd_09_clamdscan_ExcludePath ____________________ self = def test_clamd_09_clamdscan_ExcludePath(self): ''' Verify that ExcudePath works and does not cause other on works as expected. We'll use valgrind on clamdscan instead of clamd for this one, if enabled as a regression for clamdscan memory leak fixes. With it on, we expect the scan to stop and raise an alert as soon as the phishing heuristic is detected. ''' self.step_name('Testing clamd + clamdscan w/ ExcludePath') (TC.path_tmp / 'alpha').mkdir() (TC.path_tmp / 'beta').mkdir() (TC.path_tmp / 'charlie').mkdir() shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'alpha' / 'a_found')) # This should be found (first) shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'beta' / 'b_excluded')) # This one should be excluded shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'charlie' / 'c_found')) # This one should still be found after excluding the previous with TC.clamd_config.open('a') as config: exclude_path = 'beta' config.write(''' ExcludePath {} '''.format(exclude_path)) self.start_clamd(use_valgrind=False) poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None expected_out = [ 'a_found: ClamAV-Test-File.UNOFFICIAL FOUND', # 'b_excluded: Excluded', <-- Bug: this doesn't appear in recursive regular scans :-(, only fdpass and stream 'c_found: ClamAV-Test-File.UNOFFICIAL FOUND', ] unexpected_out = [ 'a_found: Excluded', 'b_excluded: ClamAV-Test-File.UNOFFICIAL FOUND', 'c_found: Excluded', ] > self.run_clamdscan('{}'.format(TC.path_tmp), expected_ec=1, expected_out=expected_out, unexpected_out=unexpected_out, use_valgrind=True) /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:512: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:201: in run_clamdscan self.verify_valgrind_log() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ ExcludePath [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf Mon Apr 29 21:23:33 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:33 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:33 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:33 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:33 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:33 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:33 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:33 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:33 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:33 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:33 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:33 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:33 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:33 2024 -> Archive support enabled. Mon Apr 29 21:23:33 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:33 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:33 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:33 2024 -> ELF support enabled. Mon Apr 29 21:23:33 2024 -> Mail files support enabled. Mon Apr 29 21:23:33 2024 -> OLE2 support enabled. Mon Apr 29 21:23:33 2024 -> PDF support enabled. Mon Apr 29 21:23:33 2024 -> SWF support enabled. Mon Apr 29 21:23:33 2024 -> HTML support enabled. Mon Apr 29 21:23:33 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:33 2024 -> HWP3 support enabled. Mon Apr 29 21:23:33 2024 -> Heuristic: precedence enabled Mon Apr 29 21:23:33 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:33 2024 -> Listening daemon: PID: 9981 Mon Apr 29 21:23:33 2024 -> MaxQueue set to: 800 Mon Apr 29 21:23:34 2024 -> Not supported file type: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.socket Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/test-clamd.log: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.pid: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/clamav.hdb: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/daily.pdb: OK Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND Mon Apr 29 21:23:34 2024 -> /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/reload-testfile: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/database/reload-test.ndb: ClamAV-RELOAD-TestFile.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 4 Time: 0.044 sec (0 m 0 s) Start Date: 2024:04:29 21:23:34 End Date: 2024:04:29 21:23:34 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9983== Memcheck, a memory error detector [INFO]: ==9983== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9983== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9983== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9983== Parent PID: 9754 [INFO]: ==9983== [INFO]: --9983-- [INFO]: --9983-- Valgrind options: [INFO]: --9983-- -v [INFO]: --9983-- --trace-children=yes [INFO]: --9983-- --track-fds=yes [INFO]: --9983-- --leak-check=full [INFO]: --9983-- --show-possibly-lost=no [INFO]: --9983-- --show-leak-kinds=definite [INFO]: --9983-- --errors-for-leak-kinds=definite [INFO]: --9983-- --main-stacksize=16777216 [INFO]: --9983-- --gen-suppressions=all [INFO]: --9983-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9983-- --error-exitcode=123 [INFO]: --9983-- Contents of /proc/version: [INFO]: --9983-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9983-- [INFO]: --9983-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9983-- Page sizes: currently 4096, max supported 4096 [INFO]: --9983-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --9983-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9983-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9983-- might be shown as UnknownInlinedFun [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9983-- object doesn't have a dynamic symbol table [INFO]: --9983-- Scheduler: using generic scheduler lock implementation. [INFO]: --9983-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9983== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== [INFO]: ==9983== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9983== don't want to do, unless you know exactly what you're doing, [INFO]: ==9983== or are doing some strange experiment): [INFO]: ==9983== /usr/libexec/valgrind/../../bin/vgdb --pid=9983 ...command... [INFO]: ==9983== [INFO]: ==9983== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9983== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==9983== and then give GDB the following command [INFO]: ==9983== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9983 [INFO]: ==9983== --pid is optional if only one valgrind process is running [INFO]: ==9983== [INFO]: --9983-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9983-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9983-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9983-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9983-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9983-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9983-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9983-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9983-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9983-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9983-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9983-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9983-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9983-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9983-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9983-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9983-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9983-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== Preferring higher priority redirection: [INFO]: --9983-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9983-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9983-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9983-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9983-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9983-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9983-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9983-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9983-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9983-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9983-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9983-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9983-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9983-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9983-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9983-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9983-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9983-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9983-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9983-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9983-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: ==9983== [INFO]: ==9983== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9983== Open AF_UNIX socket 4: [INFO]: ==9983== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9983== by 0x10D4C7: dconnect (clamdcom.c:279) [INFO]: ==9983== by 0x110B0B: ping_clamd (client.c:223) [INFO]: ==9983== by 0x10B54D: UnknownInlinedFun (client.c:398) [INFO]: ==9983== by 0x10B54D: main (clamdscan.c:169) [INFO]: ==9983== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9983== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9983== [INFO]: ==9983== [INFO]: ==9983== (No origin, error cannot be suppressed) [INFO]: ==9983== [INFO]: ==9983== HEAP SUMMARY: [INFO]: ==9983== in use at exit: 0 bytes in 0 blocks [INFO]: ==9983== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==9983== [INFO]: ==9983== All heap blocks were freed -- no leaks are possible [INFO]: ==9983== [INFO]: ==9983== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Mon Apr 29 21:23:34 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:34 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:34 2024 -> Pid file removed. Mon Apr 29 21:23:34 2024 -> --- Stopped at Mon Apr 29 21:23:34 2024 Mon Apr 29 21:23:34 2024 -> Closing the main sockets. Mon Apr 29 21:23:34 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9983== Memcheck, a memory error detector [INFO]: ==9983== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9983== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9983== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [INFO]: ==9983== Parent PID: 9754 [INFO]: ==9983== [INFO]: --9983-- [INFO]: --9983-- Valgrind options: [INFO]: --9983-- -v [INFO]: --9983-- --trace-children=yes [INFO]: --9983-- --track-fds=yes [INFO]: --9983-- --leak-check=full [INFO]: --9983-- --show-possibly-lost=no [INFO]: --9983-- --show-leak-kinds=definite [INFO]: --9983-- --errors-for-leak-kinds=definite [INFO]: --9983-- --main-stacksize=16777216 [INFO]: --9983-- --gen-suppressions=all [INFO]: --9983-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --9983-- --error-exitcode=123 [INFO]: --9983-- Contents of /proc/version: [INFO]: --9983-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9983-- [INFO]: --9983-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9983-- Page sizes: currently 4096, max supported 4096 [INFO]: --9983-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --9983-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9983-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9983-- might be shown as UnknownInlinedFun [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9983-- object doesn't have a dynamic symbol table [INFO]: --9983-- Scheduler: using generic scheduler lock implementation. [INFO]: --9983-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9983-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9983== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9983-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9983== [INFO]: ==9983== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9983== don't want to do, unless you know exactly what you're doing, [INFO]: ==9983== or are doing some strange experiment): [INFO]: ==9983== /usr/libexec/valgrind/../../bin/vgdb --pid=9983 ...command... [INFO]: ==9983== [INFO]: ==9983== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9983== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==9983== and then give GDB the following command [INFO]: ==9983== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9983 [INFO]: ==9983== --pid is optional if only one valgrind process is running [INFO]: ==9983== [INFO]: --9983-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9983-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9983-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9983-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9983-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9983-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9983-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9983-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9983-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9983-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9983-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9983-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9983-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9983-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9983-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9983-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9983-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9983-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9983-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9983-- REDIR: 0x4f53da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f683a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcacc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f505a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f67230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f672e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f68170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f504b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f52ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f51330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f74dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4fcade0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x4f511c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== Preferring higher priority redirection: [INFO]: --9983-- old: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9983-- new: 0x0500fe40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9983-- REDIR: 0x4f50430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f54030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f66e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f50e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f53aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9983-- REDIR: 0x4f548a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9983== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9983-- old: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9983-- new: 0x0500fe10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9983-- REDIR: 0x5014a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9983-- REDIR: 0x5012b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9983-- REDIR: 0x5013c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9983-- REDIR: 0x4f4c6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9983-- REDIR: 0x500fe10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9983-- REDIR: 0x5011fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9983-- REDIR: 0x50123d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9983-- REDIR: 0x4f4cd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9983-- REDIR: 0x500fe40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9983-- REDIR: 0x4f4d700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9983-- REDIR: 0x500f440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9983-- REDIR: 0x5031f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9983-- REDIR: 0x4f4cff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9983-- REDIR: 0x5010840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9983-- REDIR: 0x5011280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9983-- REDIR: 0x50142c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9983-- REDIR: 0x500fe00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9983-- REDIR: 0x500f6e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9983-- REDIR: 0x50121e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: ==9983== [INFO]: ==9983== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9983== Open AF_UNIX socket 4: [INFO]: ==9983== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9983== by 0x10D4C7: dconnect (clamdcom.c:279) [INFO]: ==9983== by 0x110B0B: ping_clamd (client.c:223) [INFO]: ==9983== by 0x10B54D: UnknownInlinedFun (client.c:398) [INFO]: ==9983== by 0x10B54D: main (clamdscan.c:169) [INFO]: ==9983== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9983== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9983== [INFO]: ==9983== [INFO]: ==9983== (No origin, error cannot be suppressed) [INFO]: ==9983== [INFO]: ==9983== HEAP SUMMARY: [INFO]: ==9983== in use at exit: 0 bytes in 0 blocks [INFO]: ==9983== total heap usage: 851 allocs, 851 frees, 67,771 bytes allocated [INFO]: ==9983== [INFO]: ==9983== All heap blocks were freed -- no leaks are possible [INFO]: ==9983== [INFO]: ==9983== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) _____________________ TC.test_clamd_10_allmatch_not_sticky _____________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamd_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --allmatch is not sticky [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf --wait --ping 10 /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode Mon Apr 29 21:23:36 2024 -> Limits: Global time limit set to 120000 milliseconds. Mon Apr 29 21:23:36 2024 -> Limits: Global size limit set to 419430400 bytes. Mon Apr 29 21:23:36 2024 -> Limits: File size limit set to 104857600 bytes. Mon Apr 29 21:23:36 2024 -> Limits: Recursion level limit set to 17. Mon Apr 29 21:23:36 2024 -> Limits: Files limit set to 10000. Mon Apr 29 21:23:36 2024 -> Limits: Core-dump limit is 0. Mon Apr 29 21:23:36 2024 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Mon Apr 29 21:23:36 2024 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Mon Apr 29 21:23:36 2024 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Mon Apr 29 21:23:36 2024 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Mon Apr 29 21:23:36 2024 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Mon Apr 29 21:23:36 2024 -> Limits: MaxPartitions limit set to 50. Mon Apr 29 21:23:36 2024 -> Limits: MaxIconsPE limit set to 100. Mon Apr 29 21:23:36 2024 -> Limits: MaxRecHWP3 limit set to 16. Mon Apr 29 21:23:36 2024 -> Limits: PCREMatchLimit limit set to 100000. Mon Apr 29 21:23:36 2024 -> Limits: PCRERecMatchLimit limit set to 2000. Mon Apr 29 21:23:36 2024 -> Limits: PCREMaxFileSize limit set to 104857600. Mon Apr 29 21:23:36 2024 -> Archive support enabled. Mon Apr 29 21:23:36 2024 -> AlertExceedsMax heuristic detection disabled. Mon Apr 29 21:23:36 2024 -> Heuristic alerts enabled. Mon Apr 29 21:23:36 2024 -> Portable Executable support enabled. Mon Apr 29 21:23:36 2024 -> ELF support enabled. Mon Apr 29 21:23:36 2024 -> Mail files support enabled. Mon Apr 29 21:23:36 2024 -> OLE2 support enabled. Mon Apr 29 21:23:36 2024 -> PDF support enabled. Mon Apr 29 21:23:36 2024 -> SWF support enabled. Mon Apr 29 21:23:36 2024 -> HTML support enabled. Mon Apr 29 21:23:36 2024 -> XMLDOCS support enabled. Mon Apr 29 21:23:36 2024 -> HWP3 support enabled. Mon Apr 29 21:23:36 2024 -> Heuristic: precedence enabled Mon Apr 29 21:23:36 2024 -> Self checking every 600 seconds. Mon Apr 29 21:23:36 2024 -> Listening daemon: PID: 9994 Mon Apr 29 21:23:36 2024 -> MaxQueue set to: 800 Mon Apr 29 21:23:37 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 4.520 sec (0 m 4 s) Start Date: 2024:04:29 21:23:34 End Date: 2024:04:29 21:23:39 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf --allmatch /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND Mon Apr 29 21:23:39 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND Mon Apr 29 21:23:40 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND Mon Apr 29 21:23:42 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 4.759 sec (0 m 4 s) Start Date: 2024:04:29 21:23:39 End Date: 2024:04:29 21:23:44 [DEBUG]: stderr: [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/clamd-test.conf /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe Mon Apr 29 21:23:44 2024 -> /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 1.359 sec (0 m 1 s) Start Date: 2024:04:29 21:23:44 End Date: 2024:04:29 21:23:45 [DEBUG]: stderr: Mon Apr 29 21:23:45 2024 -> Waiting for all threads to finish Mon Apr 29 21:23:45 2024 -> Shutting down the main sockets. Mon Apr 29 21:23:45 2024 -> Pid file removed. Mon Apr 29 21:23:45 2024 -> --- Stopped at Mon Apr 29 21:23:45 2024 Mon Apr 29 21:23:45 2024 -> Closing the main sockets. Mon Apr 29 21:23:45 2024 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10020== Memcheck, a memory error detector [INFO]: ==10020== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10020== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10020== Command: /usr/bin/basename /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [INFO]: ==10020== Parent PID: 10019 [INFO]: ==10020== [INFO]: --10020-- [INFO]: --10020-- Valgrind options: [INFO]: --10020-- -v [INFO]: --10020-- --trace-children=yes [INFO]: --10020-- --track-fds=yes [INFO]: --10020-- --leak-check=full [INFO]: --10020-- --show-possibly-lost=no [INFO]: --10020-- --show-leak-kinds=definite [INFO]: --10020-- --errors-for-leak-kinds=definite [INFO]: --10020-- --main-stacksize=16777216 [INFO]: --10020-- --gen-suppressions=all [INFO]: --10020-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10020-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: --10020-- --error-exitcode=123 [INFO]: --10020-- Contents of /proc/version: [INFO]: --10020-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10020-- [INFO]: --10020-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10020-- Page sizes: currently 4096, max supported 4096 [INFO]: --10020-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10020-- Reading syms from /usr/bin/basename [INFO]: --10020-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10020-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10020-- might be shown as UnknownInlinedFun [INFO]: --10020-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10020-- object doesn't have a dynamic symbol table [INFO]: --10020-- Scheduler: using generic scheduler lock implementation. [INFO]: --10020-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10020-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10020== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10020-by-???-on-??? [INFO]: ==10020== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10020-by-???-on-??? [INFO]: ==10020== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10020-by-???-on-??? [INFO]: ==10020== [INFO]: ==10020== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10020== don't want to do, unless you know exactly what you're doing, [INFO]: ==10020== or are doing some strange experiment): [INFO]: ==10020== /usr/libexec/valgrind/../../bin/vgdb --pid=10020 ...command... [INFO]: ==10020== [INFO]: ==10020== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10020== /path/to/gdb /usr/bin/basename [INFO]: ==10020== and then give GDB the following command [INFO]: ==10020== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10020 [INFO]: ==10020== --pid is optional if only one valgrind process is running [INFO]: ==10020== [INFO]: --10020-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10020-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10020-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10020-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10020-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10020== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10020-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10020-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10020== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10020-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10020-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10020-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10020-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10020-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10020-- REDIR: 0x490cda0 (libc.so.6:strnlen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490ce30 (libc.so.6:strpbrk) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490af30 (libc.so.6:strcmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4921ca0 (libc.so.6:wcsnlen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490a010 (libc.so.6:memset) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x49213a0 (libc.so.6:wcslen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4983cc0 (libc.so.6:__memcpy_chk) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4909f80 (libc.so.6:memrchr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4921c40 (libc.so.6:wcsncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x49095a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4920230 (libc.so.6:wcschr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490ae20 (libc.so.6:index) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490ce60 (libc.so.6:rindex) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x49202e0 (libc.so.6:wcscmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490a230 (libc.so.6:stpncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x492dd40 (libc.so.6:wmemchr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490cc40 (libc.so.6:strncmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490a290 (libc.so.6:strcasecmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490c060 (libc.so.6:strcspn) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4921170 (libc.so.6:wcscpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490adb0 (libc.so.6:strcat) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490cb40 (libc.so.6:strncasecmp_l) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490aea0 (libc.so.6:strchrnul) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x49094b0 (libc.so.6:bcmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490bff0 (libc.so.6:strcpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490a330 (libc.so.6:strcasecmp_l) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490ca10 (libc.so.6:strlen) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490cce0 (libc.so.6:strncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x492ddc0 (libc.so.6:wmemcmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4983de0 (libc.so.6:__memmove_chk) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: ==10020== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10020-- old: 0x049c8e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10020-- new: 0x049c8e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10020-- REDIR: 0x490a1c0 (libc.so.6:stpcpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4909d40 (libc.so.6:memmove) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: ==10020== Preferring higher priority redirection: [INFO]: --10020-- old: 0x049c8e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10020-- new: 0x049c8e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10020-- REDIR: 0x4909430 (libc.so.6:memchr) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490d030 (libc.so.6:strspn) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x491fe60 (libc.so.6:wcpncpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x4909e60 (libc.so.6:mempcpy) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x490caa0 (libc.so.6:strncasecmp) redirected to 0x48381ea (_vgnU_ifunc_wrapper) [INFO]: --10020-- REDIR: 0x49cda30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10020-- REDIR: 0x49ccc60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10020-- REDIR: 0x49cb3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10020-- REDIR: 0x49cbb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10020-- REDIR: 0x49cafa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10020-- REDIR: 0x4905d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10020-- REDIR: 0x49056b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10020-- REDIR: 0x49c8e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: ==10020== [INFO]: ==10020== FILE DESCRIPTORS: 13 open (1 std) at exit. [INFO]: ==10020== Open file descriptor 14: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 10: [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 9: [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 8: [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 7: [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10020== [INFO]: ==10020== [INFO]: ==10020== (No origin, error cannot be suppressed) [INFO]: ==10020== [INFO]: ==10020== HEAP SUMMARY: [INFO]: ==10020== in use at exit: 0 bytes in 0 blocks [INFO]: ==10020== total heap usage: 4 allocs, 4 frees, 4,149 bytes allocated [INFO]: ==10020== [INFO]: ==10020== All heap blocks were freed -- no leaks are possible [INFO]: ==10020== [INFO]: ==10020== ERROR SUMMARY: 12 errors from 12 contexts (suppressed: 0 from 0) [INFO]: ==10019== [INFO]: ==10019== FILE DESCRIPTORS: 15 open (3 std) at exit. [INFO]: ==10019== Open file descriptor 255: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/virusaction-test.sh [INFO]: ==10019== at 0x49921DB: dup2 (in /usr/lib64/libc.so.6) [INFO]: ==10019== by 0x13B86C: move_to_high_fd (in /usr/bin/bash) [INFO]: ==10019== by 0x12DB2D: main (in /usr/bin/bash) [INFO]: ==10019== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup2 [INFO]: fun:move_to_high_fd [INFO]: fun:main [INFO]: } [INFO]: ==10019== Open file descriptor 13: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open file descriptor 12: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open AF_UNIX socket 11: clamd-test.socket [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open file descriptor 10: [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open file descriptor 9: [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open file descriptor 8: [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open file descriptor 7: [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open AF_UNIX socket 6: clamd-test.socket [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open AF_INET socket 5: 127.0.0.1:3319 <-> [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open AF_INET6 socket 4: [::1]:3319 <-> [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==10019== [INFO]: ==10019== [INFO]: ==10019== (No origin, error cannot be suppressed) [INFO]: ==10019== [INFO]: ==10019== HEAP SUMMARY: [INFO]: ==10019== in use at exit: 50,145 bytes in 405 blocks [INFO]: ==10019== total heap usage: 520 allocs, 115 frees, 75,870 bytes allocated [INFO]: ==10019== [INFO]: ==10019== Searching for pointers to 405 not-freed blocks [INFO]: ==10019== Checked 210,768 bytes [INFO]: ==10019== [INFO]: ==10019== 624 (32 direct, 592 indirect) bytes in 1 blocks are definitely lost in loss record 325 of 334 [INFO]: ==10019== at 0x484382F: malloc (vg_replace_malloc.c:446) [INFO]: ==10019== by 0x13CA8F: make_if_command (in /usr/bin/bash) [INFO]: ==10019== by 0x136974: yyparse (in /usr/bin/bash) [INFO]: ==10019== by 0x13949F: parse_command (in /usr/bin/bash) [INFO]: ==10019== by 0x13966B: read_command (in /usr/bin/bash) [INFO]: ==10019== by 0x13988D: reader_loop (in /usr/bin/bash) [INFO]: ==10019== by 0x12D526: main (in /usr/bin/bash) [INFO]: ==10019== [INFO]: { [INFO]: [INFO]: Memcheck:Leak [INFO]: match-leak-kinds: definite [INFO]: fun:malloc [INFO]: fun:make_if_command [INFO]: fun:yyparse [INFO]: fun:parse_command [INFO]: fun:read_command [INFO]: fun:reader_loop [INFO]: fun:main [INFO]: } [INFO]: ==10019== LEAK SUMMARY: [INFO]: ==10019== definitely lost: 32 bytes in 1 blocks [INFO]: ==10019== indirectly lost: 592 bytes in 29 blocks [INFO]: ==10019== possibly lost: 0 bytes in 0 blocks [INFO]: ==10019== still reachable: 49,521 bytes in 375 blocks [INFO]: ==10019== suppressed: 0 bytes in 0 blocks [INFO]: ==10019== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10019== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10019== [INFO]: ==10019== ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 0 from 0) [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x10DF41: main (clamd.c:844) [INFO]: ==9994== Previously closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9994== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9994== Originally opened [INFO]: ==9994== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9994== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9994== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x10DF41: main (clamd.c:844) [INFO]: ==9994== Previously closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9994== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9994== Originally opened [INFO]: ==9994== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9994== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9994== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x10DF41: main (clamd.c:844) [INFO]: ==9994== Previously closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9994== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9994== Originally opened [INFO]: ==9994== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9994== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --9994-- REDIR: 0x4f4ddd0 (libc.so.6:malloc_usable_size) redirected to 0x484c23d (malloc_usable_size) [INFO]: --9994-- REDIR: 0x5032050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9994-- REDIR: 0x502f3b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==9994== [INFO]: ==9994== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9994== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s/valgrind.log [INFO]: ==9994== [INFO]: ==9994== [INFO]: ==9994== (No origin, error cannot be suppressed) [INFO]: ==9994== [INFO]: ==9994== HEAP SUMMARY: [INFO]: ==9994== in use at exit: 0 bytes in 0 blocks [INFO]: ==9994== total heap usage: 13,499 allocs, 13,499 frees, 3,826,111 bytes allocated [INFO]: ==9994== [INFO]: ==9994== All heap blocks were freed -- no leaks are possible [INFO]: ==9994== [INFO]: ==9994== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) [INFO]: ==9994== [INFO]: ==9994== 1 errors in context 1 of 4: [INFO]: ==9994== File descriptor 6: AF_UNIX socket 6: clamd-test.socket is already closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x10DF41: main (clamd.c:844) [INFO]: ==9994== Previously closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9994== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9994== Originally opened [INFO]: ==9994== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x112BB4: localserver (localserver.c:149) [INFO]: ==9994== by 0x10EBAB: main (clamd.c:733) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9994== [INFO]: ==9994== 1 errors in context 2 of 4: [INFO]: ==9994== File descriptor 5: AF_INET socket 5: 127.0.0.1:3319 <-> is already closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x10DF41: main (clamd.c:844) [INFO]: ==9994== Previously closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9994== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9994== Originally opened [INFO]: ==9994== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9994== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9994== [INFO]: ==9994== 1 errors in context 3 of 4: [INFO]: ==9994== File descriptor 4: /proc/self/status is already closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x10DF41: main (clamd.c:844) [INFO]: ==9994== Previously closed [INFO]: ==9994== at 0x4FABF8C: close (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x118259: acceptloop_th (server-th.c:653) [INFO]: ==9994== by 0x4F3C1F6: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x4FBE233: clone (in /usr/lib64/libc.so.6) [INFO]: ==9994== Originally opened [INFO]: ==9994== at 0x4FC0A7B: socket (in /usr/lib64/libc.so.6) [INFO]: ==9994== by 0x1134CB: tcpserver (tcpserver.c:134) [INFO]: ==9994== by 0x10F464: main (clamd.c:703) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==9994== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-y2zppt6s =========================== short test summary info ============================ FAILED clamd_test.py::TC::test_clamd_00_version - AssertionError: assert 123 ... FAILED clamd_test.py::TC::test_clamd_01_ping_pong - AssertionError: Valgrind ... FAILED clamd_test.py::TC::test_clamd_02_clamdscan_version - AssertionError: V... FAILED clamd_test.py::TC::test_clamd_03_reload - AssertionError: Valgrind tes... FAILED clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Valgr... FAILED clamd_test.py::TC::test_clamd_05_check_clamd - UnicodeDecodeError: 'ut... FAILED clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off - Asserti... FAILED clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on - Assertio... FAILED clamd_test.py::TC::test_clamd_08_VirusEvent - AssertionError: Valgrind... FAILED clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath - AssertionErro... FAILED clamd_test.py::TC::test_clamd_10_allmatch_not_sticky - AssertionError:... ERROR clamd_test.py::TC::test_clamd_00_version - AssertionError: Valgrind tes... ERROR clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath - AssertionError... =================== 11 failed, 2 errors in 63.74s (0:01:03) ==================== 4/5 Test #2: libclamav_valgrind ...............***Failed 79.79 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 1 item libclamav_test.py::TC::test_libclamav_00_unit_test FAILED [100%] libclamav_test.py::TC::test_libclamav_00_unit_test ERROR [100%] ==================================== ERRORS ==================================== _____________ ERROR at teardown of TC.test_libclamav_00_unit_test ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() libclamav_test.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [DEBUG]: Exit code: 123 [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) Running suite(s): cl_suite cli jsnorm str regex disasm unique matchers htmlnorm bytecode 100%: Checks: 1146, Failures: 0, Errors: 0 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9758== Memcheck, a memory error detector [INFO]: ==9758== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9758== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9758== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9758== Parent PID: 9752 [INFO]: ==9758== [INFO]: --9758-- [INFO]: --9758-- Valgrind options: [INFO]: --9758-- -v [INFO]: --9758-- --trace-children=yes [INFO]: --9758-- --track-fds=yes [INFO]: --9758-- --leak-check=full [INFO]: --9758-- --show-possibly-lost=no [INFO]: --9758-- --show-leak-kinds=definite [INFO]: --9758-- --errors-for-leak-kinds=definite [INFO]: --9758-- --main-stacksize=16777216 [INFO]: --9758-- --gen-suppressions=all [INFO]: --9758-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9758-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log [INFO]: --9758-- --error-exitcode=123 [INFO]: --9758-- Contents of /proc/version: [INFO]: --9758-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9758-- [INFO]: --9758-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9758-- Page sizes: currently 4096, max supported 4096 [INFO]: --9758-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9758-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: --9758-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9758-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9758-- might be shown as UnknownInlinedFun [INFO]: --9758-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9758-- object doesn't have a dynamic symbol table [INFO]: --9758-- Scheduler: using generic scheduler lock implementation. [INFO]: --9758-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9758-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9758== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9758-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9758== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9758-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9758== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9758-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9758== [INFO]: ==9758== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9758== don't want to do, unless you know exactly what you're doing, [INFO]: ==9758== or are doing some strange experiment): [INFO]: ==9758== /usr/libexec/valgrind/../../bin/vgdb --pid=9758 ...command... [INFO]: ==9758== [INFO]: ==9758== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9758== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9758== and then give GDB the following command [INFO]: ==9758== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9758 [INFO]: ==9758== --pid is optional if only one valgrind process is running [INFO]: ==9758== [INFO]: --9758-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9758-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9758-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9758-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9758-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9758-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9758-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9758-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9758-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9758-- Reading syms from /usr/lib64/libcheck.so.0.15.2 [INFO]: --9758-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9758-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9758-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9758-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9758-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9758-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9758-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9758-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9758-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9758-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9758-- Reading syms from /usr/lib64/libsubunit.so.0.0.0 [INFO]: --9758-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9758-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9758-- REDIR: 0x50bdda0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bde30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbf30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d2ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d23a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x5134cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50baf80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d2c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50ba5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d1230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbe20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bde60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d12e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50ded40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdc40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bd060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d2170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbdb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdb40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50ba4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bcff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bda10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50dedc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x5134de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9758-- REDIR: 0x50bb1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bad40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9758== Preferring higher priority redirection: [INFO]: --9758-- old: 0x05179e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9758-- new: 0x05179e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9758-- REDIR: 0x50ba430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50be030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d0e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bae60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdaa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50be8a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9758-- REDIR: 0x50bdbe0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x517ea30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9758-- REDIR: 0x517cb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9758-- REDIR: 0x517dc60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9758-- REDIR: 0x50b66b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9758-- REDIR: 0x5179e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9758-- REDIR: 0x50b6ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9758-- REDIR: 0x5179e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9758-- REDIR: 0x517bfa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9758-- REDIR: 0x517c1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9758-- REDIR: 0x519c050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9758-- REDIR: 0x50b6d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9758-- REDIR: 0x50b7700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9758-- REDIR: 0x517a840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9758-- REDIR: 0x517c930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9758-- REDIR: 0x5179440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9758-- REDIR: 0x517c3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9758-- REDIR: 0x5179e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9758-- REDIR: 0x51993b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9758-- REDIR: 0x517aaf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9758-- REDIR: 0x517b280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9758-- REDIR: 0x519bf50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9758-- REDIR: 0x517e2c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9758-- REDIR: 0x50ce920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9758-- REDIR: 0x50b83a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9758-- REDIR: 0x50bd920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9758-- REDIR: 0x517bc90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9758-- REDIR: 0x51796e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9758-- REDIR: 0x517e760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9758-- REDIR: 0x517cd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9758-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9758-- REDIR: 0x5135890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9758-- REDIR: 0x517b290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9758-- Reading syms from /usr/lib64/gconv/SJIS.so [INFO]: --9758-- Discarding syms at 0x5cfa0f0-0x5cfb831 in /usr/lib64/gconv/SJIS.so (have_dinfo 1) [INFO]: --9758-- REDIR: 0x50bd9a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --9758-- REDIR: 0x517d840 (libc.so.6:__strncat_avx2) redirected to 0x484cb20 (strncat) [INFO]: --9758-- Discarding syms at 0x65f3130-0x65f4a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9758== [INFO]: ==9758== FILE DESCRIPTORS: 10 open (3 std) at exit. [INFO]: ==9758== Open file descriptor 12: /tmp/20240429_212348-scantemp.6ceec7f9de/ole2-tmp.d95a4f55e2/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x112FB9: test_cl_scanmap_callback_mem_fn (check_clamav.c:742) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:test_cl_scanmap_callback_mem_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 11: /tmp/20240429_212337-scantemp.854cfd898a/ole2-tmp.b96241c38e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x112B08: test_cl_scanmap_callback_handle_fn (check_clamav.c:672) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:test_cl_scanmap_callback_handle_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 10: /tmp/20240429_212326-scantemp.f1c9144bac/ole2-tmp.f2ec4ac6c6/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x492570F: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9758== by 0x11188D: test_cl_scanfile_callback_fn (check_clamav.c:321) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 9: /tmp/20240429_212316-scantemp.999d9b57b9/ole2-tmp.1c58ff0096/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x111C11: test_cl_scandesc_callback_fn (check_clamav.c:375) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:test_cl_scandesc_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 8: /tmp/20240429_212303-scantemp.07afa29233/ole2-tmp.fe0c29522f/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x492570F: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9758== by 0x11150A: test_cl_scanfile_fn (check_clamav.c:267) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 7: /tmp/20240429_212250-scantemp.da12752348/ole2-tmp.bb830cf970/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x4925682: cl_scandesc (scanners.c:5151) [INFO]: ==9758== by 0x11117B: test_cl_scandesc_fn (check_clamav.c:212) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scandesc [INFO]: fun:test_cl_scandesc_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log [INFO]: ==9758== [INFO]: ==9758== [INFO]: ==9758== (No origin, error cannot be suppressed) [INFO]: ==9758== [INFO]: ==9758== HEAP SUMMARY: [INFO]: ==9758== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9758== total heap usage: 1,064,698 allocs, 1,064,570 frees, 1,175,399,007 bytes allocated [INFO]: ==9758== [INFO]: ==9758== Searching for pointers to 128 not-freed blocks [INFO]: ==9758== Checked 13,011,456 bytes [INFO]: ==9758== [INFO]: ==9758== LEAK SUMMARY: [INFO]: ==9758== definitely lost: 0 bytes in 0 blocks [INFO]: ==9758== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9758== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9758== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9758== suppressed: 0 bytes in 0 blocks [INFO]: ==9758== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9758== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9758== [INFO]: ==9758== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic =================================== FAILURES =================================== ________________________ TC.test_libclamav_00_unit_test ________________________ self = def test_libclamav_00_unit_test(self): self.step_name('libclamav unit tests') # If no valgrind, valgrind nad valgrind args are empty strings command = '{valgrind} {valgrind_args} {check_clamav}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, check_clamav=TC.check_clamav ) output = self.execute_command(command) > assert output.ec == 0 # success E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Using default test timeout; alter by setting 'T' env var (in seconds)\nRunning suite(s): cl_suite\n cli\n jsnorm\n str\n regex\n disasm\n unique\n matchers\n htmlnorm\n bytecode\n100%: Checks: 1146, Failures: 0, Errors: 0\n", err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/libclamav_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [DEBUG]: Exit code: 123 [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) Running suite(s): cl_suite cli jsnorm str regex disasm unique matchers htmlnorm bytecode 100%: Checks: 1146, Failures: 0, Errors: 0 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9758== Memcheck, a memory error detector [INFO]: ==9758== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9758== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9758== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9758== Parent PID: 9752 [INFO]: ==9758== [INFO]: --9758-- [INFO]: --9758-- Valgrind options: [INFO]: --9758-- -v [INFO]: --9758-- --trace-children=yes [INFO]: --9758-- --track-fds=yes [INFO]: --9758-- --leak-check=full [INFO]: --9758-- --show-possibly-lost=no [INFO]: --9758-- --show-leak-kinds=definite [INFO]: --9758-- --errors-for-leak-kinds=definite [INFO]: --9758-- --main-stacksize=16777216 [INFO]: --9758-- --gen-suppressions=all [INFO]: --9758-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9758-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log [INFO]: --9758-- --error-exitcode=123 [INFO]: --9758-- Contents of /proc/version: [INFO]: --9758-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9758-- [INFO]: --9758-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9758-- Page sizes: currently 4096, max supported 4096 [INFO]: --9758-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9758-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: --9758-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9758-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9758-- might be shown as UnknownInlinedFun [INFO]: --9758-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9758-- object doesn't have a dynamic symbol table [INFO]: --9758-- Scheduler: using generic scheduler lock implementation. [INFO]: --9758-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9758-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9758== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9758-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9758== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9758-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9758== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9758-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9758== [INFO]: ==9758== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9758== don't want to do, unless you know exactly what you're doing, [INFO]: ==9758== or are doing some strange experiment): [INFO]: ==9758== /usr/libexec/valgrind/../../bin/vgdb --pid=9758 ...command... [INFO]: ==9758== [INFO]: ==9758== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9758== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==9758== and then give GDB the following command [INFO]: ==9758== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9758 [INFO]: ==9758== --pid is optional if only one valgrind process is running [INFO]: ==9758== [INFO]: --9758-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9758-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9758-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9758-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9758-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9758-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9758-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9758-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9758-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9758-- Reading syms from /usr/lib64/libcheck.so.0.15.2 [INFO]: --9758-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9758-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9758-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9758-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9758-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9758-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9758-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9758-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9758-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9758-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9758-- Reading syms from /usr/lib64/libsubunit.so.0.0.0 [INFO]: --9758-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9758-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9758-- REDIR: 0x50bdda0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bde30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbf30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d2ca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d23a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x5134cc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50baf80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d2c40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50ba5a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d1230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbe20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bde60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d12e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50ded40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdc40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bd060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d2170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbdb0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdb40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bbea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50ba4b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bcff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bb330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bda10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50dedc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x5134de0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9758-- REDIR: 0x50bb1c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bad40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9758== Preferring higher priority redirection: [INFO]: --9758-- old: 0x05179e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9758-- new: 0x05179e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9758-- REDIR: 0x50ba430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50be030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50d0e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bae60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50bdaa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x50be8a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9758== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9758-- old: 0x05179e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9758-- new: 0x05179e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9758-- REDIR: 0x50bdbe0 (libc.so.6:strncat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9758-- REDIR: 0x517ea30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9758-- REDIR: 0x517cb80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9758-- REDIR: 0x517dc60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9758-- REDIR: 0x50b66b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9758-- REDIR: 0x5179e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9758-- REDIR: 0x50b6ff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9758-- REDIR: 0x5179e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9758-- REDIR: 0x517bfa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9758-- REDIR: 0x517c1e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9758-- REDIR: 0x519c050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9758-- REDIR: 0x50b6d90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9758-- REDIR: 0x50b7700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9758-- REDIR: 0x517a840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9758-- REDIR: 0x517c930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9758-- REDIR: 0x5179440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9758-- REDIR: 0x517c3d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9758-- REDIR: 0x5179e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9758-- REDIR: 0x51993b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9758-- REDIR: 0x517aaf0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9758-- REDIR: 0x517b280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9758-- REDIR: 0x519bf50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9758-- REDIR: 0x517e2c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9758-- REDIR: 0x50ce920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9758-- REDIR: 0x50b83a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9758-- REDIR: 0x50bd920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9758-- REDIR: 0x517bc90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9758-- REDIR: 0x51796e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9758-- REDIR: 0x517e760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9758-- REDIR: 0x517cd00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9758-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9758-- REDIR: 0x5135890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9758-- REDIR: 0x517b290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9758-- Reading syms from /usr/lib64/gconv/SJIS.so [INFO]: --9758-- Discarding syms at 0x5cfa0f0-0x5cfb831 in /usr/lib64/gconv/SJIS.so (have_dinfo 1) [INFO]: --9758-- REDIR: 0x50bd9a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --9758-- REDIR: 0x517d840 (libc.so.6:__strncat_avx2) redirected to 0x484cb20 (strncat) [INFO]: --9758-- Discarding syms at 0x65f3130-0x65f4a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9758== [INFO]: ==9758== FILE DESCRIPTORS: 10 open (3 std) at exit. [INFO]: ==9758== Open file descriptor 12: /tmp/20240429_212348-scantemp.6ceec7f9de/ole2-tmp.d95a4f55e2/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x112FB9: test_cl_scanmap_callback_mem_fn (check_clamav.c:742) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:test_cl_scanmap_callback_mem_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 11: /tmp/20240429_212337-scantemp.854cfd898a/ole2-tmp.b96241c38e/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x112B08: test_cl_scanmap_callback_handle_fn (check_clamav.c:672) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:test_cl_scanmap_callback_handle_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 10: /tmp/20240429_212326-scantemp.f1c9144bac/ole2-tmp.f2ec4ac6c6/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x492570F: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9758== by 0x11188D: test_cl_scanfile_callback_fn (check_clamav.c:321) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 9: /tmp/20240429_212316-scantemp.999d9b57b9/ole2-tmp.1c58ff0096/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x111C11: test_cl_scandesc_callback_fn (check_clamav.c:375) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:test_cl_scandesc_callback_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 8: /tmp/20240429_212303-scantemp.07afa29233/ole2-tmp.fe0c29522f/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x492570F: cl_scanfile_callback (scanners.c:5797) [INFO]: ==9758== by 0x11150A: test_cl_scanfile_fn (check_clamav.c:267) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 7: /tmp/20240429_212250-scantemp.da12752348/ole2-tmp.bb830cf970/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9758== at 0x511A505: open (in /usr/lib64/libc.so.6) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9758== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9758== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9758== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9758== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9758== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9758== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9758== by 0x4925682: cl_scandesc (scanners.c:5151) [INFO]: ==9758== by 0x11117B: test_cl_scandesc_fn (check_clamav.c:212) [INFO]: ==9758== by 0x4EAE932: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x4EAEF41: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==9758== by 0x10F109: main (check_clamav.c:2062) [INFO]: ==9758== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:cl_scandesc [INFO]: fun:test_cl_scandesc_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==9758== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-s_gy5tic/valgrind.log [INFO]: ==9758== [INFO]: ==9758== [INFO]: ==9758== (No origin, error cannot be suppressed) [INFO]: ==9758== [INFO]: ==9758== HEAP SUMMARY: [INFO]: ==9758== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9758== total heap usage: 1,064,698 allocs, 1,064,570 frees, 1,175,399,007 bytes allocated [INFO]: ==9758== [INFO]: ==9758== Searching for pointers to 128 not-freed blocks [INFO]: ==9758== Checked 13,011,456 bytes [INFO]: ==9758== [INFO]: ==9758== LEAK SUMMARY: [INFO]: ==9758== definitely lost: 0 bytes in 0 blocks [INFO]: ==9758== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9758== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9758== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9758== suppressed: 0 bytes in 0 blocks [INFO]: ==9758== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9758== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9758== [INFO]: ==9758== ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED libclamav_test.py::TC::test_libclamav_00_unit_test - assert 123 == 0 ERROR libclamav_test.py::TC::test_libclamav_00_unit_test - AssertionError: Va... ==================== 1 failed, 1 error in 78.94s (0:01:18) ===================== 5/5 Test #5: clamscan_valgrind ................***Failed 113.22 sec ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.0.6/unit_tests collecting ... collected 49 items clamscan/_basic_test.py::TC::test_00_version FAILED [ 2%] clamscan/_basic_test.py::TC::test_00_version ERROR [ 2%] clamscan/_basic_test.py::TC::test_01_all_testfiles FAILED [ 4%] clamscan/_basic_test.py::TC::test_01_all_testfiles ERROR [ 4%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 FAILED [ 6%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 ERROR [ 6%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx FAILED [ 8%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx ERROR [ 8%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx FAILED [ 10%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx ERROR [ 10%] clamscan/allmatch_test.py::TC::test_many_sigs FAILED [ 12%] clamscan/allmatch_test.py::TC::test_many_sigs ERROR [ 12%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch FAILED [ 14%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch ERROR [ 14%] clamscan/allmatch_test.py::TC::test_pe_allmatch FAILED [ 16%] clamscan/allmatch_test.py::TC::test_pe_allmatch ERROR [ 16%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb FAILED [ 18%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb ERROR [ 18%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize FAILED [ 20%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize ERROR [ 20%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx FAILED [ 22%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx ERROR [ 22%] clamscan/assorted_test.py::TC::test_00_version FAILED [ 24%] clamscan/assorted_test.py::TC::test_00_version ERROR [ 24%] clamscan/assorted_test.py::TC::test_pe_cert_block FAILED [ 26%] clamscan/assorted_test.py::TC::test_pe_cert_block ERROR [ 26%] clamscan/assorted_test.py::TC::test_pe_cert_trust FAILED [ 28%] clamscan/assorted_test.py::TC::test_pe_cert_trust ERROR [ 28%] clamscan/assorted_test.py::TC::test_weak_indicator_icon FAILED [ 30%] clamscan/assorted_test.py::TC::test_weak_indicator_icon ERROR [ 30%] clamscan/bytecode_test.py::TC::test_pdf_hook FAILED [ 32%] clamscan/bytecode_test.py::TC::test_pdf_hook ERROR [ 32%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache FAILED [ 34%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache ERROR [ 34%] clamscan/container_sigs_test.py::TC::test_container FAILED [ 36%] clamscan/container_sigs_test.py::TC::test_container ERROR [ 36%] clamscan/container_sigs_test.py::TC::test_intermediates FAILED [ 38%] clamscan/container_sigs_test.py::TC::test_intermediates ERROR [ 38%] clamscan/container_sigs_test.py::TC::test_intermediates_cache FAILED [ 40%] clamscan/container_sigs_test.py::TC::test_intermediates_cache ERROR [ 40%] clamscan/fp_check_test.py::TC::test_alerts_on_normalized FAILED [ 42%] clamscan/fp_check_test.py::TC::test_alerts_on_zip FAILED [ 44%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized FAILED [ 46%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild FAILED [ 48%] clamscan/fp_check_test.py::TC::test_fp_for_normalized FAILED [ 51%] clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild FAILED [ 53%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file FAILED [ 55%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild FAILED [ 57%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm FAILED [ 59%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm ERROR [ 59%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming FAILED [ 61%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming ERROR [ 61%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash FAILED [ 63%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash ERROR [ 63%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch FAILED [ 65%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch ERROR [ 65%] clamscan/heuristics_test.py::TC::test_allmatch FAILED [ 67%] clamscan/heuristics_test.py::TC::test_allmatch ERROR [ 67%] clamscan/heuristics_test.py::TC::test_allmatch_precedence FAILED [ 69%] clamscan/heuristics_test.py::TC::test_allmatch_precedence ERROR [ 69%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator FAILED [ 71%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator ERROR [ 71%] clamscan/heuristics_test.py::TC::test_only_heur FAILED [ 73%] clamscan/heuristics_test.py::TC::test_only_heur ERROR [ 73%] clamscan/heuristics_test.py::TC::test_precedence FAILED [ 75%] clamscan/heuristics_test.py::TC::test_precedence ERROR [ 75%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png FAILED [ 77%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png ERROR [ 77%] clamscan/image_extraction_test.py::TC::test_xls_with_detection FAILED [ 79%] clamscan/image_extraction_test.py::TC::test_xls_with_detection ERROR [ 79%] clamscan/match_offsets_test.py::TC::test_LDB_VI FAILED [ 81%] clamscan/match_offsets_test.py::TC::test_LDB_VI ERROR [ 81%] clamscan/match_offsets_test.py::TC::test_yara_at_offset FAILED [ 83%] clamscan/match_offsets_test.py::TC::test_yara_at_offset ERROR [ 83%] clamscan/match_offsets_test.py::TC::test_yara_in_range FAILED [ 85%] clamscan/match_offsets_test.py::TC::test_yara_in_range ERROR [ 85%] clamscan/phishing_test.py::TC::test_not_enabled FAILED [ 87%] clamscan/phishing_test.py::TC::test_not_enabled ERROR [ 87%] clamscan/phishing_test.py::TC::test_ssl_and_cloak FAILED [ 89%] clamscan/phishing_test.py::TC::test_ssl_and_cloak ERROR [ 89%] clamscan/regex_test.py::TC::test_ldb_multi_pcre FAILED [ 91%] clamscan/regex_test.py::TC::test_ldb_multi_pcre ERROR [ 91%] clamscan/regex_test.py::TC::test_ldb_offset_pcre FAILED [ 93%] clamscan/regex_test.py::TC::test_ldb_offset_pcre ERROR [ 93%] clamscan/regex_test.py::TC::test_pcre_flag FAILED [ 95%] clamscan/regex_test.py::TC::test_pcre_flag ERROR [ 95%] clamscan/regex_test.py::TC::test_slash_colon FAILED [ 97%] clamscan/regex_test.py::TC::test_slash_colon ERROR [ 97%] clamscan/regex_test.py::TC::test_yara FAILED [100%] clamscan/regex_test.py::TC::test_yara ERROR [100%] ==================================== ERRORS ==================================== ___________________ ERROR at teardown of TC.test_00_version ____________________ self = <_basic_test.TC testMethod=test_00_version> def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_basic_test.TC testMethod=test_00_version> log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9767== Memcheck, a memory error detector [INFO]: ==9767== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9767== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9767== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9767== Parent PID: 9753 [INFO]: ==9767== [INFO]: --9767-- [INFO]: --9767-- Valgrind options: [INFO]: --9767-- -v [INFO]: --9767-- --trace-children=yes [INFO]: --9767-- --track-fds=yes [INFO]: --9767-- --leak-check=full [INFO]: --9767-- --show-possibly-lost=no [INFO]: --9767-- --show-leak-kinds=definite [INFO]: --9767-- --errors-for-leak-kinds=definite [INFO]: --9767-- --main-stacksize=16777216 [INFO]: --9767-- --gen-suppressions=all [INFO]: --9767-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9767-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: --9767-- --error-exitcode=123 [INFO]: --9767-- Contents of /proc/version: [INFO]: --9767-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9767-- [INFO]: --9767-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9767-- Page sizes: currently 4096, max supported 4096 [INFO]: --9767-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9767-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9767-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9767-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9767-- might be shown as UnknownInlinedFun [INFO]: --9767-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9767-- object doesn't have a dynamic symbol table [INFO]: --9767-- Scheduler: using generic scheduler lock implementation. [INFO]: --9767-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9767-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9767== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9767-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9767== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9767-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9767== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9767-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9767== [INFO]: ==9767== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9767== don't want to do, unless you know exactly what you're doing, [INFO]: ==9767== or are doing some strange experiment): [INFO]: ==9767== /usr/libexec/valgrind/../../bin/vgdb --pid=9767 ...command... [INFO]: ==9767== [INFO]: ==9767== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9767== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9767== and then give GDB the following command [INFO]: ==9767== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9767 [INFO]: ==9767== --pid is optional if only one valgrind process is running [INFO]: ==9767== [INFO]: --9767-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9767-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9767-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9767-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9767-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9767-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9767-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9767-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9767-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9767-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9767-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9767-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9767-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9767-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9767-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9767-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9767-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9767-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9767-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9767-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9767-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9767-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9767-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9767== Preferring higher priority redirection: [INFO]: --9767-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9767-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9767-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9767-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9767-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9767-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9767-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9767-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9767-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9767-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9767-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9767-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9767-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9767-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9767-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9767-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9767-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9767-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9767-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: ==9767== [INFO]: ==9767== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9767== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: ==9767== [INFO]: ==9767== [INFO]: ==9767== (No origin, error cannot be suppressed) [INFO]: ==9767== [INFO]: ==9767== HEAP SUMMARY: [INFO]: ==9767== in use at exit: 0 bytes in 0 blocks [INFO]: ==9767== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9767== [INFO]: ==9767== All heap blocks were freed -- no leaks are possible [INFO]: ==9767== [INFO]: ==9767== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________ ERROR at teardown of TC.test_01_all_testfiles _________________ self = <_basic_test.TC testMethod=test_01_all_testfiles> def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_basic_test.TC testMethod=test_01_all_testfiles> log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan alerts on all test files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/database/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 47 Data scanned: 14.05 MB Data read: 6.91 MB (ratio 2.03:1) Time: 6.180 sec (0 m 6 s) Start Date: 2024:04:29 21:22:43 End Date: 2024:04:29 21:22:50 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9769== Memcheck, a memory error detector [INFO]: ==9769== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9769== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9769== Parent PID: 9753 [INFO]: ==9769== [INFO]: --9769-- [INFO]: --9769-- Valgrind options: [INFO]: --9769-- -v [INFO]: --9769-- --trace-children=yes [INFO]: --9769-- --track-fds=yes [INFO]: --9769-- --leak-check=full [INFO]: --9769-- --show-possibly-lost=no [INFO]: --9769-- --show-leak-kinds=definite [INFO]: --9769-- --errors-for-leak-kinds=definite [INFO]: --9769-- --main-stacksize=16777216 [INFO]: --9769-- --gen-suppressions=all [INFO]: --9769-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9769-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: --9769-- --error-exitcode=123 [INFO]: --9769-- Contents of /proc/version: [INFO]: --9769-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9769-- [INFO]: --9769-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9769-- Page sizes: currently 4096, max supported 4096 [INFO]: --9769-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9769-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9769-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9769-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9769-- might be shown as UnknownInlinedFun [INFO]: --9769-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9769-- object doesn't have a dynamic symbol table [INFO]: --9769-- Scheduler: using generic scheduler lock implementation. [INFO]: --9769-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9769-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9769== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9769-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9769== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9769-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9769== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9769-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9769== [INFO]: ==9769== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9769== don't want to do, unless you know exactly what you're doing, [INFO]: ==9769== or are doing some strange experiment): [INFO]: ==9769== /usr/libexec/valgrind/../../bin/vgdb --pid=9769 ...command... [INFO]: ==9769== [INFO]: ==9769== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9769== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9769== and then give GDB the following command [INFO]: ==9769== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9769 [INFO]: ==9769== --pid is optional if only one valgrind process is running [INFO]: ==9769== [INFO]: --9769-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9769-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9769-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9769-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9769-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9769-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9769-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9769-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9769-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9769-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9769-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9769-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9769-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9769-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9769-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9769-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9769-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9769-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9769-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9769-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9769-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9769-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9769-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9769== Preferring higher priority redirection: [INFO]: --9769-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9769-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9769-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9769-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9769-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9769-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9769-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9769-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9769-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9769-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9769-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9769-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9769-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9769-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9769-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9769-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9769-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9769-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9769-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9769-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9769-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9769-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9769-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9769-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9769-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9769-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9769-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9769-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9769-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9769-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9769-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9769-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9769-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9769-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9769-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9769== [INFO]: ==9769== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9769== Open file descriptor 5: /tmp/20240429_212249-scantemp.bf4a04634e/ole2-tmp.7ddf8378c7/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9769== at 0x5093505: open (in /usr/lib64/libc.so.6) [INFO]: ==9769== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9769== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9769== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9769== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9769== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9769== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9769== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9769== by 0x1131E1: scanfile (manager.c:411) [INFO]: ==9769== by 0x10E744: UnknownInlinedFun (manager.c:1018) [INFO]: ==9769== by 0x10E744: UnknownInlinedFun (manager.c:1625) [INFO]: ==9769== by 0x10E744: main (clamscan.c:171) [INFO]: ==9769== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfile [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9769== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: ==9769== [INFO]: ==9769== [INFO]: ==9769== (No origin, error cannot be suppressed) [INFO]: ==9769== [INFO]: ==9769== HEAP SUMMARY: [INFO]: ==9769== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9769== total heap usage: 17,063 allocs, 16,935 frees, 50,746,804 bytes allocated [INFO]: ==9769== [INFO]: ==9769== Searching for pointers to 128 not-freed blocks [INFO]: ==9769== Checked 8,661,016 bytes [INFO]: ==9769== [INFO]: ==9769== LEAK SUMMARY: [INFO]: ==9769== definitely lost: 0 bytes in 0 blocks [INFO]: ==9769== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9769== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9769== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9769== suppressed: 0 bytes in 0 blocks [INFO]: ==9769== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9769== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9769== [INFO]: ==9769== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_02_all_testfiles_ign2 ______________ self = <_basic_test.TC testMethod=test_02_all_testfiles_ign2> def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/_basic_test.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_basic_test.TC testMethod=test_02_all_testfiles_ign2> log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan ignores ClamAV-Test-File alerts [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 0 Data scanned: 21.06 MB Data read: 6.91 MB (ratio 3.05:1) Time: 7.018 sec (0 m 7 s) Start Date: 2024:04:29 21:22:50 End Date: 2024:04:29 21:22:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9802== Memcheck, a memory error detector [INFO]: ==9802== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9802== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9802== Parent PID: 9753 [INFO]: ==9802== [INFO]: --9802-- [INFO]: --9802-- Valgrind options: [INFO]: --9802-- -v [INFO]: --9802-- --trace-children=yes [INFO]: --9802-- --track-fds=yes [INFO]: --9802-- --leak-check=full [INFO]: --9802-- --show-possibly-lost=no [INFO]: --9802-- --show-leak-kinds=definite [INFO]: --9802-- --errors-for-leak-kinds=definite [INFO]: --9802-- --main-stacksize=16777216 [INFO]: --9802-- --gen-suppressions=all [INFO]: --9802-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9802-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: --9802-- --error-exitcode=123 [INFO]: --9802-- Contents of /proc/version: [INFO]: --9802-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9802-- [INFO]: --9802-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9802-- Page sizes: currently 4096, max supported 4096 [INFO]: --9802-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9802-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9802-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9802-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9802-- might be shown as UnknownInlinedFun [INFO]: --9802-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9802-- object doesn't have a dynamic symbol table [INFO]: --9802-- Scheduler: using generic scheduler lock implementation. [INFO]: --9802-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9802-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9802== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9802-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9802== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9802-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9802== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9802-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9802== [INFO]: ==9802== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9802== don't want to do, unless you know exactly what you're doing, [INFO]: ==9802== or are doing some strange experiment): [INFO]: ==9802== /usr/libexec/valgrind/../../bin/vgdb --pid=9802 ...command... [INFO]: ==9802== [INFO]: ==9802== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9802== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9802== and then give GDB the following command [INFO]: ==9802== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9802 [INFO]: ==9802== --pid is optional if only one valgrind process is running [INFO]: ==9802== [INFO]: --9802-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9802-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9802-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9802-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9802-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9802-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9802-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9802-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9802-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9802-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9802-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9802-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9802-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9802-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9802-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9802-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9802-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9802-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9802-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9802-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9802-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9802-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9802-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9802== Preferring higher priority redirection: [INFO]: --9802-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9802-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9802-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9802-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9802-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9802-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9802-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9802-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9802-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9802-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9802-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9802-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9802-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9802-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9802-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9802-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9802-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9802-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9802-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9802-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9802-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9802-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9802-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9802-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9802-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9802-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9802-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9802-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9802-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9802-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9802-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9802-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9802-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9802-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9802-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9802== [INFO]: ==9802== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9802== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: ==9802== [INFO]: ==9802== [INFO]: ==9802== (No origin, error cannot be suppressed) [INFO]: ==9802== [INFO]: ==9802== HEAP SUMMARY: [INFO]: ==9802== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9802== total heap usage: 19,960 allocs, 19,832 frees, 59,322,623 bytes allocated [INFO]: ==9802== [INFO]: ==9802== Searching for pointers to 128 not-freed blocks [INFO]: ==9802== Checked 8,662,520 bytes [INFO]: ==9802== [INFO]: ==9802== LEAK SUMMARY: [INFO]: ==9802== definitely lost: 0 bytes in 0 blocks [INFO]: ==9802== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9802== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9802== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9802== suppressed: 0 bytes in 0 blocks [INFO]: ==9802== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9802== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9802== [INFO]: ==9802== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q _____________ ERROR at teardown of TC.test_exe_imphash_plus_zipsfx _____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with an imp-hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: Test.Import.Hash.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.347 sec (0 m 1 s) Start Date: 2024:04:29 21:22:58 End Date: 2024:04:29 21:23:00 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9850== Memcheck, a memory error detector [INFO]: ==9850== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9850== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9850== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [INFO]: ==9850== Parent PID: 9753 [INFO]: ==9850== [INFO]: --9850-- [INFO]: --9850-- Valgrind options: [INFO]: --9850-- -v [INFO]: --9850-- --trace-children=yes [INFO]: --9850-- --track-fds=yes [INFO]: --9850-- --leak-check=full [INFO]: --9850-- --show-possibly-lost=no [INFO]: --9850-- --show-leak-kinds=definite [INFO]: --9850-- --errors-for-leak-kinds=definite [INFO]: --9850-- --main-stacksize=16777216 [INFO]: --9850-- --gen-suppressions=all [INFO]: --9850-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9850-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9850-- --error-exitcode=123 [INFO]: --9850-- Contents of /proc/version: [INFO]: --9850-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9850-- [INFO]: --9850-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9850-- Page sizes: currently 4096, max supported 4096 [INFO]: --9850-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9850-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9850-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9850-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9850-- might be shown as UnknownInlinedFun [INFO]: --9850-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9850-- object doesn't have a dynamic symbol table [INFO]: --9850-- Scheduler: using generic scheduler lock implementation. [INFO]: --9850-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9850-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9850== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9850-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9850== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9850-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9850== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9850-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9850== [INFO]: ==9850== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9850== don't want to do, unless you know exactly what you're doing, [INFO]: ==9850== or are doing some strange experiment): [INFO]: ==9850== /usr/libexec/valgrind/../../bin/vgdb --pid=9850 ...command... [INFO]: ==9850== [INFO]: ==9850== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9850== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9850== and then give GDB the following command [INFO]: ==9850== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9850 [INFO]: ==9850== --pid is optional if only one valgrind process is running [INFO]: ==9850== [INFO]: --9850-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9850-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9850-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9850-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9850-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9850-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9850-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9850-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9850-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9850-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9850-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9850-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9850-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9850-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9850-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9850-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9850-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9850-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9850-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9850-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9850-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9850-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9850-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9850== Preferring higher priority redirection: [INFO]: --9850-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9850-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9850-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9850-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9850-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9850-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9850-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9850-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9850-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9850-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9850-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9850-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9850-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9850-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9850-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9850-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9850-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9850-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9850-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9850-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9850-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9850-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9850-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9850-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9850-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9850-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9850-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9850-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9850-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9850-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9850-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9850== [INFO]: ==9850== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9850== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9850== [INFO]: ==9850== [INFO]: ==9850== (No origin, error cannot be suppressed) [INFO]: ==9850== [INFO]: ==9850== HEAP SUMMARY: [INFO]: ==9850== in use at exit: 0 bytes in 0 blocks [INFO]: ==9850== total heap usage: 5,412 allocs, 5,412 frees, 742,604 bytes allocated [INFO]: ==9850== [INFO]: ==9850== All heap blocks were freed -- no leaks are possible [INFO]: ==9850== [INFO]: ==9850== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_exe_pattern_plus_zipsfx _____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a pattern-match sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.321 sec (0 m 1 s) Start Date: 2024:04:29 21:23:00 End Date: 2024:04:29 21:23:02 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9858== Memcheck, a memory error detector [INFO]: ==9858== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9858== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9858== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [INFO]: ==9858== Parent PID: 9753 [INFO]: ==9858== [INFO]: --9858-- [INFO]: --9858-- Valgrind options: [INFO]: --9858-- -v [INFO]: --9858-- --trace-children=yes [INFO]: --9858-- --track-fds=yes [INFO]: --9858-- --leak-check=full [INFO]: --9858-- --show-possibly-lost=no [INFO]: --9858-- --show-leak-kinds=definite [INFO]: --9858-- --errors-for-leak-kinds=definite [INFO]: --9858-- --main-stacksize=16777216 [INFO]: --9858-- --gen-suppressions=all [INFO]: --9858-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9858-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9858-- --error-exitcode=123 [INFO]: --9858-- Contents of /proc/version: [INFO]: --9858-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9858-- [INFO]: --9858-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9858-- Page sizes: currently 4096, max supported 4096 [INFO]: --9858-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9858-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9858-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9858-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9858-- might be shown as UnknownInlinedFun [INFO]: --9858-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9858-- object doesn't have a dynamic symbol table [INFO]: --9858-- Scheduler: using generic scheduler lock implementation. [INFO]: --9858-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9858-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9858== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9858-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9858== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9858-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9858== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9858-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9858== [INFO]: ==9858== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9858== don't want to do, unless you know exactly what you're doing, [INFO]: ==9858== or are doing some strange experiment): [INFO]: ==9858== /usr/libexec/valgrind/../../bin/vgdb --pid=9858 ...command... [INFO]: ==9858== [INFO]: ==9858== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9858== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9858== and then give GDB the following command [INFO]: ==9858== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9858 [INFO]: ==9858== --pid is optional if only one valgrind process is running [INFO]: ==9858== [INFO]: --9858-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9858-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9858-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9858-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9858-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9858-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9858-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9858-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9858-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9858-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9858-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9858-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9858-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9858-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9858-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9858-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9858-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9858-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9858-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9858-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9858-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9858-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9858-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9858== Preferring higher priority redirection: [INFO]: --9858-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9858-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9858-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9858-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9858-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9858-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9858-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9858-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9858-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9858-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9858-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9858-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9858-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9858-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9858-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9858-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9858-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9858-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9858-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9858-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9858-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9858-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9858-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9858-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9858-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9858-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9858-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9858-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9858-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9858-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9858== [INFO]: ==9858== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9858== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9858== [INFO]: ==9858== [INFO]: ==9858== (No origin, error cannot be suppressed) [INFO]: ==9858== [INFO]: ==9858== HEAP SUMMARY: [INFO]: ==9858== in use at exit: 0 bytes in 0 blocks [INFO]: ==9858== total heap usage: 5,403 allocs, 5,403 frees, 742,335 bytes allocated [INFO]: ==9858== [INFO]: ==9858== All heap blocks were freed -- no leaks are possible [INFO]: ==9858== [INFO]: ==9858== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_many_sigs ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that each type of sig alerts in all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.LDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.460 sec (0 m 1 s) Start Date: 2024:04:29 21:23:03 End Date: 2024:04:29 21:23:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9865== Memcheck, a memory error detector [INFO]: ==9865== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9865== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9865== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [INFO]: ==9865== Parent PID: 9753 [INFO]: ==9865== [INFO]: --9865-- [INFO]: --9865-- Valgrind options: [INFO]: --9865-- -v [INFO]: --9865-- --trace-children=yes [INFO]: --9865-- --track-fds=yes [INFO]: --9865-- --leak-check=full [INFO]: --9865-- --show-possibly-lost=no [INFO]: --9865-- --show-leak-kinds=definite [INFO]: --9865-- --errors-for-leak-kinds=definite [INFO]: --9865-- --main-stacksize=16777216 [INFO]: --9865-- --gen-suppressions=all [INFO]: --9865-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9865-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9865-- --error-exitcode=123 [INFO]: --9865-- Contents of /proc/version: [INFO]: --9865-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9865-- [INFO]: --9865-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9865-- Page sizes: currently 4096, max supported 4096 [INFO]: --9865-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9865-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9865-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9865-- might be shown as UnknownInlinedFun [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9865-- object doesn't have a dynamic symbol table [INFO]: --9865-- Scheduler: using generic scheduler lock implementation. [INFO]: --9865-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9865-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9865== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9865-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9865== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9865-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9865== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9865-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9865== [INFO]: ==9865== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9865== don't want to do, unless you know exactly what you're doing, [INFO]: ==9865== or are doing some strange experiment): [INFO]: ==9865== /usr/libexec/valgrind/../../bin/vgdb --pid=9865 ...command... [INFO]: ==9865== [INFO]: ==9865== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9865== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9865== and then give GDB the following command [INFO]: ==9865== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9865 [INFO]: ==9865== --pid is optional if only one valgrind process is running [INFO]: ==9865== [INFO]: --9865-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9865-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9865-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9865-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9865-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9865-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9865-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9865-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9865-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9865-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9865-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9865-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9865-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9865-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9865-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9865-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9865-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9865-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9865-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9865== Preferring higher priority redirection: [INFO]: --9865-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9865-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9865-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9865-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9865-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9865-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9865-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9865-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9865-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9865-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9865-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9865-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9865-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9865-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9865-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9865-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9865-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9865-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9865-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9865-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9865-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9865-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9865-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9865-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9865-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9865-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9865-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9865-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9865-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9865-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9865== [INFO]: ==9865== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9865== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9865== [INFO]: ==9865== [INFO]: ==9865== (No origin, error cannot be suppressed) [INFO]: ==9865== [INFO]: ==9865== HEAP SUMMARY: [INFO]: ==9865== in use at exit: 0 bytes in 0 blocks [INFO]: ==9865== total heap usage: 5,444 allocs, 5,444 frees, 638,844 bytes allocated [INFO]: ==9865== [INFO]: ==9865== All heap blocks were freed -- no leaks are possible [INFO]: ==9865== [INFO]: ==9865== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_many_sigs_no_allmatch ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that only one sig alerts when not using all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.294 sec (0 m 1 s) Start Date: 2024:04:29 21:23:05 End Date: 2024:04:29 21:23:06 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9874== Memcheck, a memory error detector [INFO]: ==9874== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9874== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9874== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9874== Parent PID: 9753 [INFO]: ==9874== [INFO]: --9874-- [INFO]: --9874-- Valgrind options: [INFO]: --9874-- -v [INFO]: --9874-- --trace-children=yes [INFO]: --9874-- --track-fds=yes [INFO]: --9874-- --leak-check=full [INFO]: --9874-- --show-possibly-lost=no [INFO]: --9874-- --show-leak-kinds=definite [INFO]: --9874-- --errors-for-leak-kinds=definite [INFO]: --9874-- --main-stacksize=16777216 [INFO]: --9874-- --gen-suppressions=all [INFO]: --9874-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9874-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9874-- --error-exitcode=123 [INFO]: --9874-- Contents of /proc/version: [INFO]: --9874-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9874-- [INFO]: --9874-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9874-- Page sizes: currently 4096, max supported 4096 [INFO]: --9874-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9874-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9874-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9874-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9874-- might be shown as UnknownInlinedFun [INFO]: --9874-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9874-- object doesn't have a dynamic symbol table [INFO]: --9874-- Scheduler: using generic scheduler lock implementation. [INFO]: --9874-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9874-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9874== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9874-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9874== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9874-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9874== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9874-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9874== [INFO]: ==9874== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9874== don't want to do, unless you know exactly what you're doing, [INFO]: ==9874== or are doing some strange experiment): [INFO]: ==9874== /usr/libexec/valgrind/../../bin/vgdb --pid=9874 ...command... [INFO]: ==9874== [INFO]: ==9874== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9874== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9874== and then give GDB the following command [INFO]: ==9874== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9874 [INFO]: ==9874== --pid is optional if only one valgrind process is running [INFO]: ==9874== [INFO]: --9874-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9874-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9874-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9874-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9874-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9874-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9874-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9874-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9874-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9874-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9874-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9874-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9874-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9874-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9874-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9874-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9874-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9874-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9874-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9874-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9874-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9874-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9874-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9874== Preferring higher priority redirection: [INFO]: --9874-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9874-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9874-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9874-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9874-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9874-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9874-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9874-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9874-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9874-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9874-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9874-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9874-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9874-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9874-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9874-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9874-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9874-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9874-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9874-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9874-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9874-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9874-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9874-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9874-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9874-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9874-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9874-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9874-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9874== [INFO]: ==9874== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9874== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9874== [INFO]: ==9874== [INFO]: ==9874== (No origin, error cannot be suppressed) [INFO]: ==9874== [INFO]: ==9874== HEAP SUMMARY: [INFO]: ==9874== in use at exit: 0 bytes in 0 blocks [INFO]: ==9874== total heap usage: 5,400 allocs, 5,400 frees, 633,620 bytes allocated [INFO]: ==9874== [INFO]: ==9874== All heap blocks were freed -- no leaks are possible [INFO]: ==9874== [INFO]: ==9874== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________ ERROR at teardown of TC.test_pe_allmatch ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in test.exe with a wide variety of signatures written or generated for the file. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 5.630 sec (0 m 5 s) Start Date: 2024:04:29 21:23:07 End Date: 2024:04:29 21:23:13 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9881== Memcheck, a memory error detector [INFO]: ==9881== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9881== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9881== Parent PID: 9753 [INFO]: ==9881== [INFO]: --9881-- [INFO]: --9881-- Valgrind options: [INFO]: --9881-- -v [INFO]: --9881-- --trace-children=yes [INFO]: --9881-- --track-fds=yes [INFO]: --9881-- --leak-check=full [INFO]: --9881-- --show-possibly-lost=no [INFO]: --9881-- --show-leak-kinds=definite [INFO]: --9881-- --errors-for-leak-kinds=definite [INFO]: --9881-- --main-stacksize=16777216 [INFO]: --9881-- --gen-suppressions=all [INFO]: --9881-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9881-- --error-exitcode=123 [INFO]: --9881-- Contents of /proc/version: [INFO]: --9881-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9881-- [INFO]: --9881-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9881-- Page sizes: currently 4096, max supported 4096 [INFO]: --9881-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9881-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9881-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9881-- might be shown as UnknownInlinedFun [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9881-- object doesn't have a dynamic symbol table [INFO]: --9881-- Scheduler: using generic scheduler lock implementation. [INFO]: --9881-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9881== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9881-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9881== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9881-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9881== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9881-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9881== [INFO]: ==9881== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9881== don't want to do, unless you know exactly what you're doing, [INFO]: ==9881== or are doing some strange experiment): [INFO]: ==9881== /usr/libexec/valgrind/../../bin/vgdb --pid=9881 ...command... [INFO]: ==9881== [INFO]: ==9881== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9881== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9881== and then give GDB the following command [INFO]: ==9881== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9881 [INFO]: ==9881== --pid is optional if only one valgrind process is running [INFO]: ==9881== [INFO]: --9881-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9881-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9881-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9881-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9881-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9881-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9881-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9881-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9881-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9881-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9881-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9881-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9881-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9881-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9881-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9881-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9881-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9881-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9881-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9881== Preferring higher priority redirection: [INFO]: --9881-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9881-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9881-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9881-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9881-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9881-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9881-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9881-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9881-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9881-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9881-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9881-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9881-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9881-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9881-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9881-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9881-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9881-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9881-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9881-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9881-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9881-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9881-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9881-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9881-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9881-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9881-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9881-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9881-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9881-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9881== [INFO]: ==9881== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9881== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9881== [INFO]: ==9881== [INFO]: ==9881== (No origin, error cannot be suppressed) [INFO]: ==9881== [INFO]: ==9881== HEAP SUMMARY: [INFO]: ==9881== in use at exit: 0 bytes in 0 blocks [INFO]: ==9881== total heap usage: 9,410 allocs, 9,410 frees, 3,769,576 bytes allocated [INFO]: ==9881== [INFO]: ==9881== All heap blocks were freed -- no leaks are possible [INFO]: ==9881== [INFO]: ==9881== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_regression_cbc_and_ndb ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that bytecode rules will run after content match alerts in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR: BC.Clamav-Unit-Test-Signature FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.163 sec (0 m 1 s) Start Date: 2024:04:29 21:23:14 End Date: 2024:04:29 21:23:15 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9901== Memcheck, a memory error detector [INFO]: ==9901== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9901== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9901== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR [INFO]: ==9901== Parent PID: 9753 [INFO]: ==9901== [INFO]: --9901-- [INFO]: --9901-- Valgrind options: [INFO]: --9901-- -v [INFO]: --9901-- --trace-children=yes [INFO]: --9901-- --track-fds=yes [INFO]: --9901-- --leak-check=full [INFO]: --9901-- --show-possibly-lost=no [INFO]: --9901-- --show-leak-kinds=definite [INFO]: --9901-- --errors-for-leak-kinds=definite [INFO]: --9901-- --main-stacksize=16777216 [INFO]: --9901-- --gen-suppressions=all [INFO]: --9901-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9901-- --error-exitcode=123 [INFO]: --9901-- Contents of /proc/version: [INFO]: --9901-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9901-- [INFO]: --9901-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9901-- Page sizes: currently 4096, max supported 4096 [INFO]: --9901-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9901-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9901-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9901-- might be shown as UnknownInlinedFun [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9901-- object doesn't have a dynamic symbol table [INFO]: --9901-- Scheduler: using generic scheduler lock implementation. [INFO]: --9901-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9901== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9901-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9901== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9901-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9901== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9901-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9901== [INFO]: ==9901== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9901== don't want to do, unless you know exactly what you're doing, [INFO]: ==9901== or are doing some strange experiment): [INFO]: ==9901== /usr/libexec/valgrind/../../bin/vgdb --pid=9901 ...command... [INFO]: ==9901== [INFO]: ==9901== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9901== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9901== and then give GDB the following command [INFO]: ==9901== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9901 [INFO]: ==9901== --pid is optional if only one valgrind process is running [INFO]: ==9901== [INFO]: --9901-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9901-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9901-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9901-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9901-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9901-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9901-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9901-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9901-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9901-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9901-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9901-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9901-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9901-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9901-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9901-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9901-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9901-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9901-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9901== Preferring higher priority redirection: [INFO]: --9901-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9901-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9901-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9901-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9901-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9901-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9901-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9901-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9901-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9901-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9901-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9901-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9901-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9901-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9901-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9901-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9901-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9901-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9901-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9901-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9901-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9901-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9901-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9901-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9901-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9901-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9901-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9901-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9901-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9901== [INFO]: ==9901== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9901== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9901== [INFO]: ==9901== [INFO]: ==9901== (No origin, error cannot be suppressed) [INFO]: ==9901== [INFO]: ==9901== HEAP SUMMARY: [INFO]: ==9901== in use at exit: 0 bytes in 0 blocks [INFO]: ==9901== total heap usage: 5,774 allocs, 5,774 frees, 931,635 bytes allocated [INFO]: ==9901== [INFO]: ==9901== All heap blocks were freed -- no leaks are possible [INFO]: ==9901== [INFO]: ==9901== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________ ERROR at teardown of TC.test_regression_imphash_nosize ____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test an import hash with wildcard size when all-match mode is disabled. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.280 sec (0 m 1 s) Start Date: 2024:04:29 21:23:16 End Date: 2024:04:29 21:23:17 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9919== Memcheck, a memory error detector [INFO]: ==9919== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9919== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9919== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9919== Parent PID: 9753 [INFO]: ==9919== [INFO]: --9919-- [INFO]: --9919-- Valgrind options: [INFO]: --9919-- -v [INFO]: --9919-- --trace-children=yes [INFO]: --9919-- --track-fds=yes [INFO]: --9919-- --leak-check=full [INFO]: --9919-- --show-possibly-lost=no [INFO]: --9919-- --show-leak-kinds=definite [INFO]: --9919-- --errors-for-leak-kinds=definite [INFO]: --9919-- --main-stacksize=16777216 [INFO]: --9919-- --gen-suppressions=all [INFO]: --9919-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9919-- --error-exitcode=123 [INFO]: --9919-- Contents of /proc/version: [INFO]: --9919-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9919-- [INFO]: --9919-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9919-- Page sizes: currently 4096, max supported 4096 [INFO]: --9919-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9919-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9919-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9919-- might be shown as UnknownInlinedFun [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9919-- object doesn't have a dynamic symbol table [INFO]: --9919-- Scheduler: using generic scheduler lock implementation. [INFO]: --9919-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9919== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9919-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9919== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9919-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9919== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9919-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9919== [INFO]: ==9919== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9919== don't want to do, unless you know exactly what you're doing, [INFO]: ==9919== or are doing some strange experiment): [INFO]: ==9919== /usr/libexec/valgrind/../../bin/vgdb --pid=9919 ...command... [INFO]: ==9919== [INFO]: ==9919== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9919== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9919== and then give GDB the following command [INFO]: ==9919== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9919 [INFO]: ==9919== --pid is optional if only one valgrind process is running [INFO]: ==9919== [INFO]: --9919-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9919-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9919-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9919-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9919-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9919-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9919-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9919-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9919-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9919-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9919-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9919-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9919-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9919-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9919-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9919-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9919-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9919-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9919-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9919== Preferring higher priority redirection: [INFO]: --9919-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9919-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9919-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9919-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9919-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9919-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9919-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9919-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9919-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9919-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9919-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9919-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9919-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9919-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9919-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9919-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9919-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9919-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9919-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9919-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9919-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9919-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9919-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9919-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9919-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9919-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9919-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9919-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9919-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9919== [INFO]: ==9919== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9919== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9919== [INFO]: ==9919== [INFO]: ==9919== (No origin, error cannot be suppressed) [INFO]: ==9919== [INFO]: ==9919== HEAP SUMMARY: [INFO]: ==9919== in use at exit: 0 bytes in 0 blocks [INFO]: ==9919== total heap usage: 5,371 allocs, 5,371 frees, 556,752 bytes allocated [INFO]: ==9919== [INFO]: ==9919== All heap blocks were freed -- no leaks are possible [INFO]: ==9919== [INFO]: ==9919== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_txt_plus_clam_zipsfx _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/allmatch_test.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.883 sec (0 m 0 s) Start Date: 2024:04:29 21:23:18 End Date: 2024:04:29 21:23:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9923== Memcheck, a memory error detector [INFO]: ==9923== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9923== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9923== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt [INFO]: ==9923== Parent PID: 9753 [INFO]: ==9923== [INFO]: --9923-- [INFO]: --9923-- Valgrind options: [INFO]: --9923-- -v [INFO]: --9923-- --trace-children=yes [INFO]: --9923-- --track-fds=yes [INFO]: --9923-- --leak-check=full [INFO]: --9923-- --show-possibly-lost=no [INFO]: --9923-- --show-leak-kinds=definite [INFO]: --9923-- --errors-for-leak-kinds=definite [INFO]: --9923-- --main-stacksize=16777216 [INFO]: --9923-- --gen-suppressions=all [INFO]: --9923-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9923-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9923-- --error-exitcode=123 [INFO]: --9923-- Contents of /proc/version: [INFO]: --9923-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9923-- [INFO]: --9923-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9923-- Page sizes: currently 4096, max supported 4096 [INFO]: --9923-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9923-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9923-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9923-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9923-- might be shown as UnknownInlinedFun [INFO]: --9923-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9923-- object doesn't have a dynamic symbol table [INFO]: --9923-- Scheduler: using generic scheduler lock implementation. [INFO]: --9923-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9923-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9923== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9923-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9923== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9923-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9923== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9923-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9923== [INFO]: ==9923== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9923== don't want to do, unless you know exactly what you're doing, [INFO]: ==9923== or are doing some strange experiment): [INFO]: ==9923== /usr/libexec/valgrind/../../bin/vgdb --pid=9923 ...command... [INFO]: ==9923== [INFO]: ==9923== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9923== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9923== and then give GDB the following command [INFO]: ==9923== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9923 [INFO]: ==9923== --pid is optional if only one valgrind process is running [INFO]: ==9923== [INFO]: --9923-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9923-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9923-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9923-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9923-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9923-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9923-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9923-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9923-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9923-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9923-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9923-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9923-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9923-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9923-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9923-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9923-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9923-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9923-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9923-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9923-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9923-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9923-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9923== Preferring higher priority redirection: [INFO]: --9923-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9923-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9923-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9923-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9923-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9923-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9923-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9923-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9923-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9923-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9923-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9923-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9923-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9923-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9923-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9923-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9923-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9923-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9923-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9923-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9923-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9923-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9923-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9923-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9923-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9923-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9923-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9923-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9923-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9923-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9923== [INFO]: ==9923== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9923== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9923== [INFO]: ==9923== [INFO]: ==9923== (No origin, error cannot be suppressed) [INFO]: ==9923== [INFO]: ==9923== HEAP SUMMARY: [INFO]: ==9923== in use at exit: 0 bytes in 0 blocks [INFO]: ==9923== total heap usage: 5,409 allocs, 5,409 frees, 612,016 bytes allocated [INFO]: ==9923== [INFO]: ==9923== All heap blocks were freed -- no leaks are possible [INFO]: ==9923== [INFO]: ==9923== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z ___________________ ERROR at teardown of TC.test_00_version ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [INFO]: ==9925== Memcheck, a memory error detector [INFO]: ==9925== Memcheck, a memory error detector [INFO]: ==9925== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9925== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9925== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9925== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9925== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9925== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9925== Parent PID: 9753 [INFO]: ==9925== Parent PID: 9753 [INFO]: ==9925== [INFO]: ==9925== [INFO]: --9925-- [INFO]: --9925-- [INFO]: --9925-- Valgrind options: [INFO]: --9925-- Valgrind options: [INFO]: --9925-- -v [INFO]: --9925-- -v [INFO]: --9925-- --trace-children=yes [INFO]: --9925-- --trace-children=yes [INFO]: --9925-- --track-fds=yes [INFO]: --9925-- --track-fds=yes [INFO]: --9925-- --leak-check=full [INFO]: --9925-- --leak-check=full [INFO]: --9925-- --show-possibly-lost=no [INFO]: --9925-- --show-possibly-lost=no [INFO]: --9925-- --show-leak-kinds=definite [INFO]: --9925-- --show-leak-kinds=definite [INFO]: --9925-- --errors-for-leak-kinds=definite [INFO]: --9925-- --errors-for-leak-kinds=definite [INFO]: --9925-- --main-stacksize=16777216 [INFO]: --9925-- --main-stacksize=16777216 [INFO]: --9925-- --gen-suppressions=all [INFO]: --9925-- --gen-suppressions=all [INFO]: --9925-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9925-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9925-- --error-exitcode=123 [INFO]: --9925-- --error-exitcode=123 [INFO]: --9925-- Contents of /proc/version: [INFO]: --9925-- Contents of /proc/version: [INFO]: --9925-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9925-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9925-- [INFO]: --9925-- [INFO]: --9925-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9925-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9925-- Page sizes: currently 4096, max supported 4096 [INFO]: --9925-- Page sizes: currently 4096, max supported 4096 [INFO]: --9925-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9925-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9925-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9925-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9925-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9925-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9925-- might be shown as UnknownInlinedFun [INFO]: --9925-- might be shown as UnknownInlinedFun [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9925-- object doesn't have a dynamic symbol table [INFO]: --9925-- object doesn't have a dynamic symbol table [INFO]: --9925-- Scheduler: using generic scheduler lock implementation. [INFO]: --9925-- Scheduler: using generic scheduler lock implementation. [INFO]: --9925-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: --9925-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9925== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9925== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9925== don't want to do, unless you know exactly what you're doing, [INFO]: ==9925== don't want to do, unless you know exactly what you're doing, [INFO]: ==9925== or are doing some strange experiment): [INFO]: ==9925== or are doing some strange experiment): [INFO]: ==9925== /usr/libexec/valgrind/../../bin/vgdb --pid=9925 ...command... [INFO]: ==9925== /usr/libexec/valgrind/../../bin/vgdb --pid=9925 ...command... [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9925== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9925== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9925== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9925== and then give GDB the following command [INFO]: ==9925== and then give GDB the following command [INFO]: ==9925== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9925 [INFO]: ==9925== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9925 [INFO]: ==9925== --pid is optional if only one valgrind process is running [INFO]: ==9925== --pid is optional if only one valgrind process is running [INFO]: ==9925== [INFO]: ==9925== [INFO]: --9925-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9925-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9925-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9925-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9925-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9925-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9925-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9925-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: --9925-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9925-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9925-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9925-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9925-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9925-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9925-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9925-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9925-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9925-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9925-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9925-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9925-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9925-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9925-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9925-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9925-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9925-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9925-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9925-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9925-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9925-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9925-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9925-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9925-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9925-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9925== Preferring higher priority redirection: [INFO]: ==9925== Preferring higher priority redirection: [INFO]: --9925-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9925-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9925-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9925-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9925-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9925-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9925-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9925-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9925-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9925-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9925-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9925-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9925-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9925-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9925-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9925-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9925-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9925-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9925-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9925-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9925-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9925-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9925-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9925-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9925-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9925-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9925-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9925-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9925-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9925-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9925-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9925-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9925-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9925-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9925-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9925-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9925== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9925== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9925== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== (No origin, error cannot be suppressed) [INFO]: ==9925== (No origin, error cannot be suppressed) [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== HEAP SUMMARY: [INFO]: ==9925== HEAP SUMMARY: [INFO]: ==9925== in use at exit: 0 bytes in 0 blocks [INFO]: ==9925== in use at exit: 0 bytes in 0 blocks [INFO]: ==9925== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9925== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== All heap blocks were freed -- no leaks are possible [INFO]: ==9925== All heap blocks were freed -- no leaks are possible [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==9925== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_pe_cert_block __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will disregard a certificate trust signature if a block certificate rule is used. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 3.707 sec (0 m 3 s) Start Date: 2024:04:29 21:23:20 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9927== Memcheck, a memory error detector [INFO]: ==9927== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9927== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9927== Parent PID: 9753 [INFO]: ==9927== [INFO]: --9927-- [INFO]: --9927-- Valgrind options: [INFO]: --9927-- -v [INFO]: --9927-- --trace-children=yes [INFO]: --9927-- --track-fds=yes [INFO]: --9927-- --leak-check=full [INFO]: --9927-- --show-possibly-lost=no [INFO]: --9927-- --show-leak-kinds=definite [INFO]: --9927-- --errors-for-leak-kinds=definite [INFO]: --9927-- --main-stacksize=16777216 [INFO]: --9927-- --gen-suppressions=all [INFO]: --9927-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9927-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9927-- --error-exitcode=123 [INFO]: --9927-- Contents of /proc/version: [INFO]: --9927-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9927-- [INFO]: --9927-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9927-- Page sizes: currently 4096, max supported 4096 [INFO]: --9927-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9927-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9927-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9927-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9927-- might be shown as UnknownInlinedFun [INFO]: --9927-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9927-- object doesn't have a dynamic symbol table [INFO]: --9927-- Scheduler: using generic scheduler lock implementation. [INFO]: --9927-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9927-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9927== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9927-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9927== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9927-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9927== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9927-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9927== [INFO]: ==9927== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9927== don't want to do, unless you know exactly what you're doing, [INFO]: ==9927== or are doing some strange experiment): [INFO]: ==9927== /usr/libexec/valgrind/../../bin/vgdb --pid=9927 ...command... [INFO]: ==9927== [INFO]: ==9927== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9927== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9927== and then give GDB the following command [INFO]: ==9927== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9927 [INFO]: ==9927== --pid is optional if only one valgrind process is running [INFO]: ==9927== [INFO]: --9927-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9927-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9927-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9927-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9927-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9927-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9927-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9927-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9927-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9927-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9927-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9927-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9927-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9927-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9927-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9927-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9927-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9927-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9927-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9927-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9927-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9927-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9927-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9927== Preferring higher priority redirection: [INFO]: --9927-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9927-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9927-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9927-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9927-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9927-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9927-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9927-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9927-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9927-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9927-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9927-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9927-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9927-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9927-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9927-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9927-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9927-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9927-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9927-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9927-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9927-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9927-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9927-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9927-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9927-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9927-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9927-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9927-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9927-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9927== [INFO]: ==9927== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9927== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9927== [INFO]: ==9927== [INFO]: ==9927== (No origin, error cannot be suppressed) [INFO]: ==9927== [INFO]: ==9927== HEAP SUMMARY: [INFO]: ==9927== in use at exit: 0 bytes in 0 blocks [INFO]: ==9927== total heap usage: 9,410 allocs, 9,410 frees, 3,769,576 bytes allocated [INFO]: ==9927== [INFO]: ==9927== All heap blocks were freed -- no leaks are possible [INFO]: ==9927== [INFO]: ==9927== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_pe_cert_trust __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam can trust an EXE based on an authenticode certificate check. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/trust-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: OK ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 1.38 MB (ratio 0.00:1) Time: 1.821 sec (0 m 1 s) Start Date: 2024:04:29 21:23:24 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9947== Memcheck, a memory error detector [INFO]: ==9947== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9947== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9947== Parent PID: 9753 [INFO]: ==9947== [INFO]: --9947-- [INFO]: --9947-- Valgrind options: [INFO]: --9947-- -v [INFO]: --9947-- --trace-children=yes [INFO]: --9947-- --track-fds=yes [INFO]: --9947-- --leak-check=full [INFO]: --9947-- --show-possibly-lost=no [INFO]: --9947-- --show-leak-kinds=definite [INFO]: --9947-- --errors-for-leak-kinds=definite [INFO]: --9947-- --main-stacksize=16777216 [INFO]: --9947-- --gen-suppressions=all [INFO]: --9947-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9947-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9947-- --error-exitcode=123 [INFO]: --9947-- Contents of /proc/version: [INFO]: --9947-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9947-- [INFO]: --9947-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9947-- Page sizes: currently 4096, max supported 4096 [INFO]: --9947-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9947-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9947-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9947-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9947-- might be shown as UnknownInlinedFun [INFO]: --9947-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9947-- object doesn't have a dynamic symbol table [INFO]: --9947-- Scheduler: using generic scheduler lock implementation. [INFO]: --9947-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9947-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9947== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9947-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9947== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9947-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9947== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9947-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9947== [INFO]: ==9947== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9947== don't want to do, unless you know exactly what you're doing, [INFO]: ==9947== or are doing some strange experiment): [INFO]: ==9947== /usr/libexec/valgrind/../../bin/vgdb --pid=9947 ...command... [INFO]: ==9947== [INFO]: ==9947== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9947== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9947== and then give GDB the following command [INFO]: ==9947== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9947 [INFO]: ==9947== --pid is optional if only one valgrind process is running [INFO]: ==9947== [INFO]: --9947-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9947-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9947-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9947-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9947-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9947-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9947-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9947-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9947-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9947-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9947-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9947-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9947-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9947-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9947-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9947-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9947-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9947-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9947-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9947-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9947-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9947-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9947-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9947== Preferring higher priority redirection: [INFO]: --9947-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9947-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9947-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9947-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9947-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9947-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9947-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9947-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9947-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9947-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9947-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9947-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9947-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9947-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9947-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9947-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9947-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9947-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9947-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9947-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9947-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9947-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9947-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9947-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9947-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9947-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9947-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9947-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9947-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9947== [INFO]: ==9947== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9947== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9947== [INFO]: ==9947== [INFO]: ==9947== (No origin, error cannot be suppressed) [INFO]: ==9947== [INFO]: ==9947== HEAP SUMMARY: [INFO]: ==9947== in use at exit: 0 bytes in 0 blocks [INFO]: ==9947== total heap usage: 6,600 allocs, 6,600 frees, 2,541,990 bytes allocated [INFO]: ==9947== [INFO]: ==9947== All heap blocks were freed -- no leaks are possible [INFO]: ==9947== [INFO]: ==9947== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_weak_indicator_icon _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/assorted_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test icon (.ldb + .idb) weak indicator matching signatures [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/icon.ldb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/icon.idb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 4 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 4 Data scanned: 13.64 MB Data read: 6.91 MB (ratio 1.97:1) Time: 4.220 sec (0 m 4 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:31 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9951== Memcheck, a memory error detector [INFO]: ==9951== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9951== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9951== Parent PID: 9753 [INFO]: ==9951== [INFO]: --9951-- [INFO]: --9951-- Valgrind options: [INFO]: --9951-- -v [INFO]: --9951-- --trace-children=yes [INFO]: --9951-- --track-fds=yes [INFO]: --9951-- --leak-check=full [INFO]: --9951-- --show-possibly-lost=no [INFO]: --9951-- --show-leak-kinds=definite [INFO]: --9951-- --errors-for-leak-kinds=definite [INFO]: --9951-- --main-stacksize=16777216 [INFO]: --9951-- --gen-suppressions=all [INFO]: --9951-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9951-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9951-- --error-exitcode=123 [INFO]: --9951-- Contents of /proc/version: [INFO]: --9951-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9951-- [INFO]: --9951-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9951-- Page sizes: currently 4096, max supported 4096 [INFO]: --9951-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9951-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9951-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9951-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9951-- might be shown as UnknownInlinedFun [INFO]: --9951-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9951-- object doesn't have a dynamic symbol table [INFO]: --9951-- Scheduler: using generic scheduler lock implementation. [INFO]: --9951-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9951-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9951== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9951-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9951== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9951-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9951== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9951-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9951== [INFO]: ==9951== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9951== don't want to do, unless you know exactly what you're doing, [INFO]: ==9951== or are doing some strange experiment): [INFO]: ==9951== /usr/libexec/valgrind/../../bin/vgdb --pid=9951 ...command... [INFO]: ==9951== [INFO]: ==9951== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9951== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9951== and then give GDB the following command [INFO]: ==9951== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9951 [INFO]: ==9951== --pid is optional if only one valgrind process is running [INFO]: ==9951== [INFO]: --9951-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9951-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9951-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9951-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9951-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9951-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9951-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9951-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9951-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9951-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9951-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9951-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9951-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9951-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9951-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9951-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9951-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9951-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9951-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9951-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9951-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9951-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9951-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9951== Preferring higher priority redirection: [INFO]: --9951-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9951-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9951-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9951-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9951-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9951-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9951-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9951-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9951-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9951-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9951-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9951-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9951-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9951-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9951-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9951-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9951-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9951-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9951-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9951-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9951-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9951-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9951-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9951-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9951-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9951-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9951-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9951-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9951-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9951-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9951-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9951-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9951-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9951-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9951-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9951== [INFO]: ==9951== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9951== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9951== [INFO]: ==9951== [INFO]: ==9951== (No origin, error cannot be suppressed) [INFO]: ==9951== [INFO]: ==9951== HEAP SUMMARY: [INFO]: ==9951== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9951== total heap usage: 18,587 allocs, 18,459 frees, 45,711,280 bytes allocated [INFO]: ==9951== [INFO]: ==9951== Searching for pointers to 128 not-freed blocks [INFO]: ==9951== Checked 8,663,976 bytes [INFO]: ==9951== [INFO]: ==9951== LEAK SUMMARY: [INFO]: ==9951== definitely lost: 0 bytes in 0 blocks [INFO]: ==9951== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9951== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9951== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9951== suppressed: 0 bytes in 0 blocks [INFO]: ==9951== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9951== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9951== [INFO]: ==9951== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv ____________________ ERROR at teardown of TC.test_pdf_hook _____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/bytecode_test.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that pdf bytecode hooks trigger [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: Test.Case.BC.PDF.hook FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 1.084 sec (0 m 1 s) Start Date: 2024:04:29 21:23:31 End Date: 2024:04:29 21:23:33 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9977== Memcheck, a memory error detector [INFO]: ==9977== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9977== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9977== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [INFO]: ==9977== Parent PID: 9753 [INFO]: ==9977== [INFO]: --9977-- [INFO]: --9977-- Valgrind options: [INFO]: --9977-- -v [INFO]: --9977-- --trace-children=yes [INFO]: --9977-- --track-fds=yes [INFO]: --9977-- --leak-check=full [INFO]: --9977-- --show-possibly-lost=no [INFO]: --9977-- --show-leak-kinds=definite [INFO]: --9977-- --errors-for-leak-kinds=definite [INFO]: --9977-- --main-stacksize=16777216 [INFO]: --9977-- --gen-suppressions=all [INFO]: --9977-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9977-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log [INFO]: --9977-- --error-exitcode=123 [INFO]: --9977-- Contents of /proc/version: [INFO]: --9977-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9977-- [INFO]: --9977-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9977-- Page sizes: currently 4096, max supported 4096 [INFO]: --9977-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9977-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9977-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9977-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9977-- might be shown as UnknownInlinedFun [INFO]: --9977-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9977-- object doesn't have a dynamic symbol table [INFO]: --9977-- Scheduler: using generic scheduler lock implementation. [INFO]: --9977-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9977-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9977== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9977-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9977== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9977-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9977== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9977-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9977== [INFO]: ==9977== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9977== don't want to do, unless you know exactly what you're doing, [INFO]: ==9977== or are doing some strange experiment): [INFO]: ==9977== /usr/libexec/valgrind/../../bin/vgdb --pid=9977 ...command... [INFO]: ==9977== [INFO]: ==9977== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9977== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9977== and then give GDB the following command [INFO]: ==9977== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9977 [INFO]: ==9977== --pid is optional if only one valgrind process is running [INFO]: ==9977== [INFO]: --9977-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9977-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9977-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9977-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9977-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9977-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9977-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9977-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9977-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9977-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9977-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9977-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9977-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9977-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9977-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9977-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9977-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9977-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9977-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9977-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9977-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9977-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9977-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9977== Preferring higher priority redirection: [INFO]: --9977-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9977-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9977-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9977-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9977-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9977-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9977-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9977-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9977-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9977-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9977-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9977-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9977-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9977-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9977-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9977-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9977-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9977-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9977-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9977-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9977-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9977-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9977-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9977-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9977-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9977-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9977-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9977-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9977== [INFO]: ==9977== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9977== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log [INFO]: ==9977== [INFO]: ==9977== [INFO]: ==9977== (No origin, error cannot be suppressed) [INFO]: ==9977== [INFO]: ==9977== HEAP SUMMARY: [INFO]: ==9977== in use at exit: 0 bytes in 0 blocks [INFO]: ==9977== total heap usage: 5,754 allocs, 5,754 frees, 823,055 bytes allocated [INFO]: ==9977== [INFO]: ==9977== All heap blocks were freed -- no leaks are possible [INFO]: ==9977== [INFO]: ==9977== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa ____________ ERROR at teardown of TC.test_clamscan_container_cache _____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for container sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Container.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.223 sec (0 m 1 s) Start Date: 2024:04:29 21:23:33 End Date: 2024:04:29 21:23:35 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9980== Memcheck, a memory error detector [INFO]: ==9980== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9980== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9980== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [INFO]: ==9980== Parent PID: 9753 [INFO]: ==9980== [INFO]: --9980-- [INFO]: --9980-- Valgrind options: [INFO]: --9980-- -v [INFO]: --9980-- --trace-children=yes [INFO]: --9980-- --track-fds=yes [INFO]: --9980-- --leak-check=full [INFO]: --9980-- --show-possibly-lost=no [INFO]: --9980-- --show-leak-kinds=definite [INFO]: --9980-- --errors-for-leak-kinds=definite [INFO]: --9980-- --main-stacksize=16777216 [INFO]: --9980-- --gen-suppressions=all [INFO]: --9980-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9980-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --9980-- --error-exitcode=123 [INFO]: --9980-- Contents of /proc/version: [INFO]: --9980-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9980-- [INFO]: --9980-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9980-- Page sizes: currently 4096, max supported 4096 [INFO]: --9980-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9980-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9980-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9980-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9980-- might be shown as UnknownInlinedFun [INFO]: --9980-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9980-- object doesn't have a dynamic symbol table [INFO]: --9980-- Scheduler: using generic scheduler lock implementation. [INFO]: --9980-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9980-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9980== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9980-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9980== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9980-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9980== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9980-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9980== [INFO]: ==9980== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9980== don't want to do, unless you know exactly what you're doing, [INFO]: ==9980== or are doing some strange experiment): [INFO]: ==9980== /usr/libexec/valgrind/../../bin/vgdb --pid=9980 ...command... [INFO]: ==9980== [INFO]: ==9980== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9980== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9980== and then give GDB the following command [INFO]: ==9980== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9980 [INFO]: ==9980== --pid is optional if only one valgrind process is running [INFO]: ==9980== [INFO]: --9980-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9980-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9980-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9980-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9980-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9980-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9980-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9980-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9980-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9980-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9980-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9980-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9980-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9980-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9980-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9980-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9980-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9980-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9980-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9980-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9980-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9980-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9980-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9980== Preferring higher priority redirection: [INFO]: --9980-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9980-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9980-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9980-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9980-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9980-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9980-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9980-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9980-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9980-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9980-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9980-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9980-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9980-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9980-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9980-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9980-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9980-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9980-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9980-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9980-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9980-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9980-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9980-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9980-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9980-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9980-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9980-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9980-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9980== [INFO]: ==9980== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9980== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==9980== [INFO]: ==9980== [INFO]: ==9980== (No origin, error cannot be suppressed) [INFO]: ==9980== [INFO]: ==9980== HEAP SUMMARY: [INFO]: ==9980== in use at exit: 0 bytes in 0 blocks [INFO]: ==9980== total heap usage: 5,498 allocs, 5,498 frees, 909,253 bytes allocated [INFO]: ==9980== [INFO]: ==9980== All heap blocks were freed -- no leaks are possible [INFO]: ==9980== [INFO]: ==9980== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_container ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.967 sec (0 m 0 s) Start Date: 2024:04:29 21:23:35 End Date: 2024:04:29 21:23:36 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_container.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212336-scantemp.aa4467e0b7/clamav-a49ddb29c9a861d4295673a62c1c1840.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240429_212336-scantemp.aa4467e0b7/clamav-25b851e716c688e6b541c48b5745a7e5.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240429_212336-scantemp.aa4467e0b7/clamav-a49ddb29c9a861d4295673a62c1c1840.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240429_212336-scantemp.aa4467e0b7/clamav-25b851e716c688e6b541c48b5745a7e5.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_container_good.UNOFFICIAL", "7z_zip_container_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9998== Memcheck, a memory error detector [INFO]: ==9998== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9998== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9998== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==9998== Parent PID: 9753 [INFO]: ==9998== [INFO]: --9998-- [INFO]: --9998-- Valgrind options: [INFO]: --9998-- -v [INFO]: --9998-- --trace-children=yes [INFO]: --9998-- --track-fds=yes [INFO]: --9998-- --leak-check=full [INFO]: --9998-- --show-possibly-lost=no [INFO]: --9998-- --show-leak-kinds=definite [INFO]: --9998-- --errors-for-leak-kinds=definite [INFO]: --9998-- --main-stacksize=16777216 [INFO]: --9998-- --gen-suppressions=all [INFO]: --9998-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9998-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --9998-- --error-exitcode=123 [INFO]: --9998-- Contents of /proc/version: [INFO]: --9998-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9998-- [INFO]: --9998-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9998-- Page sizes: currently 4096, max supported 4096 [INFO]: --9998-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9998-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9998-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9998-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9998-- might be shown as UnknownInlinedFun [INFO]: --9998-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9998-- object doesn't have a dynamic symbol table [INFO]: --9998-- Scheduler: using generic scheduler lock implementation. [INFO]: --9998-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9998-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9998== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9998-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9998== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9998-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9998== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9998-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9998== [INFO]: ==9998== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9998== don't want to do, unless you know exactly what you're doing, [INFO]: ==9998== or are doing some strange experiment): [INFO]: ==9998== /usr/libexec/valgrind/../../bin/vgdb --pid=9998 ...command... [INFO]: ==9998== [INFO]: ==9998== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9998== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9998== and then give GDB the following command [INFO]: ==9998== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9998 [INFO]: ==9998== --pid is optional if only one valgrind process is running [INFO]: ==9998== [INFO]: --9998-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9998-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9998-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9998-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9998-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9998-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9998-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9998-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9998-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9998-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9998-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9998-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9998-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9998-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9998-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9998-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9998-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9998-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9998-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9998-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9998-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9998-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9998-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9998== Preferring higher priority redirection: [INFO]: --9998-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9998-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9998-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9998-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9998-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9998-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9998-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9998-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9998-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9998-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9998-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9998-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9998-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9998-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9998-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9998-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9998-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9998-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9998-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9998-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9998-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9998-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9998-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9998-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9998-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9998-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9998-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9998-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9998-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9998== [INFO]: ==9998== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9998== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==9998== [INFO]: ==9998== [INFO]: ==9998== (No origin, error cannot be suppressed) [INFO]: ==9998== [INFO]: ==9998== HEAP SUMMARY: [INFO]: ==9998== in use at exit: 0 bytes in 0 blocks [INFO]: ==9998== total heap usage: 5,549 allocs, 5,549 frees, 781,803 bytes allocated [INFO]: ==9998== [INFO]: ==9998== All heap blocks were freed -- no leaks are possible [INFO]: ==9998== [INFO]: ==9998== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_intermediates __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.233 sec (0 m 1 s) Start Date: 2024:04:29 21:23:37 End Date: 2024:04:29 21:23:38 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_intermediates.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212337-scantemp.54c1937f4f/clamav-143f61817bbc50846ae29fe6e9c059f5.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240429_212337-scantemp.54c1937f4f/clamav-878e43d6fa92213b1fcf27252bb49aa7.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240429_212337-scantemp.54c1937f4f/clamav-143f61817bbc50846ae29fe6e9c059f5.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240429_212337-scantemp.54c1937f4f/clamav-878e43d6fa92213b1fcf27252bb49aa7.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_intermediates_good.UNOFFICIAL", "7z_zip_intermediates_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10001== Memcheck, a memory error detector [INFO]: ==10001== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10001== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10001== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==10001== Parent PID: 9753 [INFO]: ==10001== [INFO]: --10001-- [INFO]: --10001-- Valgrind options: [INFO]: --10001-- -v [INFO]: --10001-- --trace-children=yes [INFO]: --10001-- --track-fds=yes [INFO]: --10001-- --leak-check=full [INFO]: --10001-- --show-possibly-lost=no [INFO]: --10001-- --show-leak-kinds=definite [INFO]: --10001-- --errors-for-leak-kinds=definite [INFO]: --10001-- --main-stacksize=16777216 [INFO]: --10001-- --gen-suppressions=all [INFO]: --10001-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10001-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --10001-- --error-exitcode=123 [INFO]: --10001-- Contents of /proc/version: [INFO]: --10001-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10001-- [INFO]: --10001-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10001-- Page sizes: currently 4096, max supported 4096 [INFO]: --10001-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10001-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10001-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10001-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10001-- might be shown as UnknownInlinedFun [INFO]: --10001-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10001-- object doesn't have a dynamic symbol table [INFO]: --10001-- Scheduler: using generic scheduler lock implementation. [INFO]: --10001-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10001-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10001== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10001-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10001== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10001-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10001== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10001-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10001== [INFO]: ==10001== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10001== don't want to do, unless you know exactly what you're doing, [INFO]: ==10001== or are doing some strange experiment): [INFO]: ==10001== /usr/libexec/valgrind/../../bin/vgdb --pid=10001 ...command... [INFO]: ==10001== [INFO]: ==10001== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10001== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10001== and then give GDB the following command [INFO]: ==10001== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10001 [INFO]: ==10001== --pid is optional if only one valgrind process is running [INFO]: ==10001== [INFO]: --10001-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10001-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10001-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10001-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10001-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10001-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10001-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10001-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10001-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10001-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10001-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10001-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10001-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10001-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10001-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10001-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10001-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10001-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10001-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10001-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10001-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10001-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10001-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10001== Preferring higher priority redirection: [INFO]: --10001-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10001-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10001-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10001-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10001-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10001-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10001-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10001-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10001-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10001-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10001-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10001-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10001-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10001-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10001-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10001-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10001-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10001-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10001-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10001-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10001-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10001-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10001-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10001-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10001-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10001-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10001-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10001-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10001-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10001== [INFO]: ==10001== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10001== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==10001== [INFO]: ==10001== [INFO]: ==10001== (No origin, error cannot be suppressed) [INFO]: ==10001== [INFO]: ==10001== HEAP SUMMARY: [INFO]: ==10001== in use at exit: 0 bytes in 0 blocks [INFO]: ==10001== total heap usage: 5,549 allocs, 5,549 frees, 781,823 bytes allocated [INFO]: ==10001== [INFO]: ==10001== All heap blocks were freed -- no leaks are possible [INFO]: ==10001== [INFO]: ==10001== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_intermediates_cache _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/container_sigs_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for intermediates sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Intermediates.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.922 sec (0 m 0 s) Start Date: 2024:04:29 21:23:39 End Date: 2024:04:29 21:23:40 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10005== Memcheck, a memory error detector [INFO]: ==10005== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10005== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10005== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [INFO]: ==10005== Parent PID: 9753 [INFO]: ==10005== [INFO]: --10005-- [INFO]: --10005-- Valgrind options: [INFO]: --10005-- -v [INFO]: --10005-- --trace-children=yes [INFO]: --10005-- --track-fds=yes [INFO]: --10005-- --leak-check=full [INFO]: --10005-- --show-possibly-lost=no [INFO]: --10005-- --show-leak-kinds=definite [INFO]: --10005-- --errors-for-leak-kinds=definite [INFO]: --10005-- --main-stacksize=16777216 [INFO]: --10005-- --gen-suppressions=all [INFO]: --10005-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10005-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --10005-- --error-exitcode=123 [INFO]: --10005-- Contents of /proc/version: [INFO]: --10005-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10005-- [INFO]: --10005-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10005-- Page sizes: currently 4096, max supported 4096 [INFO]: --10005-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10005-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10005-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10005-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10005-- might be shown as UnknownInlinedFun [INFO]: --10005-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10005-- object doesn't have a dynamic symbol table [INFO]: --10005-- Scheduler: using generic scheduler lock implementation. [INFO]: --10005-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10005-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10005== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10005-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10005== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10005-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10005== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10005-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10005== [INFO]: ==10005== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10005== don't want to do, unless you know exactly what you're doing, [INFO]: ==10005== or are doing some strange experiment): [INFO]: ==10005== /usr/libexec/valgrind/../../bin/vgdb --pid=10005 ...command... [INFO]: ==10005== [INFO]: ==10005== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10005== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10005== and then give GDB the following command [INFO]: ==10005== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10005 [INFO]: ==10005== --pid is optional if only one valgrind process is running [INFO]: ==10005== [INFO]: --10005-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10005-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10005-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10005-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10005-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10005-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10005-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10005-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10005-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10005-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10005-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10005-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10005-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10005-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10005-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10005-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10005-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10005-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10005-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10005-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10005-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10005-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10005-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10005== Preferring higher priority redirection: [INFO]: --10005-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10005-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10005-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10005-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10005-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10005-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10005-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10005-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10005-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10005-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10005-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10005-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10005-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10005-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10005-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10005-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10005-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10005-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10005-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10005-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10005-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10005-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10005-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10005-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10005-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10005-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10005-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10005-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10005-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10005== [INFO]: ==10005== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10005== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==10005== [INFO]: ==10005== [INFO]: ==10005== (No origin, error cannot be suppressed) [INFO]: ==10005== [INFO]: ==10005== HEAP SUMMARY: [INFO]: ==10005== in use at exit: 0 bytes in 0 blocks [INFO]: ==10005== total heap usage: 5,498 allocs, 5,498 frees, 909,261 bytes allocated [INFO]: ==10005== [INFO]: ==10005== All heap blocks were freed -- no leaks are possible [INFO]: ==10005== [INFO]: ==10005== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs _______________ ERROR at teardown of TC.test_sigs_bad_algorithm ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test invalid fuzzy image hash algorithm [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.459 sec (0 m 0 s) Start Date: 2024:04:29 21:23:53 End Date: 2024:04:29 21:23:54 [DEBUG]: stderr: LibClamAV Error: cli_mpool_hex2ui(): Malformed hexstring: fuzzy_imgy#af2ad01ed42993c7#0 (length: 29) LibClamAV Error: cli_add_content_match_pattern: Problem adding signature (3). LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb: Malformed database ERROR: Malformed database [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10032== Memcheck, a memory error detector [INFO]: ==10032== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10032== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10032== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10032== Parent PID: 9753 [INFO]: ==10032== [INFO]: --10032-- [INFO]: --10032-- Valgrind options: [INFO]: --10032-- -v [INFO]: --10032-- --trace-children=yes [INFO]: --10032-- --track-fds=yes [INFO]: --10032-- --leak-check=full [INFO]: --10032-- --show-possibly-lost=no [INFO]: --10032-- --show-leak-kinds=definite [INFO]: --10032-- --errors-for-leak-kinds=definite [INFO]: --10032-- --main-stacksize=16777216 [INFO]: --10032-- --gen-suppressions=all [INFO]: --10032-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10032-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10032-- --error-exitcode=123 [INFO]: --10032-- Contents of /proc/version: [INFO]: --10032-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10032-- [INFO]: --10032-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10032-- Page sizes: currently 4096, max supported 4096 [INFO]: --10032-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10032-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10032-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10032-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10032-- might be shown as UnknownInlinedFun [INFO]: --10032-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10032-- object doesn't have a dynamic symbol table [INFO]: --10032-- Scheduler: using generic scheduler lock implementation. [INFO]: --10032-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10032-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10032== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10032-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10032== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10032-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10032== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10032-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10032== [INFO]: ==10032== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10032== don't want to do, unless you know exactly what you're doing, [INFO]: ==10032== or are doing some strange experiment): [INFO]: ==10032== /usr/libexec/valgrind/../../bin/vgdb --pid=10032 ...command... [INFO]: ==10032== [INFO]: ==10032== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10032== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10032== and then give GDB the following command [INFO]: ==10032== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10032 [INFO]: ==10032== --pid is optional if only one valgrind process is running [INFO]: ==10032== [INFO]: --10032-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10032-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10032-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10032-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10032-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10032-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10032-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10032-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10032-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10032-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10032-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10032-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10032-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10032-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10032-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10032-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10032-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10032-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10032-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10032-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10032-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10032-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10032-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10032== Preferring higher priority redirection: [INFO]: --10032-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10032-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10032-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10032-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10032-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10032-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10032-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10032-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10032-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10032-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10032-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10032-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10032-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10032-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10032-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10032-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10032-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10032-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10032-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10032-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10032-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10032-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10032-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: ==10032== [INFO]: ==10032== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10032== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10032== [INFO]: ==10032== [INFO]: ==10032== (No origin, error cannot be suppressed) [INFO]: ==10032== [INFO]: ==10032== HEAP SUMMARY: [INFO]: ==10032== in use at exit: 0 bytes in 0 blocks [INFO]: ==10032== total heap usage: 459 allocs, 459 frees, 295,172 bytes allocated [INFO]: ==10032== [INFO]: ==10032== All heap blocks were freed -- no leaks are possible [INFO]: ==10032== [INFO]: ==10032== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________ ERROR at teardown of TC.test_sigs_bad_hamming _________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Unsupported hamming distancee [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.468 sec (0 m 0 s) Start Date: 2024:04:29 21:23:54 End Date: 2024:04:29 21:23:55 [DEBUG]: stderr: LibClamAV Error: Non-zero hamming distances for image fuzzy hashes are not supported in this version. LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#af2ad01ed42993c7#1': Invalid hamming distance: 1 Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10034== Memcheck, a memory error detector [INFO]: ==10034== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10034== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10034== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10034== Parent PID: 9753 [INFO]: ==10034== [INFO]: --10034-- [INFO]: --10034-- Valgrind options: [INFO]: --10034-- -v [INFO]: --10034-- --trace-children=yes [INFO]: --10034-- --track-fds=yes [INFO]: --10034-- --leak-check=full [INFO]: --10034-- --show-possibly-lost=no [INFO]: --10034-- --show-leak-kinds=definite [INFO]: --10034-- --errors-for-leak-kinds=definite [INFO]: --10034-- --main-stacksize=16777216 [INFO]: --10034-- --gen-suppressions=all [INFO]: --10034-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10034-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10034-- --error-exitcode=123 [INFO]: --10034-- Contents of /proc/version: [INFO]: --10034-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10034-- [INFO]: --10034-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10034-- Page sizes: currently 4096, max supported 4096 [INFO]: --10034-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10034-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10034-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10034-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10034-- might be shown as UnknownInlinedFun [INFO]: --10034-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10034-- object doesn't have a dynamic symbol table [INFO]: --10034-- Scheduler: using generic scheduler lock implementation. [INFO]: --10034-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10034-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10034== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10034-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10034== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10034-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10034== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10034-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10034== [INFO]: ==10034== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10034== don't want to do, unless you know exactly what you're doing, [INFO]: ==10034== or are doing some strange experiment): [INFO]: ==10034== /usr/libexec/valgrind/../../bin/vgdb --pid=10034 ...command... [INFO]: ==10034== [INFO]: ==10034== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10034== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10034== and then give GDB the following command [INFO]: ==10034== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10034 [INFO]: ==10034== --pid is optional if only one valgrind process is running [INFO]: ==10034== [INFO]: --10034-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10034-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10034-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10034-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10034-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10034-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10034-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10034-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10034-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10034-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10034-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10034-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10034-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10034-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10034-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10034-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10034-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10034-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10034-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10034-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10034-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10034-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10034-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10034== Preferring higher priority redirection: [INFO]: --10034-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10034-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10034-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10034-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10034-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10034-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10034-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10034-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10034-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10034-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10034-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10034-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10034-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10034-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10034-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10034-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10034-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10034-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10034-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10034-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10034-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10034-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10034-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: ==10034== [INFO]: ==10034== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10034== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10034== [INFO]: ==10034== [INFO]: ==10034== (No origin, error cannot be suppressed) [INFO]: ==10034== [INFO]: ==10034== HEAP SUMMARY: [INFO]: ==10034== in use at exit: 0 bytes in 0 blocks [INFO]: ==10034== total heap usage: 467 allocs, 467 frees, 295,712 bytes allocated [INFO]: ==10034== [INFO]: ==10034== All heap blocks were freed -- no leaks are possible [INFO]: ==10034== [INFO]: ==10034== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_sigs_bad_hash __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Invalid hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.466 sec (0 m 0 s) Start Date: 2024:04:29 21:23:55 End Date: 2024:04:29 21:23:56 [DEBUG]: stderr: LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#abcdef#0': Invalid hash: Image fuzzy hash must be 16 characters in length: abcdef Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10036== Memcheck, a memory error detector [INFO]: ==10036== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10036== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10036== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10036== Parent PID: 9753 [INFO]: ==10036== [INFO]: --10036-- [INFO]: --10036-- Valgrind options: [INFO]: --10036-- -v [INFO]: --10036-- --trace-children=yes [INFO]: --10036-- --track-fds=yes [INFO]: --10036-- --leak-check=full [INFO]: --10036-- --show-possibly-lost=no [INFO]: --10036-- --show-leak-kinds=definite [INFO]: --10036-- --errors-for-leak-kinds=definite [INFO]: --10036-- --main-stacksize=16777216 [INFO]: --10036-- --gen-suppressions=all [INFO]: --10036-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10036-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10036-- --error-exitcode=123 [INFO]: --10036-- Contents of /proc/version: [INFO]: --10036-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10036-- [INFO]: --10036-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10036-- Page sizes: currently 4096, max supported 4096 [INFO]: --10036-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10036-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10036-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10036-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10036-- might be shown as UnknownInlinedFun [INFO]: --10036-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10036-- object doesn't have a dynamic symbol table [INFO]: --10036-- Scheduler: using generic scheduler lock implementation. [INFO]: --10036-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10036-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10036== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10036-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10036== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10036-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10036== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10036-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10036== [INFO]: ==10036== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10036== don't want to do, unless you know exactly what you're doing, [INFO]: ==10036== or are doing some strange experiment): [INFO]: ==10036== /usr/libexec/valgrind/../../bin/vgdb --pid=10036 ...command... [INFO]: ==10036== [INFO]: ==10036== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10036== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10036== and then give GDB the following command [INFO]: ==10036== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10036 [INFO]: ==10036== --pid is optional if only one valgrind process is running [INFO]: ==10036== [INFO]: --10036-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10036-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10036-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10036-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10036-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10036-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10036-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10036-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10036-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10036-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10036-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10036-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10036-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10036-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10036-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10036-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10036-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10036-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10036-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10036-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10036-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10036-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10036-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10036== Preferring higher priority redirection: [INFO]: --10036-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10036-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10036-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10036-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10036-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10036-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10036-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10036-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10036-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10036-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10036-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10036-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10036-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10036-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10036-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10036-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10036-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10036-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10036-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10036-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10036-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10036-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10036-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: ==10036== [INFO]: ==10036== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10036== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10036== [INFO]: ==10036== [INFO]: ==10036== (No origin, error cannot be suppressed) [INFO]: ==10036== [INFO]: ==10036== HEAP SUMMARY: [INFO]: ==10036== in use at exit: 0 bytes in 0 blocks [INFO]: ==10036== total heap usage: 466 allocs, 466 frees, 295,568 bytes allocated [INFO]: ==10036== [INFO]: ==10036== All heap blocks were freed -- no leaks are possible [INFO]: ==10036== [INFO]: ==10036== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_sigs_good_allmatch ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/fuzzy_img_hash_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test with a good database in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.with.second.subsig.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 3 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.02 MB Data read: 0.02 MB (ratio 1.00:1) Time: 0.997 sec (0 m 0 s) Start Date: 2024:04:29 21:23:56 End Date: 2024:04:29 21:23:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10038== Memcheck, a memory error detector [INFO]: ==10038== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10038== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10038== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10038== Parent PID: 9753 [INFO]: ==10038== [INFO]: --10038-- [INFO]: --10038-- Valgrind options: [INFO]: --10038-- -v [INFO]: --10038-- --trace-children=yes [INFO]: --10038-- --track-fds=yes [INFO]: --10038-- --leak-check=full [INFO]: --10038-- --show-possibly-lost=no [INFO]: --10038-- --show-leak-kinds=definite [INFO]: --10038-- --errors-for-leak-kinds=definite [INFO]: --10038-- --main-stacksize=16777216 [INFO]: --10038-- --gen-suppressions=all [INFO]: --10038-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10038-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10038-- --error-exitcode=123 [INFO]: --10038-- Contents of /proc/version: [INFO]: --10038-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10038-- [INFO]: --10038-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10038-- Page sizes: currently 4096, max supported 4096 [INFO]: --10038-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10038-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10038-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10038-- might be shown as UnknownInlinedFun [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10038-- object doesn't have a dynamic symbol table [INFO]: --10038-- Scheduler: using generic scheduler lock implementation. [INFO]: --10038-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10038-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10038== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10038-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10038== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10038-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10038== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10038-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10038== [INFO]: ==10038== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10038== don't want to do, unless you know exactly what you're doing, [INFO]: ==10038== or are doing some strange experiment): [INFO]: ==10038== /usr/libexec/valgrind/../../bin/vgdb --pid=10038 ...command... [INFO]: ==10038== [INFO]: ==10038== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10038== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10038== and then give GDB the following command [INFO]: ==10038== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10038 [INFO]: ==10038== --pid is optional if only one valgrind process is running [INFO]: ==10038== [INFO]: --10038-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10038-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10038-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10038-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10038-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10038-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10038-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10038-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10038-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10038-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10038-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10038-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10038-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10038-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10038-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10038-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10038-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10038-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10038-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10038== Preferring higher priority redirection: [INFO]: --10038-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10038-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10038-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10038-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10038-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10038-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10038-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10038-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10038-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10038-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10038-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10038-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10038-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10038-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10038-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10038-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10038-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10038-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10038-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10038-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10038-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10038-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10038-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10038-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10038-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10038-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10038-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10038-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10038-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10038== [INFO]: ==10038== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10038== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10038== [INFO]: ==10038== [INFO]: ==10038== (No origin, error cannot be suppressed) [INFO]: ==10038== [INFO]: ==10038== HEAP SUMMARY: [INFO]: ==10038== in use at exit: 0 bytes in 0 blocks [INFO]: ==10038== total heap usage: 5,441 allocs, 5,441 frees, 2,034,032 bytes allocated [INFO]: ==10038== [INFO]: ==10038== All heap blocks were freed -- no leaks are possible [INFO]: ==10038== [INFO]: ==10038== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n ____________________ ERROR at teardown of TC.test_allmatch _____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert LAST in allmatch mode without heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 0.984 sec (0 m 0 s) Start Date: 2024:04:29 21:23:58 End Date: 2024:04:29 21:23:59 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10040== Memcheck, a memory error detector [INFO]: ==10040== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10040== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10040== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch [INFO]: ==10040== Parent PID: 9753 [INFO]: ==10040== [INFO]: --10040-- [INFO]: --10040-- Valgrind options: [INFO]: --10040-- -v [INFO]: --10040-- --trace-children=yes [INFO]: --10040-- --track-fds=yes [INFO]: --10040-- --leak-check=full [INFO]: --10040-- --show-possibly-lost=no [INFO]: --10040-- --show-leak-kinds=definite [INFO]: --10040-- --errors-for-leak-kinds=definite [INFO]: --10040-- --main-stacksize=16777216 [INFO]: --10040-- --gen-suppressions=all [INFO]: --10040-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10040-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10040-- --error-exitcode=123 [INFO]: --10040-- Contents of /proc/version: [INFO]: --10040-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10040-- [INFO]: --10040-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10040-- Page sizes: currently 4096, max supported 4096 [INFO]: --10040-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10040-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10040-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10040-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10040-- might be shown as UnknownInlinedFun [INFO]: --10040-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10040-- object doesn't have a dynamic symbol table [INFO]: --10040-- Scheduler: using generic scheduler lock implementation. [INFO]: --10040-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10040-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10040== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10040-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10040== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10040-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10040== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10040-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10040== [INFO]: ==10040== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10040== don't want to do, unless you know exactly what you're doing, [INFO]: ==10040== or are doing some strange experiment): [INFO]: ==10040== /usr/libexec/valgrind/../../bin/vgdb --pid=10040 ...command... [INFO]: ==10040== [INFO]: ==10040== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10040== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10040== and then give GDB the following command [INFO]: ==10040== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10040 [INFO]: ==10040== --pid is optional if only one valgrind process is running [INFO]: ==10040== [INFO]: --10040-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10040-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10040-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10040-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10040-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10040-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10040-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10040-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10040-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10040-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10040-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10040-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10040-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10040-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10040-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10040-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10040-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10040-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10040-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10040-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10040-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10040-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10040-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10040== Preferring higher priority redirection: [INFO]: --10040-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10040-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10040-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10040-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10040-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10040-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10040-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10040-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10040-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10040-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10040-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10040-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10040-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10040-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10040-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10040-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10040-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10040-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10040-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10040-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10040-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10040-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10040-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10040-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10040-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10040-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10040-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10040-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10040-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10040-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10040== [INFO]: ==10040== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10040== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10040== [INFO]: ==10040== [INFO]: ==10040== (No origin, error cannot be suppressed) [INFO]: ==10040== [INFO]: ==10040== HEAP SUMMARY: [INFO]: ==10040== in use at exit: 0 bytes in 0 blocks [INFO]: ==10040== total heap usage: 5,452 allocs, 5,452 frees, 1,153,694 bytes allocated [INFO]: ==10040== [INFO]: ==10040== All heap blocks were freed -- no leaks are possible [INFO]: ==10040== [INFO]: ==10040== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_allmatch_precedence _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert FIRST in allmatch mode with heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.068 sec (0 m 1 s) Start Date: 2024:04:29 21:23:59 End Date: 2024:04:29 21:24:00 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10042== Memcheck, a memory error detector [INFO]: ==10042== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10042== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10042== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [INFO]: ==10042== Parent PID: 9753 [INFO]: ==10042== [INFO]: --10042-- [INFO]: --10042-- Valgrind options: [INFO]: --10042-- -v [INFO]: --10042-- --trace-children=yes [INFO]: --10042-- --track-fds=yes [INFO]: --10042-- --leak-check=full [INFO]: --10042-- --show-possibly-lost=no [INFO]: --10042-- --show-leak-kinds=definite [INFO]: --10042-- --errors-for-leak-kinds=definite [INFO]: --10042-- --main-stacksize=16777216 [INFO]: --10042-- --gen-suppressions=all [INFO]: --10042-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10042-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10042-- --error-exitcode=123 [INFO]: --10042-- Contents of /proc/version: [INFO]: --10042-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10042-- [INFO]: --10042-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10042-- Page sizes: currently 4096, max supported 4096 [INFO]: --10042-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10042-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10042-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10042-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10042-- might be shown as UnknownInlinedFun [INFO]: --10042-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10042-- object doesn't have a dynamic symbol table [INFO]: --10042-- Scheduler: using generic scheduler lock implementation. [INFO]: --10042-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10042-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10042== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10042-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10042== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10042-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10042== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10042-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10042== [INFO]: ==10042== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10042== don't want to do, unless you know exactly what you're doing, [INFO]: ==10042== or are doing some strange experiment): [INFO]: ==10042== /usr/libexec/valgrind/../../bin/vgdb --pid=10042 ...command... [INFO]: ==10042== [INFO]: ==10042== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10042== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10042== and then give GDB the following command [INFO]: ==10042== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10042 [INFO]: ==10042== --pid is optional if only one valgrind process is running [INFO]: ==10042== [INFO]: --10042-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10042-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10042-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10042-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10042-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10042-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10042-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10042-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10042-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10042-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10042-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10042-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10042-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10042-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10042-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10042-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10042-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10042-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10042-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10042-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10042-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10042-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10042-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10042== Preferring higher priority redirection: [INFO]: --10042-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10042-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10042-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10042-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10042-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10042-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10042-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10042-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10042-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10042-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10042-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10042-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10042-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10042-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10042-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10042-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10042-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10042-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10042-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10042-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10042-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10042-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10042-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10042-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10042-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10042-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10042-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10042-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10042-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10042-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10042== [INFO]: ==10042== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10042== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10042== [INFO]: ==10042== [INFO]: ==10042== (No origin, error cannot be suppressed) [INFO]: ==10042== [INFO]: ==10042== HEAP SUMMARY: [INFO]: ==10042== in use at exit: 0 bytes in 0 blocks [INFO]: ==10042== total heap usage: 5,451 allocs, 5,451 frees, 1,153,482 bytes allocated [INFO]: ==10042== [INFO]: ==10042== All heap blocks were freed -- no leaks are possible [INFO]: ==10042== [INFO]: ==10042== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________ ERROR at teardown of TC.test_hidden_by_strong_indicator ____________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic not alert because regular sig alerts first. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 0.939 sec (0 m 0 s) Start Date: 2024:04:29 21:24:01 End Date: 2024:04:29 21:24:02 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10049== Memcheck, a memory error detector [INFO]: ==10049== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10049== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10049== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [INFO]: ==10049== Parent PID: 9753 [INFO]: ==10049== [INFO]: --10049-- [INFO]: --10049-- Valgrind options: [INFO]: --10049-- -v [INFO]: --10049-- --trace-children=yes [INFO]: --10049-- --track-fds=yes [INFO]: --10049-- --leak-check=full [INFO]: --10049-- --show-possibly-lost=no [INFO]: --10049-- --show-leak-kinds=definite [INFO]: --10049-- --errors-for-leak-kinds=definite [INFO]: --10049-- --main-stacksize=16777216 [INFO]: --10049-- --gen-suppressions=all [INFO]: --10049-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10049-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10049-- --error-exitcode=123 [INFO]: --10049-- Contents of /proc/version: [INFO]: --10049-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10049-- [INFO]: --10049-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10049-- Page sizes: currently 4096, max supported 4096 [INFO]: --10049-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10049-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10049-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10049-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10049-- might be shown as UnknownInlinedFun [INFO]: --10049-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10049-- object doesn't have a dynamic symbol table [INFO]: --10049-- Scheduler: using generic scheduler lock implementation. [INFO]: --10049-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10049-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10049== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10049-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10049== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10049-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10049== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10049-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10049== [INFO]: ==10049== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10049== don't want to do, unless you know exactly what you're doing, [INFO]: ==10049== or are doing some strange experiment): [INFO]: ==10049== /usr/libexec/valgrind/../../bin/vgdb --pid=10049 ...command... [INFO]: ==10049== [INFO]: ==10049== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10049== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10049== and then give GDB the following command [INFO]: ==10049== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10049 [INFO]: ==10049== --pid is optional if only one valgrind process is running [INFO]: ==10049== [INFO]: --10049-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10049-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10049-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10049-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10049-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10049-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10049-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10049-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10049-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10049-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10049-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10049-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10049-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10049-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10049-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10049-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10049-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10049-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10049-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10049-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10049-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10049-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10049-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10049== Preferring higher priority redirection: [INFO]: --10049-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10049-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10049-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10049-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10049-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10049-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10049-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10049-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10049-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10049-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10049-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10049-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10049-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10049-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10049-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10049-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10049-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10049-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10049-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10049-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10049-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10049-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10049-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10049-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10049-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10049-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10049-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10049-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10049-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10049-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10049== [INFO]: ==10049== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10049== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10049== [INFO]: ==10049== [INFO]: ==10049== (No origin, error cannot be suppressed) [INFO]: ==10049== [INFO]: ==10049== HEAP SUMMARY: [INFO]: ==10049== in use at exit: 0 bytes in 0 blocks [INFO]: ==10049== total heap usage: 5,436 allocs, 5,436 frees, 1,150,095 bytes allocated [INFO]: ==10049== [INFO]: ==10049== All heap blocks were freed -- no leaks are possible [INFO]: ==10049== [INFO]: ==10049== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_only_heur ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic will alert, because it is the only detection. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 0.956 sec (0 m 0 s) Start Date: 2024:04:29 21:24:03 End Date: 2024:04:29 21:24:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10051== Memcheck, a memory error detector [INFO]: ==10051== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10051== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10051== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [INFO]: ==10051== Parent PID: 9753 [INFO]: ==10051== [INFO]: --10051-- [INFO]: --10051-- Valgrind options: [INFO]: --10051-- -v [INFO]: --10051-- --trace-children=yes [INFO]: --10051-- --track-fds=yes [INFO]: --10051-- --leak-check=full [INFO]: --10051-- --show-possibly-lost=no [INFO]: --10051-- --show-leak-kinds=definite [INFO]: --10051-- --errors-for-leak-kinds=definite [INFO]: --10051-- --main-stacksize=16777216 [INFO]: --10051-- --gen-suppressions=all [INFO]: --10051-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10051-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10051-- --error-exitcode=123 [INFO]: --10051-- Contents of /proc/version: [INFO]: --10051-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10051-- [INFO]: --10051-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10051-- Page sizes: currently 4096, max supported 4096 [INFO]: --10051-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10051-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10051-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10051-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10051-- might be shown as UnknownInlinedFun [INFO]: --10051-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10051-- object doesn't have a dynamic symbol table [INFO]: --10051-- Scheduler: using generic scheduler lock implementation. [INFO]: --10051-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10051-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10051== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10051-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10051== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10051-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10051== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10051-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10051== [INFO]: ==10051== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10051== don't want to do, unless you know exactly what you're doing, [INFO]: ==10051== or are doing some strange experiment): [INFO]: ==10051== /usr/libexec/valgrind/../../bin/vgdb --pid=10051 ...command... [INFO]: ==10051== [INFO]: ==10051== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10051== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10051== and then give GDB the following command [INFO]: ==10051== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10051 [INFO]: ==10051== --pid is optional if only one valgrind process is running [INFO]: ==10051== [INFO]: --10051-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10051-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10051-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10051-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10051-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10051-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10051-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10051-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10051-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10051-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10051-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10051-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10051-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10051-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10051-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10051-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10051-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10051-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10051-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10051-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10051-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10051-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10051-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10051== Preferring higher priority redirection: [INFO]: --10051-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10051-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10051-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10051-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10051-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10051-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10051-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10051-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10051-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10051-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10051-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10051-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10051-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10051-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10051-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10051-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10051-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10051-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10051-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10051-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10051-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10051-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10051-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10051-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10051-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10051-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10051-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10051-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10051-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10051== [INFO]: ==10051== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10051== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10051== [INFO]: ==10051== [INFO]: ==10051== (No origin, error cannot be suppressed) [INFO]: ==10051== [INFO]: ==10051== HEAP SUMMARY: [INFO]: ==10051== in use at exit: 0 bytes in 0 blocks [INFO]: ==10051== total heap usage: 5,449 allocs, 5,449 frees, 1,153,432 bytes allocated [INFO]: ==10051== [INFO]: ==10051== All heap blocks were freed -- no leaks are possible [INFO]: ==10051== [INFO]: ==10051== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________ ERROR at teardown of TC.test_precedence ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/heuristics_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a heuristic-precendence will cause the heuristic alert to happen first, with no other alerts because not allmatch. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.828 sec (0 m 0 s) Start Date: 2024:04:29 21:24:04 End Date: 2024:04:29 21:24:05 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10053== Memcheck, a memory error detector [INFO]: ==10053== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10053== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10053== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [INFO]: ==10053== Parent PID: 9753 [INFO]: ==10053== [INFO]: --10053-- [INFO]: --10053-- Valgrind options: [INFO]: --10053-- -v [INFO]: --10053-- --trace-children=yes [INFO]: --10053-- --track-fds=yes [INFO]: --10053-- --leak-check=full [INFO]: --10053-- --show-possibly-lost=no [INFO]: --10053-- --show-leak-kinds=definite [INFO]: --10053-- --errors-for-leak-kinds=definite [INFO]: --10053-- --main-stacksize=16777216 [INFO]: --10053-- --gen-suppressions=all [INFO]: --10053-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10053-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10053-- --error-exitcode=123 [INFO]: --10053-- Contents of /proc/version: [INFO]: --10053-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10053-- [INFO]: --10053-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10053-- Page sizes: currently 4096, max supported 4096 [INFO]: --10053-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10053-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10053-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10053-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10053-- might be shown as UnknownInlinedFun [INFO]: --10053-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10053-- object doesn't have a dynamic symbol table [INFO]: --10053-- Scheduler: using generic scheduler lock implementation. [INFO]: --10053-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10053-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10053== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10053-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10053== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10053-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10053== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10053-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10053== [INFO]: ==10053== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10053== don't want to do, unless you know exactly what you're doing, [INFO]: ==10053== or are doing some strange experiment): [INFO]: ==10053== /usr/libexec/valgrind/../../bin/vgdb --pid=10053 ...command... [INFO]: ==10053== [INFO]: ==10053== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10053== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10053== and then give GDB the following command [INFO]: ==10053== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10053 [INFO]: ==10053== --pid is optional if only one valgrind process is running [INFO]: ==10053== [INFO]: --10053-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10053-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10053-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10053-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10053-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10053-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10053-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10053-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10053-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10053-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10053-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10053-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10053-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10053-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10053-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10053-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10053-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10053-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10053-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10053-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10053-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10053-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10053-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10053== Preferring higher priority redirection: [INFO]: --10053-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10053-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10053-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10053-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10053-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10053-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10053-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10053-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10053-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10053-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10053-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10053-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10053-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10053-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10053-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10053-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10053-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10053-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10053-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10053-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10053-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10053-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10053-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10053-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10053-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10053-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10053-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10053-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10053-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10053-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10053== [INFO]: ==10053== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10053== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10053== [INFO]: ==10053== [INFO]: ==10053== (No origin, error cannot be suppressed) [INFO]: ==10053== [INFO]: ==10053== HEAP SUMMARY: [INFO]: ==10053== in use at exit: 0 bytes in 0 blocks [INFO]: ==10053== total heap usage: 5,346 allocs, 5,346 frees, 599,329 bytes allocated [INFO]: ==10053== [INFO]: ==10053== All heap blocks were freed -- no leaks are possible [INFO]: ==10053== [INFO]: ==10053== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm __________________ ERROR at teardown of TC.test_xls_jpeg_png ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/image_extraction_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully extract jpeg and png images from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 1.372 sec (0 m 1 s) Start Date: 2024:04:29 21:24:06 End Date: 2024:04:29 21:24:07 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000 LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240429_212406-scantemp.e988154cf2/xlm_macros.4070311169 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-fe3929d2c37de01cef7e1992139824bc.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-2d7344e2d31936f518903be8b1a7ef99.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-8a17d56f7497ef337646e2da9a825236.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-6438058ef19efa5727223b2d43b92bbc.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-4e6b5aebd5230f1321fdd40cb5156658.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" } }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-fe3929d2c37de01cef7e1992139824bc.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-2d7344e2d31936f518903be8b1a7ef99.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-8a17d56f7497ef337646e2da9a825236.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-6438058ef19efa5727223b2d43b92bbc.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-4e6b5aebd5230f1321fdd40cb5156658.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10055== Memcheck, a memory error detector [INFO]: ==10055== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10055== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10055== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [INFO]: ==10055== Parent PID: 9753 [INFO]: ==10055== [INFO]: --10055-- [INFO]: --10055-- Valgrind options: [INFO]: --10055-- -v [INFO]: --10055-- --trace-children=yes [INFO]: --10055-- --track-fds=yes [INFO]: --10055-- --leak-check=full [INFO]: --10055-- --show-possibly-lost=no [INFO]: --10055-- --show-leak-kinds=definite [INFO]: --10055-- --errors-for-leak-kinds=definite [INFO]: --10055-- --main-stacksize=16777216 [INFO]: --10055-- --gen-suppressions=all [INFO]: --10055-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10055-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: --10055-- --error-exitcode=123 [INFO]: --10055-- Contents of /proc/version: [INFO]: --10055-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10055-- [INFO]: --10055-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10055-- Page sizes: currently 4096, max supported 4096 [INFO]: --10055-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10055-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10055-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10055-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10055-- might be shown as UnknownInlinedFun [INFO]: --10055-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10055-- object doesn't have a dynamic symbol table [INFO]: --10055-- Scheduler: using generic scheduler lock implementation. [INFO]: --10055-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10055-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10055== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10055-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10055== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10055-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10055== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10055-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10055== [INFO]: ==10055== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10055== don't want to do, unless you know exactly what you're doing, [INFO]: ==10055== or are doing some strange experiment): [INFO]: ==10055== /usr/libexec/valgrind/../../bin/vgdb --pid=10055 ...command... [INFO]: ==10055== [INFO]: ==10055== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10055== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10055== and then give GDB the following command [INFO]: ==10055== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10055 [INFO]: ==10055== --pid is optional if only one valgrind process is running [INFO]: ==10055== [INFO]: --10055-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10055-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10055-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10055-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10055-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10055-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10055-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10055-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10055-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10055-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10055-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10055-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10055-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10055-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10055-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10055-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10055-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10055-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10055-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10055-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10055-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10055-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10055-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10055== Preferring higher priority redirection: [INFO]: --10055-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10055-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10055-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10055-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10055-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10055-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10055-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10055-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10055-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10055-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10055-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10055-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10055-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10055-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10055-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10055-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10055-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10055-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10055-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10055-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10055-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10055-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10055-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10055-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10055-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10055-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10055-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10055-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10055-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: --10055-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10055-- Discarding syms at 0x5dc00f0-0x5dc10ea in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==10055== [INFO]: ==10055== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10055== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: ==10055== [INFO]: ==10055== [INFO]: ==10055== (No origin, error cannot be suppressed) [INFO]: ==10055== [INFO]: ==10055== HEAP SUMMARY: [INFO]: ==10055== in use at exit: 34,888 bytes in 67 blocks [INFO]: ==10055== total heap usage: 7,038 allocs, 6,971 frees, 3,340,970 bytes allocated [INFO]: ==10055== [INFO]: ==10055== Searching for pointers to 67 not-freed blocks [INFO]: ==10055== Checked 8,661,208 bytes [INFO]: ==10055== [INFO]: ==10055== LEAK SUMMARY: [INFO]: ==10055== definitely lost: 0 bytes in 0 blocks [INFO]: ==10055== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10055== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10055== still reachable: 33,608 bytes in 63 blocks [INFO]: ==10055== suppressed: 0 bytes in 0 blocks [INFO]: ==10055== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10055== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10055== [INFO]: ==10055== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_xls_with_detection ________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/image_extraction_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on PNG image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: logo.png.good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 1.398 sec (0 m 1 s) Start Date: 2024:04:29 21:24:07 End Date: 2024:04:29 21:24:09 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/logo.png.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3 LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240429_212408-scantemp.9b480f3251/xlm_macros.f67ad47720 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: FP SIGNATURE: 41e64a9ddb49690f0b6fbbd71362b1b3:16562:logo.png.good.UNOFFICIAL # Name: n/a, Type: CL_TYPE_JPEG LibClamAV debug: FP SIGNATURE: bd7f9450b08d919d4d330a13c8aa14a5:65536:logo.png.good.UNOFFICIAL # Name: has_png_and_jpeg.xls, Type: CL_TYPE_MSOLE2 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-e38eddce4946ca905f00c73abe0235bc.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-e520186aa12d64240c53c05ca5ea0c19.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-49d37a1dc032b2d446c7c5e40f6ef2b7.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-3e9405eaeabe7197a5b0b81758bdc90e.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-a56f145f17769ccbff7b68f8bfbe1cc3.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" }, "Viruses":[ "logo.png.good.UNOFFICIAL" ] }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-e38eddce4946ca905f00c73abe0235bc.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-e520186aa12d64240c53c05ca5ea0c19.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-49d37a1dc032b2d446c7c5e40f6ef2b7.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-3e9405eaeabe7197a5b0b81758bdc90e.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-a56f145f17769ccbff7b68f8bfbe1cc3.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10061== Memcheck, a memory error detector [INFO]: ==10061== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10061== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10061== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [INFO]: ==10061== Parent PID: 9753 [INFO]: ==10061== [INFO]: --10061-- [INFO]: --10061-- Valgrind options: [INFO]: --10061-- -v [INFO]: --10061-- --trace-children=yes [INFO]: --10061-- --track-fds=yes [INFO]: --10061-- --leak-check=full [INFO]: --10061-- --show-possibly-lost=no [INFO]: --10061-- --show-leak-kinds=definite [INFO]: --10061-- --errors-for-leak-kinds=definite [INFO]: --10061-- --main-stacksize=16777216 [INFO]: --10061-- --gen-suppressions=all [INFO]: --10061-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10061-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: --10061-- --error-exitcode=123 [INFO]: --10061-- Contents of /proc/version: [INFO]: --10061-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10061-- [INFO]: --10061-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10061-- Page sizes: currently 4096, max supported 4096 [INFO]: --10061-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10061-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10061-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10061-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10061-- might be shown as UnknownInlinedFun [INFO]: --10061-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10061-- object doesn't have a dynamic symbol table [INFO]: --10061-- Scheduler: using generic scheduler lock implementation. [INFO]: --10061-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10061-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10061== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10061-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10061== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10061-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10061== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10061-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10061== [INFO]: ==10061== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10061== don't want to do, unless you know exactly what you're doing, [INFO]: ==10061== or are doing some strange experiment): [INFO]: ==10061== /usr/libexec/valgrind/../../bin/vgdb --pid=10061 ...command... [INFO]: ==10061== [INFO]: ==10061== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10061== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10061== and then give GDB the following command [INFO]: ==10061== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10061 [INFO]: ==10061== --pid is optional if only one valgrind process is running [INFO]: ==10061== [INFO]: --10061-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10061-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10061-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10061-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10061-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10061-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10061-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10061-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10061-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10061-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10061-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10061-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10061-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10061-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10061-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10061-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10061-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10061-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10061-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10061-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10061-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10061-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10061-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10061== Preferring higher priority redirection: [INFO]: --10061-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10061-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10061-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10061-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10061-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10061-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10061-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10061-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10061-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10061-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10061-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10061-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10061-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10061-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10061-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10061-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10061-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10061-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10061-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10061-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10061-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10061-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10061-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10061-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10061-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10061-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10061-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10061-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10061-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: --10061-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10061-- Discarding syms at 0x5dc00f0-0x5dc10ea in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==10061== [INFO]: ==10061== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10061== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: ==10061== [INFO]: ==10061== [INFO]: ==10061== (No origin, error cannot be suppressed) [INFO]: ==10061== [INFO]: ==10061== HEAP SUMMARY: [INFO]: ==10061== in use at exit: 34,888 bytes in 67 blocks [INFO]: ==10061== total heap usage: 7,240 allocs, 7,173 frees, 3,361,067 bytes allocated [INFO]: ==10061== [INFO]: ==10061== Searching for pointers to 67 not-freed blocks [INFO]: ==10061== Checked 8,661,272 bytes [INFO]: ==10061== [INFO]: ==10061== LEAK SUMMARY: [INFO]: ==10061== definitely lost: 0 bytes in 0 blocks [INFO]: ==10061== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10061== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10061== still reachable: 33,608 bytes in 63 blocks [INFO]: ==10061== suppressed: 0 bytes in 0 blocks [INFO]: ==10061== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10061== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10061== [INFO]: ==10061== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m _____________________ ERROR at teardown of TC.test_LDB_VI ______________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB VI feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/Clam-VI.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 2 Data scanned: 15.36 MB Data read: 6.91 MB (ratio 2.22:1) Time: 3.494 sec (0 m 3 s) Start Date: 2024:04:29 21:24:09 End Date: 2024:04:29 21:24:13 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10067== Memcheck, a memory error detector [INFO]: ==10067== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10067== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10067== Parent PID: 9753 [INFO]: ==10067== [INFO]: --10067-- [INFO]: --10067-- Valgrind options: [INFO]: --10067-- -v [INFO]: --10067-- --trace-children=yes [INFO]: --10067-- --track-fds=yes [INFO]: --10067-- --leak-check=full [INFO]: --10067-- --show-possibly-lost=no [INFO]: --10067-- --show-leak-kinds=definite [INFO]: --10067-- --errors-for-leak-kinds=definite [INFO]: --10067-- --main-stacksize=16777216 [INFO]: --10067-- --gen-suppressions=all [INFO]: --10067-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10067-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: --10067-- --error-exitcode=123 [INFO]: --10067-- Contents of /proc/version: [INFO]: --10067-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10067-- [INFO]: --10067-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10067-- Page sizes: currently 4096, max supported 4096 [INFO]: --10067-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10067-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10067-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10067-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10067-- might be shown as UnknownInlinedFun [INFO]: --10067-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10067-- object doesn't have a dynamic symbol table [INFO]: --10067-- Scheduler: using generic scheduler lock implementation. [INFO]: --10067-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10067-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10067== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10067-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10067== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10067-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10067== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10067-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10067== [INFO]: ==10067== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10067== don't want to do, unless you know exactly what you're doing, [INFO]: ==10067== or are doing some strange experiment): [INFO]: ==10067== /usr/libexec/valgrind/../../bin/vgdb --pid=10067 ...command... [INFO]: ==10067== [INFO]: ==10067== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10067== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10067== and then give GDB the following command [INFO]: ==10067== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10067 [INFO]: ==10067== --pid is optional if only one valgrind process is running [INFO]: ==10067== [INFO]: --10067-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10067-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10067-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10067-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10067-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10067-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10067-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10067-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10067-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10067-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10067-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10067-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10067-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10067-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10067-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10067-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10067-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10067-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10067-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10067-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10067-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10067-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10067-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10067== Preferring higher priority redirection: [INFO]: --10067-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10067-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10067-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10067-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10067-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10067-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10067-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10067-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10067-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10067-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10067-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10067-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10067-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10067-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10067-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10067-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10067-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10067-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10067-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10067-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10067-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10067-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10067-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10067-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10067-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10067-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10067-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10067-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10067-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10067-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10067-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --10067-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --10067-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --10067-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --10067-- Discarding syms at 0x5dc0130-0x5dc1a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==10067== [INFO]: ==10067== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10067== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: ==10067== [INFO]: ==10067== [INFO]: ==10067== (No origin, error cannot be suppressed) [INFO]: ==10067== [INFO]: ==10067== HEAP SUMMARY: [INFO]: ==10067== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10067== total heap usage: 13,574 allocs, 13,513 frees, 48,976,938 bytes allocated [INFO]: ==10067== [INFO]: ==10067== Searching for pointers to 61 not-freed blocks [INFO]: ==10067== Checked 285,256 bytes [INFO]: ==10067== [INFO]: ==10067== LEAK SUMMARY: [INFO]: ==10067== definitely lost: 0 bytes in 0 blocks [INFO]: ==10067== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10067== possibly lost: 0 bytes in 0 blocks [INFO]: ==10067== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10067== suppressed: 0 bytes in 0 blocks [INFO]: ==10067== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10067== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10067== [INFO]: ==10067== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ ERROR at teardown of TC.test_yara_at_offset __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic at an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/yara-at-offset.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 4.742 sec (0 m 4 s) Start Date: 2024:04:29 21:24:14 End Date: 2024:04:29 21:24:18 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10069== Memcheck, a memory error detector [INFO]: ==10069== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10069== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10069== Parent PID: 9753 [INFO]: ==10069== [INFO]: --10069-- [INFO]: --10069-- Valgrind options: [INFO]: --10069-- -v [INFO]: --10069-- --trace-children=yes [INFO]: --10069-- --track-fds=yes [INFO]: --10069-- --leak-check=full [INFO]: --10069-- --show-possibly-lost=no [INFO]: --10069-- --show-leak-kinds=definite [INFO]: --10069-- --errors-for-leak-kinds=definite [INFO]: --10069-- --main-stacksize=16777216 [INFO]: --10069-- --gen-suppressions=all [INFO]: --10069-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10069-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: --10069-- --error-exitcode=123 [INFO]: --10069-- Contents of /proc/version: [INFO]: --10069-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10069-- [INFO]: --10069-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10069-- Page sizes: currently 4096, max supported 4096 [INFO]: --10069-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10069-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10069-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10069-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10069-- might be shown as UnknownInlinedFun [INFO]: --10069-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10069-- object doesn't have a dynamic symbol table [INFO]: --10069-- Scheduler: using generic scheduler lock implementation. [INFO]: --10069-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10069-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10069== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10069-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10069== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10069-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10069== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10069-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10069== [INFO]: ==10069== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10069== don't want to do, unless you know exactly what you're doing, [INFO]: ==10069== or are doing some strange experiment): [INFO]: ==10069== /usr/libexec/valgrind/../../bin/vgdb --pid=10069 ...command... [INFO]: ==10069== [INFO]: ==10069== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10069== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10069== and then give GDB the following command [INFO]: ==10069== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10069 [INFO]: ==10069== --pid is optional if only one valgrind process is running [INFO]: ==10069== [INFO]: --10069-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10069-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10069-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10069-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10069-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10069-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10069-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10069-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10069-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10069-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10069-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10069-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10069-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10069-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10069-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10069-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10069-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10069-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10069-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10069-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10069-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10069-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10069-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10069== Preferring higher priority redirection: [INFO]: --10069-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10069-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10069-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10069-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10069-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10069-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10069-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10069-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10069-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10069-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10069-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10069-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10069-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10069-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10069-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10069-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10069-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10069-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10069-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10069-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10069-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10069-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10069-- REDIR: 0x50369a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --10069-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10069-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10069-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10069-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10069-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10069-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10069-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10069-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10069-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --10069-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --10069-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --10069-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --10069-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==10069== [INFO]: ==10069== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10069== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: ==10069== [INFO]: ==10069== [INFO]: ==10069== (No origin, error cannot be suppressed) [INFO]: ==10069== [INFO]: ==10069== HEAP SUMMARY: [INFO]: ==10069== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==10069== total heap usage: 25,580 allocs, 25,452 frees, 59,711,032 bytes allocated [INFO]: ==10069== [INFO]: ==10069== Searching for pointers to 128 not-freed blocks [INFO]: ==10069== Checked 8,666,312 bytes [INFO]: ==10069== [INFO]: ==10069== LEAK SUMMARY: [INFO]: ==10069== definitely lost: 0 bytes in 0 blocks [INFO]: ==10069== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10069== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10069== still reachable: 34,667 bytes in 124 blocks [INFO]: ==10069== suppressed: 0 bytes in 0 blocks [INFO]: ==10069== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10069== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10069== [INFO]: ==10069== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_yara_in_range __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/match_offsets_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/yara-in-range.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 4.722 sec (0 m 4 s) Start Date: 2024:04:29 21:24:19 End Date: 2024:04:29 21:24:24 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10075== Memcheck, a memory error detector [INFO]: ==10075== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10075== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10075== Parent PID: 9753 [INFO]: ==10075== [INFO]: --10075-- [INFO]: --10075-- Valgrind options: [INFO]: --10075-- -v [INFO]: --10075-- --trace-children=yes [INFO]: --10075-- --track-fds=yes [INFO]: --10075-- --leak-check=full [INFO]: --10075-- --show-possibly-lost=no [INFO]: --10075-- --show-leak-kinds=definite [INFO]: --10075-- --errors-for-leak-kinds=definite [INFO]: --10075-- --main-stacksize=16777216 [INFO]: --10075-- --gen-suppressions=all [INFO]: --10075-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10075-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: --10075-- --error-exitcode=123 [INFO]: --10075-- Contents of /proc/version: [INFO]: --10075-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10075-- [INFO]: --10075-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10075-- Page sizes: currently 4096, max supported 4096 [INFO]: --10075-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10075-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10075-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10075-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10075-- might be shown as UnknownInlinedFun [INFO]: --10075-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10075-- object doesn't have a dynamic symbol table [INFO]: --10075-- Scheduler: using generic scheduler lock implementation. [INFO]: --10075-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10075-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10075== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10075-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10075== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10075-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10075== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10075-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10075== [INFO]: ==10075== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10075== don't want to do, unless you know exactly what you're doing, [INFO]: ==10075== or are doing some strange experiment): [INFO]: ==10075== /usr/libexec/valgrind/../../bin/vgdb --pid=10075 ...command... [INFO]: ==10075== [INFO]: ==10075== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10075== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10075== and then give GDB the following command [INFO]: ==10075== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10075 [INFO]: ==10075== --pid is optional if only one valgrind process is running [INFO]: ==10075== [INFO]: --10075-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10075-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10075-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10075-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10075-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10075-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10075-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10075-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10075-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10075-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10075-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10075-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10075-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10075-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10075-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10075-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10075-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10075-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10075-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10075-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10075-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10075-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10075-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10075== Preferring higher priority redirection: [INFO]: --10075-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10075-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10075-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10075-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10075-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10075-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10075-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10075-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10075-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10075-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10075-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10075-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10075-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10075-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10075-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10075-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10075-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10075-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10075-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10075-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10075-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10075-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10075-- REDIR: 0x50369a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --10075-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10075-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10075-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10075-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10075-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10075-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10075-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10075-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10075-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --10075-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --10075-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --10075-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --10075-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==10075== [INFO]: ==10075== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10075== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: ==10075== [INFO]: ==10075== [INFO]: ==10075== (No origin, error cannot be suppressed) [INFO]: ==10075== [INFO]: ==10075== HEAP SUMMARY: [INFO]: ==10075== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==10075== total heap usage: 25,580 allocs, 25,452 frees, 59,711,024 bytes allocated [INFO]: ==10075== [INFO]: ==10075== Searching for pointers to 128 not-freed blocks [INFO]: ==10075== Checked 8,666,280 bytes [INFO]: ==10075== [INFO]: ==10075== LEAK SUMMARY: [INFO]: ==10075== definitely lost: 0 bytes in 0 blocks [INFO]: ==10075== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10075== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10075== still reachable: 34,667 bytes in 124 blocks [INFO]: ==10075== suppressed: 0 bytes in 0 blocks [INFO]: ==10075== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10075== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10075== [INFO]: ==10075== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0 ___________________ ERROR at teardown of TC.test_not_enabled ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/phishing_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan will load the phishing sigs w/out issue [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.896 sec (0 m 0 s) Start Date: 2024:04:29 21:24:24 End Date: 2024:04:29 21:24:25 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10081== Memcheck, a memory error detector [INFO]: ==10081== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10081== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10081== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [INFO]: ==10081== Parent PID: 9753 [INFO]: ==10081== [INFO]: --10081-- [INFO]: --10081-- Valgrind options: [INFO]: --10081-- -v [INFO]: --10081-- --trace-children=yes [INFO]: --10081-- --track-fds=yes [INFO]: --10081-- --leak-check=full [INFO]: --10081-- --show-possibly-lost=no [INFO]: --10081-- --show-leak-kinds=definite [INFO]: --10081-- --errors-for-leak-kinds=definite [INFO]: --10081-- --main-stacksize=16777216 [INFO]: --10081-- --gen-suppressions=all [INFO]: --10081-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10081-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: --10081-- --error-exitcode=123 [INFO]: --10081-- Contents of /proc/version: [INFO]: --10081-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10081-- [INFO]: --10081-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10081-- Page sizes: currently 4096, max supported 4096 [INFO]: --10081-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10081-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10081-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10081-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10081-- might be shown as UnknownInlinedFun [INFO]: --10081-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10081-- object doesn't have a dynamic symbol table [INFO]: --10081-- Scheduler: using generic scheduler lock implementation. [INFO]: --10081-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10081-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10081== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10081-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10081== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10081-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10081== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10081-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10081== [INFO]: ==10081== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10081== don't want to do, unless you know exactly what you're doing, [INFO]: ==10081== or are doing some strange experiment): [INFO]: ==10081== /usr/libexec/valgrind/../../bin/vgdb --pid=10081 ...command... [INFO]: ==10081== [INFO]: ==10081== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10081== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10081== and then give GDB the following command [INFO]: ==10081== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10081 [INFO]: ==10081== --pid is optional if only one valgrind process is running [INFO]: ==10081== [INFO]: --10081-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10081-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10081-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10081-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10081-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10081-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10081-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10081-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10081-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10081-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10081-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10081-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10081-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10081-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10081-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10081-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10081-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10081-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10081-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10081-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10081-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10081-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10081-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10081== Preferring higher priority redirection: [INFO]: --10081-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10081-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10081-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10081-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10081-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10081-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10081-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10081-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10081-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10081-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10081-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10081-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10081-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10081-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10081-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10081-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10081-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10081-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10081-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10081-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10081-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10081-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10081-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10081-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10081-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10081-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10081-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10081-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10081-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10081-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==10081== [INFO]: ==10081== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10081== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== [INFO]: ==10081== HEAP SUMMARY: [INFO]: ==10081== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10081== total heap usage: 5,905 allocs, 5,844 frees, 1,252,196 bytes allocated [INFO]: ==10081== [INFO]: ==10081== Searching for pointers to 61 not-freed blocks [INFO]: ==10081== Checked 280,200 bytes [INFO]: ==10081== [INFO]: ==10081== LEAK SUMMARY: [INFO]: ==10081== definitely lost: 0 bytes in 0 blocks [INFO]: ==10081== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10081== possibly lost: 0 bytes in 0 blocks [INFO]: ==10081== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10081== suppressed: 0 bytes in 0 blocks [INFO]: ==10081== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10081== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10081== [INFO]: ==10081== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ ERROR at teardown of TC.test_ssl_and_cloak __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/phishing_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test clamscan --alert-phishing-ssl --alert-phishing-cloak [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 2 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.915 sec (0 m 0 s) Start Date: 2024:04:29 21:24:26 End Date: 2024:04:29 21:24:27 [DEBUG]: stderr: LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://real-example.comfake.example.com LibClamAV info: Display URL: real-example.com LibClamAV info: Suspicious link found! LibClamAV info: Real URL: ssl-example.com LibClamAV info: Display URL: https://ssl-example.com [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10083== Memcheck, a memory error detector [INFO]: ==10083== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10083== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10083== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [INFO]: ==10083== Parent PID: 9753 [INFO]: ==10083== [INFO]: --10083-- [INFO]: --10083-- Valgrind options: [INFO]: --10083-- -v [INFO]: --10083-- --trace-children=yes [INFO]: --10083-- --track-fds=yes [INFO]: --10083-- --leak-check=full [INFO]: --10083-- --show-possibly-lost=no [INFO]: --10083-- --show-leak-kinds=definite [INFO]: --10083-- --errors-for-leak-kinds=definite [INFO]: --10083-- --main-stacksize=16777216 [INFO]: --10083-- --gen-suppressions=all [INFO]: --10083-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10083-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: --10083-- --error-exitcode=123 [INFO]: --10083-- Contents of /proc/version: [INFO]: --10083-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10083-- [INFO]: --10083-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10083-- Page sizes: currently 4096, max supported 4096 [INFO]: --10083-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10083-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10083-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10083-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10083-- might be shown as UnknownInlinedFun [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10083-- object doesn't have a dynamic symbol table [INFO]: --10083-- Scheduler: using generic scheduler lock implementation. [INFO]: --10083-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10083-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10083== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10083-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10083== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10083-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10083== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10083-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10083== [INFO]: ==10083== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10083== don't want to do, unless you know exactly what you're doing, [INFO]: ==10083== or are doing some strange experiment): [INFO]: ==10083== /usr/libexec/valgrind/../../bin/vgdb --pid=10083 ...command... [INFO]: ==10083== [INFO]: ==10083== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10083== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10083== and then give GDB the following command [INFO]: ==10083== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10083 [INFO]: ==10083== --pid is optional if only one valgrind process is running [INFO]: ==10083== [INFO]: --10083-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10083-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10083-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10083-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10083-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10083-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10083-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10083-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10083-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10083-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10083-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10083-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10083-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10083-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10083-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10083-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10083-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10083-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10083-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10083-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10083-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10083== Preferring higher priority redirection: [INFO]: --10083-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10083-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10083-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10083-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10083-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10083-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10083-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10083-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10083-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10083-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10083-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10083-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10083-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10083-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10083-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10083-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10083-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10083-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10083-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10083-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10083-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10083-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10083-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10083-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10083-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10083-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10083-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10083-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10083-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10083-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==10083== [INFO]: ==10083== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10083== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== [INFO]: ==10083== HEAP SUMMARY: [INFO]: ==10083== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10083== total heap usage: 5,911 allocs, 5,850 frees, 1,252,757 bytes allocated [INFO]: ==10083== [INFO]: ==10083== Searching for pointers to 61 not-freed blocks [INFO]: ==10083== Checked 280,248 bytes [INFO]: ==10083== [INFO]: ==10083== LEAK SUMMARY: [INFO]: ==10083== definitely lost: 0 bytes in 0 blocks [INFO]: ==10083== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10083== possibly lost: 0 bytes in 0 blocks [INFO]: ==10083== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10083== suppressed: 0 bytes in 0 blocks [INFO]: ==10083== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10083== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10083== [INFO]: ==10083== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq _________________ ERROR at teardown of TC.test_ldb_multi_pcre __________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre: ldb_multi_pcre.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.865 sec (0 m 0 s) Start Date: 2024:04:29 21:24:27 End Date: 2024:04:29 21:24:28 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10085== Memcheck, a memory error detector [INFO]: ==10085== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10085== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10085== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre [INFO]: ==10085== Parent PID: 9753 [INFO]: ==10085== [INFO]: --10085-- [INFO]: --10085-- Valgrind options: [INFO]: --10085-- -v [INFO]: --10085-- --trace-children=yes [INFO]: --10085-- --track-fds=yes [INFO]: --10085-- --leak-check=full [INFO]: --10085-- --show-possibly-lost=no [INFO]: --10085-- --show-leak-kinds=definite [INFO]: --10085-- --errors-for-leak-kinds=definite [INFO]: --10085-- --main-stacksize=16777216 [INFO]: --10085-- --gen-suppressions=all [INFO]: --10085-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10085-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10085-- --error-exitcode=123 [INFO]: --10085-- Contents of /proc/version: [INFO]: --10085-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10085-- [INFO]: --10085-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10085-- Page sizes: currently 4096, max supported 4096 [INFO]: --10085-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10085-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10085-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10085-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10085-- might be shown as UnknownInlinedFun [INFO]: --10085-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10085-- object doesn't have a dynamic symbol table [INFO]: --10085-- Scheduler: using generic scheduler lock implementation. [INFO]: --10085-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10085-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10085== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10085-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10085== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10085-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10085== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10085-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10085== [INFO]: ==10085== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10085== don't want to do, unless you know exactly what you're doing, [INFO]: ==10085== or are doing some strange experiment): [INFO]: ==10085== /usr/libexec/valgrind/../../bin/vgdb --pid=10085 ...command... [INFO]: ==10085== [INFO]: ==10085== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10085== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10085== and then give GDB the following command [INFO]: ==10085== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10085 [INFO]: ==10085== --pid is optional if only one valgrind process is running [INFO]: ==10085== [INFO]: --10085-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10085-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10085-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10085-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10085-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10085-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10085-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10085-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10085-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10085-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10085-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10085-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10085-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10085-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10085-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10085-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10085-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10085-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10085-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10085-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10085-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10085-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10085-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10085== Preferring higher priority redirection: [INFO]: --10085-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10085-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10085-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10085-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10085-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10085-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10085-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10085-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10085-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10085-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10085-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10085-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10085-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10085-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10085-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10085-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10085-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10085-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10085-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10085-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10085-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10085-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10085-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10085-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10085-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10085-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10085-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10085-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10085== [INFO]: ==10085== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10085== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10085== [INFO]: ==10085== [INFO]: ==10085== (No origin, error cannot be suppressed) [INFO]: ==10085== [INFO]: ==10085== HEAP SUMMARY: [INFO]: ==10085== in use at exit: 0 bytes in 0 blocks [INFO]: ==10085== total heap usage: 5,385 allocs, 5,385 frees, 596,375 bytes allocated [INFO]: ==10085== [INFO]: ==10085== All heap blocks were freed -- no leaks are possible [INFO]: ==10085== [INFO]: ==10085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ ERROR at teardown of TC.test_ldb_offset_pcre _________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre: ldb_pcre_no_offset.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.845 sec (0 m 0 s) Start Date: 2024:04:29 21:24:29 End Date: 2024:04:29 21:24:29 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10087== Memcheck, a memory error detector [INFO]: ==10087== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10087== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10087== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre [INFO]: ==10087== Parent PID: 9753 [INFO]: ==10087== [INFO]: --10087-- [INFO]: --10087-- Valgrind options: [INFO]: --10087-- -v [INFO]: --10087-- --trace-children=yes [INFO]: --10087-- --track-fds=yes [INFO]: --10087-- --leak-check=full [INFO]: --10087-- --show-possibly-lost=no [INFO]: --10087-- --show-leak-kinds=definite [INFO]: --10087-- --errors-for-leak-kinds=definite [INFO]: --10087-- --main-stacksize=16777216 [INFO]: --10087-- --gen-suppressions=all [INFO]: --10087-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10087-- --error-exitcode=123 [INFO]: --10087-- Contents of /proc/version: [INFO]: --10087-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10087-- [INFO]: --10087-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10087-- Page sizes: currently 4096, max supported 4096 [INFO]: --10087-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10087-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10087-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10087-- might be shown as UnknownInlinedFun [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10087-- object doesn't have a dynamic symbol table [INFO]: --10087-- Scheduler: using generic scheduler lock implementation. [INFO]: --10087-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10087== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10087-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10087== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10087-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10087== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10087-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10087== [INFO]: ==10087== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10087== don't want to do, unless you know exactly what you're doing, [INFO]: ==10087== or are doing some strange experiment): [INFO]: ==10087== /usr/libexec/valgrind/../../bin/vgdb --pid=10087 ...command... [INFO]: ==10087== [INFO]: ==10087== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10087== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10087== and then give GDB the following command [INFO]: ==10087== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10087 [INFO]: ==10087== --pid is optional if only one valgrind process is running [INFO]: ==10087== [INFO]: --10087-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10087-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10087-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10087-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10087-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10087-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10087-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10087-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10087-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10087-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10087-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10087-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10087-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10087-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10087-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10087-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10087-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10087-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10087-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10087== Preferring higher priority redirection: [INFO]: --10087-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10087-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10087-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10087-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10087-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10087-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10087-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10087-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10087-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10087-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10087-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10087-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10087-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10087-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10087-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10087-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10087-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10087-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10087-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10087-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10087-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10087-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10087-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10087-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10087-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10087-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10087-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10087-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10087== [INFO]: ==10087== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10087== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10087== [INFO]: ==10087== [INFO]: ==10087== (No origin, error cannot be suppressed) [INFO]: ==10087== [INFO]: ==10087== HEAP SUMMARY: [INFO]: ==10087== in use at exit: 0 bytes in 0 blocks [INFO]: ==10087== total heap usage: 5,377 allocs, 5,377 frees, 575,424 bytes allocated [INFO]: ==10087== [INFO]: ==10087== All heap blocks were freed -- no leaks are possible [INFO]: ==10087== [INFO]: ==10087== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ ERROR at teardown of TC.test_pcre_flag ____________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with case insensitive flag [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.836 sec (0 m 0 s) Start Date: 2024:04:29 21:24:30 End Date: 2024:04:29 21:24:31 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10089== Memcheck, a memory error detector [INFO]: ==10089== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10089== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10089== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag [INFO]: ==10089== Parent PID: 9753 [INFO]: ==10089== [INFO]: --10089-- [INFO]: --10089-- Valgrind options: [INFO]: --10089-- -v [INFO]: --10089-- --trace-children=yes [INFO]: --10089-- --track-fds=yes [INFO]: --10089-- --leak-check=full [INFO]: --10089-- --show-possibly-lost=no [INFO]: --10089-- --show-leak-kinds=definite [INFO]: --10089-- --errors-for-leak-kinds=definite [INFO]: --10089-- --main-stacksize=16777216 [INFO]: --10089-- --gen-suppressions=all [INFO]: --10089-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10089-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10089-- --error-exitcode=123 [INFO]: --10089-- Contents of /proc/version: [INFO]: --10089-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10089-- [INFO]: --10089-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10089-- Page sizes: currently 4096, max supported 4096 [INFO]: --10089-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10089-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10089-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10089-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10089-- might be shown as UnknownInlinedFun [INFO]: --10089-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10089-- object doesn't have a dynamic symbol table [INFO]: --10089-- Scheduler: using generic scheduler lock implementation. [INFO]: --10089-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10089-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10089== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10089-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10089== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10089-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10089== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10089-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10089== [INFO]: ==10089== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10089== don't want to do, unless you know exactly what you're doing, [INFO]: ==10089== or are doing some strange experiment): [INFO]: ==10089== /usr/libexec/valgrind/../../bin/vgdb --pid=10089 ...command... [INFO]: ==10089== [INFO]: ==10089== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10089== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10089== and then give GDB the following command [INFO]: ==10089== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10089 [INFO]: ==10089== --pid is optional if only one valgrind process is running [INFO]: ==10089== [INFO]: --10089-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10089-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10089-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10089-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10089-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10089-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10089-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10089-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10089-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10089-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10089-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10089-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10089-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10089-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10089-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10089-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10089-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10089-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10089-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10089-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10089-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10089-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10089-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10089== Preferring higher priority redirection: [INFO]: --10089-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10089-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10089-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10089-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10089-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10089-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10089-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10089-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10089-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10089-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10089-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10089-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10089-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10089-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10089-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10089-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10089-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10089-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10089-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10089-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10089-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10089-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10089-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10089-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10089-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10089-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10089-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10089-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10089== [INFO]: ==10089== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10089== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10089== [INFO]: ==10089== [INFO]: ==10089== (No origin, error cannot be suppressed) [INFO]: ==10089== [INFO]: ==10089== HEAP SUMMARY: [INFO]: ==10089== in use at exit: 0 bytes in 0 blocks [INFO]: ==10089== total heap usage: 5,374 allocs, 5,374 frees, 575,110 bytes allocated [INFO]: ==10089== [INFO]: ==10089== All heap blocks were freed -- no leaks are possible [INFO]: ==10089== [INFO]: ==10089== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________ ERROR at teardown of TC.test_slash_colon ___________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample: regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.842 sec (0 m 0 s) Start Date: 2024:04:29 21:24:31 End Date: 2024:04:29 21:24:32 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10091== Memcheck, a memory error detector [INFO]: ==10091== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10091== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10091== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample [INFO]: ==10091== Parent PID: 9753 [INFO]: ==10091== [INFO]: --10091-- [INFO]: --10091-- Valgrind options: [INFO]: --10091-- -v [INFO]: --10091-- --trace-children=yes [INFO]: --10091-- --track-fds=yes [INFO]: --10091-- --leak-check=full [INFO]: --10091-- --show-possibly-lost=no [INFO]: --10091-- --show-leak-kinds=definite [INFO]: --10091-- --errors-for-leak-kinds=definite [INFO]: --10091-- --main-stacksize=16777216 [INFO]: --10091-- --gen-suppressions=all [INFO]: --10091-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10091-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10091-- --error-exitcode=123 [INFO]: --10091-- Contents of /proc/version: [INFO]: --10091-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10091-- [INFO]: --10091-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10091-- Page sizes: currently 4096, max supported 4096 [INFO]: --10091-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10091-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10091-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10091-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10091-- might be shown as UnknownInlinedFun [INFO]: --10091-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10091-- object doesn't have a dynamic symbol table [INFO]: --10091-- Scheduler: using generic scheduler lock implementation. [INFO]: --10091-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10091-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10091== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10091-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10091== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10091-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10091== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10091-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10091== [INFO]: ==10091== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10091== don't want to do, unless you know exactly what you're doing, [INFO]: ==10091== or are doing some strange experiment): [INFO]: ==10091== /usr/libexec/valgrind/../../bin/vgdb --pid=10091 ...command... [INFO]: ==10091== [INFO]: ==10091== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10091== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10091== and then give GDB the following command [INFO]: ==10091== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10091 [INFO]: ==10091== --pid is optional if only one valgrind process is running [INFO]: ==10091== [INFO]: --10091-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10091-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10091-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10091-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10091-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10091-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10091-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10091-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10091-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10091-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10091-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10091-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10091-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10091-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10091-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10091-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10091-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10091-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10091-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10091-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10091-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10091-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10091-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10091== Preferring higher priority redirection: [INFO]: --10091-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10091-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10091-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10091-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10091-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10091-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10091-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10091-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10091-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10091-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10091-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10091-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10091-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10091-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10091-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10091-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10091-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10091-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10091-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10091-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10091-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10091-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10091-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10091-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10091-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10091-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10091-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10091-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10091== [INFO]: ==10091== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10091== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10091== [INFO]: ==10091== [INFO]: ==10091== (No origin, error cannot be suppressed) [INFO]: ==10091== [INFO]: ==10091== HEAP SUMMARY: [INFO]: ==10091== in use at exit: 0 bytes in 0 blocks [INFO]: ==10091== total heap usage: 5,396 allocs, 5,396 frees, 577,395 bytes allocated [INFO]: ==10091== [INFO]: ==10091== All heap blocks were freed -- no leaks are possible [INFO]: ==10091== [INFO]: ==10091== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ ERROR at teardown of TC.test_yara _______________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() clamscan/regex_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample: YARA.regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.880 sec (0 m 0 s) Start Date: 2024:04:29 21:24:33 End Date: 2024:04:29 21:24:34 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10093== Memcheck, a memory error detector [INFO]: ==10093== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10093== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10093== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample [INFO]: ==10093== Parent PID: 9753 [INFO]: ==10093== [INFO]: --10093-- [INFO]: --10093-- Valgrind options: [INFO]: --10093-- -v [INFO]: --10093-- --trace-children=yes [INFO]: --10093-- --track-fds=yes [INFO]: --10093-- --leak-check=full [INFO]: --10093-- --show-possibly-lost=no [INFO]: --10093-- --show-leak-kinds=definite [INFO]: --10093-- --errors-for-leak-kinds=definite [INFO]: --10093-- --main-stacksize=16777216 [INFO]: --10093-- --gen-suppressions=all [INFO]: --10093-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10093-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10093-- --error-exitcode=123 [INFO]: --10093-- Contents of /proc/version: [INFO]: --10093-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10093-- [INFO]: --10093-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10093-- Page sizes: currently 4096, max supported 4096 [INFO]: --10093-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10093-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10093-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10093-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10093-- might be shown as UnknownInlinedFun [INFO]: --10093-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10093-- object doesn't have a dynamic symbol table [INFO]: --10093-- Scheduler: using generic scheduler lock implementation. [INFO]: --10093-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10093-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10093== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10093-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10093== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10093-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10093== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10093-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10093== [INFO]: ==10093== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10093== don't want to do, unless you know exactly what you're doing, [INFO]: ==10093== or are doing some strange experiment): [INFO]: ==10093== /usr/libexec/valgrind/../../bin/vgdb --pid=10093 ...command... [INFO]: ==10093== [INFO]: ==10093== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10093== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10093== and then give GDB the following command [INFO]: ==10093== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10093 [INFO]: ==10093== --pid is optional if only one valgrind process is running [INFO]: ==10093== [INFO]: --10093-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10093-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10093-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10093-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10093-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10093-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10093-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10093-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10093-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10093-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10093-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10093-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10093-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10093-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10093-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10093-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10093-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10093-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10093-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10093-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10093-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10093-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10093-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10093== Preferring higher priority redirection: [INFO]: --10093-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10093-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10093-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10093-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10093-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10093-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10093-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10093-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10093-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10093-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10093-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10093-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10093-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10093-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10093-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10093-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10093-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10093-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10093-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10093-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10093-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10093-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10093-- REDIR: 0x50369a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --10093-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10093-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10093-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10093-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10093-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10093-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10093== [INFO]: ==10093== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10093== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10093== [INFO]: ==10093== [INFO]: ==10093== (No origin, error cannot be suppressed) [INFO]: ==10093== [INFO]: ==10093== HEAP SUMMARY: [INFO]: ==10093== in use at exit: 0 bytes in 0 blocks [INFO]: ==10093== total heap usage: 5,459 allocs, 5,459 frees, 983,918 bytes allocated [INFO]: ==10093== [INFO]: ==10093== All heap blocks were freed -- no leaks are possible [INFO]: ==10093== [INFO]: ==10093== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp =================================== FAILURES =================================== ______________________________ TC.test_00_version ______________________________ self = <_basic_test.TC testMethod=test_00_version> def test_00_version(self): self.step_name('clamscan version test') command = '{valgrind} {valgrind_args} {clamscan} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:49: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9767== Memcheck, a memory error detector [INFO]: ==9767== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9767== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9767== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9767== Parent PID: 9753 [INFO]: ==9767== [INFO]: --9767-- [INFO]: --9767-- Valgrind options: [INFO]: --9767-- -v [INFO]: --9767-- --trace-children=yes [INFO]: --9767-- --track-fds=yes [INFO]: --9767-- --leak-check=full [INFO]: --9767-- --show-possibly-lost=no [INFO]: --9767-- --show-leak-kinds=definite [INFO]: --9767-- --errors-for-leak-kinds=definite [INFO]: --9767-- --main-stacksize=16777216 [INFO]: --9767-- --gen-suppressions=all [INFO]: --9767-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9767-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: --9767-- --error-exitcode=123 [INFO]: --9767-- Contents of /proc/version: [INFO]: --9767-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9767-- [INFO]: --9767-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9767-- Page sizes: currently 4096, max supported 4096 [INFO]: --9767-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9767-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9767-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9767-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9767-- might be shown as UnknownInlinedFun [INFO]: --9767-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9767-- object doesn't have a dynamic symbol table [INFO]: --9767-- Scheduler: using generic scheduler lock implementation. [INFO]: --9767-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9767-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9767== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9767-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9767== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9767-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9767== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9767-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9767== [INFO]: ==9767== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9767== don't want to do, unless you know exactly what you're doing, [INFO]: ==9767== or are doing some strange experiment): [INFO]: ==9767== /usr/libexec/valgrind/../../bin/vgdb --pid=9767 ...command... [INFO]: ==9767== [INFO]: ==9767== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9767== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9767== and then give GDB the following command [INFO]: ==9767== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9767 [INFO]: ==9767== --pid is optional if only one valgrind process is running [INFO]: ==9767== [INFO]: --9767-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9767-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9767-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9767-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9767-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9767-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9767-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9767-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9767-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9767-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9767-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9767-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9767-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9767-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9767-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9767-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9767-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9767-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9767-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9767-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9767-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9767-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9767-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9767== Preferring higher priority redirection: [INFO]: --9767-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9767-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9767-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9767-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9767== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9767-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9767-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9767-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9767-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9767-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9767-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9767-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9767-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9767-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9767-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9767-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9767-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9767-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9767-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9767-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9767-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9767-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9767-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: ==9767== [INFO]: ==9767== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9767== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: ==9767== [INFO]: ==9767== [INFO]: ==9767== (No origin, error cannot be suppressed) [INFO]: ==9767== [INFO]: ==9767== HEAP SUMMARY: [INFO]: ==9767== in use at exit: 0 bytes in 0 blocks [INFO]: ==9767== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9767== [INFO]: ==9767== All heap blocks were freed -- no leaks are possible [INFO]: ==9767== [INFO]: ==9767== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_01_all_testfiles ___________________________ self = <_basic_test.TC testMethod=test_01_all_testfiles> def test_01_all_testfiles(self): self.step_name('Test that clamscan alerts on all test files') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db / 'clamav.hdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0...hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 47\nData scanned: 14.05 MB\nData read: 6.91 MB (ratio 2.03:1)\nTime: 6.180 sec (0 m 6 s)\nStart Date: 2024:04:29 21:22:43\nEnd Date: 2024:04:29 21:22:50\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:68: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan alerts on all test files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/database/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 47 Data scanned: 14.05 MB Data read: 6.91 MB (ratio 2.03:1) Time: 6.180 sec (0 m 6 s) Start Date: 2024:04:29 21:22:43 End Date: 2024:04:29 21:22:50 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9769== Memcheck, a memory error detector [INFO]: ==9769== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9769== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9769== Parent PID: 9753 [INFO]: ==9769== [INFO]: --9769-- [INFO]: --9769-- Valgrind options: [INFO]: --9769-- -v [INFO]: --9769-- --trace-children=yes [INFO]: --9769-- --track-fds=yes [INFO]: --9769-- --leak-check=full [INFO]: --9769-- --show-possibly-lost=no [INFO]: --9769-- --show-leak-kinds=definite [INFO]: --9769-- --errors-for-leak-kinds=definite [INFO]: --9769-- --main-stacksize=16777216 [INFO]: --9769-- --gen-suppressions=all [INFO]: --9769-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9769-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: --9769-- --error-exitcode=123 [INFO]: --9769-- Contents of /proc/version: [INFO]: --9769-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9769-- [INFO]: --9769-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9769-- Page sizes: currently 4096, max supported 4096 [INFO]: --9769-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9769-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9769-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9769-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9769-- might be shown as UnknownInlinedFun [INFO]: --9769-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9769-- object doesn't have a dynamic symbol table [INFO]: --9769-- Scheduler: using generic scheduler lock implementation. [INFO]: --9769-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9769-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9769== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9769-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9769== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9769-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9769== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9769-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9769== [INFO]: ==9769== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9769== don't want to do, unless you know exactly what you're doing, [INFO]: ==9769== or are doing some strange experiment): [INFO]: ==9769== /usr/libexec/valgrind/../../bin/vgdb --pid=9769 ...command... [INFO]: ==9769== [INFO]: ==9769== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9769== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9769== and then give GDB the following command [INFO]: ==9769== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9769 [INFO]: ==9769== --pid is optional if only one valgrind process is running [INFO]: ==9769== [INFO]: --9769-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9769-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9769-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9769-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9769-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9769-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9769-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9769-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9769-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9769-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9769-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9769-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9769-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9769-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9769-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9769-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9769-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9769-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9769-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9769-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9769-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9769-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9769-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9769== Preferring higher priority redirection: [INFO]: --9769-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9769-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9769-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9769-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9769== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9769-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9769-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9769-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9769-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9769-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9769-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9769-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9769-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9769-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9769-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9769-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9769-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9769-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9769-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9769-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9769-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9769-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9769-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9769-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9769-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9769-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9769-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9769-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9769-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9769-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9769-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9769-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9769-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9769-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9769-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9769-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9769-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9769-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9769-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9769== [INFO]: ==9769== FILE DESCRIPTORS: 5 open (3 std) at exit. [INFO]: ==9769== Open file descriptor 5: /tmp/20240429_212249-scantemp.bf4a04634e/ole2-tmp.7ddf8378c7/87320d137f01f7b183eb533a1de6c62a_1 [INFO]: ==9769== at 0x5093505: open (in /usr/lib64/libc.so.6) [INFO]: ==9769== by 0x4918892: UnknownInlinedFun (fcntl2.h:55) [INFO]: ==9769== by 0x4918892: UnknownInlinedFun (scanners.c:1944) [INFO]: ==9769== by 0x4918892: cli_ole2_scan_tempdir.lto_priv.0 (scanners.c:2537) [INFO]: ==9769== by 0x492361C: UnknownInlinedFun (scanners.c:2671) [INFO]: ==9769== by 0x492361C: cli_magic_scan (scanners.c:4700) [INFO]: ==9769== by 0x4924A7A: scan_common (scanners.c:5474) [INFO]: ==9769== by 0x492558D: cl_scandesc_callback (scanners.c:5718) [INFO]: ==9769== by 0x1131E1: scanfile (manager.c:411) [INFO]: ==9769== by 0x10E744: UnknownInlinedFun (manager.c:1018) [INFO]: ==9769== by 0x10E744: UnknownInlinedFun (manager.c:1625) [INFO]: ==9769== by 0x10E744: main (clamscan.c:171) [INFO]: ==9769== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_ole2_scan_tempdir.lto_priv.0 [INFO]: fun:UnknownInlinedFun [INFO]: fun:cli_magic_scan [INFO]: fun:scan_common [INFO]: fun:cl_scandesc_callback [INFO]: fun:scanfile [INFO]: fun:UnknownInlinedFun [INFO]: fun:UnknownInlinedFun [INFO]: fun:main [INFO]: } [INFO]: ==9769== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: ==9769== [INFO]: ==9769== [INFO]: ==9769== (No origin, error cannot be suppressed) [INFO]: ==9769== [INFO]: ==9769== HEAP SUMMARY: [INFO]: ==9769== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9769== total heap usage: 17,063 allocs, 16,935 frees, 50,746,804 bytes allocated [INFO]: ==9769== [INFO]: ==9769== Searching for pointers to 128 not-freed blocks [INFO]: ==9769== Checked 8,661,016 bytes [INFO]: ==9769== [INFO]: ==9769== LEAK SUMMARY: [INFO]: ==9769== definitely lost: 0 bytes in 0 blocks [INFO]: ==9769== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9769== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9769== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9769== suppressed: 0 bytes in 0 blocks [INFO]: ==9769== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9769== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9769== [INFO]: ==9769== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ________________________ TC.test_02_all_testfiles_ign2 _________________________ self = <_basic_test.TC testMethod=test_02_all_testfiles_ign2> def test_02_all_testfiles_ign2(self): self.step_name('Test that clamscan ignores ClamAV-Test-File alerts') # Drop an ignore db into the test database directory # in our scan, we'll just use the whole directory, which should load the ignore db *first*. (TC.path_db / 'clamav.ign2').write_text('ClamAV-Test-File\n') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db, testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 0 # virus found E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-...lamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 0\nData scanned: 21.06 MB\nData read: 6.91 MB (ratio 3.05:1)\nTime: 7.018 sec (0 m 7 s)\nStart Date: 2024:04:29 21:22:50\nEnd Date: 2024:04:29 21:22:57\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/_basic_test.py:91: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan ignores ClamAV-Test-File alerts [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 0 Data scanned: 21.06 MB Data read: 6.91 MB (ratio 3.05:1) Time: 7.018 sec (0 m 7 s) Start Date: 2024:04:29 21:22:50 End Date: 2024:04:29 21:22:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9802== Memcheck, a memory error detector [INFO]: ==9802== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9802== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9802== Parent PID: 9753 [INFO]: ==9802== [INFO]: --9802-- [INFO]: --9802-- Valgrind options: [INFO]: --9802-- -v [INFO]: --9802-- --trace-children=yes [INFO]: --9802-- --track-fds=yes [INFO]: --9802-- --leak-check=full [INFO]: --9802-- --show-possibly-lost=no [INFO]: --9802-- --show-leak-kinds=definite [INFO]: --9802-- --errors-for-leak-kinds=definite [INFO]: --9802-- --main-stacksize=16777216 [INFO]: --9802-- --gen-suppressions=all [INFO]: --9802-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9802-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: --9802-- --error-exitcode=123 [INFO]: --9802-- Contents of /proc/version: [INFO]: --9802-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9802-- [INFO]: --9802-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9802-- Page sizes: currently 4096, max supported 4096 [INFO]: --9802-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9802-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9802-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9802-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9802-- might be shown as UnknownInlinedFun [INFO]: --9802-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9802-- object doesn't have a dynamic symbol table [INFO]: --9802-- Scheduler: using generic scheduler lock implementation. [INFO]: --9802-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9802-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9802== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9802-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9802== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9802-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9802== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9802-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9802== [INFO]: ==9802== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9802== don't want to do, unless you know exactly what you're doing, [INFO]: ==9802== or are doing some strange experiment): [INFO]: ==9802== /usr/libexec/valgrind/../../bin/vgdb --pid=9802 ...command... [INFO]: ==9802== [INFO]: ==9802== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9802== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9802== and then give GDB the following command [INFO]: ==9802== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9802 [INFO]: ==9802== --pid is optional if only one valgrind process is running [INFO]: ==9802== [INFO]: --9802-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9802-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9802-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9802-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9802-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9802-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9802-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9802-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9802-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9802-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9802-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9802-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9802-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9802-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9802-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9802-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9802-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9802-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9802-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9802-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9802-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9802-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9802-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9802== Preferring higher priority redirection: [INFO]: --9802-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9802-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9802-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9802-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9802== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9802-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9802-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9802-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9802-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9802-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9802-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9802-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9802-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9802-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9802-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9802-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9802-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9802-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9802-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9802-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9802-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9802-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9802-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9802-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9802-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9802-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9802-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9802-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9802-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9802-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9802-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9802-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9802-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9802-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9802-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9802-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9802-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9802-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9802-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9802== [INFO]: ==9802== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9802== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-xvojyw7q/valgrind.log [INFO]: ==9802== [INFO]: ==9802== [INFO]: ==9802== (No origin, error cannot be suppressed) [INFO]: ==9802== [INFO]: ==9802== HEAP SUMMARY: [INFO]: ==9802== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9802== total heap usage: 19,960 allocs, 19,832 frees, 59,322,623 bytes allocated [INFO]: ==9802== [INFO]: ==9802== Searching for pointers to 128 not-freed blocks [INFO]: ==9802== Checked 8,662,520 bytes [INFO]: ==9802== [INFO]: ==9802== LEAK SUMMARY: [INFO]: ==9802== definitely lost: 0 bytes in 0 blocks [INFO]: ==9802== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9802== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9802== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9802== suppressed: 0 bytes in 0 blocks [INFO]: ==9802== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9802== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9802== [INFO]: ==9802== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_exe_imphash_plus_zipsfx ________________________ self = def test_exe_imphash_plus_zipsfx(self): self.step_name('Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with an imp-hash sig.') # We can't use the hash sig for this clam.exe program because the hash goes out the window when we concatenate on the zip. (TC.path_tmp / 'clam.imp').write_text( "98c88d882f01a3f6ac1e5f7dfd761624:39:Test.Import.Hash\n" ) # Build a file that is the clam.exe program with a zip concatinated on that contains the not_eicar test string file. clam_exe = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' not_eicar_zip = TC.path_tmp / 'not-eicar.zip' with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") testfile = TC.path_tmp / 'clam.exe.not_eicar.zipsfx' testfile.write_bytes(clam_exe.read_bytes() + not_eicar_zip.read_bytes()) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} -d {not_eicar_db} --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.imp', not_eicar_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: Test.Import.Hash.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.347 sec (0 m 1 s)\nStart Date: 2024:04:29 21:22:58\nEnd Date: 2024:04:29 21:23:00\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:238: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with an imp-hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: Test.Import.Hash.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.347 sec (0 m 1 s) Start Date: 2024:04:29 21:22:58 End Date: 2024:04:29 21:23:00 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9850== Memcheck, a memory error detector [INFO]: ==9850== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9850== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9850== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.imp -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [INFO]: ==9850== Parent PID: 9753 [INFO]: ==9850== [INFO]: --9850-- [INFO]: --9850-- Valgrind options: [INFO]: --9850-- -v [INFO]: --9850-- --trace-children=yes [INFO]: --9850-- --track-fds=yes [INFO]: --9850-- --leak-check=full [INFO]: --9850-- --show-possibly-lost=no [INFO]: --9850-- --show-leak-kinds=definite [INFO]: --9850-- --errors-for-leak-kinds=definite [INFO]: --9850-- --main-stacksize=16777216 [INFO]: --9850-- --gen-suppressions=all [INFO]: --9850-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9850-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9850-- --error-exitcode=123 [INFO]: --9850-- Contents of /proc/version: [INFO]: --9850-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9850-- [INFO]: --9850-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9850-- Page sizes: currently 4096, max supported 4096 [INFO]: --9850-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9850-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9850-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9850-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9850-- might be shown as UnknownInlinedFun [INFO]: --9850-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9850-- object doesn't have a dynamic symbol table [INFO]: --9850-- Scheduler: using generic scheduler lock implementation. [INFO]: --9850-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9850-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9850== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9850-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9850== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9850-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9850== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9850-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9850== [INFO]: ==9850== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9850== don't want to do, unless you know exactly what you're doing, [INFO]: ==9850== or are doing some strange experiment): [INFO]: ==9850== /usr/libexec/valgrind/../../bin/vgdb --pid=9850 ...command... [INFO]: ==9850== [INFO]: ==9850== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9850== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9850== and then give GDB the following command [INFO]: ==9850== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9850 [INFO]: ==9850== --pid is optional if only one valgrind process is running [INFO]: ==9850== [INFO]: --9850-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9850-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9850-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9850-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9850-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9850-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9850-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9850-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9850-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9850-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9850-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9850-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9850-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9850-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9850-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9850-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9850-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9850-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9850-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9850-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9850-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9850-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9850-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9850== Preferring higher priority redirection: [INFO]: --9850-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9850-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9850-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9850-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9850== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9850-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9850-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9850-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9850-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9850-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9850-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9850-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9850-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9850-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9850-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9850-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9850-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9850-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9850-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9850-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9850-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9850-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9850-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9850-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9850-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9850-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9850-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9850-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9850-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9850-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9850-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9850-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9850-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9850-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9850-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9850== [INFO]: ==9850== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9850== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9850== [INFO]: ==9850== [INFO]: ==9850== (No origin, error cannot be suppressed) [INFO]: ==9850== [INFO]: ==9850== HEAP SUMMARY: [INFO]: ==9850== in use at exit: 0 bytes in 0 blocks [INFO]: ==9850== total heap usage: 5,412 allocs, 5,412 frees, 742,604 bytes allocated [INFO]: ==9850== [INFO]: ==9850== All heap blocks were freed -- no leaks are possible [INFO]: ==9850== [INFO]: ==9850== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_exe_pattern_plus_zipsfx ________________________ self = def test_exe_pattern_plus_zipsfx(self): self.step_name('Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a pattern-match sig.') # This tests a regression where clam will fail to extract the embedded zip file if the pattern-match sig matches before the embedded file type sig. # Build a file that is the clam.exe program with a zip concatinated on that contains the not_eicar test string file. clam_exe = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' not_eicar_zip = TC.path_tmp / 'not-eicar.zip' with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") testfile = TC.path_tmp / 'clam.exe.not_eicar.zipsfx' testfile.write_bytes(clam_exe.read_bytes() + not_eicar_zip.read_bytes()) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} -d {not_eicar_db} --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, # We can't use the hash sig for this clam.exe program because the hash goes out the window when we concatenate on the zip. clam_exe_db=TC.path_db / 'clam.ndb', not_eicar_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: Test.NDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.321 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:00\nEnd Date: 2024:04:29 21:23:02\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:269: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a pattern-match sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.321 sec (0 m 1 s) Start Date: 2024:04:29 21:23:00 End Date: 2024:04:29 21:23:02 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9858== Memcheck, a memory error detector [INFO]: ==9858== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9858== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9858== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/clam.ndb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/clam.exe.not_eicar.zipsfx [INFO]: ==9858== Parent PID: 9753 [INFO]: ==9858== [INFO]: --9858-- [INFO]: --9858-- Valgrind options: [INFO]: --9858-- -v [INFO]: --9858-- --trace-children=yes [INFO]: --9858-- --track-fds=yes [INFO]: --9858-- --leak-check=full [INFO]: --9858-- --show-possibly-lost=no [INFO]: --9858-- --show-leak-kinds=definite [INFO]: --9858-- --errors-for-leak-kinds=definite [INFO]: --9858-- --main-stacksize=16777216 [INFO]: --9858-- --gen-suppressions=all [INFO]: --9858-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9858-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9858-- --error-exitcode=123 [INFO]: --9858-- Contents of /proc/version: [INFO]: --9858-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9858-- [INFO]: --9858-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9858-- Page sizes: currently 4096, max supported 4096 [INFO]: --9858-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9858-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9858-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9858-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9858-- might be shown as UnknownInlinedFun [INFO]: --9858-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9858-- object doesn't have a dynamic symbol table [INFO]: --9858-- Scheduler: using generic scheduler lock implementation. [INFO]: --9858-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9858-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9858== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9858-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9858== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9858-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9858== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9858-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9858== [INFO]: ==9858== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9858== don't want to do, unless you know exactly what you're doing, [INFO]: ==9858== or are doing some strange experiment): [INFO]: ==9858== /usr/libexec/valgrind/../../bin/vgdb --pid=9858 ...command... [INFO]: ==9858== [INFO]: ==9858== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9858== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9858== and then give GDB the following command [INFO]: ==9858== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9858 [INFO]: ==9858== --pid is optional if only one valgrind process is running [INFO]: ==9858== [INFO]: --9858-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9858-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9858-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9858-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9858-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9858-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9858-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9858-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9858-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9858-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9858-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9858-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9858-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9858-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9858-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9858-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9858-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9858-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9858-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9858-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9858-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9858-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9858-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9858== Preferring higher priority redirection: [INFO]: --9858-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9858-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9858-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9858-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9858== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9858-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9858-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9858-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9858-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9858-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9858-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9858-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9858-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9858-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9858-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9858-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9858-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9858-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9858-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9858-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9858-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9858-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9858-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9858-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9858-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9858-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9858-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9858-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9858-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9858-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9858-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9858-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9858-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9858-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9858== [INFO]: ==9858== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9858== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9858== [INFO]: ==9858== [INFO]: ==9858== (No origin, error cannot be suppressed) [INFO]: ==9858== [INFO]: ==9858== HEAP SUMMARY: [INFO]: ==9858== in use at exit: 0 bytes in 0 blocks [INFO]: ==9858== total heap usage: 5,403 allocs, 5,403 frees, 742,335 bytes allocated [INFO]: ==9858== [INFO]: ==9858== All heap blocks were freed -- no leaks are possible [INFO]: ==9858== [INFO]: ==9858== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_many_sigs _______________________________ self = def test_many_sigs(self): self.step_name('Test that each type of sig alerts in all-match mode') testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db, testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.LDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.NoSize.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 12\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.460 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:03\nEnd Date: 2024:04:29 21:23:04\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that each type of sig alerts in all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.MD5.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha1.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Sha256.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.LDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.PESection.Hash.NoSize.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.460 sec (0 m 1 s) Start Date: 2024:04:29 21:23:03 End Date: 2024:04:29 21:23:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9865== Memcheck, a memory error detector [INFO]: ==9865== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9865== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9865== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe --allmatch [INFO]: ==9865== Parent PID: 9753 [INFO]: ==9865== [INFO]: --9865-- [INFO]: --9865-- Valgrind options: [INFO]: --9865-- -v [INFO]: --9865-- --trace-children=yes [INFO]: --9865-- --track-fds=yes [INFO]: --9865-- --leak-check=full [INFO]: --9865-- --show-possibly-lost=no [INFO]: --9865-- --show-leak-kinds=definite [INFO]: --9865-- --errors-for-leak-kinds=definite [INFO]: --9865-- --main-stacksize=16777216 [INFO]: --9865-- --gen-suppressions=all [INFO]: --9865-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9865-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9865-- --error-exitcode=123 [INFO]: --9865-- Contents of /proc/version: [INFO]: --9865-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9865-- [INFO]: --9865-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9865-- Page sizes: currently 4096, max supported 4096 [INFO]: --9865-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9865-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9865-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9865-- might be shown as UnknownInlinedFun [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9865-- object doesn't have a dynamic symbol table [INFO]: --9865-- Scheduler: using generic scheduler lock implementation. [INFO]: --9865-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9865-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9865== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9865-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9865== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9865-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9865== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9865-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9865== [INFO]: ==9865== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9865== don't want to do, unless you know exactly what you're doing, [INFO]: ==9865== or are doing some strange experiment): [INFO]: ==9865== /usr/libexec/valgrind/../../bin/vgdb --pid=9865 ...command... [INFO]: ==9865== [INFO]: ==9865== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9865== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9865== and then give GDB the following command [INFO]: ==9865== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9865 [INFO]: ==9865== --pid is optional if only one valgrind process is running [INFO]: ==9865== [INFO]: --9865-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9865-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9865-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9865-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9865-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9865-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9865-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9865-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9865-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9865-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9865-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9865-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9865-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9865-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9865-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9865-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9865-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9865-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9865-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9865-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9865-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9865== Preferring higher priority redirection: [INFO]: --9865-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9865-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9865-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9865-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9865== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9865-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9865-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9865-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9865-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9865-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9865-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9865-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9865-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9865-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9865-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9865-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9865-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9865-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9865-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9865-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9865-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9865-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9865-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9865-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9865-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9865-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9865-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9865-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9865-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9865-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9865-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9865-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9865-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9865-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9865== [INFO]: ==9865== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9865== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9865== [INFO]: ==9865== [INFO]: ==9865== (No origin, error cannot be suppressed) [INFO]: ==9865== [INFO]: ==9865== HEAP SUMMARY: [INFO]: ==9865== in use at exit: 0 bytes in 0 blocks [INFO]: ==9865== total heap usage: 5,444 allocs, 5,444 frees, 638,844 bytes allocated [INFO]: ==9865== [INFO]: ==9865== All heap blocks were freed -- no leaks are possible [INFO]: ==9865== [INFO]: ==9865== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_many_sigs_no_allmatch _________________________ self = def test_many_sigs_no_allmatch(self): self.step_name('Test that only one sig alerts when not using all-match mode') testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_db, testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 12\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.294 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:05\nEnd Date: 2024:04:29 21:23:06\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:102: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that only one sig alerts when not using all-match mode [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 12 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.294 sec (0 m 1 s) Start Date: 2024:04:29 21:23:05 End Date: 2024:04:29 21:23:06 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9874== Memcheck, a memory error detector [INFO]: ==9874== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9874== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9874== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9874== Parent PID: 9753 [INFO]: ==9874== [INFO]: --9874-- [INFO]: --9874-- Valgrind options: [INFO]: --9874-- -v [INFO]: --9874-- --trace-children=yes [INFO]: --9874-- --track-fds=yes [INFO]: --9874-- --leak-check=full [INFO]: --9874-- --show-possibly-lost=no [INFO]: --9874-- --show-leak-kinds=definite [INFO]: --9874-- --errors-for-leak-kinds=definite [INFO]: --9874-- --main-stacksize=16777216 [INFO]: --9874-- --gen-suppressions=all [INFO]: --9874-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9874-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9874-- --error-exitcode=123 [INFO]: --9874-- Contents of /proc/version: [INFO]: --9874-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9874-- [INFO]: --9874-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9874-- Page sizes: currently 4096, max supported 4096 [INFO]: --9874-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9874-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9874-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9874-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9874-- might be shown as UnknownInlinedFun [INFO]: --9874-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9874-- object doesn't have a dynamic symbol table [INFO]: --9874-- Scheduler: using generic scheduler lock implementation. [INFO]: --9874-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9874-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9874== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9874-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9874== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9874-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9874== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9874-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9874== [INFO]: ==9874== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9874== don't want to do, unless you know exactly what you're doing, [INFO]: ==9874== or are doing some strange experiment): [INFO]: ==9874== /usr/libexec/valgrind/../../bin/vgdb --pid=9874 ...command... [INFO]: ==9874== [INFO]: ==9874== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9874== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9874== and then give GDB the following command [INFO]: ==9874== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9874 [INFO]: ==9874== --pid is optional if only one valgrind process is running [INFO]: ==9874== [INFO]: --9874-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9874-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9874-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9874-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9874-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9874-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9874-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9874-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9874-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9874-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9874-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9874-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9874-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9874-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9874-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9874-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9874-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9874-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9874-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9874-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9874-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9874-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9874-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9874== Preferring higher priority redirection: [INFO]: --9874-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9874-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9874-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9874-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9874== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9874-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9874-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9874-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9874-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9874-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9874-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9874-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9874-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9874-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9874-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9874-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9874-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9874-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9874-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9874-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9874-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9874-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9874-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9874-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9874-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9874-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9874-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9874-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9874-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9874-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9874-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9874-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9874-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9874== [INFO]: ==9874== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9874== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9874== [INFO]: ==9874== [INFO]: ==9874== (No origin, error cannot be suppressed) [INFO]: ==9874== [INFO]: ==9874== HEAP SUMMARY: [INFO]: ==9874== in use at exit: 0 bytes in 0 blocks [INFO]: ==9874== total heap usage: 5,400 allocs, 5,400 frees, 633,620 bytes allocated [INFO]: ==9874== [INFO]: ==9874== All heap blocks were freed -- no leaks are possible [INFO]: ==9874== [INFO]: ==9874== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_pe_allmatch ______________________________ self = def test_pe_allmatch(self): self.step_name('Test that clam will detect a string in test.exe with a wide variety of signatures written or generated for the file.') # The sig set and test.exe for test set was written by one of our threat researchers to test the allmatch option. # Overall, it's much more thorough than previous tests, but some of the tests are duplicates of the previous tests. # TODO: The section signatures are not working as written, hence the "broken_dbs" directory. # There is a known issue with relative offset signatures when using the Boyer-Moore matcher. The sigs work if using the Aho-Corasick matcher. # When we fix section signatures, we can move them to the alerting sigs directory and update this test. test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' test_exe = test_path / 'test.exe' command = '{valgrind} {valgrind_args} {clamscan} \ -d {alerting_dbs} \ -d {weak_dbs} \ -d {broken_dbs} \ -d {block_cert_dbs} \ --allmatch --bytecode-unsigned {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, alerting_dbs=test_path / 'alert-sigs', block_cert_dbs=test_path / 'block-cert-sigs', weak_dbs=test_path / 'weak-sigs', broken_dbs=test_path / 'broken-sigs', testfiles=test_exe, ) output = self.execute_command(command) > assert output.ec == 1 E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND\n/builddir/b...OFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 90\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 10.85 MB\nData read: 1.38 MB (ratio 7.87:1)\nTime: 5.630 sec (0 m 5 s)\nStart Date: 2024:04:29 21:23:07\nEnd Date: 2024:04:29 21:23:13\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:305: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in test.exe with a wide variety of signatures written or generated for the file. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 5.630 sec (0 m 5 s) Start Date: 2024:04:29 21:23:07 End Date: 2024:04:29 21:23:13 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9881== Memcheck, a memory error detector [INFO]: ==9881== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9881== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9881== Parent PID: 9753 [INFO]: ==9881== [INFO]: --9881-- [INFO]: --9881-- Valgrind options: [INFO]: --9881-- -v [INFO]: --9881-- --trace-children=yes [INFO]: --9881-- --track-fds=yes [INFO]: --9881-- --leak-check=full [INFO]: --9881-- --show-possibly-lost=no [INFO]: --9881-- --show-leak-kinds=definite [INFO]: --9881-- --errors-for-leak-kinds=definite [INFO]: --9881-- --main-stacksize=16777216 [INFO]: --9881-- --gen-suppressions=all [INFO]: --9881-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9881-- --error-exitcode=123 [INFO]: --9881-- Contents of /proc/version: [INFO]: --9881-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9881-- [INFO]: --9881-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9881-- Page sizes: currently 4096, max supported 4096 [INFO]: --9881-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9881-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9881-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9881-- might be shown as UnknownInlinedFun [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9881-- object doesn't have a dynamic symbol table [INFO]: --9881-- Scheduler: using generic scheduler lock implementation. [INFO]: --9881-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9881-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9881== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9881-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9881== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9881-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9881== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9881-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9881== [INFO]: ==9881== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9881== don't want to do, unless you know exactly what you're doing, [INFO]: ==9881== or are doing some strange experiment): [INFO]: ==9881== /usr/libexec/valgrind/../../bin/vgdb --pid=9881 ...command... [INFO]: ==9881== [INFO]: ==9881== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9881== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9881== and then give GDB the following command [INFO]: ==9881== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9881 [INFO]: ==9881== --pid is optional if only one valgrind process is running [INFO]: ==9881== [INFO]: --9881-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9881-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9881-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9881-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9881-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9881-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9881-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9881-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9881-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9881-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9881-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9881-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9881-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9881-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9881-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9881-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9881-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9881-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9881-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9881-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9881-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9881== Preferring higher priority redirection: [INFO]: --9881-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9881-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9881-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9881-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9881== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9881-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9881-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9881-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9881-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9881-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9881-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9881-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9881-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9881-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9881-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9881-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9881-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9881-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9881-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9881-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9881-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9881-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9881-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9881-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9881-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9881-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9881-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9881-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9881-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9881-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9881-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9881-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9881-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9881-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9881== [INFO]: ==9881== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9881== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9881== [INFO]: ==9881== [INFO]: ==9881== (No origin, error cannot be suppressed) [INFO]: ==9881== [INFO]: ==9881== HEAP SUMMARY: [INFO]: ==9881== in use at exit: 0 bytes in 0 blocks [INFO]: ==9881== total heap usage: 9,410 allocs, 9,410 frees, 3,769,576 bytes allocated [INFO]: ==9881== [INFO]: ==9881== All heap blocks were freed -- no leaks are possible [INFO]: ==9881== [INFO]: ==9881== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_regression_cbc_and_ndb ________________________ self = def test_regression_cbc_and_ndb(self): self.step_name('Test that bytecode rules will run after content match alerts in all-match mode.') # Source for ClamAV-Unit-Test_Signature.cbc # ```c # VIRUSNAME_PREFIX("BC.Clamav-Unit-Test-Signature") # VIRUSNAMES("") # TARGET(0) # FUNCTIONALITY_LEVEL_MIN(FUNC_LEVEL_096_4) # SIGNATURES_DECL_BEGIN # DECLARE_SIGNATURE(test_string) # SIGNATURES_DECL_END # SIGNATURES_DEF_BEGIN # /* matches "CLAMAV-TEST-STRING-NOT-EICAR" */ # DEFINE_SIGNATURE(test_string, "0:434c414d41562d544553542d535452494e472d4e4f542d4549434152") # SIGNATURES_DEF_END # bool logical_trigger() # { # return matches(Signatures.test_string); # } # int entrypoint(void) # { # foundVirus(""); # return 0; # } # ``` testfile = TC.path_tmp / 'CLAMAV-TEST-STRING-NOT-EICAR' (testfile).write_text( "CLAMAV-TEST-STRING-NOT-EICAR" ) command = '{valgrind} {valgrind_args} {clamscan} -d {cbc_db} -d {ndb_db} --bytecode-unsigned --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, cbc_db=TC.path_source / 'unit_tests' / 'input' / 'bytecode_sigs' / 'Clamav-Unit-Test-Signature.cbc', ndb_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR: BC.Clamav-Unit-Test-Signature FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.163 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:14\nEnd Date: 2024:04:29 21:23:15\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:179: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that bytecode rules will run after content match alerts in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR: BC.Clamav-Unit-Test-Signature FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.163 sec (0 m 1 s) Start Date: 2024:04:29 21:23:14 End Date: 2024:04:29 21:23:15 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9901== Memcheck, a memory error detector [INFO]: ==9901== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9901== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9901== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/Clamav-Unit-Test-Signature.cbc -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --bytecode-unsigned --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/CLAMAV-TEST-STRING-NOT-EICAR [INFO]: ==9901== Parent PID: 9753 [INFO]: ==9901== [INFO]: --9901-- [INFO]: --9901-- Valgrind options: [INFO]: --9901-- -v [INFO]: --9901-- --trace-children=yes [INFO]: --9901-- --track-fds=yes [INFO]: --9901-- --leak-check=full [INFO]: --9901-- --show-possibly-lost=no [INFO]: --9901-- --show-leak-kinds=definite [INFO]: --9901-- --errors-for-leak-kinds=definite [INFO]: --9901-- --main-stacksize=16777216 [INFO]: --9901-- --gen-suppressions=all [INFO]: --9901-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9901-- --error-exitcode=123 [INFO]: --9901-- Contents of /proc/version: [INFO]: --9901-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9901-- [INFO]: --9901-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9901-- Page sizes: currently 4096, max supported 4096 [INFO]: --9901-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9901-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9901-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9901-- might be shown as UnknownInlinedFun [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9901-- object doesn't have a dynamic symbol table [INFO]: --9901-- Scheduler: using generic scheduler lock implementation. [INFO]: --9901-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9901-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9901== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9901-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9901== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9901-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9901== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9901-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9901== [INFO]: ==9901== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9901== don't want to do, unless you know exactly what you're doing, [INFO]: ==9901== or are doing some strange experiment): [INFO]: ==9901== /usr/libexec/valgrind/../../bin/vgdb --pid=9901 ...command... [INFO]: ==9901== [INFO]: ==9901== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9901== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9901== and then give GDB the following command [INFO]: ==9901== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9901 [INFO]: ==9901== --pid is optional if only one valgrind process is running [INFO]: ==9901== [INFO]: --9901-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9901-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9901-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9901-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9901-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9901-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9901-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9901-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9901-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9901-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9901-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9901-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9901-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9901-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9901-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9901-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9901-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9901-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9901-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9901-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9901-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9901== Preferring higher priority redirection: [INFO]: --9901-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9901-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9901-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9901-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9901== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9901-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9901-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9901-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9901-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9901-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9901-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9901-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9901-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9901-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9901-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9901-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9901-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9901-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9901-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9901-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9901-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9901-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9901-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9901-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9901-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9901-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9901-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9901-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9901-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9901-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9901-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9901-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9901-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9901== [INFO]: ==9901== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9901== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9901== [INFO]: ==9901== [INFO]: ==9901== (No origin, error cannot be suppressed) [INFO]: ==9901== [INFO]: ==9901== HEAP SUMMARY: [INFO]: ==9901== in use at exit: 0 bytes in 0 blocks [INFO]: ==9901== total heap usage: 5,774 allocs, 5,774 frees, 931,635 bytes allocated [INFO]: ==9901== [INFO]: ==9901== All heap blocks were freed -- no leaks are possible [INFO]: ==9901== [INFO]: ==9901== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_regression_imphash_nosize _______________________ self = def test_regression_imphash_nosize(self): self.step_name('Test an import hash with wildcard size when all-match mode is disabled.') db_dir = TC.path_db / 'allmatch-regression-test-sigs' os.mkdir(str(db_dir)) (db_dir / 'clam.imp').write_text( "98c88d882f01a3f6ac1e5f7dfd761624:*:Test.Import.Hash.NoSize\n" ) testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=db_dir / 'clam.imp', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.280 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:16\nEnd Date: 2024:04:29 21:23:17\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:126: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test an import hash with wildcard size when all-match mode is disabled. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: Test.Import.Hash.NoSize.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.280 sec (0 m 1 s) Start Date: 2024:04:29 21:23:16 End Date: 2024:04:29 21:23:17 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9919== Memcheck, a memory error detector [INFO]: ==9919== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9919== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9919== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/database/allmatch-regression-test-sigs/clam.imp /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [INFO]: ==9919== Parent PID: 9753 [INFO]: ==9919== [INFO]: --9919-- [INFO]: --9919-- Valgrind options: [INFO]: --9919-- -v [INFO]: --9919-- --trace-children=yes [INFO]: --9919-- --track-fds=yes [INFO]: --9919-- --leak-check=full [INFO]: --9919-- --show-possibly-lost=no [INFO]: --9919-- --show-leak-kinds=definite [INFO]: --9919-- --errors-for-leak-kinds=definite [INFO]: --9919-- --main-stacksize=16777216 [INFO]: --9919-- --gen-suppressions=all [INFO]: --9919-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9919-- --error-exitcode=123 [INFO]: --9919-- Contents of /proc/version: [INFO]: --9919-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9919-- [INFO]: --9919-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9919-- Page sizes: currently 4096, max supported 4096 [INFO]: --9919-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9919-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9919-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9919-- might be shown as UnknownInlinedFun [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9919-- object doesn't have a dynamic symbol table [INFO]: --9919-- Scheduler: using generic scheduler lock implementation. [INFO]: --9919-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9919-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9919== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9919-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9919== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9919-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9919== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9919-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9919== [INFO]: ==9919== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9919== don't want to do, unless you know exactly what you're doing, [INFO]: ==9919== or are doing some strange experiment): [INFO]: ==9919== /usr/libexec/valgrind/../../bin/vgdb --pid=9919 ...command... [INFO]: ==9919== [INFO]: ==9919== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9919== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9919== and then give GDB the following command [INFO]: ==9919== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9919 [INFO]: ==9919== --pid is optional if only one valgrind process is running [INFO]: ==9919== [INFO]: --9919-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9919-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9919-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9919-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9919-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9919-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9919-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9919-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9919-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9919-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9919-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9919-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9919-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9919-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9919-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9919-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9919-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9919-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9919-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9919-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9919-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9919== Preferring higher priority redirection: [INFO]: --9919-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9919-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9919-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9919-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9919== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9919-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9919-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9919-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9919-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9919-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9919-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9919-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9919-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9919-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9919-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9919-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9919-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9919-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9919-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9919-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9919-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9919-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9919-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9919-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9919-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9919-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9919-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9919-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9919-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9919-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9919-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9919-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9919-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9919== [INFO]: ==9919== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9919== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9919== [INFO]: ==9919== [INFO]: ==9919== (No origin, error cannot be suppressed) [INFO]: ==9919== [INFO]: ==9919== HEAP SUMMARY: [INFO]: ==9919== in use at exit: 0 bytes in 0 blocks [INFO]: ==9919== total heap usage: 5,371 allocs, 5,371 frees, 556,752 bytes allocated [INFO]: ==9919== [INFO]: ==9919== All heap blocks were freed -- no leaks are possible [INFO]: ==9919== [INFO]: ==9919== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_txt_plus_clam_zipsfx _________________________ self = def test_txt_plus_clam_zipsfx(self): self.step_name('Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a hash sig.') testfile = TC.path_tmp / 'test-string-cat-clam.exe.txt' clamzip = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.zip' testfile.write_bytes(b"CLAMAV-TEST-STRING-NOT-EICAR" + clamzip.read_bytes()) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} -d {not_eicar_db} --allmatch {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_source / 'unit_tests' / 'input' / 'clamav.hdb', not_eicar_db=TC.path_source / 'unit_tests' / 'input' / 'other_sigs' / 'Clamav-Unit-Test-Signature.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: ClamAV-Test-File.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.883 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:18\nEnd Date: 2024:04:29 21:23:19\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/allmatch_test.py:204: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will detect a string in text file, plus identify, extract, and alert on concatenated clam.zip containing clam.exe with a hash sig. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt: NDB.Clamav-Unit-Test-Signature.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.883 sec (0 m 0 s) Start Date: 2024:04:29 21:23:18 End Date: 2024:04:29 21:23:19 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9923== Memcheck, a memory error detector [INFO]: ==9923== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9923== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9923== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/clamav.hdb -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_sigs/Clamav-Unit-Test-Signature.ndb --allmatch /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/test-string-cat-clam.exe.txt [INFO]: ==9923== Parent PID: 9753 [INFO]: ==9923== [INFO]: --9923-- [INFO]: --9923-- Valgrind options: [INFO]: --9923-- -v [INFO]: --9923-- --trace-children=yes [INFO]: --9923-- --track-fds=yes [INFO]: --9923-- --leak-check=full [INFO]: --9923-- --show-possibly-lost=no [INFO]: --9923-- --show-leak-kinds=definite [INFO]: --9923-- --errors-for-leak-kinds=definite [INFO]: --9923-- --main-stacksize=16777216 [INFO]: --9923-- --gen-suppressions=all [INFO]: --9923-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9923-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: --9923-- --error-exitcode=123 [INFO]: --9923-- Contents of /proc/version: [INFO]: --9923-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9923-- [INFO]: --9923-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9923-- Page sizes: currently 4096, max supported 4096 [INFO]: --9923-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9923-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9923-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9923-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9923-- might be shown as UnknownInlinedFun [INFO]: --9923-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9923-- object doesn't have a dynamic symbol table [INFO]: --9923-- Scheduler: using generic scheduler lock implementation. [INFO]: --9923-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9923-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9923== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9923-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9923== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9923-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9923== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9923-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9923== [INFO]: ==9923== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9923== don't want to do, unless you know exactly what you're doing, [INFO]: ==9923== or are doing some strange experiment): [INFO]: ==9923== /usr/libexec/valgrind/../../bin/vgdb --pid=9923 ...command... [INFO]: ==9923== [INFO]: ==9923== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9923== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9923== and then give GDB the following command [INFO]: ==9923== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9923 [INFO]: ==9923== --pid is optional if only one valgrind process is running [INFO]: ==9923== [INFO]: --9923-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9923-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9923-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9923-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9923-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9923-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9923-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9923-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9923-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9923-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9923-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9923-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9923-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9923-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9923-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9923-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9923-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9923-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9923-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9923-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9923-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9923-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9923-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9923== Preferring higher priority redirection: [INFO]: --9923-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9923-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9923-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9923-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9923== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9923-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9923-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9923-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9923-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9923-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9923-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9923-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9923-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9923-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9923-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9923-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9923-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9923-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9923-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9923-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9923-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9923-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9923-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9923-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9923-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9923-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9923-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9923-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9923-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9923-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9923-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9923-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9923-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9923-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9923== [INFO]: ==9923== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9923== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-ruwzfp3z/valgrind.log [INFO]: ==9923== [INFO]: ==9923== [INFO]: ==9923== (No origin, error cannot be suppressed) [INFO]: ==9923== [INFO]: ==9923== HEAP SUMMARY: [INFO]: ==9923== in use at exit: 0 bytes in 0 blocks [INFO]: ==9923== total heap usage: 5,409 allocs, 5,409 frees, 612,016 bytes allocated [INFO]: ==9923== [INFO]: ==9923== All heap blocks were freed -- no leaks are possible [INFO]: ==9923== [INFO]: ==9923== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_00_version ______________________________ self = def test_00_version(self): self.step_name('clamscan version test') command = '{valgrind} {valgrind_args} {clamscan} -V'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan ) output = self.execute_command(command) > assert output.ec == 0 # success E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='ClamAV 1.0.6\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:40: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: clamscan version test [INFO]: clamscan version test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [DEBUG]: Exit code: 123 [DEBUG]: Exit code: 123 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stdout: ClamAV 1.0.6 [DEBUG]: stderr: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [WARNING]: ********************************************************************* [INFO]: ==9925== Memcheck, a memory error detector [INFO]: ==9925== Memcheck, a memory error detector [INFO]: ==9925== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9925== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9925== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9925== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9925== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9925== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -V [INFO]: ==9925== Parent PID: 9753 [INFO]: ==9925== Parent PID: 9753 [INFO]: ==9925== [INFO]: ==9925== [INFO]: --9925-- [INFO]: --9925-- [INFO]: --9925-- Valgrind options: [INFO]: --9925-- Valgrind options: [INFO]: --9925-- -v [INFO]: --9925-- -v [INFO]: --9925-- --trace-children=yes [INFO]: --9925-- --trace-children=yes [INFO]: --9925-- --track-fds=yes [INFO]: --9925-- --track-fds=yes [INFO]: --9925-- --leak-check=full [INFO]: --9925-- --leak-check=full [INFO]: --9925-- --show-possibly-lost=no [INFO]: --9925-- --show-possibly-lost=no [INFO]: --9925-- --show-leak-kinds=definite [INFO]: --9925-- --show-leak-kinds=definite [INFO]: --9925-- --errors-for-leak-kinds=definite [INFO]: --9925-- --errors-for-leak-kinds=definite [INFO]: --9925-- --main-stacksize=16777216 [INFO]: --9925-- --main-stacksize=16777216 [INFO]: --9925-- --gen-suppressions=all [INFO]: --9925-- --gen-suppressions=all [INFO]: --9925-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9925-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9925-- --error-exitcode=123 [INFO]: --9925-- --error-exitcode=123 [INFO]: --9925-- Contents of /proc/version: [INFO]: --9925-- Contents of /proc/version: [INFO]: --9925-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9925-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9925-- [INFO]: --9925-- [INFO]: --9925-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9925-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9925-- Page sizes: currently 4096, max supported 4096 [INFO]: --9925-- Page sizes: currently 4096, max supported 4096 [INFO]: --9925-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9925-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9925-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9925-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9925-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9925-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9925-- might be shown as UnknownInlinedFun [INFO]: --9925-- might be shown as UnknownInlinedFun [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9925-- object doesn't have a dynamic symbol table [INFO]: --9925-- object doesn't have a dynamic symbol table [INFO]: --9925-- Scheduler: using generic scheduler lock implementation. [INFO]: --9925-- Scheduler: using generic scheduler lock implementation. [INFO]: --9925-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9925-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: --9925-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9925== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9925-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9925== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9925== don't want to do, unless you know exactly what you're doing, [INFO]: ==9925== don't want to do, unless you know exactly what you're doing, [INFO]: ==9925== or are doing some strange experiment): [INFO]: ==9925== or are doing some strange experiment): [INFO]: ==9925== /usr/libexec/valgrind/../../bin/vgdb --pid=9925 ...command... [INFO]: ==9925== /usr/libexec/valgrind/../../bin/vgdb --pid=9925 ...command... [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9925== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9925== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9925== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9925== and then give GDB the following command [INFO]: ==9925== and then give GDB the following command [INFO]: ==9925== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9925 [INFO]: ==9925== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9925 [INFO]: ==9925== --pid is optional if only one valgrind process is running [INFO]: ==9925== --pid is optional if only one valgrind process is running [INFO]: ==9925== [INFO]: ==9925== [INFO]: --9925-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9925-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9925-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9925-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9925-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9925-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: --9925-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9925-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9925-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: --9925-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9925-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9925-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9925-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9925-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9925-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9925-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9925-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9925-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9925-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9925-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9925-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9925-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9925-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9925-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9925-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9925-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9925-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9925-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9925-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9925-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9925-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9925-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9925-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9925-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9925-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9925-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9925-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9925== Preferring higher priority redirection: [INFO]: ==9925== Preferring higher priority redirection: [INFO]: --9925-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9925-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9925-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9925-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9925-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9925-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: ==9925== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9925-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9925-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9925-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9925-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9925-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9925-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9925-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9925-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9925-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9925-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9925-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9925-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9925-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9925-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9925-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9925-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9925-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9925-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9925-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9925-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9925-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9925-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9925-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9925-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9925-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9925-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9925-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9925-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9925-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9925-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9925-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9925-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9925== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9925== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9925== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== (No origin, error cannot be suppressed) [INFO]: ==9925== (No origin, error cannot be suppressed) [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== HEAP SUMMARY: [INFO]: ==9925== HEAP SUMMARY: [INFO]: ==9925== in use at exit: 0 bytes in 0 blocks [INFO]: ==9925== in use at exit: 0 bytes in 0 blocks [INFO]: ==9925== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9925== total heap usage: 369 allocs, 369 frees, 27,014 bytes allocated [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== All heap blocks were freed -- no leaks are possible [INFO]: ==9925== All heap blocks were freed -- no leaks are possible [INFO]: ==9925== [INFO]: ==9925== [INFO]: ==9925== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==9925== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_pe_cert_block _____________________________ self = def test_pe_cert_block(self): self.step_name('Test that clam will disregard a certificate trust signature if a block certificate rule is used.') # The sig set and test.exe for test set was written by one of our threat researchers to test the allmatch option. # Overall, it's much more thorough than previous tests, but some of the tests are duplicates of the previous tests. # TODO: The section signatures are not working as written, hence the "broken_dbs" directory. # There is a known issue with relative offset signatures when using the Boyer-Moore matcher. The sigs work if using the Aho-Corasick matcher. # When we fix section signatures, we can move them to the alerting sigs directory and update this test. test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' test_exe = test_path / 'test.exe' command = '{valgrind} {valgrind_args} {clamscan} \ -d {alerting_dbs} \ -d {weak_dbs} \ -d {broken_dbs} \ -d {block_cert_dbs} \ --allmatch --bytecode-unsigned {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, alerting_dbs=test_path / 'alert-sigs', block_cert_dbs=test_path / 'block-cert-sigs', weak_dbs=test_path / 'weak-sigs', broken_dbs=test_path / 'broken-sigs', trust_dbs=test_path / 'trust-sigs', testfiles=test_exe, ) output = self.execute_command(command) > assert output.ec == 1 E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND\n/builddir/b...OFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 90\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 10.85 MB\nData read: 1.38 MB (ratio 7.87:1)\nTime: 3.707 sec (0 m 3 s)\nStart Date: 2024:04:29 21:23:20\nEnd Date: 2024:04:29 21:23:23\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:149: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam will disregard a certificate trust signature if a block certificate rule is used. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/block-cert-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.CRB.BlockCert FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_13of22_PE_S1_EXACT_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_11of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_20of22_PE_S1_EXACT_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_18of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_01of22_companyname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_02of22_filedescription.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_03of22_fileversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_04of22_internalname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_05of22_legalcopyright.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_06of22_originalfilename.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_07of22_productname.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_08of22_productversion.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_1of2_MD5_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HDB_2of2_MD5_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_1of4_SHA1_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_2of4_SHA1_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_3of4_SHA256_FIXED_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.HSB_4of4_SHA256_STAR_testexe.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_2of2_PE_ICON_2.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.Sig.LDB_1of2_PE_ICON_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_12of22_PE_EP_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_10of22_PE_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_14of22_PE_S1_BROAD_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_19of22_PE_EP_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_17of22_PE_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_21of22_PE_S1_BROAD_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_09of22_ANY_testexe_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.NDB_16of22_ANY_testexe_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_4of6_PE_REG_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_3of6_PE_REG_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_2of2_BASIC_1.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_2of6_ANY_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_1of6_ANY_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: YARA.Test_GenSig_YARA_1of2_BASIC_0.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_01of16_MD5_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_02of16_MD5_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_01of32_SHA1_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_02of32_SHA1_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_17of32_SHA256_FIXED_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_18of32_SHA256_STAR_text.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_03of16_MD5_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_04of16_MD5_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_03of32_SHA1_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_04of32_SHA1_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_19of32_SHA256_FIXED_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_20of32_SHA256_STAR_data.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_05of16_MD5_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_06of16_MD5_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_05of32_SHA1_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_06of32_SHA1_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_21of32_SHA256_FIXED_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_22of32_SHA256_STAR_rdata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_09of16_MD5_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_10of16_MD5_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_09of32_SHA1_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_10of32_SHA1_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_25of32_SHA256_FIXED_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_26of32_SHA256_STAR_idata.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_11of16_MD5_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_12of16_MD5_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_11of32_SHA1_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_12of32_SHA1_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_27of32_SHA256_FIXED_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_28of32_SHA256_STAR_CRT.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_13of16_MD5_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_14of16_MD5_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_13of32_SHA1_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_14of32_SHA1_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_29of32_SHA256_FIXED_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_30of32_SHA256_STAR_tls.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_15of16_MD5_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MDB_16of16_MD5_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_15of32_SHA1_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_16of32_SHA1_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_31of32_SHA256_FIXED_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.MSB_32of32_SHA256_STAR_rsrc.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_1of6_MD5_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_2of6_MD5_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_3of6_SHA1_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_4of6_SHA1_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_5of6_SHA256_FIXED.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.IMP_6of6_SHA256_STAR.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_5of6_PE_UNPCKR_testexe_0.matched FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: Test.GenSig.BC_6of6_PE_UNPCKR_testexe_1.matched FOUND ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 10.85 MB Data read: 1.38 MB (ratio 7.87:1) Time: 3.707 sec (0 m 3 s) Start Date: 2024:04:29 21:23:20 End Date: 2024:04:29 21:23:23 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9927== Memcheck, a memory error detector [INFO]: ==9927== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9927== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9927== Parent PID: 9753 [INFO]: ==9927== [INFO]: --9927-- [INFO]: --9927-- Valgrind options: [INFO]: --9927-- -v [INFO]: --9927-- --trace-children=yes [INFO]: --9927-- --track-fds=yes [INFO]: --9927-- --leak-check=full [INFO]: --9927-- --show-possibly-lost=no [INFO]: --9927-- --show-leak-kinds=definite [INFO]: --9927-- --errors-for-leak-kinds=definite [INFO]: --9927-- --main-stacksize=16777216 [INFO]: --9927-- --gen-suppressions=all [INFO]: --9927-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9927-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9927-- --error-exitcode=123 [INFO]: --9927-- Contents of /proc/version: [INFO]: --9927-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9927-- [INFO]: --9927-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9927-- Page sizes: currently 4096, max supported 4096 [INFO]: --9927-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9927-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9927-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9927-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9927-- might be shown as UnknownInlinedFun [INFO]: --9927-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9927-- object doesn't have a dynamic symbol table [INFO]: --9927-- Scheduler: using generic scheduler lock implementation. [INFO]: --9927-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9927-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9927== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9927-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9927== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9927-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9927== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9927-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9927== [INFO]: ==9927== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9927== don't want to do, unless you know exactly what you're doing, [INFO]: ==9927== or are doing some strange experiment): [INFO]: ==9927== /usr/libexec/valgrind/../../bin/vgdb --pid=9927 ...command... [INFO]: ==9927== [INFO]: ==9927== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9927== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9927== and then give GDB the following command [INFO]: ==9927== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9927 [INFO]: ==9927== --pid is optional if only one valgrind process is running [INFO]: ==9927== [INFO]: --9927-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9927-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9927-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9927-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9927-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9927-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9927-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9927-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9927-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9927-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9927-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9927-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9927-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9927-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9927-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9927-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9927-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9927-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9927-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9927-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9927-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9927-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9927-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9927== Preferring higher priority redirection: [INFO]: --9927-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9927-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9927-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9927-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9927== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9927-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9927-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9927-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9927-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9927-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9927-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9927-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9927-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9927-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9927-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9927-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9927-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9927-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9927-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9927-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9927-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9927-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9927-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9927-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9927-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9927-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9927-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9927-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9927-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9927-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9927-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9927-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9927-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9927-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: ==9927== [INFO]: ==9927== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9927== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9927== [INFO]: ==9927== [INFO]: ==9927== (No origin, error cannot be suppressed) [INFO]: ==9927== [INFO]: ==9927== HEAP SUMMARY: [INFO]: ==9927== in use at exit: 0 bytes in 0 blocks [INFO]: ==9927== total heap usage: 9,410 allocs, 9,410 frees, 3,769,576 bytes allocated [INFO]: ==9927== [INFO]: ==9927== All heap blocks were freed -- no leaks are possible [INFO]: ==9927== [INFO]: ==9927== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_pe_cert_trust _____________________________ self = def test_pe_cert_trust(self): self.step_name('Test that clam can trust an EXE based on an authenticode certificate check.') test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' test_exe = test_path / 'test.exe' command = '{valgrind} {valgrind_args} {clamscan} \ -d {alerting_dbs} \ -d {weak_dbs} \ -d {broken_dbs} \ -d {trust_dbs} \ --allmatch --bytecode-unsigned {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, alerting_dbs=test_path / 'alert-sigs', weak_dbs=test_path / 'weak-sigs', broken_dbs=test_path / 'broken-sigs', trust_dbs=test_path / 'trust-sigs', testfiles=test_exe, ) output = self.execute_command(command) > assert output.ec == 0 E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 90\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 0\nData scanned: 0.00 MB\nData read: 1.38 MB (ratio 0.00:1)\nTime: 1.821 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:24\nEnd Date: 2024:04:29 21:23:26\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:108: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clam can trust an EXE based on an authenticode certificate check. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/alert-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/weak-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/broken-sigs -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/trust-sigs --allmatch --bytecode-unsigned /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/pe_allmatch/test.exe: OK ----------- SCAN SUMMARY ----------- Known viruses: 90 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 1.38 MB (ratio 0.00:1) Time: 1.821 sec (0 m 1 s) Start Date: 2024:04:29 21:23:24 End Date: 2024:04:29 21:23:26 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9947== Memcheck, a memory error detector [INFO]: ==9947== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9947== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9947== Parent PID: 9753 [INFO]: ==9947== [INFO]: --9947-- [INFO]: --9947-- Valgrind options: [INFO]: --9947-- -v [INFO]: --9947-- --trace-children=yes [INFO]: --9947-- --track-fds=yes [INFO]: --9947-- --leak-check=full [INFO]: --9947-- --show-possibly-lost=no [INFO]: --9947-- --show-leak-kinds=definite [INFO]: --9947-- --errors-for-leak-kinds=definite [INFO]: --9947-- --main-stacksize=16777216 [INFO]: --9947-- --gen-suppressions=all [INFO]: --9947-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9947-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9947-- --error-exitcode=123 [INFO]: --9947-- Contents of /proc/version: [INFO]: --9947-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9947-- [INFO]: --9947-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9947-- Page sizes: currently 4096, max supported 4096 [INFO]: --9947-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9947-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9947-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9947-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9947-- might be shown as UnknownInlinedFun [INFO]: --9947-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9947-- object doesn't have a dynamic symbol table [INFO]: --9947-- Scheduler: using generic scheduler lock implementation. [INFO]: --9947-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9947-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9947== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9947-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9947== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9947-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9947== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9947-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9947== [INFO]: ==9947== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9947== don't want to do, unless you know exactly what you're doing, [INFO]: ==9947== or are doing some strange experiment): [INFO]: ==9947== /usr/libexec/valgrind/../../bin/vgdb --pid=9947 ...command... [INFO]: ==9947== [INFO]: ==9947== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9947== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9947== and then give GDB the following command [INFO]: ==9947== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9947 [INFO]: ==9947== --pid is optional if only one valgrind process is running [INFO]: ==9947== [INFO]: --9947-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9947-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9947-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9947-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9947-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9947-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9947-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9947-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9947-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9947-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9947-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9947-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9947-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9947-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9947-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9947-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9947-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9947-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9947-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9947-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9947-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9947-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9947-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9947== Preferring higher priority redirection: [INFO]: --9947-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9947-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9947-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9947-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9947== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9947-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9947-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9947-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9947-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9947-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9947-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9947-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9947-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9947-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9947-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9947-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9947-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9947-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9947-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9947-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9947-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9947-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9947-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9947-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9947-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9947-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9947-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --9947-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9947-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9947-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9947-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9947-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9947-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9947== [INFO]: ==9947== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9947== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9947== [INFO]: ==9947== [INFO]: ==9947== (No origin, error cannot be suppressed) [INFO]: ==9947== [INFO]: ==9947== HEAP SUMMARY: [INFO]: ==9947== in use at exit: 0 bytes in 0 blocks [INFO]: ==9947== total heap usage: 6,600 allocs, 6,600 frees, 2,541,990 bytes allocated [INFO]: ==9947== [INFO]: ==9947== All heap blocks were freed -- no leaks are possible [INFO]: ==9947== [INFO]: ==9947== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_weak_indicator_icon __________________________ self = def test_weak_indicator_icon(self): self.step_name('Test icon (.ldb + .idb) weak indicator matching signatures') (TC.path_tmp / 'icon.idb').write_text( "EA0X-32x32x8:ea0x-grp1:ea0x-grp2:2046f030a42a07153f4120a0031600007000005e1617ef0000d21100cb090674150f880313970b0e7716116d01136216022500002f0a173700081a004a0e\n" "IScab-16x16x8:iscab-grp1:iscab-grp2:107b3000168306015c20a0105b07060be0a0b11c050bea0706cb0a0bbb060b6f00017c06018301068109086b03046705081b000a270a002a000039002b17\n" ) (TC.path_tmp / 'icon.ldb').write_text( "ClamAV-Test-Icon-EA0X;Engine:52-1000,Target:1,IconGroup1:ea0x-grp1,IconGroup2:*;(0);0:4d5a\n" "ClamAV-Test-Icon-IScab;Engine:52-1000,Target:1,IconGroup2:iscab-grp2;(0);0:4d5a\n" ) testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_ldb} -d {path_idb} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_ldb=TC.path_tmp / 'icon.ldb', path_idb=TC.path_tmp / 'icon.idb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-Ico...lamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 4\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 4\nData scanned: 13.64 MB\nData read: 6.91 MB (ratio 1.97:1)\nTime: 4.220 sec (0 m 4 s)\nStart Date: 2024:04:29 21:23:26\nEnd Date: 2024:04:29 21:23:31\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/assorted_test.py:69: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test icon (.ldb + .idb) weak indicator matching signatures [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/icon.ldb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/icon.idb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: ClamAV-Test-Icon-IScab.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: ClamAV-Test-Icon-EA0X.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 4 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 4 Data scanned: 13.64 MB Data read: 6.91 MB (ratio 1.97:1) Time: 4.220 sec (0 m 4 s) Start Date: 2024:04:29 21:23:26 End Date: 2024:04:29 21:23:31 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9951== Memcheck, a memory error detector [INFO]: ==9951== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9951== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9951== Parent PID: 9753 [INFO]: ==9951== [INFO]: --9951-- [INFO]: --9951-- Valgrind options: [INFO]: --9951-- -v [INFO]: --9951-- --trace-children=yes [INFO]: --9951-- --track-fds=yes [INFO]: --9951-- --leak-check=full [INFO]: --9951-- --show-possibly-lost=no [INFO]: --9951-- --show-leak-kinds=definite [INFO]: --9951-- --errors-for-leak-kinds=definite [INFO]: --9951-- --main-stacksize=16777216 [INFO]: --9951-- --gen-suppressions=all [INFO]: --9951-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9951-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: --9951-- --error-exitcode=123 [INFO]: --9951-- Contents of /proc/version: [INFO]: --9951-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9951-- [INFO]: --9951-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9951-- Page sizes: currently 4096, max supported 4096 [INFO]: --9951-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9951-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9951-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9951-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9951-- might be shown as UnknownInlinedFun [INFO]: --9951-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9951-- object doesn't have a dynamic symbol table [INFO]: --9951-- Scheduler: using generic scheduler lock implementation. [INFO]: --9951-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9951-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9951== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9951-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9951== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9951-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9951== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9951-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9951== [INFO]: ==9951== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9951== don't want to do, unless you know exactly what you're doing, [INFO]: ==9951== or are doing some strange experiment): [INFO]: ==9951== /usr/libexec/valgrind/../../bin/vgdb --pid=9951 ...command... [INFO]: ==9951== [INFO]: ==9951== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9951== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9951== and then give GDB the following command [INFO]: ==9951== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9951 [INFO]: ==9951== --pid is optional if only one valgrind process is running [INFO]: ==9951== [INFO]: --9951-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9951-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9951-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9951-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9951-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9951-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9951-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9951-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9951-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9951-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9951-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9951-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9951-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9951-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9951-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9951-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9951-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9951-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9951-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9951-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9951-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9951-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9951-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9951== Preferring higher priority redirection: [INFO]: --9951-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9951-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9951-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9951-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9951== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9951-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9951-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9951-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9951-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9951-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9951-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9951-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9951-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9951-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9951-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9951-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9951-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9951-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9951-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9951-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9951-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9951-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9951-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9951-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9951-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9951-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9951-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9951-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9951-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9951-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9951-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9951-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9951-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --9951-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --9951-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --9951-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --9951-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --9951-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --9951-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==9951== [INFO]: ==9951== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9951== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-0elh03pv/valgrind.log [INFO]: ==9951== [INFO]: ==9951== [INFO]: ==9951== (No origin, error cannot be suppressed) [INFO]: ==9951== [INFO]: ==9951== HEAP SUMMARY: [INFO]: ==9951== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==9951== total heap usage: 18,587 allocs, 18,459 frees, 45,711,280 bytes allocated [INFO]: ==9951== [INFO]: ==9951== Searching for pointers to 128 not-freed blocks [INFO]: ==9951== Checked 8,663,976 bytes [INFO]: ==9951== [INFO]: ==9951== LEAK SUMMARY: [INFO]: ==9951== definitely lost: 0 bytes in 0 blocks [INFO]: ==9951== indirectly lost: 0 bytes in 0 blocks [INFO]: ==9951== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==9951== still reachable: 34,667 bytes in 124 blocks [INFO]: ==9951== suppressed: 0 bytes in 0 blocks [INFO]: ==9951== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==9951== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==9951== [INFO]: ==9951== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________________ TC.test_pdf_hook _______________________________ self = def test_pdf_hook(self): self.step_name('Test that pdf bytecode hooks trigger') testfiles = TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.pdf' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --bytecode-unsigned'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_source / 'unit_tests' / 'input' / 'bytecode_sigs' / 'pdf-hook.cbc', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: Test.Case.BC.PDF.hook FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 1.00:1)\nTime: 1.084 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:31\nEnd Date: 2024:04:29 21:23:33\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/bytecode_test.py:40: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that pdf bytecode hooks trigger [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: Test.Case.BC.PDF.hook FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 1.084 sec (0 m 1 s) Start Date: 2024:04:29 21:23:31 End Date: 2024:04:29 21:23:33 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9977== Memcheck, a memory error detector [INFO]: ==9977== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9977== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9977== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/bytecode_sigs/pdf-hook.cbc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf --bytecode-unsigned [INFO]: ==9977== Parent PID: 9753 [INFO]: ==9977== [INFO]: --9977-- [INFO]: --9977-- Valgrind options: [INFO]: --9977-- -v [INFO]: --9977-- --trace-children=yes [INFO]: --9977-- --track-fds=yes [INFO]: --9977-- --leak-check=full [INFO]: --9977-- --show-possibly-lost=no [INFO]: --9977-- --show-leak-kinds=definite [INFO]: --9977-- --errors-for-leak-kinds=definite [INFO]: --9977-- --main-stacksize=16777216 [INFO]: --9977-- --gen-suppressions=all [INFO]: --9977-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9977-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log [INFO]: --9977-- --error-exitcode=123 [INFO]: --9977-- Contents of /proc/version: [INFO]: --9977-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9977-- [INFO]: --9977-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9977-- Page sizes: currently 4096, max supported 4096 [INFO]: --9977-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9977-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9977-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9977-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9977-- might be shown as UnknownInlinedFun [INFO]: --9977-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9977-- object doesn't have a dynamic symbol table [INFO]: --9977-- Scheduler: using generic scheduler lock implementation. [INFO]: --9977-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9977-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9977== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9977-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9977== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9977-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9977== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9977-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9977== [INFO]: ==9977== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9977== don't want to do, unless you know exactly what you're doing, [INFO]: ==9977== or are doing some strange experiment): [INFO]: ==9977== /usr/libexec/valgrind/../../bin/vgdb --pid=9977 ...command... [INFO]: ==9977== [INFO]: ==9977== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9977== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9977== and then give GDB the following command [INFO]: ==9977== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9977 [INFO]: ==9977== --pid is optional if only one valgrind process is running [INFO]: ==9977== [INFO]: --9977-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9977-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9977-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9977-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9977-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9977-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9977-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9977-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9977-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9977-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9977-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9977-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9977-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9977-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9977-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9977-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9977-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9977-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9977-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9977-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9977-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9977-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9977-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9977== Preferring higher priority redirection: [INFO]: --9977-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9977-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9977-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9977-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9977== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9977-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9977-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9977-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9977-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9977-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9977-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9977-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9977-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9977-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9977-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9977-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9977-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9977-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9977-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9977-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9977-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9977-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9977-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9977-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9977-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9977-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9977-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9977-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9977-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9977-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9977-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9977-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==9977== [INFO]: ==9977== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9977== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-7idni_xa/valgrind.log [INFO]: ==9977== [INFO]: ==9977== [INFO]: ==9977== (No origin, error cannot be suppressed) [INFO]: ==9977== [INFO]: ==9977== HEAP SUMMARY: [INFO]: ==9977== in use at exit: 0 bytes in 0 blocks [INFO]: ==9977== total heap usage: 5,754 allocs, 5,754 frees, 823,055 bytes allocated [INFO]: ==9977== [INFO]: ==9977== All heap blocks were freed -- no leaks are possible [INFO]: ==9977== [INFO]: ==9977== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_clamscan_container_cache _______________________ self = def test_clamscan_container_cache(self): self.step_name('Test that near-matches for container sigs are not cached') # Files should not be cached as "clean" if the container sig is a near-match # and only fails because the container requirement is not met. # This is a regression test for a bug where a file was cached as "clean" and # then later when scanned within a container it was not detected. not_eicar_file = TC.path_tmp / 'not_eicar' if not not_eicar_file.exists(): with not_eicar_file.open('wb') as f: f.write(b"CLAMAV-TEST-STRING-NOT-EICAR") not_eicar_zip = TC.path_tmp / 'not_eicar.zip' if not not_eicar_zip.exists(): with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") (TC.path_tmp / 'zip_container.ldb').write_text( "LDB.Clamav-Unit-Test-Signature-Container;Engine:81-255,Container:CL_TYPE_ZIP,Target:0;0;0:434c414d41562d544553542d535452494e472d4e4f542d4549434152\n" ) testfiles = '{} {}'.format(not_eicar_file, not_eicar_zip) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'zip_container.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Container.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 2\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.223 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:33\nEnd Date: 2024:04:29 21:23:35\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:113: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for container sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Container.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.223 sec (0 m 1 s) Start Date: 2024:04:29 21:23:33 End Date: 2024:04:29 21:23:35 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9980== Memcheck, a memory error detector [INFO]: ==9980== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9980== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9980== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [INFO]: ==9980== Parent PID: 9753 [INFO]: ==9980== [INFO]: --9980-- [INFO]: --9980-- Valgrind options: [INFO]: --9980-- -v [INFO]: --9980-- --trace-children=yes [INFO]: --9980-- --track-fds=yes [INFO]: --9980-- --leak-check=full [INFO]: --9980-- --show-possibly-lost=no [INFO]: --9980-- --show-leak-kinds=definite [INFO]: --9980-- --errors-for-leak-kinds=definite [INFO]: --9980-- --main-stacksize=16777216 [INFO]: --9980-- --gen-suppressions=all [INFO]: --9980-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9980-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --9980-- --error-exitcode=123 [INFO]: --9980-- Contents of /proc/version: [INFO]: --9980-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9980-- [INFO]: --9980-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9980-- Page sizes: currently 4096, max supported 4096 [INFO]: --9980-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9980-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9980-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9980-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9980-- might be shown as UnknownInlinedFun [INFO]: --9980-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9980-- object doesn't have a dynamic symbol table [INFO]: --9980-- Scheduler: using generic scheduler lock implementation. [INFO]: --9980-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9980-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9980== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9980-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9980== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9980-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9980== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9980-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9980== [INFO]: ==9980== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9980== don't want to do, unless you know exactly what you're doing, [INFO]: ==9980== or are doing some strange experiment): [INFO]: ==9980== /usr/libexec/valgrind/../../bin/vgdb --pid=9980 ...command... [INFO]: ==9980== [INFO]: ==9980== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9980== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9980== and then give GDB the following command [INFO]: ==9980== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9980 [INFO]: ==9980== --pid is optional if only one valgrind process is running [INFO]: ==9980== [INFO]: --9980-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9980-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9980-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9980-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9980-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9980-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9980-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9980-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9980-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9980-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9980-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9980-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9980-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9980-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9980-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9980-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9980-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9980-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9980-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9980-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9980-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9980-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9980-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9980== Preferring higher priority redirection: [INFO]: --9980-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9980-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9980-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9980-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9980== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9980-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9980-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9980-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9980-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9980-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9980-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9980-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9980-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9980-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9980-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9980-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9980-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9980-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9980-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9980-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9980-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9980-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9980-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9980-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9980-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9980-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9980-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9980-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9980-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9980-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9980-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9980-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9980-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9980== [INFO]: ==9980== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9980== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==9980== [INFO]: ==9980== [INFO]: ==9980== (No origin, error cannot be suppressed) [INFO]: ==9980== [INFO]: ==9980== HEAP SUMMARY: [INFO]: ==9980== in use at exit: 0 bytes in 0 blocks [INFO]: ==9980== total heap usage: 5,498 allocs, 5,498 frees, 909,253 bytes allocated [INFO]: ==9980== [INFO]: ==9980== All heap blocks were freed -- no leaks are possible [INFO]: ==9980== [INFO]: ==9980== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_container _______________________________ self = def test_container(self): self.step_name('Test that clamav can successfully alert on jpeg image extracted from XLS documents') # Note: we aren't testing PNG because the attached PNG is not properly fuzzy-hashed by clamav, yet. (TC.path_tmp / '7z_zip_container.ldb').write_text( "7z_zip_container_good;Engine:81-255,Container:CL_TYPE_7Z,Target:0;0;0:7631727573\n" "7z_zip_container_bad;Engine:81-255,Container:CL_TYPE_ZIP,Target:0;0;0:7631727573\n" ) testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'v1rusv1rus.7z.zip' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / '7z_zip_container.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.967 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:35\nEnd Date: 2024:04:29 21:23:36\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/...:"CL_TYPE_ZIP",\n "FileSize":295,\n "FileMD5":"318224dc81ba90f27788e6053ce49c56",\n "ContainedObjects":[\n {\n "FileName":"v1rusv1rus.7z",\n "FilePath":"/tmp/20240429_212336-scantemp.aa4467e0b7/clamav-a49ddb29c9a861d4295673a62c1c1840.tmp",\n "FileType":"CL_TYPE_7Z",\n "FileSize":152,\n "FileMD5":"d736ca78f6b897fddc2c0328b248971b",\n "ContainedObjects":[\n {\n "FileName":"virusvirus.txt",\n "FilePath":"/tmp/20240429_212336-scantemp.aa4467e0b7/clamav-25b851e716c688e6b541c48b5745a7e5.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":10,\n "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00",\n "Viruses":[\n "7z_zip_container_good.UNOFFICIAL",\n "7z_zip_container_good.UNOFFICIAL"\n ]\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_container_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.967 sec (0 m 0 s) Start Date: 2024:04:29 21:23:35 End Date: 2024:04:29 21:23:36 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_container.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212336-scantemp.aa4467e0b7/clamav-a49ddb29c9a861d4295673a62c1c1840.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240429_212336-scantemp.aa4467e0b7/clamav-25b851e716c688e6b541c48b5745a7e5.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_container_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_container_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240429_212336-scantemp.aa4467e0b7/clamav-a49ddb29c9a861d4295673a62c1c1840.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240429_212336-scantemp.aa4467e0b7/clamav-25b851e716c688e6b541c48b5745a7e5.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_container_good.UNOFFICIAL", "7z_zip_container_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==9998== Memcheck, a memory error detector [INFO]: ==9998== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==9998== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==9998== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_container.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==9998== Parent PID: 9753 [INFO]: ==9998== [INFO]: --9998-- [INFO]: --9998-- Valgrind options: [INFO]: --9998-- -v [INFO]: --9998-- --trace-children=yes [INFO]: --9998-- --track-fds=yes [INFO]: --9998-- --leak-check=full [INFO]: --9998-- --show-possibly-lost=no [INFO]: --9998-- --show-leak-kinds=definite [INFO]: --9998-- --errors-for-leak-kinds=definite [INFO]: --9998-- --main-stacksize=16777216 [INFO]: --9998-- --gen-suppressions=all [INFO]: --9998-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9998-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --9998-- --error-exitcode=123 [INFO]: --9998-- Contents of /proc/version: [INFO]: --9998-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --9998-- [INFO]: --9998-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --9998-- Page sizes: currently 4096, max supported 4096 [INFO]: --9998-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --9998-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --9998-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --9998-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --9998-- might be shown as UnknownInlinedFun [INFO]: --9998-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --9998-- object doesn't have a dynamic symbol table [INFO]: --9998-- Scheduler: using generic scheduler lock implementation. [INFO]: --9998-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --9998-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==9998== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-9998-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9998== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-9998-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9998== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-9998-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==9998== [INFO]: ==9998== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==9998== don't want to do, unless you know exactly what you're doing, [INFO]: ==9998== or are doing some strange experiment): [INFO]: ==9998== /usr/libexec/valgrind/../../bin/vgdb --pid=9998 ...command... [INFO]: ==9998== [INFO]: ==9998== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==9998== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==9998== and then give GDB the following command [INFO]: ==9998== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=9998 [INFO]: ==9998== --pid is optional if only one valgrind process is running [INFO]: ==9998== [INFO]: --9998-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --9998-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --9998-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --9998-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --9998-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --9998-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --9998-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --9998-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --9998-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --9998-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --9998-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --9998-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --9998-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --9998-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --9998-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --9998-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --9998-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --9998-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --9998-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --9998-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --9998-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --9998-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9998-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9998== Preferring higher priority redirection: [INFO]: --9998-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --9998-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --9998-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --9998-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==9998== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --9998-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --9998-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --9998-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --9998-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --9998-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --9998-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --9998-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --9998-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --9998-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --9998-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --9998-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --9998-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --9998-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --9998-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --9998-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --9998-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --9998-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --9998-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --9998-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --9998-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --9998-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --9998-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --9998-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --9998-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --9998-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --9998-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --9998-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --9998-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==9998== [INFO]: ==9998== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==9998== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==9998== [INFO]: ==9998== [INFO]: ==9998== (No origin, error cannot be suppressed) [INFO]: ==9998== [INFO]: ==9998== HEAP SUMMARY: [INFO]: ==9998== in use at exit: 0 bytes in 0 blocks [INFO]: ==9998== total heap usage: 5,549 allocs, 5,549 frees, 781,803 bytes allocated [INFO]: ==9998== [INFO]: ==9998== All heap blocks were freed -- no leaks are possible [INFO]: ==9998== [INFO]: ==9998== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_intermediates _____________________________ self = def test_intermediates(self): self.step_name('Test that clamav can successfully alert on jpeg image extracted from XLS documents') # Note: we aren't testing PNG because the attached PNG is not properly fuzzy-hashed by clamav, yet. (TC.path_tmp / '7z_zip_intermediates.ldb').write_text( "7z_zip_intermediates_good;Engine:81-255,Intermediates:CL_TYPE_ZIP>CL_TYPE_7Z,Target:0;0;0:7631727573\n" "7z_zip_intermediates;Engine:81-255,Intermediates:CL_TYPE_7Z>CL_TYPE_TEXT_ASCII,Target:0;0;0:7631727573\n" ) testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'v1rusv1rus.7z.zip' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / '7z_zip_intermediates.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 2\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 1.233 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:37\nEnd Date: 2024:04:29 21:23:38\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linu...E_ZIP",\n "FileSize":295,\n "FileMD5":"318224dc81ba90f27788e6053ce49c56",\n "ContainedObjects":[\n {\n "FileName":"v1rusv1rus.7z",\n "FilePath":"/tmp/20240429_212337-scantemp.54c1937f4f/clamav-143f61817bbc50846ae29fe6e9c059f5.tmp",\n "FileType":"CL_TYPE_7Z",\n "FileSize":152,\n "FileMD5":"d736ca78f6b897fddc2c0328b248971b",\n "ContainedObjects":[\n {\n "FileName":"virusvirus.txt",\n "FilePath":"/tmp/20240429_212337-scantemp.54c1937f4f/clamav-878e43d6fa92213b1fcf27252bb49aa7.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":10,\n "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00",\n "Viruses":[\n "7z_zip_intermediates_good.UNOFFICIAL",\n "7z_zip_intermediates_good.UNOFFICIAL"\n ]\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:74: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on jpeg image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip: 7z_zip_intermediates_good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.233 sec (0 m 1 s) Start Date: 2024:04:29 21:23:37 End Date: 2024:04:29 21:23:38 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_intermediates.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 86 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.945 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip LibClamAV debug: Recognized ZIP file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_unzip LibClamAV debug: cli_unzip: central directory header offset: @be LibClamAV debug: cli_unzip: checking for non-recursive zip bombs... LibClamAV debug: cli_unzip: central header - flags 0 - method 8 - csize 77 - usize 98 - flen d - elen 18 - clen 0 - disk 0 - off 0 LibClamAV debug: cli_unzip: central header - fname: v1rusv1rus.7z LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: local header - ZMDNAME:0:v1rusv1rus.7z:152:119:311bbb78:8:1:0 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:119:v1rusv1rus.7z:119:152:0:1:823901048:(nil) LibClamAV debug: cli_unzip: central header - wrkcomplete LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212337-scantemp.54c1937f4f/clamav-143f61817bbc50846ae29fe6e9c059f5.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 0/17) LibClamAV debug: Recognized 7zip file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: cli_7unz: extracting virusvirus.txt LibClamAV debug: CDBNAME:CL_TYPE_7Z:0:virusvirus.txt:0:10:0:0:238077078:(nil) LibClamAV debug: cli_7unz: Saving to /tmp/20240429_212337-scantemp.54c1937f4f/clamav-878e43d6fa92213b1fcf27252bb49aa7.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: FP SIGNATURE: 5a8e8c78d8e42420120ea7f44cb41d00:10:7z_zip_intermediates_good.UNOFFICIAL # Name: virusvirus.txt, Type: CL_TYPE_TEXT_ASCII LibClamAV debug: FP SIGNATURE: d736ca78f6b897fddc2c0328b248971b:152:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z, Type: CL_TYPE_7Z LibClamAV debug: FP SIGNATURE: 318224dc81ba90f27788e6053ce49c56:295:7z_zip_intermediates_good.UNOFFICIAL # Name: v1rusv1rus.7z.zip, Type: CL_TYPE_ZIP LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[6]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: cli_7unz: completed successfully LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type 7zip-SFX at 0 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_ZIP", "FileName":"v1rusv1rus.7z.zip", "FileType":"CL_TYPE_ZIP", "FileSize":295, "FileMD5":"318224dc81ba90f27788e6053ce49c56", "ContainedObjects":[ { "FileName":"v1rusv1rus.7z", "FilePath":"/tmp/20240429_212337-scantemp.54c1937f4f/clamav-143f61817bbc50846ae29fe6e9c059f5.tmp", "FileType":"CL_TYPE_7Z", "FileSize":152, "FileMD5":"d736ca78f6b897fddc2c0328b248971b", "ContainedObjects":[ { "FileName":"virusvirus.txt", "FilePath":"/tmp/20240429_212337-scantemp.54c1937f4f/clamav-878e43d6fa92213b1fcf27252bb49aa7.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":10, "FileMD5":"5a8e8c78d8e42420120ea7f44cb41d00", "Viruses":[ "7z_zip_intermediates_good.UNOFFICIAL", "7z_zip_intermediates_good.UNOFFICIAL" ] } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10001== Memcheck, a memory error detector [INFO]: ==10001== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10001== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10001== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/7z_zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/v1rusv1rus.7z.zip --gen-json --debug --allmatch [INFO]: ==10001== Parent PID: 9753 [INFO]: ==10001== [INFO]: --10001-- [INFO]: --10001-- Valgrind options: [INFO]: --10001-- -v [INFO]: --10001-- --trace-children=yes [INFO]: --10001-- --track-fds=yes [INFO]: --10001-- --leak-check=full [INFO]: --10001-- --show-possibly-lost=no [INFO]: --10001-- --show-leak-kinds=definite [INFO]: --10001-- --errors-for-leak-kinds=definite [INFO]: --10001-- --main-stacksize=16777216 [INFO]: --10001-- --gen-suppressions=all [INFO]: --10001-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10001-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --10001-- --error-exitcode=123 [INFO]: --10001-- Contents of /proc/version: [INFO]: --10001-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10001-- [INFO]: --10001-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10001-- Page sizes: currently 4096, max supported 4096 [INFO]: --10001-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10001-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10001-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10001-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10001-- might be shown as UnknownInlinedFun [INFO]: --10001-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10001-- object doesn't have a dynamic symbol table [INFO]: --10001-- Scheduler: using generic scheduler lock implementation. [INFO]: --10001-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10001-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10001== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10001-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10001== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10001-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10001== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10001-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10001== [INFO]: ==10001== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10001== don't want to do, unless you know exactly what you're doing, [INFO]: ==10001== or are doing some strange experiment): [INFO]: ==10001== /usr/libexec/valgrind/../../bin/vgdb --pid=10001 ...command... [INFO]: ==10001== [INFO]: ==10001== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10001== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10001== and then give GDB the following command [INFO]: ==10001== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10001 [INFO]: ==10001== --pid is optional if only one valgrind process is running [INFO]: ==10001== [INFO]: --10001-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10001-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10001-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10001-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10001-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10001-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10001-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10001-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10001-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10001-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10001-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10001-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10001-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10001-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10001-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10001-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10001-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10001-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10001-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10001-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10001-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10001-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10001-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10001== Preferring higher priority redirection: [INFO]: --10001-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10001-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10001-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10001-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10001== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10001-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10001-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10001-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10001-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10001-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10001-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10001-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10001-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10001-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10001-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10001-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10001-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10001-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10001-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10001-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10001-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10001-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10001-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10001-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10001-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10001-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10001-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10001-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10001-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10001-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10001-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10001-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10001-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10001== [INFO]: ==10001== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10001== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==10001== [INFO]: ==10001== [INFO]: ==10001== (No origin, error cannot be suppressed) [INFO]: ==10001== [INFO]: ==10001== HEAP SUMMARY: [INFO]: ==10001== in use at exit: 0 bytes in 0 blocks [INFO]: ==10001== total heap usage: 5,549 allocs, 5,549 frees, 781,823 bytes allocated [INFO]: ==10001== [INFO]: ==10001== All heap blocks were freed -- no leaks are possible [INFO]: ==10001== [INFO]: ==10001== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_intermediates_cache __________________________ self = def test_intermediates_cache(self): self.step_name('Test that near-matches for intermediates sigs are not cached') # Files should not be cached as "clean" if the intermediates sig is a near-match # and only fails because the intermediates requirement is not met. # This is a regression test for a bug where a file was cached as "clean" and # then later when scanned within a container it was not detected. not_eicar_file = TC.path_tmp / 'not_eicar' if not not_eicar_file.exists(): with not_eicar_file.open('wb') as f: f.write(b"CLAMAV-TEST-STRING-NOT-EICAR") not_eicar_zip = TC.path_tmp / 'not_eicar.zip' if not not_eicar_zip.exists(): with ZipFile(str(not_eicar_zip), 'w', ZIP_DEFLATED) as zf: zf.writestr('not-eicar.txt', b"CLAMAV-TEST-STRING-NOT-EICAR") (TC.path_tmp / 'zip_intermediates.ldb').write_text( "LDB.Clamav-Unit-Test-Signature-Intermediates;Engine:81-255,Intermediates:CL_TYPE_ZIP,Target:0;0;0:434c414d41562d544553542d535452494e472d4e4f542d4549434152\n" ) testfiles = '{} {}'.format(not_eicar_file, not_eicar_zip) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'zip_intermediates.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Intermediates.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 2\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.922 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:39\nEnd Date: 2024:04:29 21:23:40\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/container_sigs_test.py:154: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that near-matches for intermediates sigs are not cached [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip: LDB.Clamav-Unit-Test-Signature-Intermediates.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 2 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.922 sec (0 m 0 s) Start Date: 2024:04:29 21:23:39 End Date: 2024:04:29 21:23:40 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10005== Memcheck, a memory error detector [INFO]: ==10005== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10005== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10005== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/zip_intermediates.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/not_eicar.zip --allmatch [INFO]: ==10005== Parent PID: 9753 [INFO]: ==10005== [INFO]: --10005-- [INFO]: --10005-- Valgrind options: [INFO]: --10005-- -v [INFO]: --10005-- --trace-children=yes [INFO]: --10005-- --track-fds=yes [INFO]: --10005-- --leak-check=full [INFO]: --10005-- --show-possibly-lost=no [INFO]: --10005-- --show-leak-kinds=definite [INFO]: --10005-- --errors-for-leak-kinds=definite [INFO]: --10005-- --main-stacksize=16777216 [INFO]: --10005-- --gen-suppressions=all [INFO]: --10005-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10005-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: --10005-- --error-exitcode=123 [INFO]: --10005-- Contents of /proc/version: [INFO]: --10005-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10005-- [INFO]: --10005-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10005-- Page sizes: currently 4096, max supported 4096 [INFO]: --10005-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10005-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10005-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10005-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10005-- might be shown as UnknownInlinedFun [INFO]: --10005-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10005-- object doesn't have a dynamic symbol table [INFO]: --10005-- Scheduler: using generic scheduler lock implementation. [INFO]: --10005-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10005-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10005== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10005-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10005== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10005-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10005== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10005-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10005== [INFO]: ==10005== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10005== don't want to do, unless you know exactly what you're doing, [INFO]: ==10005== or are doing some strange experiment): [INFO]: ==10005== /usr/libexec/valgrind/../../bin/vgdb --pid=10005 ...command... [INFO]: ==10005== [INFO]: ==10005== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10005== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10005== and then give GDB the following command [INFO]: ==10005== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10005 [INFO]: ==10005== --pid is optional if only one valgrind process is running [INFO]: ==10005== [INFO]: --10005-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10005-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10005-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10005-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10005-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10005-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10005-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10005-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10005-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10005-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10005-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10005-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10005-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10005-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10005-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10005-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10005-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10005-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10005-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10005-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10005-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10005-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10005-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10005== Preferring higher priority redirection: [INFO]: --10005-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10005-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10005-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10005-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10005== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10005-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10005-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10005-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10005-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10005-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10005-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10005-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10005-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10005-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10005-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10005-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10005-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10005-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10005-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10005-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10005-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10005-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10005-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10005-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10005-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10005-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10005-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10005-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10005-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10005-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10005-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10005-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10005-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10005== [INFO]: ==10005== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10005== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-a_x6hzrs/valgrind.log [INFO]: ==10005== [INFO]: ==10005== [INFO]: ==10005== (No origin, error cannot be suppressed) [INFO]: ==10005== [INFO]: ==10005== HEAP SUMMARY: [INFO]: ==10005== in use at exit: 0 bytes in 0 blocks [INFO]: ==10005== total heap usage: 5,498 allocs, 5,498 frees, 909,261 bytes allocated [INFO]: ==10005== [INFO]: ==10005== All heap blocks were freed -- no leaks are possible [INFO]: ==10005== [INFO]: ==10005== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_alerts_on_normalized _________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file detection with pattern from normalized HTML [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file: Malicious.PHP.normalized.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.824 sec (0 m 0 s) Start Date: 2024:04:29 21:23:40 End Date: 2024:04:29 21:23:41 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10010== Memcheck, a memory error detector [INFO]: ==10010== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10010== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10010== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb [INFO]: ==10010== Parent PID: 9753 [INFO]: ==10010== [INFO]: --10010-- [INFO]: --10010-- Valgrind options: [INFO]: --10010-- -v [INFO]: --10010-- --trace-children=yes [INFO]: --10010-- --track-fds=yes [INFO]: --10010-- --leak-check=full [INFO]: --10010-- --show-possibly-lost=no [INFO]: --10010-- --show-leak-kinds=definite [INFO]: --10010-- --errors-for-leak-kinds=definite [INFO]: --10010-- --main-stacksize=16777216 [INFO]: --10010-- --gen-suppressions=all [INFO]: --10010-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10010-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10010-- --error-exitcode=123 [INFO]: --10010-- Contents of /proc/version: [INFO]: --10010-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10010-- [INFO]: --10010-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10010-- Page sizes: currently 4096, max supported 4096 [INFO]: --10010-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10010-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10010-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10010-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10010-- might be shown as UnknownInlinedFun [INFO]: --10010-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10010-- object doesn't have a dynamic symbol table [INFO]: --10010-- Scheduler: using generic scheduler lock implementation. [INFO]: --10010-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10010-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10010== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10010-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10010== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10010-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10010== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10010-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10010== [INFO]: ==10010== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10010== don't want to do, unless you know exactly what you're doing, [INFO]: ==10010== or are doing some strange experiment): [INFO]: ==10010== /usr/libexec/valgrind/../../bin/vgdb --pid=10010 ...command... [INFO]: ==10010== [INFO]: ==10010== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10010== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10010== and then give GDB the following command [INFO]: ==10010== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10010 [INFO]: ==10010== --pid is optional if only one valgrind process is running [INFO]: ==10010== [INFO]: --10010-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10010-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10010-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10010-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10010-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10010-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10010-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10010-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10010-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10010-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10010-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10010-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10010-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10010-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10010-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10010-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10010-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10010-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10010-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10010-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10010-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10010-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10010-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10010-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10010== Preferring higher priority redirection: [INFO]: --10010-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10010-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10010-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10010-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10010-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10010-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10010-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10010== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10010-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10010-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10010-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10010-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10010-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10010-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10010-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10010-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10010-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10010-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10010-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10010-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10010-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10010-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10010-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10010-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10010-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10010-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10010-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10010-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10010-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10010-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10010-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10010-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10010-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10010-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10010-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10010-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10010== [INFO]: ==10010== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10010== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10010== [INFO]: ==10010== [INFO]: ==10010== (No origin, error cannot be suppressed) [INFO]: ==10010== [INFO]: ==10010== HEAP SUMMARY: [INFO]: ==10010== in use at exit: 0 bytes in 0 blocks [INFO]: ==10010== total heap usage: 5,404 allocs, 5,404 frees, 621,272 bytes allocated [INFO]: ==10010== [INFO]: ==10010== All heap blocks were freed -- no leaks are possible [INFO]: ==10010== [INFO]: ==10010== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_alerts_on_zip _____________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file detection with pattern from normalized HTML inside a ZIP file [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip: Malicious.PHP.normalized.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.282 sec (0 m 1 s) Start Date: 2024:04:29 21:23:42 End Date: 2024:04:29 21:23:43 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10012== Memcheck, a memory error detector [INFO]: ==10012== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10012== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10012== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb [INFO]: ==10012== Parent PID: 9753 [INFO]: ==10012== [INFO]: --10012-- [INFO]: --10012-- Valgrind options: [INFO]: --10012-- -v [INFO]: --10012-- --trace-children=yes [INFO]: --10012-- --track-fds=yes [INFO]: --10012-- --leak-check=full [INFO]: --10012-- --show-possibly-lost=no [INFO]: --10012-- --show-leak-kinds=definite [INFO]: --10012-- --errors-for-leak-kinds=definite [INFO]: --10012-- --main-stacksize=16777216 [INFO]: --10012-- --gen-suppressions=all [INFO]: --10012-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10012-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10012-- --error-exitcode=123 [INFO]: --10012-- Contents of /proc/version: [INFO]: --10012-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10012-- [INFO]: --10012-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10012-- Page sizes: currently 4096, max supported 4096 [INFO]: --10012-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10012-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10012-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10012-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10012-- might be shown as UnknownInlinedFun [INFO]: --10012-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10012-- object doesn't have a dynamic symbol table [INFO]: --10012-- Scheduler: using generic scheduler lock implementation. [INFO]: --10012-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10012-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10012== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10012-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10012== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10012-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10012== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10012-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10012== [INFO]: ==10012== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10012== don't want to do, unless you know exactly what you're doing, [INFO]: ==10012== or are doing some strange experiment): [INFO]: ==10012== /usr/libexec/valgrind/../../bin/vgdb --pid=10012 ...command... [INFO]: ==10012== [INFO]: ==10012== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10012== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10012== and then give GDB the following command [INFO]: ==10012== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10012 [INFO]: ==10012== --pid is optional if only one valgrind process is running [INFO]: ==10012== [INFO]: --10012-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10012-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10012-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10012-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10012-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10012-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10012-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10012-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10012-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10012-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10012-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10012-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10012-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10012-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10012-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10012-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10012-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10012-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10012-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10012-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10012-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10012-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10012-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10012-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10012== Preferring higher priority redirection: [INFO]: --10012-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10012-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10012-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10012-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10012-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10012-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10012-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10012== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10012-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10012-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10012-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10012-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10012-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10012-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10012-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10012-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10012-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10012-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10012-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10012-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10012-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10012-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10012-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10012-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10012-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10012-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10012-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10012-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10012-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10012-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10012-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10012-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10012-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10012-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10012-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10012-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10012-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10012== [INFO]: ==10012== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10012== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10012== [INFO]: ==10012== [INFO]: ==10012== (No origin, error cannot be suppressed) [INFO]: ==10012== [INFO]: ==10012== HEAP SUMMARY: [INFO]: ==10012== in use at exit: 0 bytes in 0 blocks [INFO]: ==10012== total heap usage: 5,418 allocs, 5,418 frees, 668,226 bytes allocated [INFO]: ==10012== [INFO]: ==10012== All heap blocks were freed -- no leaks are possible [INFO]: ==10012== [INFO]: ==10012== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_fp_for_nonnormalized _________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with the original non-normalized fixed-size hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/original_hash.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.260 sec (0 m 1 s) Start Date: 2024:04:29 21:23:44 End Date: 2024:04:29 21:23:45 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10015== Memcheck, a memory error detector [INFO]: ==10015== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10015== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10015== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/original_hash.fp [INFO]: ==10015== Parent PID: 9753 [INFO]: ==10015== [INFO]: --10015-- [INFO]: --10015-- Valgrind options: [INFO]: --10015-- -v [INFO]: --10015-- --trace-children=yes [INFO]: --10015-- --track-fds=yes [INFO]: --10015-- --leak-check=full [INFO]: --10015-- --show-possibly-lost=no [INFO]: --10015-- --show-leak-kinds=definite [INFO]: --10015-- --errors-for-leak-kinds=definite [INFO]: --10015-- --main-stacksize=16777216 [INFO]: --10015-- --gen-suppressions=all [INFO]: --10015-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10015-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10015-- --error-exitcode=123 [INFO]: --10015-- Contents of /proc/version: [INFO]: --10015-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10015-- [INFO]: --10015-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10015-- Page sizes: currently 4096, max supported 4096 [INFO]: --10015-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10015-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10015-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10015-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10015-- might be shown as UnknownInlinedFun [INFO]: --10015-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10015-- object doesn't have a dynamic symbol table [INFO]: --10015-- Scheduler: using generic scheduler lock implementation. [INFO]: --10015-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10015-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10015== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10015-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10015== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10015-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10015== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10015-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10015== [INFO]: ==10015== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10015== don't want to do, unless you know exactly what you're doing, [INFO]: ==10015== or are doing some strange experiment): [INFO]: ==10015== /usr/libexec/valgrind/../../bin/vgdb --pid=10015 ...command... [INFO]: ==10015== [INFO]: ==10015== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10015== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10015== and then give GDB the following command [INFO]: ==10015== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10015 [INFO]: ==10015== --pid is optional if only one valgrind process is running [INFO]: ==10015== [INFO]: --10015-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10015-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10015-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10015-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10015-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10015-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10015-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10015-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10015-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10015-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10015-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10015-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10015-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10015-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10015-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10015-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10015-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10015-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10015-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10015-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10015-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10015-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10015-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10015-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10015== Preferring higher priority redirection: [INFO]: --10015-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10015-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10015-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10015-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10015-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10015-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10015-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10015== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10015-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10015-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10015-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10015-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10015-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10015-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10015-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10015-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10015-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10015-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10015-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10015-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10015-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10015-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10015-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10015-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10015-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10015-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10015-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10015-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10015-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10015-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10015-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10015-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10015-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10015-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10015-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10015-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10015== [INFO]: ==10015== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10015== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10015== [INFO]: ==10015== [INFO]: ==10015== (No origin, error cannot be suppressed) [INFO]: ==10015== [INFO]: ==10015== HEAP SUMMARY: [INFO]: ==10015== in use at exit: 0 bytes in 0 blocks [INFO]: ==10015== total heap usage: 5,417 allocs, 5,417 frees, 631,227 bytes allocated [INFO]: ==10015== [INFO]: ==10015== All heap blocks were freed -- no leaks are possible [INFO]: ==10015== [INFO]: ==10015== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_fp_for_nonnormalized_wild _______________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with the original non-normalized wild-card hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/original_hash.wild.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 1.028 sec (0 m 1 s) Start Date: 2024:04:29 21:23:46 End Date: 2024:04:29 21:23:47 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10022== Memcheck, a memory error detector [INFO]: ==10022== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10022== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10022== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/original_hash.wild.fp [INFO]: ==10022== Parent PID: 9753 [INFO]: ==10022== [INFO]: --10022-- [INFO]: --10022-- Valgrind options: [INFO]: --10022-- -v [INFO]: --10022-- --trace-children=yes [INFO]: --10022-- --track-fds=yes [INFO]: --10022-- --leak-check=full [INFO]: --10022-- --show-possibly-lost=no [INFO]: --10022-- --show-leak-kinds=definite [INFO]: --10022-- --errors-for-leak-kinds=definite [INFO]: --10022-- --main-stacksize=16777216 [INFO]: --10022-- --gen-suppressions=all [INFO]: --10022-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10022-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10022-- --error-exitcode=123 [INFO]: --10022-- Contents of /proc/version: [INFO]: --10022-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10022-- [INFO]: --10022-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10022-- Page sizes: currently 4096, max supported 4096 [INFO]: --10022-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10022-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10022-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10022-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10022-- might be shown as UnknownInlinedFun [INFO]: --10022-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10022-- object doesn't have a dynamic symbol table [INFO]: --10022-- Scheduler: using generic scheduler lock implementation. [INFO]: --10022-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10022-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10022== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10022-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10022== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10022-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10022== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10022-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10022== [INFO]: ==10022== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10022== don't want to do, unless you know exactly what you're doing, [INFO]: ==10022== or are doing some strange experiment): [INFO]: ==10022== /usr/libexec/valgrind/../../bin/vgdb --pid=10022 ...command... [INFO]: ==10022== [INFO]: ==10022== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10022== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10022== and then give GDB the following command [INFO]: ==10022== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10022 [INFO]: ==10022== --pid is optional if only one valgrind process is running [INFO]: ==10022== [INFO]: --10022-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10022-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10022-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10022-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10022-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10022-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10022-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10022-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10022-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10022-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10022-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10022-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10022-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10022-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10022-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10022-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10022-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10022-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10022-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10022-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10022-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10022-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10022-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10022-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10022== Preferring higher priority redirection: [INFO]: --10022-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10022-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10022-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10022-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10022-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10022-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10022-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10022== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10022-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10022-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10022-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10022-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10022-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10022-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10022-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10022-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10022-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10022-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10022-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10022-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10022-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10022-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10022-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10022-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10022-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10022-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10022-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10022-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10022-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10022-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10022-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10022-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10022-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10022-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10022-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10022-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10022== [INFO]: ==10022== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10022== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10022== [INFO]: ==10022== [INFO]: ==10022== (No origin, error cannot be suppressed) [INFO]: ==10022== [INFO]: ==10022== HEAP SUMMARY: [INFO]: ==10022== in use at exit: 0 bytes in 0 blocks [INFO]: ==10022== total heap usage: 5,417 allocs, 5,417 frees, 631,232 bytes allocated [INFO]: ==10022== [INFO]: ==10022== All heap blocks were freed -- no leaks are possible [INFO]: ==10022== [INFO]: ==10022== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_fp_for_normalized ___________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with fixed-size hash of the normalized HTML [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized_hash.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.827 sec (0 m 0 s) Start Date: 2024:04:29 21:23:47 End Date: 2024:04:29 21:23:48 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10024== Memcheck, a memory error detector [INFO]: ==10024== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10024== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10024== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized_hash.fp [INFO]: ==10024== Parent PID: 9753 [INFO]: ==10024== [INFO]: --10024-- [INFO]: --10024-- Valgrind options: [INFO]: --10024-- -v [INFO]: --10024-- --trace-children=yes [INFO]: --10024-- --track-fds=yes [INFO]: --10024-- --leak-check=full [INFO]: --10024-- --show-possibly-lost=no [INFO]: --10024-- --show-leak-kinds=definite [INFO]: --10024-- --errors-for-leak-kinds=definite [INFO]: --10024-- --main-stacksize=16777216 [INFO]: --10024-- --gen-suppressions=all [INFO]: --10024-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10024-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10024-- --error-exitcode=123 [INFO]: --10024-- Contents of /proc/version: [INFO]: --10024-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10024-- [INFO]: --10024-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10024-- Page sizes: currently 4096, max supported 4096 [INFO]: --10024-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10024-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10024-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10024-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10024-- might be shown as UnknownInlinedFun [INFO]: --10024-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10024-- object doesn't have a dynamic symbol table [INFO]: --10024-- Scheduler: using generic scheduler lock implementation. [INFO]: --10024-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10024-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10024== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10024-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10024== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10024-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10024== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10024-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10024== [INFO]: ==10024== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10024== don't want to do, unless you know exactly what you're doing, [INFO]: ==10024== or are doing some strange experiment): [INFO]: ==10024== /usr/libexec/valgrind/../../bin/vgdb --pid=10024 ...command... [INFO]: ==10024== [INFO]: ==10024== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10024== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10024== and then give GDB the following command [INFO]: ==10024== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10024 [INFO]: ==10024== --pid is optional if only one valgrind process is running [INFO]: ==10024== [INFO]: --10024-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10024-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10024-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10024-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10024-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10024-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10024-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10024-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10024-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10024-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10024-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10024-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10024-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10024-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10024-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10024-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10024-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10024-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10024-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10024-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10024-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10024-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10024-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10024-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10024== Preferring higher priority redirection: [INFO]: --10024-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10024-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10024-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10024-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10024-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10024-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10024-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10024== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10024-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10024-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10024-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10024-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10024-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10024-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10024-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10024-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10024-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10024-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10024-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10024-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10024-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10024-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10024-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10024-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10024-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10024-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10024-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10024-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10024-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10024-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10024-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10024-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10024-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10024-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10024-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10024-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10024== [INFO]: ==10024== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10024== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10024== [INFO]: ==10024== [INFO]: ==10024== (No origin, error cannot be suppressed) [INFO]: ==10024== [INFO]: ==10024== HEAP SUMMARY: [INFO]: ==10024== in use at exit: 0 bytes in 0 blocks [INFO]: ==10024== total heap usage: 5,417 allocs, 5,417 frees, 631,229 bytes allocated [INFO]: ==10024== [INFO]: ==10024== All heap blocks were freed -- no leaks are possible [INFO]: ==10024== [INFO]: ==10024== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_fp_for_normalized_wild ________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with wild-card hash of the normalized HTML [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized_hash.wild.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.825 sec (0 m 0 s) Start Date: 2024:04:29 21:23:49 End Date: 2024:04:29 21:23:50 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10026== Memcheck, a memory error detector [INFO]: ==10026== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10026== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10026== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized_hash.wild.fp [INFO]: ==10026== Parent PID: 9753 [INFO]: ==10026== [INFO]: --10026-- [INFO]: --10026-- Valgrind options: [INFO]: --10026-- -v [INFO]: --10026-- --trace-children=yes [INFO]: --10026-- --track-fds=yes [INFO]: --10026-- --leak-check=full [INFO]: --10026-- --show-possibly-lost=no [INFO]: --10026-- --show-leak-kinds=definite [INFO]: --10026-- --errors-for-leak-kinds=definite [INFO]: --10026-- --main-stacksize=16777216 [INFO]: --10026-- --gen-suppressions=all [INFO]: --10026-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10026-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10026-- --error-exitcode=123 [INFO]: --10026-- Contents of /proc/version: [INFO]: --10026-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10026-- [INFO]: --10026-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10026-- Page sizes: currently 4096, max supported 4096 [INFO]: --10026-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10026-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10026-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10026-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10026-- might be shown as UnknownInlinedFun [INFO]: --10026-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10026-- object doesn't have a dynamic symbol table [INFO]: --10026-- Scheduler: using generic scheduler lock implementation. [INFO]: --10026-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10026-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10026== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10026-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10026== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10026-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10026== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10026-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10026== [INFO]: ==10026== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10026== don't want to do, unless you know exactly what you're doing, [INFO]: ==10026== or are doing some strange experiment): [INFO]: ==10026== /usr/libexec/valgrind/../../bin/vgdb --pid=10026 ...command... [INFO]: ==10026== [INFO]: ==10026== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10026== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10026== and then give GDB the following command [INFO]: ==10026== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10026 [INFO]: ==10026== --pid is optional if only one valgrind process is running [INFO]: ==10026== [INFO]: --10026-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10026-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10026-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10026-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10026-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10026-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10026-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10026-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10026-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10026-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10026-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10026-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10026-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10026-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10026-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10026-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10026-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10026-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10026-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10026-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10026-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10026-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10026-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10026-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10026== Preferring higher priority redirection: [INFO]: --10026-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10026-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10026-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10026-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10026-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10026-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10026-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10026== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10026-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10026-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10026-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10026-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10026-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10026-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10026-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10026-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10026-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10026-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10026-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10026-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10026-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10026-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10026-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10026-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10026-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10026-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10026-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10026-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10026-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10026-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10026-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10026-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10026-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10026-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10026-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10026-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10026== [INFO]: ==10026== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10026== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10026== [INFO]: ==10026== [INFO]: ==10026== (No origin, error cannot be suppressed) [INFO]: ==10026== [INFO]: ==10026== HEAP SUMMARY: [INFO]: ==10026== in use at exit: 0 bytes in 0 blocks [INFO]: ==10026== total heap usage: 5,417 allocs, 5,417 frees, 631,234 bytes allocated [INFO]: ==10026== [INFO]: ==10026== All heap blocks were freed -- no leaks are possible [INFO]: ==10026== [INFO]: ==10026== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_fp_for_zipped_file __________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with fixed-size hash of zip containing test file [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip.hash.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.889 sec (0 m 0 s) Start Date: 2024:04:29 21:23:50 End Date: 2024:04:29 21:23:51 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10028== Memcheck, a memory error detector [INFO]: ==10028== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10028== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10028== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip.hash.fp [INFO]: ==10028== Parent PID: 9753 [INFO]: ==10028== [INFO]: --10028-- [INFO]: --10028-- Valgrind options: [INFO]: --10028-- -v [INFO]: --10028-- --trace-children=yes [INFO]: --10028-- --track-fds=yes [INFO]: --10028-- --leak-check=full [INFO]: --10028-- --show-possibly-lost=no [INFO]: --10028-- --show-leak-kinds=definite [INFO]: --10028-- --errors-for-leak-kinds=definite [INFO]: --10028-- --main-stacksize=16777216 [INFO]: --10028-- --gen-suppressions=all [INFO]: --10028-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10028-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10028-- --error-exitcode=123 [INFO]: --10028-- Contents of /proc/version: [INFO]: --10028-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10028-- [INFO]: --10028-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10028-- Page sizes: currently 4096, max supported 4096 [INFO]: --10028-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10028-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10028-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10028-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10028-- might be shown as UnknownInlinedFun [INFO]: --10028-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10028-- object doesn't have a dynamic symbol table [INFO]: --10028-- Scheduler: using generic scheduler lock implementation. [INFO]: --10028-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10028-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10028== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10028-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10028== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10028-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10028== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10028-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10028== [INFO]: ==10028== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10028== don't want to do, unless you know exactly what you're doing, [INFO]: ==10028== or are doing some strange experiment): [INFO]: ==10028== /usr/libexec/valgrind/../../bin/vgdb --pid=10028 ...command... [INFO]: ==10028== [INFO]: ==10028== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10028== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10028== and then give GDB the following command [INFO]: ==10028== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10028 [INFO]: ==10028== --pid is optional if only one valgrind process is running [INFO]: ==10028== [INFO]: --10028-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10028-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10028-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10028-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10028-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10028-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10028-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10028-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10028-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10028-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10028-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10028-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10028-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10028-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10028-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10028-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10028-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10028-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10028-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10028-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10028-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10028-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10028-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10028-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10028== Preferring higher priority redirection: [INFO]: --10028-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10028-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10028-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10028-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10028-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10028-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10028-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10028== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10028-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10028-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10028-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10028-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10028-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10028-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10028-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10028-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10028-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10028-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10028-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10028-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10028-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10028-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10028-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10028-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10028-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10028-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10028-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10028-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10028-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10028-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10028-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10028-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10028-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10028-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10028-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10028-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10028-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10028== [INFO]: ==10028== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10028== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10028== [INFO]: ==10028== [INFO]: ==10028== (No origin, error cannot be suppressed) [INFO]: ==10028== [INFO]: ==10028== HEAP SUMMARY: [INFO]: ==10028== in use at exit: 0 bytes in 0 blocks [INFO]: ==10028== total heap usage: 5,439 allocs, 5,439 frees, 678,886 bytes allocated [INFO]: ==10028== [INFO]: ==10028== All heap blocks were freed -- no leaks are possible [INFO]: ==10028== [INFO]: ==10028== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________ TC.test_fp_for_zipped_file_wild ________________________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fp_check_test.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.0.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test file trusted with wildcard hash of zip containing test file [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip.hash.wild.fp [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip: OK ----------- SCAN SUMMARY ----------- Known viruses: 2 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.866 sec (0 m 0 s) Start Date: 2024:04:29 21:23:52 End Date: 2024:04:29 21:23:53 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10030== Memcheck, a memory error detector [INFO]: ==10030== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10030== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10030== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/normalized.ndb -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/test_file.zip.hash.wild.fp [INFO]: ==10030== Parent PID: 9753 [INFO]: ==10030== [INFO]: --10030-- [INFO]: --10030-- Valgrind options: [INFO]: --10030-- -v [INFO]: --10030-- --trace-children=yes [INFO]: --10030-- --track-fds=yes [INFO]: --10030-- --leak-check=full [INFO]: --10030-- --show-possibly-lost=no [INFO]: --10030-- --show-leak-kinds=definite [INFO]: --10030-- --errors-for-leak-kinds=definite [INFO]: --10030-- --main-stacksize=16777216 [INFO]: --10030-- --gen-suppressions=all [INFO]: --10030-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10030-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: --10030-- --error-exitcode=123 [INFO]: --10030-- Contents of /proc/version: [INFO]: --10030-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10030-- [INFO]: --10030-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10030-- Page sizes: currently 4096, max supported 4096 [INFO]: --10030-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10030-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10030-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10030-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10030-- might be shown as UnknownInlinedFun [INFO]: --10030-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10030-- object doesn't have a dynamic symbol table [INFO]: --10030-- Scheduler: using generic scheduler lock implementation. [INFO]: --10030-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10030-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10030== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10030-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10030== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10030-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10030== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10030-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10030== [INFO]: ==10030== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10030== don't want to do, unless you know exactly what you're doing, [INFO]: ==10030== or are doing some strange experiment): [INFO]: ==10030== /usr/libexec/valgrind/../../bin/vgdb --pid=10030 ...command... [INFO]: ==10030== [INFO]: ==10030== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10030== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10030== and then give GDB the following command [INFO]: ==10030== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10030 [INFO]: ==10030== --pid is optional if only one valgrind process is running [INFO]: ==10030== [INFO]: --10030-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10030-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10030-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10030-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10030-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10030-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10030-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10030-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10030-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10030-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10030-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10030-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10030-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10030-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10030-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10030-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10030-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10030-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10030-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10030-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10030-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10030-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10030-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10030-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10030== Preferring higher priority redirection: [INFO]: --10030-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10030-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10030-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10030-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10030-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10030-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10030-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10030== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10030-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10030-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10030-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10030-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10030-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10030-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10030-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10030-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10030-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10030-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10030-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10030-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10030-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10030-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10030-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10030-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10030-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10030-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10030-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10030-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10030-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10030-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10030-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10030-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10030-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10030-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10030-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10030-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10030-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10030== [INFO]: ==10030== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10030== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o/valgrind.log [INFO]: ==10030== [INFO]: ==10030== [INFO]: ==10030== (No origin, error cannot be suppressed) [INFO]: ==10030== [INFO]: ==10030== HEAP SUMMARY: [INFO]: ==10030== in use at exit: 0 bytes in 0 blocks [INFO]: ==10030== total heap usage: 5,439 allocs, 5,439 frees, 678,891 bytes allocated [INFO]: ==10030== [INFO]: ==10030== All heap blocks were freed -- no leaks are possible [INFO]: ==10030== [INFO]: ==10030== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lg7pe28o __________________________ TC.test_sigs_bad_algorithm __________________________ self = def test_sigs_bad_algorithm(self): self.step_name('Test invalid fuzzy image hash algorithm') # invalid algorithm (TC.path_tmp / 'invalid-alg.ldb').write_text( "logo.png.bad;Engine:150-255,Target:0;0;fuzzy_imgy#af2ad01ed42993c7#0\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'invalid-alg.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 2 # error E assert 123 == 2 E + where 123 = CmdResult(ec=123, out='\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 0\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.459 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:53\nEnd Date: 2024:04:29 21:23:54\n', err="LibClamAV Error: cli_mpool_hex2ui(): Malformed hexstring: fuzzy_imgy#af2ad01ed42993c7#0 (length: 29)\nLibClamAV Error: cli_add_content_match_pattern: Problem adding signature (3).\nLibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad\nLibClamAV Error: Problem parsing database at line 1\nLibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb: Malformed database\nERROR: Malformed database\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:133: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test invalid fuzzy image hash algorithm [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.459 sec (0 m 0 s) Start Date: 2024:04:29 21:23:53 End Date: 2024:04:29 21:23:54 [DEBUG]: stderr: LibClamAV Error: cli_mpool_hex2ui(): Malformed hexstring: fuzzy_imgy#af2ad01ed42993c7#0 (length: 29) LibClamAV Error: cli_add_content_match_pattern: Problem adding signature (3). LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb: Malformed database ERROR: Malformed database [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10032== Memcheck, a memory error detector [INFO]: ==10032== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10032== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10032== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-alg.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10032== Parent PID: 9753 [INFO]: ==10032== [INFO]: --10032-- [INFO]: --10032-- Valgrind options: [INFO]: --10032-- -v [INFO]: --10032-- --trace-children=yes [INFO]: --10032-- --track-fds=yes [INFO]: --10032-- --leak-check=full [INFO]: --10032-- --show-possibly-lost=no [INFO]: --10032-- --show-leak-kinds=definite [INFO]: --10032-- --errors-for-leak-kinds=definite [INFO]: --10032-- --main-stacksize=16777216 [INFO]: --10032-- --gen-suppressions=all [INFO]: --10032-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10032-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10032-- --error-exitcode=123 [INFO]: --10032-- Contents of /proc/version: [INFO]: --10032-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10032-- [INFO]: --10032-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10032-- Page sizes: currently 4096, max supported 4096 [INFO]: --10032-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10032-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10032-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10032-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10032-- might be shown as UnknownInlinedFun [INFO]: --10032-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10032-- object doesn't have a dynamic symbol table [INFO]: --10032-- Scheduler: using generic scheduler lock implementation. [INFO]: --10032-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10032-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10032== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10032-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10032== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10032-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10032== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10032-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10032== [INFO]: ==10032== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10032== don't want to do, unless you know exactly what you're doing, [INFO]: ==10032== or are doing some strange experiment): [INFO]: ==10032== /usr/libexec/valgrind/../../bin/vgdb --pid=10032 ...command... [INFO]: ==10032== [INFO]: ==10032== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10032== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10032== and then give GDB the following command [INFO]: ==10032== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10032 [INFO]: ==10032== --pid is optional if only one valgrind process is running [INFO]: ==10032== [INFO]: --10032-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10032-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10032-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10032-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10032-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10032-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10032-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10032-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10032-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10032-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10032-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10032-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10032-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10032-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10032-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10032-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10032-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10032-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10032-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10032-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10032-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10032-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10032-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10032== Preferring higher priority redirection: [INFO]: --10032-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10032-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10032-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10032-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10032== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10032-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10032-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10032-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10032-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10032-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10032-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10032-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10032-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10032-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10032-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10032-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10032-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10032-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10032-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10032-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10032-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10032-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10032-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10032-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10032-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10032-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10032-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: ==10032== [INFO]: ==10032== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10032== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10032== [INFO]: ==10032== [INFO]: ==10032== (No origin, error cannot be suppressed) [INFO]: ==10032== [INFO]: ==10032== HEAP SUMMARY: [INFO]: ==10032== in use at exit: 0 bytes in 0 blocks [INFO]: ==10032== total heap usage: 459 allocs, 459 frees, 295,172 bytes allocated [INFO]: ==10032== [INFO]: ==10032== All heap blocks were freed -- no leaks are possible [INFO]: ==10032== [INFO]: ==10032== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_sigs_bad_hamming ___________________________ self = def test_sigs_bad_hamming(self): self.step_name('Test Unsupported hamming distancee') # Unsupported hamming distance (TC.path_tmp / 'invalid-ham.ldb').write_text( "logo.png.bad;Engine:150-255,Target:0;0;fuzzy_img#af2ad01ed42993c7#1\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'invalid-ham.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 2 # error E assert 123 == 2 E + where 123 = CmdResult(ec=123, out='\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 0\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.468 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:54\nEnd Date: 2024:04:29 21:23:55\n', err="LibClamAV Error: Non-zero hamming distances for image fuzzy hashes are not supported in this version.\nLibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#af2ad01ed42993c7#1': Invalid hamming distance: 1\nExpected format: algorithm#hash[#hammingdistance]\n where\n - algorithm: Must be 'fuzzy_img'\n - hash: Must be an 8-byte hex string\n - hammingdistance: (optional) Must be an unsigned integer\nLibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad\nLibClamAV Error: Problem parsing database at line 1\nLibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb: Bad format or broken data\nERROR: Bad format or broken data\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:107: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Unsupported hamming distancee [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.468 sec (0 m 0 s) Start Date: 2024:04:29 21:23:54 End Date: 2024:04:29 21:23:55 [DEBUG]: stderr: LibClamAV Error: Non-zero hamming distances for image fuzzy hashes are not supported in this version. LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#af2ad01ed42993c7#1': Invalid hamming distance: 1 Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10034== Memcheck, a memory error detector [INFO]: ==10034== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10034== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10034== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-ham.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10034== Parent PID: 9753 [INFO]: ==10034== [INFO]: --10034-- [INFO]: --10034-- Valgrind options: [INFO]: --10034-- -v [INFO]: --10034-- --trace-children=yes [INFO]: --10034-- --track-fds=yes [INFO]: --10034-- --leak-check=full [INFO]: --10034-- --show-possibly-lost=no [INFO]: --10034-- --show-leak-kinds=definite [INFO]: --10034-- --errors-for-leak-kinds=definite [INFO]: --10034-- --main-stacksize=16777216 [INFO]: --10034-- --gen-suppressions=all [INFO]: --10034-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10034-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10034-- --error-exitcode=123 [INFO]: --10034-- Contents of /proc/version: [INFO]: --10034-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10034-- [INFO]: --10034-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10034-- Page sizes: currently 4096, max supported 4096 [INFO]: --10034-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10034-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10034-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10034-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10034-- might be shown as UnknownInlinedFun [INFO]: --10034-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10034-- object doesn't have a dynamic symbol table [INFO]: --10034-- Scheduler: using generic scheduler lock implementation. [INFO]: --10034-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10034-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10034== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10034-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10034== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10034-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10034== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10034-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10034== [INFO]: ==10034== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10034== don't want to do, unless you know exactly what you're doing, [INFO]: ==10034== or are doing some strange experiment): [INFO]: ==10034== /usr/libexec/valgrind/../../bin/vgdb --pid=10034 ...command... [INFO]: ==10034== [INFO]: ==10034== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10034== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10034== and then give GDB the following command [INFO]: ==10034== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10034 [INFO]: ==10034== --pid is optional if only one valgrind process is running [INFO]: ==10034== [INFO]: --10034-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10034-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10034-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10034-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10034-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10034-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10034-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10034-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10034-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10034-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10034-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10034-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10034-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10034-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10034-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10034-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10034-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10034-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10034-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10034-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10034-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10034-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10034-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10034== Preferring higher priority redirection: [INFO]: --10034-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10034-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10034-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10034-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10034== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10034-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10034-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10034-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10034-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10034-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10034-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10034-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10034-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10034-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10034-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10034-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10034-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10034-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10034-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10034-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10034-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10034-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10034-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10034-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10034-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10034-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10034-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: ==10034== [INFO]: ==10034== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10034== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10034== [INFO]: ==10034== [INFO]: ==10034== (No origin, error cannot be suppressed) [INFO]: ==10034== [INFO]: ==10034== HEAP SUMMARY: [INFO]: ==10034== in use at exit: 0 bytes in 0 blocks [INFO]: ==10034== total heap usage: 467 allocs, 467 frees, 295,712 bytes allocated [INFO]: ==10034== [INFO]: ==10034== All heap blocks were freed -- no leaks are possible [INFO]: ==10034== [INFO]: ==10034== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_sigs_bad_hash _____________________________ self = def test_sigs_bad_hash(self): self.step_name('Test Invalid hash') # Invalid hash (TC.path_tmp / 'invalid-hash.ldb').write_text( "logo.png.bad;Engine:150-255,Target:0;0;fuzzy_img#abcdef#0\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'invalid-hash.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 2 # error E assert 123 == 2 E + where 123 = CmdResult(ec=123, out='\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 0\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.466 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:55\nEnd Date: 2024:04:29 21:23:56\n', err="LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#abcdef#0': Invalid hash: Image fuzzy hash must be 16 characters in length: abcdef\nExpected format: algorithm#hash[#hammingdistance]\n where\n - algorithm: Must be 'fuzzy_img'\n - hash: Must be an 8-byte hex string\n - hammingdistance: (optional) Must be an unsigned integer\nLibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad\nLibClamAV Error: Problem parsing database at line 1\nLibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb: Bad format or broken data\nERROR: Bad format or broken data\n").ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:81: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test Invalid hash [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 0 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.466 sec (0 m 0 s) Start Date: 2024:04:29 21:23:55 End Date: 2024:04:29 21:23:56 [DEBUG]: stderr: LibClamAV Error: Failed to load fuzzy hash logical subsignature 'fuzzy_img#abcdef#0': Invalid hash: Image fuzzy hash must be 16 characters in length: abcdef Expected format: algorithm#hash[#hammingdistance] where - algorithm: Must be 'fuzzy_img' - hash: Must be an 8-byte hex string - hammingdistance: (optional) Must be an unsigned integer LibClamAV Error: cli_loadldb: failed to parse subsignature 0 in logo.png.bad LibClamAV Error: Problem parsing database at line 1 LibClamAV Error: Can't load /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb: Bad format or broken data ERROR: Bad format or broken data [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10036== Memcheck, a memory error detector [INFO]: ==10036== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10036== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10036== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/invalid-hash.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10036== Parent PID: 9753 [INFO]: ==10036== [INFO]: --10036-- [INFO]: --10036-- Valgrind options: [INFO]: --10036-- -v [INFO]: --10036-- --trace-children=yes [INFO]: --10036-- --track-fds=yes [INFO]: --10036-- --leak-check=full [INFO]: --10036-- --show-possibly-lost=no [INFO]: --10036-- --show-leak-kinds=definite [INFO]: --10036-- --errors-for-leak-kinds=definite [INFO]: --10036-- --main-stacksize=16777216 [INFO]: --10036-- --gen-suppressions=all [INFO]: --10036-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10036-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10036-- --error-exitcode=123 [INFO]: --10036-- Contents of /proc/version: [INFO]: --10036-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10036-- [INFO]: --10036-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10036-- Page sizes: currently 4096, max supported 4096 [INFO]: --10036-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10036-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10036-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10036-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10036-- might be shown as UnknownInlinedFun [INFO]: --10036-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10036-- object doesn't have a dynamic symbol table [INFO]: --10036-- Scheduler: using generic scheduler lock implementation. [INFO]: --10036-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10036-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10036== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10036-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10036== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10036-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10036== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10036-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10036== [INFO]: ==10036== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10036== don't want to do, unless you know exactly what you're doing, [INFO]: ==10036== or are doing some strange experiment): [INFO]: ==10036== /usr/libexec/valgrind/../../bin/vgdb --pid=10036 ...command... [INFO]: ==10036== [INFO]: ==10036== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10036== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10036== and then give GDB the following command [INFO]: ==10036== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10036 [INFO]: ==10036== --pid is optional if only one valgrind process is running [INFO]: ==10036== [INFO]: --10036-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10036-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10036-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10036-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10036-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10036-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10036-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10036-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10036-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10036-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10036-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10036-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10036-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10036-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10036-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10036-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10036-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10036-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10036-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10036-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10036-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10036-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10036-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10036== Preferring higher priority redirection: [INFO]: --10036-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10036-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10036-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10036-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10036== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10036-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10036-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10036-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10036-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10036-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10036-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10036-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10036-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10036-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10036-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10036-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10036-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10036-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10036-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10036-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10036-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10036-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10036-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10036-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10036-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10036-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10036-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: ==10036== [INFO]: ==10036== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10036== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10036== [INFO]: ==10036== [INFO]: ==10036== (No origin, error cannot be suppressed) [INFO]: ==10036== [INFO]: ==10036== HEAP SUMMARY: [INFO]: ==10036== in use at exit: 0 bytes in 0 blocks [INFO]: ==10036== total heap usage: 466 allocs, 466 frees, 295,568 bytes allocated [INFO]: ==10036== [INFO]: ==10036== All heap blocks were freed -- no leaks are possible [INFO]: ==10036== [INFO]: ==10036== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_sigs_good_allmatch __________________________ self = def test_sigs_good_allmatch(self): self.step_name('Test with a good database in all-match mode.') (TC.path_tmp / 'good.ldb').write_text( "logo.png.good;Engine:150-255,Target:0;0;fuzzy_img#af2ad01ed42993c7#0\n" "logo.png.bad.with.second.subsig;Engine:150-255,Target:0;0&1;deadbeef;fuzzy_img#af2ad01ed42993c7#0\n" "logo.png.good.with.second.subsig;Engine:150-255,Target:0;0&1;49484452;fuzzy_img#af2ad01ed42993c7#0\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'good.ldb', testfiles=TC.testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.with.second.subsig.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 3\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.02 MB\nData read: 0.02 MB (ratio 1.00:1)\nTime: 0.997 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:56\nEnd Date: 2024:04:29 21:23:57\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/fuzzy_img_hash_test.py:52: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test with a good database in all-match mode. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/logo.png: logo.png.good.with.second.subsig.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 3 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.02 MB Data read: 0.02 MB (ratio 1.00:1) Time: 0.997 sec (0 m 0 s) Start Date: 2024:04:29 21:23:56 End Date: 2024:04:29 21:23:57 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10038== Memcheck, a memory error detector [INFO]: ==10038== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10038== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10038== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/good.ldb /builddir/build/BUILD/clamav-1.0.6/logo.png --allmatch [INFO]: ==10038== Parent PID: 9753 [INFO]: ==10038== [INFO]: --10038-- [INFO]: --10038-- Valgrind options: [INFO]: --10038-- -v [INFO]: --10038-- --trace-children=yes [INFO]: --10038-- --track-fds=yes [INFO]: --10038-- --leak-check=full [INFO]: --10038-- --show-possibly-lost=no [INFO]: --10038-- --show-leak-kinds=definite [INFO]: --10038-- --errors-for-leak-kinds=definite [INFO]: --10038-- --main-stacksize=16777216 [INFO]: --10038-- --gen-suppressions=all [INFO]: --10038-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10038-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: --10038-- --error-exitcode=123 [INFO]: --10038-- Contents of /proc/version: [INFO]: --10038-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10038-- [INFO]: --10038-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10038-- Page sizes: currently 4096, max supported 4096 [INFO]: --10038-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10038-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10038-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10038-- might be shown as UnknownInlinedFun [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10038-- object doesn't have a dynamic symbol table [INFO]: --10038-- Scheduler: using generic scheduler lock implementation. [INFO]: --10038-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10038-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10038== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10038-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10038== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10038-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10038== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10038-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10038== [INFO]: ==10038== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10038== don't want to do, unless you know exactly what you're doing, [INFO]: ==10038== or are doing some strange experiment): [INFO]: ==10038== /usr/libexec/valgrind/../../bin/vgdb --pid=10038 ...command... [INFO]: ==10038== [INFO]: ==10038== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10038== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10038== and then give GDB the following command [INFO]: ==10038== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10038 [INFO]: ==10038== --pid is optional if only one valgrind process is running [INFO]: ==10038== [INFO]: --10038-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10038-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10038-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10038-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10038-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10038-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10038-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10038-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10038-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10038-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10038-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10038-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10038-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10038-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10038-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10038-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10038-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10038-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10038-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10038-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10038-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10038== Preferring higher priority redirection: [INFO]: --10038-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10038-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10038-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10038-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10038== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10038-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10038-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10038-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10038-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10038-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10038-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10038-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10038-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10038-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10038-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10038-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10038-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10038-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10038-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10038-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10038-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10038-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10038-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10038-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10038-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10038-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10038-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10038-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10038-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10038-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10038-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10038-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10038-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10038== [INFO]: ==10038== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10038== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-x5ccx0_n/valgrind.log [INFO]: ==10038== [INFO]: ==10038== [INFO]: ==10038== (No origin, error cannot be suppressed) [INFO]: ==10038== [INFO]: ==10038== HEAP SUMMARY: [INFO]: ==10038== in use at exit: 0 bytes in 0 blocks [INFO]: ==10038== total heap usage: 5,441 allocs, 5,441 frees, 2,034,032 bytes allocated [INFO]: ==10038== [INFO]: ==10038== All heap blocks were freed -- no leaks are possible [INFO]: ==10038== [INFO]: ==10038== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________________________ TC.test_allmatch _______________________________ self = def test_allmatch(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test we use --allmatch but we don't use --heuristic-scan-precedence. That means the NDB sig should alert first, even though the heuristic is encountered first. Note the verify_output() uses STRICT_ORDER. ''' self.step_name('Test that a clam heuristic alert will alert LAST in allmatch mode without heuristic-precedence.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media \ --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.01 MB\nData read: 0.00 MB (ratio 2.00:1)\nTime: 0.984 sec (0 m 0 s)\nStart Date: 2024:04:29 21:23:58\nEnd Date: 2024:04:29 21:23:59\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:158: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert LAST in allmatch mode without heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 0.984 sec (0 m 0 s) Start Date: 2024:04:29 21:23:58 End Date: 2024:04:29 21:23:59 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10040== Memcheck, a memory error detector [INFO]: ==10040== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10040== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10040== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch [INFO]: ==10040== Parent PID: 9753 [INFO]: ==10040== [INFO]: --10040-- [INFO]: --10040-- Valgrind options: [INFO]: --10040-- -v [INFO]: --10040-- --trace-children=yes [INFO]: --10040-- --track-fds=yes [INFO]: --10040-- --leak-check=full [INFO]: --10040-- --show-possibly-lost=no [INFO]: --10040-- --show-leak-kinds=definite [INFO]: --10040-- --errors-for-leak-kinds=definite [INFO]: --10040-- --main-stacksize=16777216 [INFO]: --10040-- --gen-suppressions=all [INFO]: --10040-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10040-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10040-- --error-exitcode=123 [INFO]: --10040-- Contents of /proc/version: [INFO]: --10040-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10040-- [INFO]: --10040-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10040-- Page sizes: currently 4096, max supported 4096 [INFO]: --10040-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10040-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10040-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10040-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10040-- might be shown as UnknownInlinedFun [INFO]: --10040-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10040-- object doesn't have a dynamic symbol table [INFO]: --10040-- Scheduler: using generic scheduler lock implementation. [INFO]: --10040-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10040-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10040== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10040-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10040== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10040-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10040== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10040-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10040== [INFO]: ==10040== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10040== don't want to do, unless you know exactly what you're doing, [INFO]: ==10040== or are doing some strange experiment): [INFO]: ==10040== /usr/libexec/valgrind/../../bin/vgdb --pid=10040 ...command... [INFO]: ==10040== [INFO]: ==10040== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10040== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10040== and then give GDB the following command [INFO]: ==10040== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10040 [INFO]: ==10040== --pid is optional if only one valgrind process is running [INFO]: ==10040== [INFO]: --10040-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10040-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10040-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10040-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10040-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10040-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10040-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10040-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10040-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10040-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10040-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10040-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10040-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10040-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10040-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10040-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10040-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10040-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10040-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10040-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10040-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10040-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10040-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10040== Preferring higher priority redirection: [INFO]: --10040-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10040-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10040-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10040-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10040== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10040-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10040-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10040-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10040-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10040-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10040-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10040-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10040-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10040-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10040-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10040-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10040-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10040-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10040-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10040-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10040-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10040-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10040-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10040-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10040-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10040-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10040-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10040-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10040-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10040-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10040-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10040-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10040-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10040-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10040== [INFO]: ==10040== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10040== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10040== [INFO]: ==10040== [INFO]: ==10040== (No origin, error cannot be suppressed) [INFO]: ==10040== [INFO]: ==10040== HEAP SUMMARY: [INFO]: ==10040== in use at exit: 0 bytes in 0 blocks [INFO]: ==10040== total heap usage: 5,452 allocs, 5,452 frees, 1,153,694 bytes allocated [INFO]: ==10040== [INFO]: ==10040== All heap blocks were freed -- no leaks are possible [INFO]: ==10040== [INFO]: ==10040== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_allmatch_precedence __________________________ self = def test_allmatch_precedence(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test we use --allmatch AND we use --heuristic-scan-precedence. That means the heuristic is encountered first and should be treated equally, so it should alert first. Note the verify_output() uses STRICT_ORDER. ''' self.step_name('Test that a clam heuristic alert will alert FIRST in allmatch mode with heuristic-precedence.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media \ --allmatch \ --heuristic-scan-precedence'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.01 MB\nData read: 0.00 MB (ratio 2.00:1)\nTime: 1.068 sec (0 m 1 s)\nStart Date: 2024:04:29 21:23:59\nEnd Date: 2024:04:29 21:24:00\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:190: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic alert will alert FIRST in allmatch mode with heuristic-precedence. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 1.068 sec (0 m 1 s) Start Date: 2024:04:29 21:23:59 End Date: 2024:04:29 21:24:00 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10042== Memcheck, a memory error detector [INFO]: ==10042== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10042== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10042== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --allmatch --heuristic-scan-precedence [INFO]: ==10042== Parent PID: 9753 [INFO]: ==10042== [INFO]: --10042-- [INFO]: --10042-- Valgrind options: [INFO]: --10042-- -v [INFO]: --10042-- --trace-children=yes [INFO]: --10042-- --track-fds=yes [INFO]: --10042-- --leak-check=full [INFO]: --10042-- --show-possibly-lost=no [INFO]: --10042-- --show-leak-kinds=definite [INFO]: --10042-- --errors-for-leak-kinds=definite [INFO]: --10042-- --main-stacksize=16777216 [INFO]: --10042-- --gen-suppressions=all [INFO]: --10042-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10042-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10042-- --error-exitcode=123 [INFO]: --10042-- Contents of /proc/version: [INFO]: --10042-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10042-- [INFO]: --10042-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10042-- Page sizes: currently 4096, max supported 4096 [INFO]: --10042-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10042-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10042-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10042-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10042-- might be shown as UnknownInlinedFun [INFO]: --10042-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10042-- object doesn't have a dynamic symbol table [INFO]: --10042-- Scheduler: using generic scheduler lock implementation. [INFO]: --10042-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10042-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10042== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10042-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10042== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10042-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10042== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10042-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10042== [INFO]: ==10042== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10042== don't want to do, unless you know exactly what you're doing, [INFO]: ==10042== or are doing some strange experiment): [INFO]: ==10042== /usr/libexec/valgrind/../../bin/vgdb --pid=10042 ...command... [INFO]: ==10042== [INFO]: ==10042== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10042== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10042== and then give GDB the following command [INFO]: ==10042== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10042 [INFO]: ==10042== --pid is optional if only one valgrind process is running [INFO]: ==10042== [INFO]: --10042-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10042-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10042-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10042-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10042-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10042-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10042-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10042-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10042-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10042-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10042-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10042-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10042-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10042-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10042-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10042-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10042-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10042-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10042-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10042-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10042-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10042-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10042-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10042== Preferring higher priority redirection: [INFO]: --10042-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10042-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10042-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10042-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10042== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10042-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10042-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10042-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10042-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10042-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10042-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10042-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10042-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10042-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10042-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10042-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10042-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10042-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10042-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10042-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10042-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10042-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10042-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10042-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10042-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10042-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10042-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10042-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10042-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10042-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10042-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10042-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10042-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10042-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10042== [INFO]: ==10042== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10042== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10042== [INFO]: ==10042== [INFO]: ==10042== (No origin, error cannot be suppressed) [INFO]: ==10042== [INFO]: ==10042== HEAP SUMMARY: [INFO]: ==10042== in use at exit: 0 bytes in 0 blocks [INFO]: ==10042== total heap usage: 5,451 allocs, 5,451 frees, 1,153,482 bytes allocated [INFO]: ==10042== [INFO]: ==10042== All heap blocks were freed -- no leaks are possible [INFO]: ==10042== [INFO]: ==10042== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_hidden_by_strong_indicator ______________________ self = def test_hidden_by_strong_indicator(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test the heuristic alert must not alert because neither allmatch is specified, nor --heuristic-scan-precedence ''' self.step_name('Test that a clam heuristic not alert because regular sig alerts first.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 1.00:1)\nTime: 0.939 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:01\nEnd Date: 2024:04:29 21:24:02\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:70: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic not alert because regular sig alerts first. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Test.NDB.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 1.00:1) Time: 0.939 sec (0 m 0 s) Start Date: 2024:04:29 21:24:01 End Date: 2024:04:29 21:24:02 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10049== Memcheck, a memory error detector [INFO]: ==10049== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10049== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10049== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [INFO]: ==10049== Parent PID: 9753 [INFO]: ==10049== [INFO]: --10049-- [INFO]: --10049-- Valgrind options: [INFO]: --10049-- -v [INFO]: --10049-- --trace-children=yes [INFO]: --10049-- --track-fds=yes [INFO]: --10049-- --leak-check=full [INFO]: --10049-- --show-possibly-lost=no [INFO]: --10049-- --show-leak-kinds=definite [INFO]: --10049-- --errors-for-leak-kinds=definite [INFO]: --10049-- --main-stacksize=16777216 [INFO]: --10049-- --gen-suppressions=all [INFO]: --10049-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10049-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10049-- --error-exitcode=123 [INFO]: --10049-- Contents of /proc/version: [INFO]: --10049-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10049-- [INFO]: --10049-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10049-- Page sizes: currently 4096, max supported 4096 [INFO]: --10049-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10049-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10049-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10049-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10049-- might be shown as UnknownInlinedFun [INFO]: --10049-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10049-- object doesn't have a dynamic symbol table [INFO]: --10049-- Scheduler: using generic scheduler lock implementation. [INFO]: --10049-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10049-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10049== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10049-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10049== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10049-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10049== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10049-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10049== [INFO]: ==10049== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10049== don't want to do, unless you know exactly what you're doing, [INFO]: ==10049== or are doing some strange experiment): [INFO]: ==10049== /usr/libexec/valgrind/../../bin/vgdb --pid=10049 ...command... [INFO]: ==10049== [INFO]: ==10049== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10049== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10049== and then give GDB the following command [INFO]: ==10049== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10049 [INFO]: ==10049== --pid is optional if only one valgrind process is running [INFO]: ==10049== [INFO]: --10049-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10049-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10049-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10049-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10049-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10049-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10049-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10049-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10049-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10049-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10049-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10049-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10049-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10049-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10049-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10049-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10049-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10049-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10049-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10049-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10049-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10049-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10049-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10049== Preferring higher priority redirection: [INFO]: --10049-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10049-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10049-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10049-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10049== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10049-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10049-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10049-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10049-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10049-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10049-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10049-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10049-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10049-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10049-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10049-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10049-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10049-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10049-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10049-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10049-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10049-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10049-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10049-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10049-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10049-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10049-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10049-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10049-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10049-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10049-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10049-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10049-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10049-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10049== [INFO]: ==10049== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10049== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10049== [INFO]: ==10049== [INFO]: ==10049== (No origin, error cannot be suppressed) [INFO]: ==10049== [INFO]: ==10049== HEAP SUMMARY: [INFO]: ==10049== in use at exit: 0 bytes in 0 blocks [INFO]: ==10049== total heap usage: 5,436 allocs, 5,436 frees, 1,150,095 bytes allocated [INFO]: ==10049== [INFO]: ==10049== All heap blocks were freed -- no leaks are possible [INFO]: ==10049== [INFO]: ==10049== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_only_heur _______________________________ self = def test_only_heur(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test the heuristic alert must alert because we don't use the sig for the other file. ''' self.step_name('Test that a clam heuristic will alert, because it is the only detection.') testfile = TC.heuristics_testfile # Add an empty NDB file, because we need to pass in some sort of database. (TC.path_tmp / 'empty.ndb').write_text( "# Just a comment\n" ) command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'empty.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 0\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.01 MB\nData read: 0.00 MB (ratio 2.00:1)\nTime: 0.956 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:03\nEnd Date: 2024:04:29 21:24:04\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:101: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a clam heuristic will alert, because it is the only detection. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 0 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.01 MB Data read: 0.00 MB (ratio 2.00:1) Time: 0.956 sec (0 m 0 s) Start Date: 2024:04:29 21:24:03 End Date: 2024:04:29 21:24:04 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10051== Memcheck, a memory error detector [INFO]: ==10051== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10051== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10051== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/empty.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media [INFO]: ==10051== Parent PID: 9753 [INFO]: ==10051== [INFO]: --10051-- [INFO]: --10051-- Valgrind options: [INFO]: --10051-- -v [INFO]: --10051-- --trace-children=yes [INFO]: --10051-- --track-fds=yes [INFO]: --10051-- --leak-check=full [INFO]: --10051-- --show-possibly-lost=no [INFO]: --10051-- --show-leak-kinds=definite [INFO]: --10051-- --errors-for-leak-kinds=definite [INFO]: --10051-- --main-stacksize=16777216 [INFO]: --10051-- --gen-suppressions=all [INFO]: --10051-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10051-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10051-- --error-exitcode=123 [INFO]: --10051-- Contents of /proc/version: [INFO]: --10051-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10051-- [INFO]: --10051-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10051-- Page sizes: currently 4096, max supported 4096 [INFO]: --10051-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10051-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10051-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10051-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10051-- might be shown as UnknownInlinedFun [INFO]: --10051-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10051-- object doesn't have a dynamic symbol table [INFO]: --10051-- Scheduler: using generic scheduler lock implementation. [INFO]: --10051-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10051-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10051== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10051-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10051== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10051-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10051== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10051-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10051== [INFO]: ==10051== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10051== don't want to do, unless you know exactly what you're doing, [INFO]: ==10051== or are doing some strange experiment): [INFO]: ==10051== /usr/libexec/valgrind/../../bin/vgdb --pid=10051 ...command... [INFO]: ==10051== [INFO]: ==10051== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10051== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10051== and then give GDB the following command [INFO]: ==10051== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10051 [INFO]: ==10051== --pid is optional if only one valgrind process is running [INFO]: ==10051== [INFO]: --10051-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10051-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10051-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10051-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10051-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10051-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10051-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10051-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10051-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10051-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10051-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10051-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10051-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10051-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10051-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10051-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10051-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10051-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10051-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10051-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10051-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10051-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10051-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10051== Preferring higher priority redirection: [INFO]: --10051-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10051-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10051-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10051-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10051== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10051-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10051-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10051-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10051-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10051-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10051-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10051-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10051-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10051-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10051-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10051-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10051-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10051-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10051-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10051-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10051-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10051-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10051-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10051-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10051-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10051-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10051-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10051-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10051-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10051-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10051-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10051-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10051-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10051== [INFO]: ==10051== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10051== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10051== [INFO]: ==10051== [INFO]: ==10051== (No origin, error cannot be suppressed) [INFO]: ==10051== [INFO]: ==10051== HEAP SUMMARY: [INFO]: ==10051== in use at exit: 0 bytes in 0 blocks [INFO]: ==10051== total heap usage: 5,449 allocs, 5,449 frees, 1,153,432 bytes allocated [INFO]: ==10051== [INFO]: ==10051== All heap blocks were freed -- no leaks are possible [INFO]: ==10051== [INFO]: ==10051== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_precedence ______________________________ self = def test_precedence(self): ''' This test uses a ZIP that has two things: 1. malformed file that will alert with --alert-broken-media 2. the clam.exe file that will alert normally. The idea is that since the malformed file is first, the heuristic alert will be encountered first. In this test the heuristic alert must alert first because --heuristic-scan-precedence is enabled. We won't see the other alert because it's not allmatch mode. ''' self.step_name('Test that a heuristic-precendence will cause the heuristic alert to happen first, with no other alerts because not allmatch.') testfile = TC.heuristics_testfile command = '{valgrind} {valgrind_args} {clamscan} -d {clam_exe_db} {testfiles} --alert-broken-media \ --heuristic-scan-precedence'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, clam_exe_db=TC.path_tmp / 'clam.ndb', testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.828 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:04\nEnd Date: 2024:04:29 21:24:05\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/heuristics_test.py:129: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that a heuristic-precendence will cause the heuristic alert to happen first, with no other alerts because not allmatch. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip: Heuristics.Broken.Media.PNG.EOFReadingChunk FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.828 sec (0 m 0 s) Start Date: 2024:04:29 21:24:04 End Date: 2024:04:29 21:24:05 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10053== Memcheck, a memory error detector [INFO]: ==10053== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10053== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10053== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/clam.ndb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/heuristics-test.zip --alert-broken-media --heuristic-scan-precedence [INFO]: ==10053== Parent PID: 9753 [INFO]: ==10053== [INFO]: --10053-- [INFO]: --10053-- Valgrind options: [INFO]: --10053-- -v [INFO]: --10053-- --trace-children=yes [INFO]: --10053-- --track-fds=yes [INFO]: --10053-- --leak-check=full [INFO]: --10053-- --show-possibly-lost=no [INFO]: --10053-- --show-leak-kinds=definite [INFO]: --10053-- --errors-for-leak-kinds=definite [INFO]: --10053-- --main-stacksize=16777216 [INFO]: --10053-- --gen-suppressions=all [INFO]: --10053-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10053-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: --10053-- --error-exitcode=123 [INFO]: --10053-- Contents of /proc/version: [INFO]: --10053-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10053-- [INFO]: --10053-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10053-- Page sizes: currently 4096, max supported 4096 [INFO]: --10053-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10053-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10053-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10053-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10053-- might be shown as UnknownInlinedFun [INFO]: --10053-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10053-- object doesn't have a dynamic symbol table [INFO]: --10053-- Scheduler: using generic scheduler lock implementation. [INFO]: --10053-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10053-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10053== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10053-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10053== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10053-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10053== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10053-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10053== [INFO]: ==10053== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10053== don't want to do, unless you know exactly what you're doing, [INFO]: ==10053== or are doing some strange experiment): [INFO]: ==10053== /usr/libexec/valgrind/../../bin/vgdb --pid=10053 ...command... [INFO]: ==10053== [INFO]: ==10053== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10053== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10053== and then give GDB the following command [INFO]: ==10053== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10053 [INFO]: ==10053== --pid is optional if only one valgrind process is running [INFO]: ==10053== [INFO]: --10053-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10053-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10053-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10053-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10053-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10053-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10053-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10053-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10053-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10053-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10053-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10053-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10053-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10053-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10053-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10053-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10053-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10053-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10053-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10053-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10053-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10053-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10053-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10053== Preferring higher priority redirection: [INFO]: --10053-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10053-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10053-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10053-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10053== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10053-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10053-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10053-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10053-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10053-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10053-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10053-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10053-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10053-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10053-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10053-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10053-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10053-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10053-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10053-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10053-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10053-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10053-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10053-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10053-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10053-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10053-- REDIR: 0x5114f50 (libc.so.6:__strpbrk_sse42) redirected to 0x48524d0 (strpbrk) [INFO]: --10053-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10053-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10053-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10053-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10053-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10053-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10053-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: ==10053== [INFO]: ==10053== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10053== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-p5vmklsm/valgrind.log [INFO]: ==10053== [INFO]: ==10053== [INFO]: ==10053== (No origin, error cannot be suppressed) [INFO]: ==10053== [INFO]: ==10053== HEAP SUMMARY: [INFO]: ==10053== in use at exit: 0 bytes in 0 blocks [INFO]: ==10053== total heap usage: 5,346 allocs, 5,346 frees, 599,329 bytes allocated [INFO]: ==10053== [INFO]: ==10053== All heap blocks were freed -- no leaks are possible [INFO]: ==10053== [INFO]: ==10053== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_xls_jpeg_png _____________________________ self = def test_xls_jpeg_png(self): self.step_name('Test that clamav can successfully extract jpeg and png images from XLS documents') # Note: we aren't testing BMP, TIFF, or GIF because excel converts them to PNG when you try to insert them. testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'has_png_and_jpeg.xls' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_build / 'unit_tests' / 'input' / 'clamav.hdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 0 # no virus, no failures E assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 0\nData scanned: 0.12 MB\nData read: 0.06 MB (ratio 1.88:1)\nTime: 1.372 sec (0 m 1 s)\nStart Date: 2024:04:29 21:24:06\nEnd Date: 2024:04:29 21:24:07\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/li... },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":52662,\n "ContainedObjects":[\n {\n "FileName":"theme1.xml",\n "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-6438058ef19efa5727223b2d43b92bbc.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":8112,\n "FileMD5":"d6519a9212444706e7cbda9fb2917083"\n }\n ]\n },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":54457,\n "ContainedObjects":[\n {\n "FileName":"themeManager.xml.rels",\n "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-4e6b5aebd5230f1321fdd40cb5156658.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":283,\n "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4"\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/image_extraction_test.py:42: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully extract jpeg and png images from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 1.372 sec (0 m 1 s) Start Date: 2024:04:29 21:24:06 End Date: 2024:04:29 21:24:07 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240429_212406-scantemp.e988154cf2/ole2-tmp.1fe03ba000 LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240429_212406-scantemp.e988154cf2/xlm_macros.4070311169 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-fe3929d2c37de01cef7e1992139824bc.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-2d7344e2d31936f518903be8b1a7ef99.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-8a17d56f7497ef337646e2da9a825236.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-6438058ef19efa5727223b2d43b92bbc.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212406-scantemp.e988154cf2/clamav-4e6b5aebd5230f1321fdd40cb5156658.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: clean_cache_add: collect metadata feature enabled, skipping cache LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" } }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-fe3929d2c37de01cef7e1992139824bc.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-2d7344e2d31936f518903be8b1a7ef99.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-8a17d56f7497ef337646e2da9a825236.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-6438058ef19efa5727223b2d43b92bbc.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240429_212406-scantemp.e988154cf2/clamav-4e6b5aebd5230f1321fdd40cb5156658.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10055== Memcheck, a memory error detector [INFO]: ==10055== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10055== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10055== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug [INFO]: ==10055== Parent PID: 9753 [INFO]: ==10055== [INFO]: --10055-- [INFO]: --10055-- Valgrind options: [INFO]: --10055-- -v [INFO]: --10055-- --trace-children=yes [INFO]: --10055-- --track-fds=yes [INFO]: --10055-- --leak-check=full [INFO]: --10055-- --show-possibly-lost=no [INFO]: --10055-- --show-leak-kinds=definite [INFO]: --10055-- --errors-for-leak-kinds=definite [INFO]: --10055-- --main-stacksize=16777216 [INFO]: --10055-- --gen-suppressions=all [INFO]: --10055-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10055-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: --10055-- --error-exitcode=123 [INFO]: --10055-- Contents of /proc/version: [INFO]: --10055-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10055-- [INFO]: --10055-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10055-- Page sizes: currently 4096, max supported 4096 [INFO]: --10055-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10055-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10055-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10055-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10055-- might be shown as UnknownInlinedFun [INFO]: --10055-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10055-- object doesn't have a dynamic symbol table [INFO]: --10055-- Scheduler: using generic scheduler lock implementation. [INFO]: --10055-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10055-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10055== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10055-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10055== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10055-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10055== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10055-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10055== [INFO]: ==10055== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10055== don't want to do, unless you know exactly what you're doing, [INFO]: ==10055== or are doing some strange experiment): [INFO]: ==10055== /usr/libexec/valgrind/../../bin/vgdb --pid=10055 ...command... [INFO]: ==10055== [INFO]: ==10055== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10055== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10055== and then give GDB the following command [INFO]: ==10055== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10055 [INFO]: ==10055== --pid is optional if only one valgrind process is running [INFO]: ==10055== [INFO]: --10055-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10055-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10055-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10055-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10055-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10055-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10055-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10055-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10055-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10055-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10055-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10055-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10055-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10055-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10055-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10055-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10055-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10055-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10055-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10055-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10055-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10055-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10055-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10055== Preferring higher priority redirection: [INFO]: --10055-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10055-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10055-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10055-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10055== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10055-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10055-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10055-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10055-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10055-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10055-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10055-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10055-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10055-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10055-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10055-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10055-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10055-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10055-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10055-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10055-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10055-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10055-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10055-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10055-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10055-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10055-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10055-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10055-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10055-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10055-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10055-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10055-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: --10055-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10055-- Discarding syms at 0x5dc00f0-0x5dc10ea in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==10055== [INFO]: ==10055== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10055== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: ==10055== [INFO]: ==10055== [INFO]: ==10055== (No origin, error cannot be suppressed) [INFO]: ==10055== [INFO]: ==10055== HEAP SUMMARY: [INFO]: ==10055== in use at exit: 34,888 bytes in 67 blocks [INFO]: ==10055== total heap usage: 7,038 allocs, 6,971 frees, 3,340,970 bytes allocated [INFO]: ==10055== [INFO]: ==10055== Searching for pointers to 67 not-freed blocks [INFO]: ==10055== Checked 8,661,208 bytes [INFO]: ==10055== [INFO]: ==10055== LEAK SUMMARY: [INFO]: ==10055== definitely lost: 0 bytes in 0 blocks [INFO]: ==10055== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10055== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10055== still reachable: 33,608 bytes in 63 blocks [INFO]: ==10055== suppressed: 0 bytes in 0 blocks [INFO]: ==10055== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10055== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10055== [INFO]: ==10055== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________________ TC.test_xls_with_detection __________________________ self = def test_xls_with_detection(self): self.step_name('Test that clamav can successfully alert on PNG image extracted from XLS documents') # This tests a regression wherein extracted images weren't properly scanned, or the scan result recorded. # Note: we aren't testing the JPEG detection because the JPEG attached to the sample XLS is not properly fuzzy-hashed by clamav, yet. # TODO: Once it is working, add the JPEG detection test. os.mkdir(str(TC.path_tmp / 'xls-jpeg-detection-sigs')) (TC.path_tmp / 'logo.png.ldb').write_text( "logo.png.good;Engine:150-255,Target:0;0;fuzzy_img#ea0f85d0de719887#0\n" ) testfiles = TC.path_source / 'unit_tests' / 'input' / 'other_scanfiles' / 'has_png_and_jpeg.xls' command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles} --gen-json --debug --allmatch'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'logo.png.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # no virus, no failures E assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: logo.png.good.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.12 MB\nData read: 0.06 MB (ratio 1.88:1)\nTime: 1.398 sec (0 m 1 s)\nStart Date: 2024:04:29 21:24:07\nEnd Date: 2024:04:29 21:24:09\n', err='LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found\nLibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found\nLibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found\nLibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat...n ]\n },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":52662,\n "ContainedObjects":[\n {\n "FileName":"theme1.xml",\n "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-3e9405eaeabe7197a5b0b81758bdc90e.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":8112,\n "FileMD5":"d6519a9212444706e7cbda9fb2917083"\n }\n ]\n },\n {\n "FileType":"CL_TYPE_ZIPSFX",\n "Offset":54457,\n "ContainedObjects":[\n {\n "FileName":"themeManager.xml.rels",\n "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-a56f145f17769ccbff7b68f8bfbe1cc3.tmp",\n "FileType":"CL_TYPE_TEXT_ASCII",\n "FileSize":283,\n "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4"\n }\n ]\n }\n ]\n}\nLibClamAV debug: Bytecode executing hook id 260 (0 hooks)\nLibClamAV debug: Bytecode: no logical signature matched, no bytecode executed\nLibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected\nLibClamAV debug: Cleaning up phishcheck\nLibClamAV debug: Freeing phishcheck struct\nLibClamAV debug: Phishcheck cleaned up\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/image_extraction_test.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamav can successfully alert on PNG image extracted from XLS documents [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls: logo.png.good.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.12 MB Data read: 0.06 MB (ratio 1.88:1) Time: 1.398 sec (0 m 1 s) Start Date: 2024:04:29 21:24:07 End Date: 2024:04:29 21:24:09 [DEBUG]: stderr: LibClamAV debug: searching for unrar, user-searchpath: /usr/lib64 LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /usr/lib64/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libfreshclam/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclamunrar_iface..a not found LibClamAV debug: searching for unrar, LD_LIBRARY_PATH: LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11.0.0 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so.11 not found LibClamAV debug: searching for unrar: /libclamunrar_iface.so not found LibClamAV debug: searching for unrar: /libclamunrar_iface..a not found LibClamAV debug: Cannot dlopen libclamunrar_iface: /libclamunrar_iface..a: cannot open shared object file: No such file or directory - unrar support unavailable LibClamAV debug: Initialized 1.0.6 engine LibClamAV debug: Initializing phishcheck module LibClamAV debug: Phishcheck: Compiling regex: ^ *(http|https|ftp:(//)?)?[0-9]{1,3}(\.[0-9]{1,3}){3}[/?:]? *$ LibClamAV debug: Phishcheck module initialized LibClamAV debug: Bytecode initialized in interpreter mode LibClamAV debug: Initializing engine matching structures LibClamAV debug: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/logo.png.ldb loaded LibClamAV debug: Initializing engine matching structures LibClamAV debug: Loaded 156 filetype definitions LibClamAV debug: Using filter for trie 0 LibClamAV debug: Matcher[0]: GENERIC: AC sigs: 84 (reloff: 1, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 32 LibClamAV debug: Using filter for trie 1 LibClamAV debug: Matcher[1]: PE: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 LibClamAV debug: Matcher[2]: OLE2: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[3]: HTML: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 4 LibClamAV debug: Matcher[4]: MAIL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[5]: GRAPHICS: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[6]: ELF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Using filter for trie 7 LibClamAV debug: Matcher[7]: ASCII: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[8]: NOT USED: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[9]: MACH-O: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[10]: PDF: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[11]: FLASH: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[12]: JAVA: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[13]: INTERNAL: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Matcher[14]: OTHER: AC sigs: 0 (reloff: 0, absoff: 0) BM sigs: 0 (reloff: 0, absoff: 0) PCREs: 0 (reloff: 0, absoff: 0) maxpatlen 0 (ac_only mode) LibClamAV debug: Dynamic engine configuration settings: LibClamAV debug: -------------------------------------- LibClamAV debug: Module PE: On LibClamAV debug: * Submodule PARITE: On LibClamAV debug: * Submodule KRIZ: On LibClamAV debug: * Submodule MAGISTR: On LibClamAV debug: * Submodule POLIPOS: On LibClamAV debug: * Submodule MD5SECT: On LibClamAV debug: * Submodule UPX: On LibClamAV debug: * Submodule FSG: On LibClamAV debug: * Submodule SWIZZOR: ** Off ** LibClamAV debug: * Submodule PETITE: On LibClamAV debug: * Submodule PESPIN: On LibClamAV debug: * Submodule YC: On LibClamAV debug: * Submodule WWPACK: On LibClamAV debug: * Submodule NSPACK: On LibClamAV debug: * Submodule MEW: On LibClamAV debug: * Submodule UPACK: On LibClamAV debug: * Submodule ASPACK: On LibClamAV debug: * Submodule CATALOG: On LibClamAV debug: * Submodule CERTS: On LibClamAV debug: * Submodule MATCHICON: On LibClamAV debug: * Submodule IMPTBL: On LibClamAV debug: Module ELF: On LibClamAV debug: Module MACHO: On LibClamAV debug: Module ARCHIVE: On LibClamAV debug: * Submodule RAR: On LibClamAV debug: * Submodule ZIP: On LibClamAV debug: * Submodule GZIP: On LibClamAV debug: * Submodule BZIP: On LibClamAV debug: * Submodule ARJ: On LibClamAV debug: * Submodule SZDD: On LibClamAV debug: * Submodule CAB: On LibClamAV debug: * Submodule CHM: On LibClamAV debug: * Submodule OLE2: On LibClamAV debug: * Submodule TAR: On LibClamAV debug: * Submodule CPIO: On LibClamAV debug: * Submodule BINHEX: On LibClamAV debug: * Submodule SIS: On LibClamAV debug: * Submodule NSIS: On LibClamAV debug: * Submodule AUTOIT: On LibClamAV debug: * Submodule ISHIELD: On LibClamAV debug: * Submodule 7zip: On LibClamAV debug: * Submodule ISO9660: On LibClamAV debug: * Submodule DMG: On LibClamAV debug: * Submodule XAR: On LibClamAV debug: * Submodule HFSPLUS: On LibClamAV debug: * Submodule XZ: On LibClamAV debug: * Submodule PASSWD: On LibClamAV debug: * Submodule MBR: On LibClamAV debug: * Submodule GPT: On LibClamAV debug: * Submodule APM: On LibClamAV debug: * Submodule EGG: On LibClamAV debug: Module DOCUMENT: On LibClamAV debug: * Submodule HTML: On LibClamAV debug: * Submodule RTF: On LibClamAV debug: * Submodule PDF: On LibClamAV debug: * Submodule SCRIPT: On LibClamAV debug: * Submodule HTMLSKIPRAW: On LibClamAV debug: * Submodule JSNORM: On LibClamAV debug: * Submodule SWF: On LibClamAV debug: * Submodule OOXML: On LibClamAV debug: * Submodule MSPML: On LibClamAV debug: * Submodule HWP: On LibClamAV debug: Module MAIL: On LibClamAV debug: * Submodule MBOX: On LibClamAV debug: * Submodule TNEF: On LibClamAV debug: Module OTHER: On LibClamAV debug: * Submodule UUENCODED: On LibClamAV debug: * Submodule SCRENC: On LibClamAV debug: * Submodule RIFF: On LibClamAV debug: * Submodule JPEG: On LibClamAV debug: * Submodule CRYPTFF: On LibClamAV debug: * Submodule DLP: On LibClamAV debug: * Submodule MYDOOMLOG: On LibClamAV debug: * Submodule PREFILTERING: On LibClamAV debug: * Submodule PDFNAMEOBJ: On LibClamAV debug: * Submodule PRTNINTXN: On LibClamAV debug: * Submodule LZW: On LibClamAV debug: * Submodule GIF: On LibClamAV debug: * Submodule PNG: On LibClamAV debug: * Submodule TIFF: On LibClamAV debug: Module PHISHING On LibClamAV debug: * Submodule ENGINE: On LibClamAV debug: * Submodule ENTCONV: On LibClamAV debug: Module BYTECODE On LibClamAV debug: * Submodule INTERPRETER: On LibClamAV debug: * Submodule JIT X86: On LibClamAV debug: * Submodule JIT PPC: On LibClamAV debug: * Submodule JIT ARM: ** Off ** LibClamAV debug: Module STATS Off LibClamAV debug: Module PCRE On LibClamAV debug: * Submodule SUPPORT: On LibClamAV debug: * Submodule OPTIONS: On LibClamAV debug: * Submodule GLOBAL: On LibClamAV debug: pool memory used: 5.941 MB LibClamAV debug: No bytecodes loaded, not running builtin test LibClamAV debug: Checking realpath of /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls LibClamAV debug: Recognized OLE2 container file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_scanole2() LibClamAV debug: in cli_ole2_extract() LibClamAV debug: Major Version = 0x0 LibClamAV debug: Minor Version = 0x0 LibClamAV debug: Flags = 0x0 LibClamAV debug: Size = 0xe020c0 LibClamAV debug: ole2: Flags must match LibClamAV debug: Encrypted with VelvetSweatshop: 0 LibClamAV debug: LibClamAV debug: Magic: 0xd0cf11e0a1b11ae1 LibClamAV debug: CLSID: {0000-00-00-00-000000} LibClamAV debug: Minor version: 0x3e LibClamAV debug: DLL version: 0x3 LibClamAV debug: Byte Order: -2 LibClamAV debug: Big Block Size: 9 LibClamAV debug: Small Block Size: 6 LibClamAV debug: BAT count: 1 LibClamAV debug: Prop start: 126 LibClamAV debug: SBAT cutoff: 4096 LibClamAV debug: SBat start: -2 LibClamAV debug: SBat block count: 0 LibClamAV debug: XBat start: -2 LibClamAV debug: XBat block count: 0 LibClamAV debug: LibClamAV debug: Max block number: 1016 LibClamAV debug: [scan_biff_for_xlm_macros_and_images] Found image in sheet LibClamAV debug: OLE2: VBA project found LibClamAV debug: OLE2: root entry [root] b size:0x00000000 flags:0x00000000 LibClamAV debug: OLE2: _5_summaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_summaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_summaryinformation' to '/tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3/8f77ea59a4794f91b39913db2e55f3fc_1' LibClamAV debug: OLE2: _5_documentsummaryinformation [file] b size:0x00001000 flags:0x00000000 LibClamAV debug: Storing _5_documentsummaryinformation in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping '_5_documentsummaryinformation' to '/tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3/c94e3926fdf7b9e624cba640b87b17a8_1' LibClamAV debug: OLE2: workbook [file] b size:0x0000d8e5 flags:0x00000000 LibClamAV debug: Storing workbook in uniq LibClamAV debug: OLE2 [handler_writefile]: Dumping 'workbook' to '/tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3/e3af082cc2ec644830a69ddafe5abe31_1' LibClamAV debug: cli_ole2_scan_tempdir: /tmp/20240429_212408-scantemp.9b480f3251/ole2-tmp.aca91492e3 LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_summaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 176, numprops: 7 LibClamAV debug: ole2_summary_propset_json: processing 7 of 7 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 64 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000004, propoff: 72 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000008, propoff: 96 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000012, propoff: 120 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 144 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 156 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 168 LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[0] LibClamAV debug: cli_ole2_tempdir_scan_summary: detected a '_5_documentsummaryinformation' stream LibClamAV debug: in cli_ole2_summary_json LibClamAV debug: ole2_summary_json: streamsize: 4096 LibClamAV debug: ole2_summary_json: byteorder 0xfffe LibClamAV debug: ole2_summary_json: 1 property set(s) detected LibClamAV debug: in ole2_summary_propset_json LibClamAV debug: ole2_summary_propset_json: pssize: 196, numprops: 9 LibClamAV debug: ole2_summary_propset_json: processing 9 of 9 (25 max) properties LibClamAV debug: ole2_summary_propset_json: propid: 0x00000001, propoff: 80 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000f, propoff: 88 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000017, propoff: 100 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000b, propoff: 108 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000010, propoff: 116 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000013, propoff: 124 LibClamAV debug: ole2_summary_propset_json: propid: 0x00000016, propoff: 132 LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000d, propoff: 140 LibClamAV debug: ole2_process_property: unhandled property type 0x101e for DocPartTitles property LibClamAV debug: ole2_summary_propset_json: propid: 0x0000000c, propoff: 159 LibClamAV debug: ole2_process_property: unhandled property type 0x100c for HeadingPairs property LibClamAV debug: in cli_ole2_summary_json_cleanup: 0[100] LibClamAV debug: [cli_extract_xlm_macros_and_images] Extracting macros to /tmp/20240429_212408-scantemp.9b480f3251/xlm_macros.f67ad47720 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf000 LibClamAV debug: read_office_art_record_header: recLen 39456 LibClamAV debug: cli_extract_images_from_drawing_group: Found drawing group of size 39456 bytes LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x0 LibClamAV debug: read_office_art_record_header: recType 0xf006 LibClamAV debug: read_office_art_record_header: recLen 24 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0xf LibClamAV debug: read_office_art_record_header: recInstance 0x2 LibClamAV debug: read_office_art_record_header: recType 0xf001 LibClamAV debug: read_office_art_record_header: recLen 39366 LibClamAV debug: cli_extract_images_from_drawing_group: Found an OfficeArtBStoreContainerFileBlock (Blip store). LibClamAV debug: cli_extract_images_from_drawing_group: size: 39366 bytes, contains: 2 file block records LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x5 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 16623 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x46a LibClamAV debug: read_office_art_record_header: recType 0xf01d LibClamAV debug: read_office_art_record_header: recLen 16579 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipJPEG LibClamAV debug: Scanning extracted image of size 16562 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +16562) LibClamAV debug: magic_scan_nested_fmap_type: [0, +16562), [0, +16562) LibClamAV debug: Recognized JPEG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsejpeg() LibClamAV debug: segment[1] = 0xe0, Length 16 LibClamAV debug: JFIF application marker LibClamAV debug: segment[2] = 0xe1, Length 6604 LibClamAV debug: Exif application marker LibClamAV debug: segment[3] = 0xe2, Length 3160 LibClamAV debug: ICC Profile, chunk # 1 LibClamAV debug: segment[4] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[5] = 0xdb, Length 67 LibClamAV debug: Quantization Tables definitions (DQT) LibClamAV debug: segment[6] = 0xc2, Length 17 LibClamAV debug: Start of Frame (S0F) c2 LibClamAV debug: segment[7] = 0xc4, Length 28 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[8] = 0xc4, Length 27 LibClamAV debug: Huffman Tables definitions (DHT) LibClamAV debug: segment[9] = 0xda, Length 12 LibClamAV debug: Start of Scan (SOS) segment marker LibClamAV debug: Image hash: ea0f85d0de719887 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: Checking image fuzzy hash 'ea0f85d0de719887' for signature match LibClamAV debug: FP SIGNATURE: 41e64a9ddb49690f0b6fbbd71362b1b3:16562:logo.png.good.UNOFFICIAL # Name: n/a, Type: CL_TYPE_JPEG LibClamAV debug: FP SIGNATURE: bd7f9450b08d919d4d330a13c8aa14a5:65536:logo.png.good.UNOFFICIAL # Name: has_png_and_jpeg.xls, Type: CL_TYPE_MSOLE2 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x2 LibClamAV debug: read_office_art_record_header: recInstance 0x6 LibClamAV debug: read_office_art_record_header: recType 0xf007 LibClamAV debug: read_office_art_record_header: recLen 22727 LibClamAV debug: process_blip_store_container: Invalid recVer for Blip record header: 2 LibClamAV debug: process_blip_store_container: Found a File Blip Store Entry (FBSE) record LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x6e0 LibClamAV debug: read_office_art_record_header: recType 0xf01e LibClamAV debug: read_office_art_record_header: recLen 22683 LibClamAV debug: process_blip_store_container: Found OfficeArtBlipPNG LibClamAV debug: Scanning extracted image of size 22666 LibClamAV debug: cli_magic_scan_nested_fmap_type: [0, +22666) LibClamAV debug: magic_scan_nested_fmap_type: [0, +22666), [0, +22666) LibClamAV debug: Recognized PNG file LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: in cli_parsepng() LibClamAV debug: Chunk Type: IHDR, Data Length: 13 bytes LibClamAV debug: Width: 144 LibClamAV debug: Height: 144 LibClamAV debug: Bit Depth: 8 (Sample Depth: 32) LibClamAV debug: Color Type: 6 LibClamAV debug: Compression Method: 0 LibClamAV debug: Filter Method: 0 LibClamAV debug: Interlace Method: 0 LibClamAV debug: Chunk CRC: 0xe746e2b8 LibClamAV debug: Chunk Type: zTXt, Data Length: 7087 bytes LibClamAV debug: Chunk CRC: 0x19546b29 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x361c0fd2 LibClamAV debug: Chunk Type: iCCP, Data Length: 2618 bytes LibClamAV debug: Chunk CRC: 0x25771675 LibClamAV debug: Chunk Type: bKGD, Data Length: 6 bytes LibClamAV debug: Chunk CRC: 0xa0bda793 LibClamAV debug: Chunk Type: pHYs, Data Length: 9 bytes LibClamAV debug: Chunk CRC: 0x9a9c18 LibClamAV debug: Chunk Type: tIME, Data Length: 7 bytes LibClamAV debug: Chunk CRC: 0x2423dc6b LibClamAV debug: Chunk Type: IDAT, Data Length: 8192 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x80ae8521 LibClamAV debug: Chunk Type: IDAT, Data Length: 1988 bytes LibClamAV debug: IDAT chunk: image data decompression no longer performed in PNG CVE checker. LibClamAV debug: Chunk CRC: 0x2fbbd0c7 LibClamAV debug: Chunk Type: IEND, Data Length: 0 bytes LibClamAV debug: Chunk CRC: 0xae426082 LibClamAV debug: Image hash: 97e5789e252983c6 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: Checking image fuzzy hash '97e5789e252983c6' for signature match LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[-1]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x3 LibClamAV debug: read_office_art_record_header: recInstance 0x3 LibClamAV debug: read_office_art_record_header: recType 0xf00b LibClamAV debug: read_office_art_record_header: recLen 18 LibClamAV debug: read_office_art_record_header: office art record: LibClamAV debug: read_office_art_record_header: recVer 0x0 LibClamAV debug: read_office_art_record_header: recInstance 0x4 LibClamAV debug: read_office_art_record_header: recType 0xf11e LibClamAV debug: read_office_art_record_header: recLen 16 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Matched signature for file type ZIP-SFX at 51936 LibClamAV debug: Matched signature for file type ZIP-SFX at 52240 LibClamAV debug: Matched signature for file type ZIP-SFX at 52473 LibClamAV debug: Matched signature for file type ZIP-SFX at 52662 LibClamAV debug: Matched signature for file type ZIP-SFX at 54457 LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 51936 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:[Content_Types].xml:540:255:bf0fdee9:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:255:[Content_Types].xml:255:540:0:0:3205488361:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-e38eddce4946ca905f00c73abe0235bc.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52240 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:_rels/.rels:310:192:e7a7d6a5:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:192:_rels/.rels:192:310:0:0:3886536357:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-e520186aa12d64240c53c05ca5ea0c19.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52473 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/themeManager.xml:138:131:1696796b:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:131:theme/theme/themeManager.xml:131:138:0:0:378960235:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-49d37a1dc032b2d446c7c5e40f6ef2b7.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 52662 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/theme1.xml:8112:1743:d16dd24e:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:1743:theme/theme/theme1.xml:1743:8112:0:0:3513635406:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-3e9405eaeabe7197a5b0b81758bdc90e.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: CL_TYPE_ZIPSFX signature found at 54457 LibClamAV debug: in cli_unzip_single LibClamAV debug: cli_unzip: local header - ZMDNAME:0:theme/theme/_rels/themeManager.xml.rels:283:182:9f90d10d:8:0:1 LibClamAV debug: CDBNAME:CL_TYPE_ZIP:182:theme/theme/_rels/themeManager.xml.rels:182:283:0:0:2677068045:(nil) LibClamAV debug: cli_unzip: extracted to /tmp/20240429_212408-scantemp.9b480f3251/clamav-a56f145f17769ccbff7b68f8bfbe1cc3.tmp LibClamAV debug: in cli_magic_scan_desc_type (recursion_level: 1/17) LibClamAV debug: Recognized ASCII text LibClamAV debug: clean_cache_check: collect metadata feature enabled, skipping cache LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: in cli_scanscript() LibClamAV debug: hashtab: Freeing hashset, elements: 0, capacity: 0 LibClamAV debug: Descriptor[5]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: Descriptor[4]: Continuing after file scan resulted with: No viruses detected LibClamAV debug: cli_magic_scan: returning 0 at line 5014 LibClamAV debug: { "Magic":"CLAMJSONv0", "RootFileType":"CL_TYPE_MSXL", "FileName":"has_png_and_jpeg.xls", "FileType":"CL_TYPE_MSXL", "FileSize":65536, "FileMD5":"bd7f9450b08d919d4d330a13c8aa14a5", "EncryptedWithVelvetSweatshop":0, "Streams":[ "_5_summaryinformation", "_5_documentsummaryinformation", "workbook" ], "SummaryInfo":{ "CodePage":1252, "Author":"Micah Snyder", "LastAuthor":"Micah Snyder", "AppName":"Microsoft Excel", "CreatedTime":1626380512, "ModifiedTime":1626380712, "Security":0 }, "DocSummaryInfo":{ "CodePage":1252, "Company":"", "Version":1048576, "Scale":false, "LinksDirty":false, "SharedDoc":false, "HyperLinksChanged":false, "ParseErrors":[ "OLE2_SUMMARY_FLAG_UNHANDLED_PROPTYPE" ] }, "ContainedObjects":[ { "FileType":"CL_TYPE_JPEG", "FileSize":16562, "FileMD5":"41e64a9ddb49690f0b6fbbd71362b1b3", "ImageFuzzyHash":{ "Hash":"ea0f85d0de719887" }, "Viruses":[ "logo.png.good.UNOFFICIAL" ] }, { "FileType":"CL_TYPE_PNG", "FileSize":22666, "FileMD5":"5341e0efde53a50c416b2352263e7693", "ImageFuzzyHash":{ "Hash":"97e5789e252983c6" } } ], "EmbeddedObjects":[ { "FileType":"CL_TYPE_ZIPSFX", "Offset":51936, "ContainedObjects":[ { "FileName":"[Content_Types].xml", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-e38eddce4946ca905f00c73abe0235bc.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":540, "FileMD5":"c9cbcd6f377d2c787064d8e5464412f1" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52240, "ContainedObjects":[ { "FileName":".rels", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-e520186aa12d64240c53c05ca5ea0c19.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":310, "FileMD5":"72721ae37030f210de7a73d75dbc33eb" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52473, "ContainedObjects":[ { "FileName":"themeManager.xml", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-49d37a1dc032b2d446c7c5e40f6ef2b7.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":138, "FileMD5":"ad57ce056452726e5fb113fb8c6f229e" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":52662, "ContainedObjects":[ { "FileName":"theme1.xml", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-3e9405eaeabe7197a5b0b81758bdc90e.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":8112, "FileMD5":"d6519a9212444706e7cbda9fb2917083" } ] }, { "FileType":"CL_TYPE_ZIPSFX", "Offset":54457, "ContainedObjects":[ { "FileName":"themeManager.xml.rels", "FilePath":"/tmp/20240429_212408-scantemp.9b480f3251/clamav-a56f145f17769ccbff7b68f8bfbe1cc3.tmp", "FileType":"CL_TYPE_TEXT_ASCII", "FileSize":283, "FileMD5":"c8d47b0b4a92b9587777ef824be3c8c4" } ] } ] } LibClamAV debug: Bytecode executing hook id 260 (0 hooks) LibClamAV debug: Bytecode: no logical signature matched, no bytecode executed LibClamAV debug: Descriptor[4]: halting after file scan because: Virus(es) detected LibClamAV debug: Cleaning up phishcheck LibClamAV debug: Freeing phishcheck struct LibClamAV debug: Phishcheck cleaned up [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10061== Memcheck, a memory error detector [INFO]: ==10061== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10061== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10061== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/logo.png.ldb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/has_png_and_jpeg.xls --gen-json --debug --allmatch [INFO]: ==10061== Parent PID: 9753 [INFO]: ==10061== [INFO]: --10061-- [INFO]: --10061-- Valgrind options: [INFO]: --10061-- -v [INFO]: --10061-- --trace-children=yes [INFO]: --10061-- --track-fds=yes [INFO]: --10061-- --leak-check=full [INFO]: --10061-- --show-possibly-lost=no [INFO]: --10061-- --show-leak-kinds=definite [INFO]: --10061-- --errors-for-leak-kinds=definite [INFO]: --10061-- --main-stacksize=16777216 [INFO]: --10061-- --gen-suppressions=all [INFO]: --10061-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10061-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: --10061-- --error-exitcode=123 [INFO]: --10061-- Contents of /proc/version: [INFO]: --10061-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10061-- [INFO]: --10061-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10061-- Page sizes: currently 4096, max supported 4096 [INFO]: --10061-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10061-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10061-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10061-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10061-- might be shown as UnknownInlinedFun [INFO]: --10061-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10061-- object doesn't have a dynamic symbol table [INFO]: --10061-- Scheduler: using generic scheduler lock implementation. [INFO]: --10061-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10061-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10061== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10061-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10061== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10061-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10061== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10061-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10061== [INFO]: ==10061== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10061== don't want to do, unless you know exactly what you're doing, [INFO]: ==10061== or are doing some strange experiment): [INFO]: ==10061== /usr/libexec/valgrind/../../bin/vgdb --pid=10061 ...command... [INFO]: ==10061== [INFO]: ==10061== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10061== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10061== and then give GDB the following command [INFO]: ==10061== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10061 [INFO]: ==10061== --pid is optional if only one valgrind process is running [INFO]: ==10061== [INFO]: --10061-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10061-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10061-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10061-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10061-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10061-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10061-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10061-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10061-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10061-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10061-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10061-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10061-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10061-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10061-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10061-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10061-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10061-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10061-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10061-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10061-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10061-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10061-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10061== Preferring higher priority redirection: [INFO]: --10061-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10061-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10061-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10061-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10061== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10061-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10061-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10061-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10061-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10061-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10061-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10061-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10061-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10061-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10061-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10061-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10061-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10061-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10061-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10061-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10061-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10061-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10061-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10061-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10061-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10061-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10061-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10061-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10061-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10061-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10061-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10061-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10061-- Reading syms from /usr/lib64/gconv/CP1252.so [INFO]: --10061-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10061-- Discarding syms at 0x5dc00f0-0x5dc10ea in /usr/lib64/gconv/CP1252.so (have_dinfo 1) [INFO]: ==10061== [INFO]: ==10061== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10061== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-dqj1eo5m/valgrind.log [INFO]: ==10061== [INFO]: ==10061== [INFO]: ==10061== (No origin, error cannot be suppressed) [INFO]: ==10061== [INFO]: ==10061== HEAP SUMMARY: [INFO]: ==10061== in use at exit: 34,888 bytes in 67 blocks [INFO]: ==10061== total heap usage: 7,240 allocs, 7,173 frees, 3,361,067 bytes allocated [INFO]: ==10061== [INFO]: ==10061== Searching for pointers to 67 not-freed blocks [INFO]: ==10061== Checked 8,661,272 bytes [INFO]: ==10061== [INFO]: ==10061== LEAK SUMMARY: [INFO]: ==10061== definitely lost: 0 bytes in 0 blocks [INFO]: ==10061== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10061== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10061== still reachable: 33,608 bytes in 63 blocks [INFO]: ==10061== suppressed: 0 bytes in 0 blocks [INFO]: ==10061== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10061== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10061== [INFO]: ==10061== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________________ TC.test_LDB_VI ________________________________ self = def test_LDB_VI(self): self.step_name('Test LDB VI feature') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'Clam-VI.ldb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK\n/builddir/buil...lamav_hdb_scanfiles/clam.sis: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 2\nData scanned: 15.36 MB\nData read: 6.91 MB (ratio 2.22:1)\nTime: 3.494 sec (0 m 3 s)\nStart Date: 2024:04:29 21:24:09\nEnd Date: 2024:04:29 21:24:13\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:51: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB VI feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/Clam-VI.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: Clam-VI-Test:Target.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 2 Data scanned: 15.36 MB Data read: 6.91 MB (ratio 2.22:1) Time: 3.494 sec (0 m 3 s) Start Date: 2024:04:29 21:24:09 End Date: 2024:04:29 21:24:13 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10067== Memcheck, a memory error detector [INFO]: ==10067== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10067== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10067== Parent PID: 9753 [INFO]: ==10067== [INFO]: --10067-- [INFO]: --10067-- Valgrind options: [INFO]: --10067-- -v [INFO]: --10067-- --trace-children=yes [INFO]: --10067-- --track-fds=yes [INFO]: --10067-- --leak-check=full [INFO]: --10067-- --show-possibly-lost=no [INFO]: --10067-- --show-leak-kinds=definite [INFO]: --10067-- --errors-for-leak-kinds=definite [INFO]: --10067-- --main-stacksize=16777216 [INFO]: --10067-- --gen-suppressions=all [INFO]: --10067-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10067-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: --10067-- --error-exitcode=123 [INFO]: --10067-- Contents of /proc/version: [INFO]: --10067-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10067-- [INFO]: --10067-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10067-- Page sizes: currently 4096, max supported 4096 [INFO]: --10067-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10067-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10067-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10067-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10067-- might be shown as UnknownInlinedFun [INFO]: --10067-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10067-- object doesn't have a dynamic symbol table [INFO]: --10067-- Scheduler: using generic scheduler lock implementation. [INFO]: --10067-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10067-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10067== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10067-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10067== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10067-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10067== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10067-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10067== [INFO]: ==10067== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10067== don't want to do, unless you know exactly what you're doing, [INFO]: ==10067== or are doing some strange experiment): [INFO]: ==10067== /usr/libexec/valgrind/../../bin/vgdb --pid=10067 ...command... [INFO]: ==10067== [INFO]: ==10067== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10067== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10067== and then give GDB the following command [INFO]: ==10067== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10067 [INFO]: ==10067== --pid is optional if only one valgrind process is running [INFO]: ==10067== [INFO]: --10067-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10067-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10067-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10067-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10067-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10067-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10067-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10067-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10067-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10067-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10067-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10067-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10067-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10067-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10067-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10067-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10067-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10067-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10067-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10067-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10067-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10067-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10067-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10067== Preferring higher priority redirection: [INFO]: --10067-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10067-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10067-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10067-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10067== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10067-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10067-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10067-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10067-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10067-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10067-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10067-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10067-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10067-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10067-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10067-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10067-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10067-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10067-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10067-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10067-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10067-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10067-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10067-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10067-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10067-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10067-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10067-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10067-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10067-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10067-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10067-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10067-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10067-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10067-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --10067-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --10067-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --10067-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --10067-- Discarding syms at 0x5dc0130-0x5dc1a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==10067== [INFO]: ==10067== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10067== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: ==10067== [INFO]: ==10067== [INFO]: ==10067== (No origin, error cannot be suppressed) [INFO]: ==10067== [INFO]: ==10067== HEAP SUMMARY: [INFO]: ==10067== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10067== total heap usage: 13,574 allocs, 13,513 frees, 48,976,938 bytes allocated [INFO]: ==10067== [INFO]: ==10067== Searching for pointers to 61 not-freed blocks [INFO]: ==10067== Checked 285,256 bytes [INFO]: ==10067== [INFO]: ==10067== LEAK SUMMARY: [INFO]: ==10067== definitely lost: 0 bytes in 0 blocks [INFO]: ==10067== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10067== possibly lost: 0 bytes in 0 blocks [INFO]: ==10067== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10067== suppressed: 0 bytes in 0 blocks [INFO]: ==10067== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10067== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10067== [INFO]: ==10067== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_yara_at_offset ____________________________ self = def test_yara_at_offset(self): self.step_name('Test yara signature - detect TAR file magic at an offset') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'yara-at-offset.yara', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_at_offset.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.../builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 3\nData scanned: 20.95 MB\nData read: 6.91 MB (ratio 3.03:1)\nTime: 4.742 sec (0 m 4 s)\nStart Date: 2024:04:29 21:24:14\nEnd Date: 2024:04:29 21:24:18\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:69: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic at an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/yara-at-offset.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_at_offset.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 4.742 sec (0 m 4 s) Start Date: 2024:04:29 21:24:14 End Date: 2024:04:29 21:24:18 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10069== Memcheck, a memory error detector [INFO]: ==10069== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10069== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10069== Parent PID: 9753 [INFO]: ==10069== [INFO]: --10069-- [INFO]: --10069-- Valgrind options: [INFO]: --10069-- -v [INFO]: --10069-- --trace-children=yes [INFO]: --10069-- --track-fds=yes [INFO]: --10069-- --leak-check=full [INFO]: --10069-- --show-possibly-lost=no [INFO]: --10069-- --show-leak-kinds=definite [INFO]: --10069-- --errors-for-leak-kinds=definite [INFO]: --10069-- --main-stacksize=16777216 [INFO]: --10069-- --gen-suppressions=all [INFO]: --10069-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10069-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: --10069-- --error-exitcode=123 [INFO]: --10069-- Contents of /proc/version: [INFO]: --10069-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10069-- [INFO]: --10069-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10069-- Page sizes: currently 4096, max supported 4096 [INFO]: --10069-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10069-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10069-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10069-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10069-- might be shown as UnknownInlinedFun [INFO]: --10069-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10069-- object doesn't have a dynamic symbol table [INFO]: --10069-- Scheduler: using generic scheduler lock implementation. [INFO]: --10069-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10069-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10069== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10069-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10069== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10069-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10069== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10069-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10069== [INFO]: ==10069== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10069== don't want to do, unless you know exactly what you're doing, [INFO]: ==10069== or are doing some strange experiment): [INFO]: ==10069== /usr/libexec/valgrind/../../bin/vgdb --pid=10069 ...command... [INFO]: ==10069== [INFO]: ==10069== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10069== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10069== and then give GDB the following command [INFO]: ==10069== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10069 [INFO]: ==10069== --pid is optional if only one valgrind process is running [INFO]: ==10069== [INFO]: --10069-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10069-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10069-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10069-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10069-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10069-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10069-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10069-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10069-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10069-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10069-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10069-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10069-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10069-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10069-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10069-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10069-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10069-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10069-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10069-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10069-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10069-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10069-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10069== Preferring higher priority redirection: [INFO]: --10069-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10069-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10069-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10069-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10069== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10069-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10069-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10069-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10069-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10069-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10069-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10069-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10069-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10069-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10069-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10069-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10069-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10069-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10069-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10069-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10069-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10069-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10069-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10069-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10069-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10069-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10069-- REDIR: 0x50369a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --10069-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10069-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10069-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10069-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10069-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10069-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10069-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10069-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10069-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --10069-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --10069-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --10069-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --10069-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==10069== [INFO]: ==10069== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10069== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: ==10069== [INFO]: ==10069== [INFO]: ==10069== (No origin, error cannot be suppressed) [INFO]: ==10069== [INFO]: ==10069== HEAP SUMMARY: [INFO]: ==10069== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==10069== total heap usage: 25,580 allocs, 25,452 frees, 59,711,032 bytes allocated [INFO]: ==10069== [INFO]: ==10069== Searching for pointers to 128 not-freed blocks [INFO]: ==10069== Checked 8,666,312 bytes [INFO]: ==10069== [INFO]: ==10069== LEAK SUMMARY: [INFO]: ==10069== definitely lost: 0 bytes in 0 blocks [INFO]: ==10069== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10069== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10069== still reachable: 34,667 bytes in 124 blocks [INFO]: ==10069== suppressed: 0 bytes in 0 blocks [INFO]: ==10069== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10069== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10069== [INFO]: ==10069== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_yara_in_range _____________________________ self = def test_yara_in_range(self): self.step_name('Test yara signature - detect TAR file magic in a range') testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'yara-in-range.yara', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_in_range.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_I...n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK\n/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 47\nInfected files: 3\nData scanned: 20.95 MB\nData read: 6.91 MB (ratio 3.03:1)\nTime: 4.722 sec (0 m 4 s)\nStart Date: 2024:04:29 21:24:19\nEnd Date: 2024:04:29 21:24:24\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/match_offsets_test.py:87: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/yara-in-range.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz: YARA.yara_in_range.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe: OK /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 47 Infected files: 3 Data scanned: 20.95 MB Data read: 6.91 MB (ratio 3.03:1) Time: 4.722 sec (0 m 4 s) Start Date: 2024:04:29 21:24:19 End Date: 2024:04:29 21:24:24 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10075== Memcheck, a memory error detector [INFO]: ==10075== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10075== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10075== Parent PID: 9753 [INFO]: ==10075== [INFO]: --10075-- [INFO]: --10075-- Valgrind options: [INFO]: --10075-- -v [INFO]: --10075-- --trace-children=yes [INFO]: --10075-- --track-fds=yes [INFO]: --10075-- --leak-check=full [INFO]: --10075-- --show-possibly-lost=no [INFO]: --10075-- --show-leak-kinds=definite [INFO]: --10075-- --errors-for-leak-kinds=definite [INFO]: --10075-- --main-stacksize=16777216 [INFO]: --10075-- --gen-suppressions=all [INFO]: --10075-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10075-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: --10075-- --error-exitcode=123 [INFO]: --10075-- Contents of /proc/version: [INFO]: --10075-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10075-- [INFO]: --10075-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10075-- Page sizes: currently 4096, max supported 4096 [INFO]: --10075-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10075-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10075-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10075-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10075-- might be shown as UnknownInlinedFun [INFO]: --10075-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10075-- object doesn't have a dynamic symbol table [INFO]: --10075-- Scheduler: using generic scheduler lock implementation. [INFO]: --10075-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10075-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10075== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10075-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10075== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10075-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10075== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10075-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10075== [INFO]: ==10075== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10075== don't want to do, unless you know exactly what you're doing, [INFO]: ==10075== or are doing some strange experiment): [INFO]: ==10075== /usr/libexec/valgrind/../../bin/vgdb --pid=10075 ...command... [INFO]: ==10075== [INFO]: ==10075== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10075== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10075== and then give GDB the following command [INFO]: ==10075== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10075 [INFO]: ==10075== --pid is optional if only one valgrind process is running [INFO]: ==10075== [INFO]: --10075-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10075-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10075-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10075-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10075-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10075-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10075-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10075-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10075-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10075-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10075-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10075-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10075-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10075-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10075-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10075-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10075-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10075-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10075-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10075-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10075-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10075-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10075-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10075== Preferring higher priority redirection: [INFO]: --10075-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10075-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10075-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10075-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10075== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10075-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10075-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10075-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10075-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10075-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10075-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10075-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10075-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10075-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10075-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10075-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10075-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10075-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10075-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10075-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10075-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10075-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10075-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10075-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10075-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10075-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10075-- REDIR: 0x50369a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --10075-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10075-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10075-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10075-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10075-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10075-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10075-- REDIR: 0x50313a0 (libc.so.6:posix_memalign) redirected to 0x484bcb5 (posix_memalign) [INFO]: --10075-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10075-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: --10075-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --10075-- REDIR: 0x5115050 (libc.so.6:__strspn_sse42) redirected to 0x4852620 (strspn) [INFO]: --10075-- REDIR: 0x50ae890 (libc.so.6:__strcpy_chk) redirected to 0x4851d10 (__strcpy_chk) [INFO]: --10075-- Discarding syms at 0x5e00130-0x5e01a15 in /usr/lib64/gconv/UTF-16.so (have_dinfo 1) [INFO]: ==10075== [INFO]: ==10075== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10075== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-emz_gng0/valgrind.log [INFO]: ==10075== [INFO]: ==10075== [INFO]: ==10075== (No origin, error cannot be suppressed) [INFO]: ==10075== [INFO]: ==10075== HEAP SUMMARY: [INFO]: ==10075== in use at exit: 35,947 bytes in 128 blocks [INFO]: ==10075== total heap usage: 25,580 allocs, 25,452 frees, 59,711,024 bytes allocated [INFO]: ==10075== [INFO]: ==10075== Searching for pointers to 128 not-freed blocks [INFO]: ==10075== Checked 8,666,280 bytes [INFO]: ==10075== [INFO]: ==10075== LEAK SUMMARY: [INFO]: ==10075== definitely lost: 0 bytes in 0 blocks [INFO]: ==10075== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10075== possibly lost: 1,280 bytes in 4 blocks [INFO]: ==10075== still reachable: 34,667 bytes in 124 blocks [INFO]: ==10075== suppressed: 0 bytes in 0 blocks [INFO]: ==10075== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10075== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10075== [INFO]: ==10075== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_not_enabled ______________________________ self = def test_not_enabled(self): self.step_name('Test that clamscan will load the phishing sigs w/out issue') testpaths = list(TC.path_source.glob('unit_tests/input/other_scanfiles/phish-test-*')) testfiles = ' '.join([str(testpath) for testpath in testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'monitor-example-com.pdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 0 # virus NOT found E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: OK\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 3\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.896 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:24\nEnd Date: 2024:04:29 21:24:25\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/phishing_test.py:45: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamscan will load the phishing sigs w/out issue [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.896 sec (0 m 0 s) Start Date: 2024:04:29 21:24:24 End Date: 2024:04:29 21:24:25 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10081== Memcheck, a memory error detector [INFO]: ==10081== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10081== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10081== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [INFO]: ==10081== Parent PID: 9753 [INFO]: ==10081== [INFO]: --10081-- [INFO]: --10081-- Valgrind options: [INFO]: --10081-- -v [INFO]: --10081-- --trace-children=yes [INFO]: --10081-- --track-fds=yes [INFO]: --10081-- --leak-check=full [INFO]: --10081-- --show-possibly-lost=no [INFO]: --10081-- --show-leak-kinds=definite [INFO]: --10081-- --errors-for-leak-kinds=definite [INFO]: --10081-- --main-stacksize=16777216 [INFO]: --10081-- --gen-suppressions=all [INFO]: --10081-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10081-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: --10081-- --error-exitcode=123 [INFO]: --10081-- Contents of /proc/version: [INFO]: --10081-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10081-- [INFO]: --10081-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10081-- Page sizes: currently 4096, max supported 4096 [INFO]: --10081-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10081-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10081-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10081-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10081-- might be shown as UnknownInlinedFun [INFO]: --10081-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10081-- object doesn't have a dynamic symbol table [INFO]: --10081-- Scheduler: using generic scheduler lock implementation. [INFO]: --10081-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10081-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10081== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10081-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10081== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10081-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10081== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10081-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10081== [INFO]: ==10081== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10081== don't want to do, unless you know exactly what you're doing, [INFO]: ==10081== or are doing some strange experiment): [INFO]: ==10081== /usr/libexec/valgrind/../../bin/vgdb --pid=10081 ...command... [INFO]: ==10081== [INFO]: ==10081== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10081== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10081== and then give GDB the following command [INFO]: ==10081== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10081 [INFO]: ==10081== --pid is optional if only one valgrind process is running [INFO]: ==10081== [INFO]: --10081-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10081-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10081-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10081-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10081-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10081-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10081-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10081-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10081-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10081-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10081-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10081-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10081-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10081-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10081-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10081-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10081-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10081-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10081-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10081-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10081-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10081-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10081-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10081== Preferring higher priority redirection: [INFO]: --10081-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10081-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10081-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10081-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10081== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10081-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10081-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10081-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10081-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10081-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10081-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10081-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10081-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10081-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10081-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10081-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10081-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10081-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10081-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10081-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10081-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10081-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10081-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10081-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10081-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10081-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10081-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10081-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10081-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10081-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10081-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10081-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10081-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10081-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==10081== [INFO]: ==10081== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10081== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: ==10081== [INFO]: ==10081== [INFO]: ==10081== (No origin, error cannot be suppressed) [INFO]: ==10081== [INFO]: ==10081== HEAP SUMMARY: [INFO]: ==10081== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10081== total heap usage: 5,905 allocs, 5,844 frees, 1,252,196 bytes allocated [INFO]: ==10081== [INFO]: ==10081== Searching for pointers to 61 not-freed blocks [INFO]: ==10081== Checked 280,200 bytes [INFO]: ==10081== [INFO]: ==10081== LEAK SUMMARY: [INFO]: ==10081== definitely lost: 0 bytes in 0 blocks [INFO]: ==10081== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10081== possibly lost: 0 bytes in 0 blocks [INFO]: ==10081== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10081== suppressed: 0 bytes in 0 blocks [INFO]: ==10081== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10081== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10081== [INFO]: ==10081== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_ssl_and_cloak _____________________________ self = def test_ssl_and_cloak(self): self.step_name('Test clamscan --alert-phishing-ssl --alert-phishing-cloak') testpaths = list(TC.path_source.glob('unit_tests/input/other_scanfiles/phish-test-*')) testfiles = ' '.join([str(testpath) for testpath in testpaths]) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} --alert-phishing-ssl --alert-phishing-cloak {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=TC.path_tmp / 'monitor-example-com.pdb', testfiles=testfiles, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK\n/builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 3\nInfected files: 2\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.915 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:26\nEnd Date: 2024:04:29 21:24:27\n', err='LibClamAV info: Suspicious link found!\nLibClamAV info: Real URL: http://real-example.com\x01fake.example.com\nLibClamAV info: Display URL: real-example.com\nLibClamAV info: Suspicious link found!\nLibClamAV info: Real URL: ssl-example.com\nLibClamAV info: Display URL: https://ssl-example.com\n').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/phishing_test.py:67: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test clamscan --alert-phishing-ssl --alert-phishing-cloak [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak: Heuristics.Phishing.Email.Cloaked.Null FOUND /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean: OK /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl: Heuristics.Phishing.Email.SSL-Spoof FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 3 Infected files: 2 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.915 sec (0 m 0 s) Start Date: 2024:04:29 21:24:26 End Date: 2024:04:29 21:24:27 [DEBUG]: stderr: LibClamAV info: Suspicious link found! LibClamAV info: Real URL: http://real-example.comfake.example.com LibClamAV info: Display URL: real-example.com LibClamAV info: Suspicious link found! LibClamAV info: Real URL: ssl-example.com LibClamAV info: Display URL: https://ssl-example.com [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10083== Memcheck, a memory error detector [INFO]: ==10083== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10083== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10083== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/monitor-example-com.pdb --alert-phishing-ssl --alert-phishing-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-cloak /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-clean /builddir/build/BUILD/clamav-1.0.6/unit_tests/input/other_scanfiles/phish-test-ssl [INFO]: ==10083== Parent PID: 9753 [INFO]: ==10083== [INFO]: --10083-- [INFO]: --10083-- Valgrind options: [INFO]: --10083-- -v [INFO]: --10083-- --trace-children=yes [INFO]: --10083-- --track-fds=yes [INFO]: --10083-- --leak-check=full [INFO]: --10083-- --show-possibly-lost=no [INFO]: --10083-- --show-leak-kinds=definite [INFO]: --10083-- --errors-for-leak-kinds=definite [INFO]: --10083-- --main-stacksize=16777216 [INFO]: --10083-- --gen-suppressions=all [INFO]: --10083-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10083-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: --10083-- --error-exitcode=123 [INFO]: --10083-- Contents of /proc/version: [INFO]: --10083-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10083-- [INFO]: --10083-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10083-- Page sizes: currently 4096, max supported 4096 [INFO]: --10083-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10083-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10083-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10083-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10083-- might be shown as UnknownInlinedFun [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10083-- object doesn't have a dynamic symbol table [INFO]: --10083-- Scheduler: using generic scheduler lock implementation. [INFO]: --10083-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10083-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10083== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10083-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10083== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10083-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10083== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10083-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10083== [INFO]: ==10083== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10083== don't want to do, unless you know exactly what you're doing, [INFO]: ==10083== or are doing some strange experiment): [INFO]: ==10083== /usr/libexec/valgrind/../../bin/vgdb --pid=10083 ...command... [INFO]: ==10083== [INFO]: ==10083== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10083== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10083== and then give GDB the following command [INFO]: ==10083== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10083 [INFO]: ==10083== --pid is optional if only one valgrind process is running [INFO]: ==10083== [INFO]: --10083-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10083-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10083-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10083-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10083-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10083-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10083-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10083-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10083-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10083-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10083-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10083-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10083-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10083-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10083-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10083-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10083-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10083-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10083-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10083-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10083-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10083-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10083== Preferring higher priority redirection: [INFO]: --10083-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10083-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10083-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10083-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10083== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10083-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10083-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10083-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10083-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10083-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10083-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10083-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10083-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10083-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10083-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10083-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10083-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10083-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10083-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10083-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10083-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10083-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10083-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10083-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10083-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10083-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10083-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10083-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10083-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10083-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10083-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10083-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: --10083-- REDIR: 0x50f5d00 (libc.so.6:__strncasecmp_avx2) redirected to 0x484da70 (strncasecmp) [INFO]: --10083-- REDIR: 0x51123b0 (libc.so.6:__strcspn_sse42) redirected to 0x4852520 (strcspn) [INFO]: ==10083== [INFO]: ==10083== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10083== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-lvp3e0tq/valgrind.log [INFO]: ==10083== [INFO]: ==10083== [INFO]: ==10083== (No origin, error cannot be suppressed) [INFO]: ==10083== [INFO]: ==10083== HEAP SUMMARY: [INFO]: ==10083== in use at exit: 1,059 bytes in 61 blocks [INFO]: ==10083== total heap usage: 5,911 allocs, 5,850 frees, 1,252,757 bytes allocated [INFO]: ==10083== [INFO]: ==10083== Searching for pointers to 61 not-freed blocks [INFO]: ==10083== Checked 280,248 bytes [INFO]: ==10083== [INFO]: ==10083== LEAK SUMMARY: [INFO]: ==10083== definitely lost: 0 bytes in 0 blocks [INFO]: ==10083== indirectly lost: 0 bytes in 0 blocks [INFO]: ==10083== possibly lost: 0 bytes in 0 blocks [INFO]: ==10083== still reachable: 1,059 bytes in 61 blocks [INFO]: ==10083== suppressed: 0 bytes in 0 blocks [INFO]: ==10083== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==10083== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==10083== [INFO]: ==10083== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________________ TC.test_ldb_multi_pcre ____________________________ self = def test_ldb_multi_pcre(self): self.step_name('Test LDB and Yara regex rules with / and : in the string work') # This is a regression test for a bug where :'s in a PCRE regex would act # as delimiters if there was also a / in the regex before the : # using 'MZ' prefix so it is detected as MSEXE and not TEXT. This is to avoid normalization. testfile = TC.path_tmp / 'ldb_multi_pcre' testfile.write_text('MZ hello blee / BlAh') # Verify first with two subsigs that should match, that the alert has found. yara_db = TC.path_tmp / 'ldb_multi_pcre.ldb' yara_db.write_text( r'ldb_multi_pcre;Engine:81-255,Target:0;0&1&2;68656c6c6f20;0/hello blee/;0/blah/i' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre: ldb_multi_pcre.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.865 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:27\nEnd Date: 2024:04:29 21:24:28\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:247: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre: ldb_multi_pcre.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.865 sec (0 m 0 s) Start Date: 2024:04:29 21:24:27 End Date: 2024:04:29 21:24:28 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10085== Memcheck, a memory error detector [INFO]: ==10085== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10085== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10085== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_multi_pcre [INFO]: ==10085== Parent PID: 9753 [INFO]: ==10085== [INFO]: --10085-- [INFO]: --10085-- Valgrind options: [INFO]: --10085-- -v [INFO]: --10085-- --trace-children=yes [INFO]: --10085-- --track-fds=yes [INFO]: --10085-- --leak-check=full [INFO]: --10085-- --show-possibly-lost=no [INFO]: --10085-- --show-leak-kinds=definite [INFO]: --10085-- --errors-for-leak-kinds=definite [INFO]: --10085-- --main-stacksize=16777216 [INFO]: --10085-- --gen-suppressions=all [INFO]: --10085-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10085-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10085-- --error-exitcode=123 [INFO]: --10085-- Contents of /proc/version: [INFO]: --10085-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10085-- [INFO]: --10085-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10085-- Page sizes: currently 4096, max supported 4096 [INFO]: --10085-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10085-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10085-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10085-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10085-- might be shown as UnknownInlinedFun [INFO]: --10085-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10085-- object doesn't have a dynamic symbol table [INFO]: --10085-- Scheduler: using generic scheduler lock implementation. [INFO]: --10085-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10085-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10085== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10085-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10085== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10085-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10085== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10085-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10085== [INFO]: ==10085== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10085== don't want to do, unless you know exactly what you're doing, [INFO]: ==10085== or are doing some strange experiment): [INFO]: ==10085== /usr/libexec/valgrind/../../bin/vgdb --pid=10085 ...command... [INFO]: ==10085== [INFO]: ==10085== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10085== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10085== and then give GDB the following command [INFO]: ==10085== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10085 [INFO]: ==10085== --pid is optional if only one valgrind process is running [INFO]: ==10085== [INFO]: --10085-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10085-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10085-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10085-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10085-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10085-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10085-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10085-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10085-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10085-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10085-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10085-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10085-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10085-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10085-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10085-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10085-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10085-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10085-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10085-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10085-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10085-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10085-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10085== Preferring higher priority redirection: [INFO]: --10085-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10085-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10085-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10085-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10085== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10085-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10085-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10085-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10085-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10085-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10085-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10085-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10085-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10085-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10085-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10085-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10085-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10085-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10085-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10085-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10085-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10085-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10085-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10085-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10085-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10085-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10085-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10085-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10085-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10085-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10085-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10085-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10085== [INFO]: ==10085== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10085== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10085== [INFO]: ==10085== [INFO]: ==10085== (No origin, error cannot be suppressed) [INFO]: ==10085== [INFO]: ==10085== HEAP SUMMARY: [INFO]: ==10085== in use at exit: 0 bytes in 0 blocks [INFO]: ==10085== total heap usage: 5,385 allocs, 5,385 frees, 596,375 bytes allocated [INFO]: ==10085== [INFO]: ==10085== All heap blocks were freed -- no leaks are possible [INFO]: ==10085== [INFO]: ==10085== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_ldb_offset_pcre ____________________________ self = def test_ldb_offset_pcre(self): self.step_name('Test LDB regex rules with an offset') # The offset feature starts the match some # of bytes after start of the pattern match # The offset is EXACT, meaning it's no longer wildcard. # The match must occur exactly that number of bytes from the start of the file. # using 'MZ' prefix so it is detected as MSEXE and not TEXT. This is to avoid normalization. testfile = TC.path_tmp / 'ldb_offset_pcre' testfile.write_text('MZ hello blee') # First without the offset, make sure it matches yara_db = TC.path_tmp / 'ldb_pcre_no_offset.ldb' yara_db.write_text( r'ldb_pcre_no_offset;Engine:81-255,Target:0;0&1;68656c6c6f20;0/hello blee/' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre: ldb_pcre_no_offset.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.845 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:29\nEnd Date: 2024:04:29 21:24:29\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:145: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with an offset [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre: ldb_pcre_no_offset.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.845 sec (0 m 0 s) Start Date: 2024:04:29 21:24:29 End Date: 2024:04:29 21:24:29 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10087== Memcheck, a memory error detector [INFO]: ==10087== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10087== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10087== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_no_offset.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_offset_pcre [INFO]: ==10087== Parent PID: 9753 [INFO]: ==10087== [INFO]: --10087-- [INFO]: --10087-- Valgrind options: [INFO]: --10087-- -v [INFO]: --10087-- --trace-children=yes [INFO]: --10087-- --track-fds=yes [INFO]: --10087-- --leak-check=full [INFO]: --10087-- --show-possibly-lost=no [INFO]: --10087-- --show-leak-kinds=definite [INFO]: --10087-- --errors-for-leak-kinds=definite [INFO]: --10087-- --main-stacksize=16777216 [INFO]: --10087-- --gen-suppressions=all [INFO]: --10087-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10087-- --error-exitcode=123 [INFO]: --10087-- Contents of /proc/version: [INFO]: --10087-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10087-- [INFO]: --10087-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10087-- Page sizes: currently 4096, max supported 4096 [INFO]: --10087-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10087-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10087-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10087-- might be shown as UnknownInlinedFun [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10087-- object doesn't have a dynamic symbol table [INFO]: --10087-- Scheduler: using generic scheduler lock implementation. [INFO]: --10087-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10087-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10087== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10087-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10087== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10087-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10087== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10087-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10087== [INFO]: ==10087== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10087== don't want to do, unless you know exactly what you're doing, [INFO]: ==10087== or are doing some strange experiment): [INFO]: ==10087== /usr/libexec/valgrind/../../bin/vgdb --pid=10087 ...command... [INFO]: ==10087== [INFO]: ==10087== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10087== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10087== and then give GDB the following command [INFO]: ==10087== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10087 [INFO]: ==10087== --pid is optional if only one valgrind process is running [INFO]: ==10087== [INFO]: --10087-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10087-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10087-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10087-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10087-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10087-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10087-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10087-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10087-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10087-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10087-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10087-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10087-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10087-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10087-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10087-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10087-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10087-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10087-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10087-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10087-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10087== Preferring higher priority redirection: [INFO]: --10087-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10087-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10087-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10087-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10087== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10087-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10087-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10087-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10087-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10087-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10087-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10087-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10087-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10087-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10087-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10087-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10087-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10087-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10087-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10087-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10087-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10087-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10087-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10087-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10087-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10087-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10087-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10087-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10087-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10087-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10087-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10087-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10087== [INFO]: ==10087== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10087== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10087== [INFO]: ==10087== [INFO]: ==10087== (No origin, error cannot be suppressed) [INFO]: ==10087== [INFO]: ==10087== HEAP SUMMARY: [INFO]: ==10087== in use at exit: 0 bytes in 0 blocks [INFO]: ==10087== total heap usage: 5,377 allocs, 5,377 frees, 575,424 bytes allocated [INFO]: ==10087== [INFO]: ==10087== All heap blocks were freed -- no leaks are possible [INFO]: ==10087== [INFO]: ==10087== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________________ TC.test_pcre_flag _______________________________ self = def test_pcre_flag(self): self.step_name('Test LDB regex rules with case insensitive flag') # This test validates that the flags field is, and more specifically the case-insensitive flag is working. # using 'MZ' prefix so it is detected as MSEXE and not TEXT. This is to avoid normalization. testfile = TC.path_tmp / 'ldb_pcre_flag' testfile.write_text('MZ hello blee / BlAh') # First test withOUT the case-insensitive flag. It should NOT match. yara_db = TC.path_tmp / 'ldb_pcre_case.ldb' yara_db.write_text( r'ldb_pcre_case;Engine:81-255,Target:0;0&1;68656c6c6f20;0/blah/' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 0 # virus NOT found E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag: OK\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 0\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.836 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:30\nEnd Date: 2024:04:29 21:24:31\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:205: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB regex rules with case insensitive flag [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag: OK ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 0 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.836 sec (0 m 0 s) Start Date: 2024:04:29 21:24:30 End Date: 2024:04:29 21:24:31 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10089== Memcheck, a memory error detector [INFO]: ==10089== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10089== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10089== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_case.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/ldb_pcre_flag [INFO]: ==10089== Parent PID: 9753 [INFO]: ==10089== [INFO]: --10089-- [INFO]: --10089-- Valgrind options: [INFO]: --10089-- -v [INFO]: --10089-- --trace-children=yes [INFO]: --10089-- --track-fds=yes [INFO]: --10089-- --leak-check=full [INFO]: --10089-- --show-possibly-lost=no [INFO]: --10089-- --show-leak-kinds=definite [INFO]: --10089-- --errors-for-leak-kinds=definite [INFO]: --10089-- --main-stacksize=16777216 [INFO]: --10089-- --gen-suppressions=all [INFO]: --10089-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10089-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10089-- --error-exitcode=123 [INFO]: --10089-- Contents of /proc/version: [INFO]: --10089-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10089-- [INFO]: --10089-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10089-- Page sizes: currently 4096, max supported 4096 [INFO]: --10089-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10089-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10089-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10089-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10089-- might be shown as UnknownInlinedFun [INFO]: --10089-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10089-- object doesn't have a dynamic symbol table [INFO]: --10089-- Scheduler: using generic scheduler lock implementation. [INFO]: --10089-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10089-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10089== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10089-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10089== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10089-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10089== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10089-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10089== [INFO]: ==10089== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10089== don't want to do, unless you know exactly what you're doing, [INFO]: ==10089== or are doing some strange experiment): [INFO]: ==10089== /usr/libexec/valgrind/../../bin/vgdb --pid=10089 ...command... [INFO]: ==10089== [INFO]: ==10089== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10089== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10089== and then give GDB the following command [INFO]: ==10089== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10089 [INFO]: ==10089== --pid is optional if only one valgrind process is running [INFO]: ==10089== [INFO]: --10089-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10089-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10089-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10089-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10089-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10089-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10089-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10089-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10089-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10089-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10089-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10089-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10089-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10089-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10089-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10089-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10089-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10089-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10089-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10089-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10089-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10089-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10089-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10089== Preferring higher priority redirection: [INFO]: --10089-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10089-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10089-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10089-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10089== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10089-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10089-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10089-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10089-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10089-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10089-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10089-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10089-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10089-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10089-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10089-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10089-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10089-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10089-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10089-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10089-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10089-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10089-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10089-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10089-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10089-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10089-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10089-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10089-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10089-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10089-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10089-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10089== [INFO]: ==10089== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10089== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10089== [INFO]: ==10089== [INFO]: ==10089== (No origin, error cannot be suppressed) [INFO]: ==10089== [INFO]: ==10089== HEAP SUMMARY: [INFO]: ==10089== in use at exit: 0 bytes in 0 blocks [INFO]: ==10089== total heap usage: 5,374 allocs, 5,374 frees, 575,110 bytes allocated [INFO]: ==10089== [INFO]: ==10089== All heap blocks were freed -- no leaks are possible [INFO]: ==10089== [INFO]: ==10089== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________________ TC.test_slash_colon ______________________________ self = def test_slash_colon(self): self.step_name('Test LDB and Yara regex rules with / and : in the string work') # This is a regression test for a bug where :'s in a PCRE regex would act # as delimiters if there was also a / in the regex before the : testfile = TC.path_tmp / 'regex-slash-colon.sample' testfile.write_text('hello blee/blah: bleh') # First test with LDB PCRE rule # yara_db = TC.path_tmp / 'regex-slash-colon.ldb' yara_db.write_text( r'regex;Engine:81-255,Target:0;1;68656c6c6f20;0/hello blee\/blah: bleh/' ) command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=yara_db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample: regex.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.842 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:31\nEnd Date: 2024:04:29 21:24:32\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:86: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test LDB and Yara regex rules with / and : in the string work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample: regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.842 sec (0 m 0 s) Start Date: 2024:04:29 21:24:31 End Date: 2024:04:29 21:24:32 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10091== Memcheck, a memory error detector [INFO]: ==10091== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10091== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10091== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.ldb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex-slash-colon.sample [INFO]: ==10091== Parent PID: 9753 [INFO]: ==10091== [INFO]: --10091-- [INFO]: --10091-- Valgrind options: [INFO]: --10091-- -v [INFO]: --10091-- --trace-children=yes [INFO]: --10091-- --track-fds=yes [INFO]: --10091-- --leak-check=full [INFO]: --10091-- --show-possibly-lost=no [INFO]: --10091-- --show-leak-kinds=definite [INFO]: --10091-- --errors-for-leak-kinds=definite [INFO]: --10091-- --main-stacksize=16777216 [INFO]: --10091-- --gen-suppressions=all [INFO]: --10091-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10091-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10091-- --error-exitcode=123 [INFO]: --10091-- Contents of /proc/version: [INFO]: --10091-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10091-- [INFO]: --10091-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10091-- Page sizes: currently 4096, max supported 4096 [INFO]: --10091-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10091-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10091-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10091-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10091-- might be shown as UnknownInlinedFun [INFO]: --10091-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10091-- object doesn't have a dynamic symbol table [INFO]: --10091-- Scheduler: using generic scheduler lock implementation. [INFO]: --10091-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10091-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10091== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10091-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10091== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10091-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10091== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10091-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10091== [INFO]: ==10091== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10091== don't want to do, unless you know exactly what you're doing, [INFO]: ==10091== or are doing some strange experiment): [INFO]: ==10091== /usr/libexec/valgrind/../../bin/vgdb --pid=10091 ...command... [INFO]: ==10091== [INFO]: ==10091== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10091== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10091== and then give GDB the following command [INFO]: ==10091== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10091 [INFO]: ==10091== --pid is optional if only one valgrind process is running [INFO]: ==10091== [INFO]: --10091-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10091-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10091-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10091-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10091-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10091-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10091-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10091-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10091-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10091-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10091-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10091-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10091-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10091-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10091-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10091-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10091-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10091-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10091-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10091-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10091-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10091-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10091-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10091== Preferring higher priority redirection: [INFO]: --10091-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10091-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10091-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10091-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10091== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10091-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10091-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10091-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10091-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10091-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10091-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10091-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10091-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10091-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10091-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10091-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10091-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10091-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10091-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10091-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10091-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10091-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10091-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10091-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10091-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10091-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10091-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10091-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10091-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10091-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10091-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10091-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10091== [INFO]: ==10091== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10091== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10091== [INFO]: ==10091== [INFO]: ==10091== (No origin, error cannot be suppressed) [INFO]: ==10091== [INFO]: ==10091== HEAP SUMMARY: [INFO]: ==10091== in use at exit: 0 bytes in 0 blocks [INFO]: ==10091== total heap usage: 5,396 allocs, 5,396 frees, 577,395 bytes allocated [INFO]: ==10091== [INFO]: ==10091== All heap blocks were freed -- no leaks are possible [INFO]: ==10091== [INFO]: ==10091== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________________ TC.test_yara _________________________________ self = def test_yara(self): self.step_name('Test yara signature - detect TAR file magic in a range') db = TC.path_tmp / 'regex.yara' db.write_text( r''' rule regex { meta: author = "Micah" date = "2022/03/12" description = "Just a test" strings: $a = "/+eat/" /* <-- not a regex */ $b = /\$protein+=\([a-z]+\)/ /* <-- is a regex */ condition: all of them } ''' ) testfile = TC.path_tmp / 'regex.sample' testfile.write_text('var $protein=(slugs); /+eat/ $protein') command = '{valgrind} {valgrind_args} {clamscan} -d {path_db} {testfiles}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, clamscan=TC.clamscan, path_db=db, testfiles=testfile, ) output = self.execute_command(command) > assert output.ec == 1 # virus found E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample: YARA.regex.UNOFFICIAL FOUND\n\n----------- SCAN SUMMARY -----------\nKnown viruses: 1\nEngine version: 1.0.6\nScanned directories: 0\nScanned files: 1\nInfected files: 1\nData scanned: 0.00 MB\nData read: 0.00 MB (ratio 0.00:1)\nTime: 0.880 sec (0 m 0 s)\nStart Date: 2024:04:29 21:24:33\nEnd Date: 2024:04:29 21:24:34\n', err='').ec /builddir/build/BUILD/clamav-1.0.6/unit_tests/clamscan/regex_test.py:59: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test yara signature - detect TAR file magic in a range [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample: YARA.regex.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Known viruses: 1 Engine version: 1.0.6 Scanned directories: 0 Scanned files: 1 Infected files: 1 Data scanned: 0.00 MB Data read: 0.00 MB (ratio 0.00:1) Time: 0.880 sec (0 m 0 s) Start Date: 2024:04:29 21:24:33 End Date: 2024:04:29 21:24:34 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==10093== Memcheck, a memory error detector [INFO]: ==10093== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al. [INFO]: ==10093== Using Valgrind-3.23.0-c54d316124-20240426 and LibVEX; rerun with -h for copyright info [INFO]: ==10093== Command: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan -d /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.yara /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/regex.sample [INFO]: ==10093== Parent PID: 9753 [INFO]: ==10093== [INFO]: --10093-- [INFO]: --10093-- Valgrind options: [INFO]: --10093-- -v [INFO]: --10093-- --trace-children=yes [INFO]: --10093-- --track-fds=yes [INFO]: --10093-- --leak-check=full [INFO]: --10093-- --show-possibly-lost=no [INFO]: --10093-- --show-leak-kinds=definite [INFO]: --10093-- --errors-for-leak-kinds=definite [INFO]: --10093-- --main-stacksize=16777216 [INFO]: --10093-- --gen-suppressions=all [INFO]: --10093-- --suppressions=/builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10093-- --log-file=/builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: --10093-- --error-exitcode=123 [INFO]: --10093-- Contents of /proc/version: [INFO]: --10093-- Linux version 6.5.6-300.fc39.x86_64 (mockbuild@fe458d2eae0b4ff0bb0a00a41dbf9744) (gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3), GNU ld version 2.40-13.fc39) #1 SMP PREEMPT_DYNAMIC Fri Oct 6 19:57:21 UTC 2023 [INFO]: --10093-- [INFO]: --10093-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3-avx-avx2-bmi-f16c-rdrand-rdseed-fma [INFO]: --10093-- Page sizes: currently 4096, max supported 4096 [INFO]: --10093-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --10093-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: --10093-- Reading syms from /usr/lib64/ld-linux-x86-64.so.2 [INFO]: --10093-- Warning: cross-CU LIMITATION: some inlined fn names [INFO]: --10093-- might be shown as UnknownInlinedFun [INFO]: --10093-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux [INFO]: --10093-- object doesn't have a dynamic symbol table [INFO]: --10093-- Scheduler: using generic scheduler lock implementation. [INFO]: --10093-- Reading suppressions file: /builddir/build/BUILD/clamav-1.0.6/unit_tests/valgrind.supp [INFO]: --10093-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==10093== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-10093-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10093== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-10093-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10093== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-10093-by-mockbuild-on-db3ac15463694d518b096c6b61153c4f [INFO]: ==10093== [INFO]: ==10093== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==10093== don't want to do, unless you know exactly what you're doing, [INFO]: ==10093== or are doing some strange experiment): [INFO]: ==10093== /usr/libexec/valgrind/../../bin/vgdb --pid=10093 ...command... [INFO]: ==10093== [INFO]: ==10093== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==10093== /path/to/gdb /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/clamscan/clamscan [INFO]: ==10093== and then give GDB the following command [INFO]: ==10093== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=10093 [INFO]: ==10093== --pid is optional if only one valgrind process is running [INFO]: ==10093== [INFO]: --10093-- REDIR: 0x4026440 (ld-linux-x86-64.so.2:strlen) redirected to 0x5821256f (???) [INFO]: --10093-- REDIR: 0x4024e20 (ld-linux-x86-64.so.2:strcmp) redirected to 0x58212589 (???) [INFO]: --10093-- REDIR: 0x4024bf0 (ld-linux-x86-64.so.2:index) redirected to 0x582125a4 (???) [INFO]: --10093-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so [INFO]: --10093-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x04024e20 (strcmp ) R-> (0000.0) 0x58212589 ??? [INFO]: --10093-- new: 0x04024e20 (strcmp ) R-> (2016.0) 0x0484e100 strcmp [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x04026440 (strlen ) R-> (0000.0) 0x5821256f ??? [INFO]: --10093-- new: 0x04026440 (strlen ) R-> (2007.0) 0x0484cef0 strlen [INFO]: --10093-- REDIR: 0x4024250 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x48521b0 (mempcpy) [INFO]: --10093-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclamav/libclamav.so.11.0.0 [INFO]: --10093-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --10093-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --10093-- Reading syms from /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --10093-- Reading syms from /usr/lib64/libcrypto.so.3.2.1 [INFO]: --10093-- Reading syms from /usr/lib64/libz.so.1.3.0.zlib-ng [INFO]: --10093-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --10093-- Reading syms from /usr/lib64/libpcre2-8.so.0.12.0 [INFO]: --10093-- Reading syms from /usr/lib64/libxml2.so.2.12.6 [INFO]: --10093-- Reading syms from /usr/lib64/libjson-c.so.5.3.0 [INFO]: --10093-- Reading syms from /usr/lib64/libgcc_s-14-20240411.so.1 [INFO]: --10093-- Reading syms from /usr/lib64/liblzma.so.5.4.6 [INFO]: --10093-- REDIR: 0x40265e0 (ld-linux-x86-64.so.2:strncmp) redirected to 0x484d930 (strncmp) [INFO]: --10093-- REDIR: 0x5036da0 (libc.so.6:strnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036e30 (libc.so.6:strpbrk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034f30 (libc.so.6:strcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504bca0 (libc.so.6:wcsnlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034010 (libc.so.6:memset) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504b3a0 (libc.so.6:wcslen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50adcc0 (libc.so.6:__memcpy_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5033f80 (libc.so.6:memrchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504bc40 (libc.so.6:wcsncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50335a0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504a230 (libc.so.6:wcschr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034e20 (libc.so.6:index) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036e60 (libc.so.6:rindex) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504a2e0 (libc.so.6:wcscmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034230 (libc.so.6:stpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5057d40 (libc.so.6:wmemchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036c40 (libc.so.6:strncmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034290 (libc.so.6:strcasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036060 (libc.so.6:strcspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x504b170 (libc.so.6:wcscpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034db0 (libc.so.6:strcat) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036b40 (libc.so.6:strncasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034ea0 (libc.so.6:strchrnul) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50334b0 (libc.so.6:bcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5035ff0 (libc.so.6:strcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5034330 (libc.so.6:strcasecmp_l) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036a10 (libc.so.6:strlen) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036ce0 (libc.so.6:strncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5057dc0 (libc.so.6:wmemcmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50adde0 (libc.so.6:__memmove_chk) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10093-- REDIR: 0x50341c0 (libc.so.6:stpcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5033d40 (libc.so.6:memmove) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10093== Preferring higher priority redirection: [INFO]: --10093-- old: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.0) 0x0484f590 __memcpy_avx_unaligned_erms [INFO]: --10093-- new: 0x050f2e40 (__memcpy_avx_unalign) R-> (2018.1) 0x04851040 memmove [INFO]: --10093-- REDIR: 0x5033430 (libc.so.6:memchr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5037030 (libc.so.6:strspn) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5049e60 (libc.so.6:wcpncpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5033e60 (libc.so.6:mempcpy) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x5036aa0 (libc.so.6:strncasecmp) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: --10093-- REDIR: 0x50378a0 (libc.so.6:strstr) redirected to 0x483a1ea (_vgnU_ifunc_wrapper) [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: ==10093== WARNING: new redirection conflicts with existing -- ignoring it [INFO]: --10093-- old: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2030.0) 0x048522b0 __memcpy_chk [INFO]: --10093-- new: 0x050f2e10 (__memcpy_chk_avx_una) R-> (2024.0) 0x04851c30 __memmove_chk [INFO]: --10093-- REDIR: 0x50f7a30 (libc.so.6:__strrchr_avx2) redirected to 0x484c770 (rindex) [INFO]: --10093-- REDIR: 0x50f5b80 (libc.so.6:__strlen_avx2) redirected to 0x484cdd0 (strlen) [INFO]: --10093-- REDIR: 0x50f6c60 (libc.so.6:__strncmp_avx2) redirected to 0x484d750 (strncmp) [INFO]: --10093-- REDIR: 0x50f53d0 (libc.so.6:__strcmp_avx2) redirected to 0x484e000 (strcmp) [INFO]: --10093-- REDIR: 0x50f2440 (libc.so.6:__memchr_avx2) redirected to 0x484e180 (memchr) [INFO]: --10093-- REDIR: 0x50f4fa0 (libc.so.6:__strchr_avx2) redirected to 0x484c950 (index) [INFO]: --10093-- REDIR: 0x50f51e0 (libc.so.6:__strchrnul_avx2) redirected to 0x4851ca0 (strchrnul) [INFO]: --10093-- REDIR: 0x502f6b0 (libc.so.6:malloc) redirected to 0x48437b9 (malloc) [INFO]: --10093-- REDIR: 0x50f2e00 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x4851db0 (mempcpy) [INFO]: --10093-- REDIR: 0x50f2e40 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4851040 (memmove) [INFO]: --10093-- REDIR: 0x502fd90 (libc.so.6:free) redirected to 0x4846ada (free) [INFO]: --10093-- REDIR: 0x502fff0 (libc.so.6:realloc) redirected to 0x484b28c (realloc) [INFO]: --10093-- REDIR: 0x50f4290 (libc.so.6:__strcasecmp_l_avx2) redirected to 0x484dc10 (strcasecmp_l) [INFO]: --10093-- REDIR: 0x50f2e10 (libc.so.6:__memcpy_chk_avx_unaligned_erms) redirected to 0x48522b0 (__memcpy_chk) [INFO]: --10093-- REDIR: 0x50f3af0 (libc.so.6:__stpcpy_avx2) redirected to 0x4850870 (stpcpy) [INFO]: --10093-- REDIR: 0x50f7760 (libc.so.6:__strnlen_avx2) redirected to 0x484cd70 (strnlen) [INFO]: --10093-- REDIR: 0x5030700 (libc.so.6:calloc) redirected to 0x484b072 (calloc) [INFO]: --10093-- REDIR: 0x50f3840 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4850f20 (memset) [INFO]: --10093-- REDIR: 0x50f4280 (libc.so.6:__strcasecmp_avx2) redirected to 0x484d990 (strcasecmp) [INFO]: --10093-- REDIR: 0x50369a0 (libc.so.6:strlcpy) redirected to 0x484d620 (strlcpy) [INFO]: --10093-- REDIR: 0x50f72c0 (libc.so.6:__strncpy_avx2) redirected to 0x484d0a0 (strncpy) [INFO]: --10093-- REDIR: 0x5047920 (libc.so.6:__strstr_sse2_unaligned) redirected to 0x4852320 (strstr) [INFO]: --10093-- REDIR: 0x5036920 (libc.so.6:strlcat) redirected to 0x484cc00 (strlcat) [INFO]: --10093-- REDIR: 0x50f4c90 (libc.so.6:__strcat_avx2) redirected to 0x484c980 (strcat) [INFO]: --10093-- REDIR: 0x50f26e0 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x4850750 (bcmp) [INFO]: --10093-- REDIR: 0x50f5930 (libc.so.6:__strcpy_avx2) redirected to 0x484cf20 (strcpy) [INFO]: ==10093== [INFO]: ==10093== FILE DESCRIPTORS: 4 open (3 std) at exit. [INFO]: ==10093== Open file descriptor 3: /builddir/build/BUILD/clamav-1.0.6/redhat-linux-build/unit_tests/TC-shv913fp/valgrind.log [INFO]: ==10093== [INFO]: ==10093== [INFO]: ==10093== (No origin, error cannot be suppressed) [INFO]: ==10093== [INFO]: ==10093== HEAP SUMMARY: [INFO]: ==10093== in use at exit: 0 bytes in 0 blocks [INFO]: ==10093== total heap usage: 5,459 allocs, 5,459 frees, 983,918 bytes allocated [INFO]: ==10093== [INFO]: ==10093== All heap blocks were freed -- no leaks are possible [INFO]: ==10093== [INFO]: ==10093== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED clamscan/_basic_test.py::TC::test_00_version - AssertionError: assert ... FAILED clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: a... FAILED clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 - AssertionErr... FAILED clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx - Assertio... FAILED clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx - Assertio... FAILED clamscan/allmatch_test.py::TC::test_many_sigs - AssertionError: assert... FAILED clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch - AssertionE... FAILED clamscan/allmatch_test.py::TC::test_pe_allmatch - AssertionError: asse... FAILED clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb - Assertion... FAILED clamscan/allmatch_test.py::TC::test_regression_imphash_nosize - Assert... FAILED clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx - AssertionEr... FAILED clamscan/assorted_test.py::TC::test_00_version - AssertionError: asser... FAILED clamscan/assorted_test.py::TC::test_pe_cert_block - AssertionError: as... FAILED clamscan/assorted_test.py::TC::test_pe_cert_trust - AssertionError: as... FAILED clamscan/assorted_test.py::TC::test_weak_indicator_icon - AssertionErr... FAILED clamscan/bytecode_test.py::TC::test_pdf_hook - AssertionError: assert ... FAILED clamscan/container_sigs_test.py::TC::test_clamscan_container_cache - A... FAILED clamscan/container_sigs_test.py::TC::test_container - assert 123 == 1 FAILED clamscan/container_sigs_test.py::TC::test_intermediates - assert 123 == 1 FAILED clamscan/container_sigs_test.py::TC::test_intermediates_cache - Assert... FAILED clamscan/fp_check_test.py::TC::test_alerts_on_normalized - AssertionEr... FAILED clamscan/fp_check_test.py::TC::test_alerts_on_zip - AssertionError: Va... FAILED clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized - AssertionEr... FAILED clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild - Assert... FAILED clamscan/fp_check_test.py::TC::test_fp_for_normalized - AssertionError... FAILED clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild - Assertion... FAILED clamscan/fp_check_test.py::TC::test_fp_for_zipped_file - AssertionErro... FAILED clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild - Assertio... FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm - assert ... FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming - assert 12... FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash - assert 123 == 2 FAILED clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch - Asserti... FAILED clamscan/heuristics_test.py::TC::test_allmatch - AssertionError: asser... FAILED clamscan/heuristics_test.py::TC::test_allmatch_precedence - AssertionE... FAILED clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator - Ass... FAILED clamscan/heuristics_test.py::TC::test_only_heur - AssertionError: asse... FAILED clamscan/heuristics_test.py::TC::test_precedence - AssertionError: ass... FAILED clamscan/image_extraction_test.py::TC::test_xls_jpeg_png - assert 123 ... FAILED clamscan/image_extraction_test.py::TC::test_xls_with_detection - asser... FAILED clamscan/match_offsets_test.py::TC::test_LDB_VI - AssertionError: asse... FAILED clamscan/match_offsets_test.py::TC::test_yara_at_offset - AssertionErr... FAILED clamscan/match_offsets_test.py::TC::test_yara_in_range - AssertionErro... FAILED clamscan/phishing_test.py::TC::test_not_enabled - AssertionError: asse... FAILED clamscan/phishing_test.py::TC::test_ssl_and_cloak - AssertionError: as... FAILED clamscan/regex_test.py::TC::test_ldb_multi_pcre - AssertionError: asse... FAILED clamscan/regex_test.py::TC::test_ldb_offset_pcre - AssertionError: ass... FAILED clamscan/regex_test.py::TC::test_pcre_flag - AssertionError: assert 12... FAILED clamscan/regex_test.py::TC::test_slash_colon - AssertionError: assert ... FAILED clamscan/regex_test.py::TC::test_yara - AssertionError: assert 123 == 1 ERROR clamscan/_basic_test.py::TC::test_00_version - AssertionError: Valgrind... ERROR clamscan/_basic_test.py::TC::test_01_all_testfiles - AssertionError: Va... ERROR clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 - AssertionErro... ERROR clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx - Assertion... ERROR clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx - Assertion... ERROR clamscan/allmatch_test.py::TC::test_many_sigs - AssertionError: Valgrin... ERROR clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch - AssertionEr... ERROR clamscan/allmatch_test.py::TC::test_pe_allmatch - AssertionError: Valgr... ERROR clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb - AssertionE... ERROR clamscan/allmatch_test.py::TC::test_regression_imphash_nosize - Asserti... ERROR clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx - AssertionErr... ERROR clamscan/assorted_test.py::TC::test_00_version - AssertionError: Valgri... ERROR clamscan/assorted_test.py::TC::test_pe_cert_block - AssertionError: Val... ERROR clamscan/assorted_test.py::TC::test_pe_cert_trust - AssertionError: Val... ERROR clamscan/assorted_test.py::TC::test_weak_indicator_icon - AssertionErro... ERROR clamscan/bytecode_test.py::TC::test_pdf_hook - AssertionError: Valgrind... ERROR clamscan/container_sigs_test.py::TC::test_clamscan_container_cache - As... ERROR clamscan/container_sigs_test.py::TC::test_container - AssertionError: V... ERROR clamscan/container_sigs_test.py::TC::test_intermediates - AssertionErro... ERROR clamscan/container_sigs_test.py::TC::test_intermediates_cache - Asserti... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm - Assertio... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming - AssertionE... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash - AssertionErro... ERROR clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch - Assertio... ERROR clamscan/heuristics_test.py::TC::test_allmatch - AssertionError: Valgri... ERROR clamscan/heuristics_test.py::TC::test_allmatch_precedence - AssertionEr... ERROR clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator - Asse... ERROR clamscan/heuristics_test.py::TC::test_only_heur - AssertionError: Valgr... ERROR clamscan/heuristics_test.py::TC::test_precedence - AssertionError: Valg... ERROR clamscan/image_extraction_test.py::TC::test_xls_jpeg_png - AssertionErr... ERROR clamscan/image_extraction_test.py::TC::test_xls_with_detection - Assert... ERROR clamscan/match_offsets_test.py::TC::test_LDB_VI - AssertionError: Valgr... ERROR clamscan/match_offsets_test.py::TC::test_yara_at_offset - AssertionErro... ERROR clamscan/match_offsets_test.py::TC::test_yara_in_range - AssertionError... ERROR clamscan/phishing_test.py::TC::test_not_enabled - AssertionError: Valgr... ERROR clamscan/phishing_test.py::TC::test_ssl_and_cloak - AssertionError: Val... ERROR clamscan/regex_test.py::TC::test_ldb_multi_pcre - AssertionError: Valgr... ERROR clamscan/regex_test.py::TC::test_ldb_offset_pcre - AssertionError: Valg... ERROR clamscan/regex_test.py::TC::test_pcre_flag - AssertionError: Valgrind t... ERROR clamscan/regex_test.py::TC::test_slash_colon - AssertionError: Valgrind... ERROR clamscan/regex_test.py::TC::test_yara - AssertionError: Valgrind test F... ================== 49 failed, 41 errors in 112.35s (0:01:52) =================== 0% tests passed, 5 tests failed out of 5 Total Test time (real) = 114.87 sec The following tests FAILED: 2 - libclamav_valgrind (Failed) 5 - clamscan_valgrind (Failed) 7 - clamd_valgrind (Failed) 9 - freshclam_valgrind (Failed) 11 - sigtool_valgrind (Failed) Errors while running CTest + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clamav-1.0.6-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D6a8Oc + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav + cp -pr /builddir/build/BUILD/clamav-1.0.6/NEWS.md /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav + cp -pr /builddir/build/BUILD/clamav-1.0.6/README.md /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BH6Z33 + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/licenses/clamav + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/licenses/clamav + cp -pr /builddir/build/BUILD/clamav-1.0.6/COPYING /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/licenses/clamav + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav = 1.0.6-1.fc41 clamav(x86-64) = 1.0.6-1.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.13)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libclamav.so.11()(64bit) libcurl.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0.2)(64bit) rtld(GNU_HASH) Processing files: clamav-filesystem-1.0.6-1.fc41.noarch Provides: clamav-filesystem = 1.0.6-1.fc41 config(clamav-filesystem) = 1.0.6-1.fc41 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Conflicts: clamav < 1.0.6-1.fc41 clamav > 1.0.6-1.fc41 Recommends: group(clamupdate) user(clamupdate) Processing files: clamav-lib-1.0.6-1.fc41.x86_64 Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav clamav-lib = 1.0.6-1.fc41 clamav-lib(x86-64) = 1.0.6-1.fc41 libclamav.so.11()(64bit) libclammspack.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libclammspack.so.0()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpcre2-8.so.0()(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.5.2)(64bit) libxml2.so.2(LIBXML2_2.5.7)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: clamav-devel-1.0.6-1.fc41.x86_64 Provides: clamav-devel = 1.0.6-1.fc41 clamav-devel(x86-64) = 1.0.6-1.fc41 pkgconfig(libclamav) = 1.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config /usr/bin/sh libclamav.so.11()(64bit) libclammspack.so.0()(64bit) libfreshclam.so.2()(64bit) Processing files: clamav-data-1.0.6-1.fc41.noarch Provides: clamav-data = 1.0.6-1.fc41 clamav-db = 1.0.6-1.fc41 config(clamav-data) = 1.0.6-1.fc41 data(clamav) = full Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Obsoletes: clamav-db < 1.0.6-1.fc41 Recommends: group(clamupdate) user(clamupdate) Processing files: clamav-doc-1.0.6-1.fc41.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rQNSFp + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/licenses/clamav-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/licenses/clamav-doc + cp -pr /builddir/build/BUILD/clamav-1.0.6/COPYING /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/licenses/clamav-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-doc = 1.0.6-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamav-freshclam-1.0.6-1.fc41.x86_64 Provides: clamav-data-empty = 1.0.6-1.fc41 clamav-freshclam = 1.0.6-1.fc41 clamav-freshclam(x86-64) = 1.0.6-1.fc41 clamav-update = 1.0.6-1.fc41 config(clamav-freshclam) = 1.0.6-1.fc41 data(clamav) = empty libfreshclam.so.2()(64bit) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libclamav.so.11()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libfreshclam.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.38)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: clamav-data-empty < 1.0.6-1.fc41 clamav-update < 1.0.6-1.fc41 Recommends: group(clamupdate) user(clamupdate) Supplements: clamd Processing files: clamd-1.0.6-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9mAaSL + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamd + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.0.6/_doc_server/README /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.0.6/_doc_server/clamd.conf /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.0.6/_doc_server/clamd.logrotate /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamd + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-scanner-systemd = 1.0.6-1.fc41 clamav-server = 1.0.6-1.fc41 clamav-server-systemd = 1.0.6-1.fc41 clamd = 1.0.6-1.fc41 clamd(x86-64) = 1.0.6-1.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libclamav.so.11()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Obsoletes: clamav-scanner-systemd < 1.0.6-1.fc41 clamav-server-systemd < 1.0.6-1.fc41 Processing files: clamav-milter-1.0.6-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6GYNMy + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav-milter + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav-milter + cp -pr /builddir/build/BUILD/clamav-1.0.6/clamav-milter/README.fedora.md /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64/usr/share/doc/clamav-milter + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-milter = 1.0.6-1.fc41 clamav-milter(x86-64) = 1.0.6-1.fc41 clamav-milter-systemd = 1.0.6-1.fc41 config(clamav-milter) = 1.0.6-1.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libclamav.so.11()(64bit) libmilter.so.1.0()(64bit) rtld(GNU_HASH) Obsoletes: clamav-milter-systemd < 1.0.6-1.fc41 Processing files: clamav-debugsource-1.0.6-1.fc41.x86_64 Provides: clamav-debugsource = 1.0.6-1.fc41 clamav-debugsource(x86-64) = 1.0.6-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamav-debuginfo-1.0.6-1.fc41.x86_64 Provides: clamav-debuginfo = 1.0.6-1.fc41 clamav-debuginfo(x86-64) = 1.0.6-1.fc41 debuginfo(build-id) = 0cc00419695af64b5af5e114a8b4fdebb18fc59e debuginfo(build-id) = 123b317caa40a0bead510c7bcbaa1dfb67d2616d debuginfo(build-id) = 1a1c4d4f2858a3406d413bbaa0163ed95e60aa65 debuginfo(build-id) = 4899409df7c8c3a1ca4db53ef40acdf5997d6abb debuginfo(build-id) = 6cdecad9cdd8494c68c3d3cc76d0c9f747930421 debuginfo(build-id) = ad8d3c229e66da1a722428ed30c86d0cbeb3e6a0 debuginfo(build-id) = d5f62d33f7f2219dbbba2e495ce487677a1a8fbc debuginfo(build-id) = eed8074f6f1315301ca42f8b5f7bd0c350f92e64 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(x86-64) = 1.0.6-1.fc41 Processing files: clamav-lib-debuginfo-1.0.6-1.fc41.x86_64 Provides: clamav-lib-debuginfo = 1.0.6-1.fc41 clamav-lib-debuginfo(x86-64) = 1.0.6-1.fc41 debuginfo(build-id) = 6f7cadad955a6ee9741e0819ec542f4edcdee852 debuginfo(build-id) = 854d2653e4ee68a25202fe14b685567cc4022f77 libclamav.so.11.0.0-1.0.6-1.fc41.x86_64.debug()(64bit) libclammspack.so.0.8.0-1.0.6-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(x86-64) = 1.0.6-1.fc41 Processing files: clamav-freshclam-debuginfo-1.0.6-1.fc41.x86_64 Provides: clamav-freshclam-debuginfo = 1.0.6-1.fc41 clamav-freshclam-debuginfo(x86-64) = 1.0.6-1.fc41 debuginfo(build-id) = 750bdeebafde44cad9e13f5d78d82c9258e4f323 debuginfo(build-id) = c5d59a595cec4954b42b6db517985478f78e8de2 libfreshclam.so.2.0.2-1.0.6-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(x86-64) = 1.0.6-1.fc41 Processing files: clamd-debuginfo-1.0.6-1.fc41.x86_64 Provides: clamd-debuginfo = 1.0.6-1.fc41 clamd-debuginfo(x86-64) = 1.0.6-1.fc41 debuginfo(build-id) = 33e69d87db48549c439a0c856564edae125ce06e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(x86-64) = 1.0.6-1.fc41 Processing files: clamav-milter-debuginfo-1.0.6-1.fc41.x86_64 Provides: clamav-milter-debuginfo = 1.0.6-1.fc41 clamav-milter-debuginfo(x86-64) = 1.0.6-1.fc41 debuginfo(build-id) = 672703197e436434dc0be5f27269fef36c9d0cbd Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(x86-64) = 1.0.6-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 Wrote: /builddir/build/SRPMS/clamav-1.0.6-1.fc41.src.rpm Wrote: /builddir/build/RPMS/clamav-freshclam-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-doc-1.0.6-1.fc41.noarch.rpm Wrote: /builddir/build/RPMS/clamav-debugsource-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-lib-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-freshclam-debuginfo-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamd-debuginfo-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-debuginfo-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamd-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-milter-debuginfo-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-devel-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-milter-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-filesystem-1.0.6-1.fc41.noarch.rpm Wrote: /builddir/build/RPMS/clamav-lib-debuginfo-1.0.6-1.fc41.x86_64.rpm Wrote: /builddir/build/RPMS/clamav-data-1.0.6-1.fc41.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LFtzh7 + umask 022 + cd /builddir/build/BUILD + cd clamav-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/clamav-1.0.6-1.fc41.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XJSECv + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/clamav-1.0.6-SPECPARTS + rm -rf clamav-1.0.6 clamav-1.0.6.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild clamav-1.0.6-1.fc41.src.rpm Finish: build phase for clamav-1.0.6-1.fc41.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1714425455.257836/root/var/log/dnf5.log INFO: Done(/var/lib/copr-rpmbuild/results/clamav-1.0.6-1.fc41.src.rpm) Config(child) 8 minutes 1 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "clamav-milter-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamd", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamd-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-lib-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-filesystem", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "noarch" }, { "name": "clamav-freshclam", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-milter", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-freshclam-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-doc", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "noarch" }, { "name": "clamav-lib", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-debugsource", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-devel", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav-data", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "noarch" }, { "name": "clamav-debuginfo", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "x86_64" }, { "name": "clamav", "epoch": null, "version": "1.0.6", "release": "1.fc41", "arch": "src" } ] } RPMResults finished