Thanks, Colin, for providing the fixes+backport and Brian, for including them into the repository.
I hope the following serves at least as a regression test.
[Test Cases]
1) ESET NOD32 Antivirus4 4.0.90.0 with /etc/ld.so.preload (which serves to files scanning on access)
1a) man-db 2.8.3-2 and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
1b) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
1c) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution, additionally xz-utils 5.2.4 installed to /usr/local (without package)
in all cases 1x) Update of the Manual-DB e.g. by "sudo mandb -c" leads to the error messages:
...
/usr/bin/mandb: zcat < /usr/share/man/man1/lz4_decompress.1.gz: Bad system call
/usr/bin/mandb: /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE -q: Bad system call
/usr/bin/mandb: zcat: Bad system call
...
For 1b and 1c this was also tested with XZ_DEFAULTS=--threads=0.
In all cases 1x) "man mandb" formats correctly.
(Maybe that was a problem with earlier ESET versions.)
2) ESET NOD32 Antivirus4 4.0.90.0 without /etc/ld.so.preload
2a) man-db 2.8.3-2 and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
2b) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
2c) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution, additionally xz-utils 5.2.4 installed to /usr/local (without package)
all 2x) ok für man-db generation and formatting of man pages
System Architecture:
i386
Ubuntu 18.04
Kernel Linux pc2 4.15.0-33201808301234-generic #0+mediatree+hauppauge-Ubuntu SMP Thu Aug 30 19:02:06 UTC 2018 i686 i686 i686 GNU/Linu
The mandb problem doesn't occur with my 64bit Ubuntu installation, although ESET is installed there as well!
Conclusion:
The bugfix dosn't resolve my problem, but it doesn't make things worse for me, so if it helps others...
Thanks, Colin, for providing the fixes+backport and Brian, for including them into the repository.
I hope the following serves at least as a regression test.
[Test Cases]
1) ESET NOD32 Antivirus4 4.0.90.0 with /etc/ld.so.preload (which serves to files scanning on access)
1a) man-db 2.8.3-2 and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
1b) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
1c) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution, additionally xz-utils 5.2.4 installed to /usr/local (without package)
in all cases 1x) Update of the Manual-DB e.g. by "sudo mandb -c" leads to the error messages: man/man1/ lz4_decompress. 1.gz: Bad system call man-db/ manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE -q: Bad system call
...
/usr/bin/mandb: zcat < /usr/share/
/usr/bin/mandb: /usr/lib/
/usr/bin/mandb: zcat: Bad system call
...
For 1b and 1c this was also tested with XZ_DEFAULTS= --threads= 0.
In all cases 1x) "man mandb" formats correctly.
(Maybe that was a problem with earlier ESET versions.)
2) ESET NOD32 Antivirus4 4.0.90.0 without /etc/ld.so.preload
2a) man-db 2.8.3-2 and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
2b) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution
2c) man-db 2.8.3-2 installed from bionic-proposed and xz-utils 5.2.2-1.3 installed from stable ubuntu 18.04 distribution, additionally xz-utils 5.2.4 installed to /usr/local (without package)
all 2x) ok für man-db generation and formatting of man pages
System Architecture: 33201808301234- generic #0+mediatree+ hauppauge- Ubuntu SMP Thu Aug 30 19:02:06 UTC 2018 i686 i686 i686 GNU/Linu
i386
Ubuntu 18.04
Kernel Linux pc2 4.15.0-
The mandb problem doesn't occur with my 64bit Ubuntu installation, although ESET is installed there as well!
Conclusion:
The bugfix dosn't resolve my problem, but it doesn't make things worse for me, so if it helps others...
Thanks for providing it.