Summary: | sys-apps/man-db-2.11.0 descriptions_store.c:89: store_descriptions: Assertion `trace' failed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Bankhead <gentoo> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, phils |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.debian.org/1027487 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Partial strace output |
Description
Robin Bankhead
2022-11-01 11:10:04 UTC
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. (In reply to foufou33 from comment #6) > The fix : > https://gitlab.com/man-db/man-db/-/commit/bc2573614d Thanks. Fixed in 2.11.2. |