Original Message:
Sent: Thu June 01, 2023 07:06 AM
From: 力 小山田
Subject: about Memory Error in ClamAV for AIX
Sorry for the late contact.
Removing the limit has the same effect.
There are a few things that turned out.
It was found that the same module may or may not fail depending on the version of AIX.
AIX7.1 has the same error, but AIX7.2 and 7.3 do not.
As a result, we believe that it may affect the library you are using.
Could you look into it from that perspective?
------------------------------
力 小山田
Original Message:
Sent: Thu May 11, 2023 09:19 AM
From: Ayappan P
Subject: about Memory Error in ClamAV for AIX
Generally in AIX , the user ulimit values are at a lower level by default.
So when working with larger files, you may need to increase the data ulimit.
Try setting "ulimit -d unlimited" and check again.
------------------------------
Ayappan P
Original Message:
Sent: Tue May 09, 2023 11:06 AM
From: 力 小山田
Subject: about Memory Error in ClamAV for AIX
I will let you know the results of my trial with ClamAV 0.104.2 which I have in AIX toolbox.
# clamscan /home/cecuser/lwiservice.exe
Loading: 20s, ETA: 0s [========================>] 8.65M/8.65M sigs
Compiling: 5s, ETA: 0s [========================>] 41/41 tasks
calloc_problem: Not enough space
LibClamAV Error: cli_calloc(): Can't allocate memory (66256128 bytes).
calloc_problem: Not enough space
LibClamAV Error: cli_calloc(): Can't allocate memory (66256128 bytes).
LibClamAV Error: cli_ac_init: Can't allocate memory for data->lsigsuboff_(last|first)[0]
/home/cecuser/lwiservice.exe: Can't allocate memory ERROR
----------- SCAN SUMMARY -----------
Known viruses: 8652920
Engine version: 0.104.2
Scanned directories: 0
Scanned files: 0
Infected files: 0
Total errors: 1
Data scanned: 0.00 MB
Data read: 0.15 MB (ratio 0.00:1)
Time: 27.111 sec (0 m 27 s)
Start Date: 2023:02:16 07:35:28
End Date: 2023:02:16 07:35:55
# freshclam -V
ClamAV 0.104.2/26814/Thu Feb 16 03:40:04 2023
I put the error file at the following URL.
https://www.uinet.or.jp/~oyamada/error_files.zip
------------------------------
Tsutomu Oyamada
Original Message:
Sent: Tue May 09, 2023 02:49 AM
From: Ayappan P
Subject: about Memory Error in ClamAV for AIX
Please give more info on what is tried and what kind of memory errors are seen with ClamAV.
------------------------------
Ayappan P
Original Message:
Sent: Mon May 08, 2023 10:57 AM
From: 力 小山田
Subject: about Memory Error in ClamAV for AIX
Hi, all.
Can you give me some advice on memory errors that occur with ClamAV for AIX?
I also contacted ClamAV-users ML about 2 months ago, but it was said to be an AIX specific problem and a fixed version has not come out.
Comments in ClamAV-users ML:
In regard to the specific errors you're seeing, they appear to be when scanning EXE/DLL and JAR files, and appear to be specific to AIX, which I believe is a big-endian system. I suspect this represents 1 or 2 big endian compatibility bugs.
What I want to make sure is:
A) Will this bug be resolved in the next version?
B) When will the next version be released?
Thank you for providing OSS for AIX with AIX Toolbox.
Let us know what the AIX OSS team thinks.
------------------------------
Tsutomu Oyamada
------------------------------