/etc/cron.daily/man-db is failing since last system upgrade with exit code 134. Running the contained command with output displayed shows the following: $ su man -s /bin/sh -c 'nice mandb' mandb: warning: $MANPATH set, ignoring /etc/man_db.conf Purging old database entries in /usr/share/man... Processing manual pages under /usr/share/man... Updating index cache for path `/usr/share/man/man1'. Wait...mandb: warning: /usr/share/man/man1/faxformat.1.bz2: whatis parse for faxformat(1) failed Updating index cache for path `/usr/share/man/man3'. Wait...mandb: warning: /usr/share/man/man3/pcredemo.3.bz2: whatis parse for pcredemo(3) failed mandb: warning: /usr/share/man/man3/pcre2demo.3.bz2: whatis parse for pcre2demo(3) failed mandb: warning: /usr/share/man/man3/libpm.3.bz2: whatis parse for libpm(3) failed Updating index cache for path `/usr/share/man/man0'. Wait...mandb: warning: /usr/share/man/man0/dbclean.0.bz2: whatis parse for dbclean(0) failed mandb: warning: /usr/share/man/man0/dblist.0.bz2: whatis parse for dblist(0) failed mandb: warning: /usr/share/man/man0/dccsight.0.bz2: whatis parse for dccsight(0) failed mandb: warning: /usr/share/man/man0/dcc.0.bz2: whatis parse for dcc(0) failed mandb: warning: /usr/share/man/man0/dccifd.0.bz2: whatis parse for dccifd(0) failed mandb: warning: /usr/share/man/man0/dccd.0.bz2: whatis parse for dccd(0) failed mandb: warning: /usr/share/man/man0/dccm.0.bz2: whatis parse for dccm(0) failed mandb: warning: /usr/share/man/man0/cdcc.0.bz2: whatis parse for cdcc(0) failed mandb: warning: /usr/share/man/man0/dccproc.0.bz2: whatis parse for dccproc(0) failed Updating index cache for path `/usr/share/man/man3const'. Wait...done. Checking for stray cats under /usr/share/man... Checking for stray cats under /var/cache/man... mandb: warning: /var/cache/man/cat7/CACHEDIR.TAG: ignoring bogus filename mandb: warning: /var/cache/man/cat8/grub2-install.8.xz: whatis parse for grub2-install(8) failed mandb: warning: /var/cache/man/cat8/runscript.8.xz: whatis parse for runscript(8) failed mandb: warning: /var/cache/man/cat8/CACHEDIR.TAG: ignoring bogus filename mandb: descriptions_store.c:89: store_descriptions: Assertion `trace' failed. Aborted Have rebuilt with cleared ccache in case that was an issue, to no avail. $ emerge --info =sys-apps/man-db-2.11.0 Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.36-r5, 6.0.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.0.6-gentoo-x86_64-Intel-R-_Xeon-R-_E-2224_CPU_@_3.40GHz-with-glibc2.36 KiB Mem: 16241092 total, 8249784 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 31 Oct 2022 20:30:01 +0000 Head commit of repository gentoo: 4e04d83b73b34d4cfdd29ec087acf3df4162d439 sh bash 5.1_p16-r2 ld GNU gold (Gentoo 2.39 p5 2.39.0) 1.16 distcc 3.4 x86_64-pc-linux-gnu [disabled] ccache version 4.7.2 [enabled] app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.8_p1::gentoo, 3.11.0::gentoo dev-lang/rust-bin: 1.64.0-r1::gentoo dev-util/ccache: 4.7.2::gentoo dev-util/cmake: 3.24.2::gentoo dev-util/meson: 0.63.3::gentoo sys-apps/baselayout: 2.9::gentoo sys-apps/openrc: 0.45.2-r1::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r4::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r4::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 12.2.1_p20221008::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 15.0.3::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 6.0::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no squeezebox location: /var/lib/layman/squeezebox masters: gentoo priority: 0 x-portage location: /usr/local/portage masters: gentoo priority: 1 Installed sets: @kde, @mailsrv, @mplayer, @nodejs ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/portage/make.conf /usr/bin/pear /usr/bin/vncserver /usr/lib/X11/xdm/Xsetup_0 /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/hp/hplip.conf /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/home/cache/distfiles" EMERGE_DEFAULT_OPTS="--nospinner --quiet-build=n --verbose-conflicts" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirrors.gethosted.online/gentoo http://mirrors.soeasyto.com/distfiles.gentoo.org/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="-j8 -l5.5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/tmp" SHELL="/bin/bash" USE="X X509 aac acl acpi amd64 apache2 bash-completion bzip2 cli crypt curl dbm dbus dri dv dvd elogind encode exif fam fat ffmpeg flac fortran ftp gd gdbm hardened iconv imagemagick imap imlib innodb ipv6 java javascript jpeg lcms libglvnd libkms libtirpc libwww lto lzo mad matroska mdadm minimal mp3 multilib mysql ncurses network nls nptl nsplugin ntfs offensive ogg openmp pam pcre pcre16 pdf php png policykit posix raw readline rtmp samba scanner seccomp session sharedmem soap split-usr ssl startup-notification test-rust theora threads tidy tiff tokenizer tordns truetype udev unicode usb vhosts x264 xattr xinetd xmlrpc xvid xz zip zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="access_compat actions alias auth_basic auth_digest authn_core authn_anon authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cgid dav dav_fs dav_lock dbd deflate dir env expires ext_filter file_cache filter headers ident imagemap include info libass log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http proxy_wstunnel rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="vesa mga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= sys-apps/man-db-2.11.0::gentoo was built with the following: USE="manpager nls seccomp zlib (-selinux) -static-libs" ABI_X86="(64)"
Here is a snip from the end of an strace: $ su man -s /bin/sh -c 'strace mandb' [...] write(2, "mandb: ", 7mandb: ) = 7 write(2, "warning: /var/cache/man/cat8/CAC"..., 66warning: /var/cache/man/cat8/CACHEDIR.TAG: ignoring bogus filename) = 66 write(2, "\n", 1 ) = 1 newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.bz2", {st_mode=S_IFREG|0644, st_size=12480, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.bz2", {st_mode=S_IFREG|0644, st_size=978, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-update.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-update.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-update.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-update.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-update.8.bz2", {st_mode=S_IFREG|0644, st_size=1169, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/openrc-run.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/openrc-run.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/openrc-run.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/openrc-run.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/openrc-run.8.bz2", {st_mode=S_IFREG|0644, st_size=8169, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-service.8.bz2", {st_mode=S_IFREG|0644, st_size=978, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-status.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-status.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-status.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-status.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/rc-status.8.bz2", {st_mode=S_IFREG|0644, st_size=1189, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/mount.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/mount.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/mount.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/mount.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/mount.8.bz2", {st_mode=S_IFREG|0644, st_size=25808, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/pwck.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/pwck.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/pwck.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/pwck.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/pwck.8.bz2", {st_mode=S_IFREG|0644, st_size=2388, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/cryptsetup.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/cryptsetup.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/cryptsetup.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/cryptsetup.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/cryptsetup.8.bz2", {st_mode=S_IFREG|0644, st_size=20858, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/dracut.8.bz2", {st_mode=S_IFREG|0644, st_size=12480, ...}, 0) = 0 newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8", 0x7ffff19343f0, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.gz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.Z", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.bz2", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.xz", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.lzma", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.zst", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/share/man/man8/kexec.8.zstd", 0x7ffff1934240, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/var/cache/man/cat8/kexec.8.gz", {st_mode=S_IFREG|0644, st_size=3479, ...}, 0) = 0 readlink("/var", 0x7ffff1933ec0, 1023) = -1 EINVAL (Invalid argument) readlink("/var/cache", 0x7ffff1933ec0, 1023) = -1 EINVAL (Invalid argument) readlink("/var/cache/man", 0x7ffff1933ec0, 1023) = -1 EINVAL (Invalid argument) readlink("/var/cache/man/cat8", 0x7ffff1933ec0, 1023) = -1 EINVAL (Invalid argument) readlink("/var/cache/man/cat8/kexec.8.gz", 0x7ffff1933ec0, 1023) = -1 EINVAL (Invalid argument) rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 openat(AT_FDCWD, "/var/cache/man/cat8/kexec.8.gz", O_RDONLY) = 5 pipe2([6, 7], 0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb5819baa10) = 13694 close(5) = 0 close(7) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe2([5, 7], 0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb5819baa10) = 13695 close(6) = 0 close(7) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 pipe2([6, 7], 0) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fb5819baa10) = 13696 close(5) = 0 close(7) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 read(6, 0x562f22ad9e60, 1024) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13694, si_uid=13, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 13694 wait4(-1, 0x7ffff1933af4, WNOHANG, NULL) = 0 rt_sigreturn({mask=[]}) = 0 read(6, "kexec(8) "..., 1024) = 48 read(6, " kexec(8)\n\n"..., 1024) = 1024 close(6) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13695, si_uid=13, si_status=0, si_utime=0, si_stime=0} --- wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 13695 wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE}], WNOHANG, NULL) = 13696 wait4(-1, 0x7ffff1933b74, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn({mask=[]}) = 0 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=13696, si_uid=13, si_status=SIGPIPE, si_utime=0, si_stime=0} --- wait4(-1, 0x7ffff1933b74, WNOHANG, NULL) = -1 ECHILD (No child processes) rt_sigreturn({mask=[]}) = 0 openat(AT_FDCWD, "/usr/share/locale/en_GB/LC_MESSAGES/libc.mo", O_RDONLY) = 5 newfstatat(5, "", {st_mode=S_IFREG|0644, st_size=1433, ...}, AT_EMPTY_PATH) = 0 mmap(NULL, 1433, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7fb581bf7000 close(5) = 0 openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory) write(2, "mandb: descriptions_store.c:89: "..., 78mandb: descriptions_store.c:89: store_descriptions: Assertion `trace' failed. ) = 78 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb581bf6000 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 gettid() = 492 getpid() = 492 tgkill(492, 492, SIGABRT) = 0 --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=492, si_uid=13} --- +++ killed by SIGABRT +++
A child process is being killed. --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=13696, si_uid=13, si_status=SIGPIPE, si_utime=0, si_stime=0} --- The output of strace -f would be more helpful.
Created attachment 826527 [details] Partial strace output Full output too large to attach even xz'd so here is a chunk from the end, hope it's sufficient.
I can also reproduce this, with sys-apps/man-db-2.11.1 ... on one system out of four, and damned if I can figure out what is different in software on the one system where it is failing that is causing it to fail. I mean, the three systems that it works on are servers, and the one where it doesn't is my desktop workstation, but all of the software differences involved in that are WAAAAY above the level of anything that should be able to impact anything as low-level as 'mandb -q'. The core system on all four is *intentionally* as nearly identical as I can make it. The only plausible thing I CAN pick out as unequivocally different is at the hardware level: all three servers are Intel-based Dells (an R720 and two R610s), while the desktop is AMD-based (Phenom-II, Thuban microarchitecture).
I think report it upstream at https://gitlab.com/man-db/man-db/-/issues & link it back here.
The fix : https://gitlab.com/man-db/man-db/-/commit/bc2573614d
(In reply to foufou33 from comment #6) > The fix : > https://gitlab.com/man-db/man-db/-/commit/bc2573614d Thanks. Fixed in 2.11.2.