groff падает при попытке сконвертировать man в html, если отсутствует groff-ps: [builder@vvk doc]$ groff -man -Thtml ../man/cyr_dbtool.8 > man/cyr_dbtool.8.html *** glibc detected *** pre-grohtml: free(): invalid pointer: 0xb7f588dc *** ======= Backtrace: ========= /lib/libc.so.6[0xb7d88402] /lib/libc.so.6(cfree+0x89)[0xb7d89a79] /usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xb7f2df6d] pre-grohtml[0x804b154] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7d3c05c] pre-grohtml(__gxx_personality_v0+0x75)[0x8049371] ======= Memory map: ======== groff: pre-grohtml: Signal 6
Видимо, это моё.
Что-то не смог воспроизвести: [coder@pbf64 ~]$ groff -man -Thtml addr2line.1 groff: can't find `DESC' file groff:fatal error: invalid device `html' groff-base-1.19.2-alt2.0, ru_RU.UTF8, x86_64 Может надо именно такой файл?
В сизиф отправлена сборка: groff-1.19.3-alt1.20080822. Указанная команда работает корректно.
Воспроизводится при сборке cyrus-imap: [...] make: Entering directory `/usr/src/RPM/BUILD/cyrus-imapd-2.4.6/doc' mkdir -p man for man in ../man/*.[1-9]; \ do \ echo "=== $man ==="; \ groff -man -Thtml $man > man/`basename $man`.html; \ done === ../man/arbitron.8 === groff: troff: Signal 11 post-grohtml:<standard input> (/usr/share/groff/site-tmac/man.local):668:warning: no final `x stop' command === ../man/chk_cyrus.8 === *** glibc has detected an error in troff: double free or corruption (!prev): 0x081fb928 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6960a)[0x401be60a] /lib/libc.so.6(+0x6ab1a)[0x401bfb1a] /lib/libc.so.6(cfree+0x71)[0x401c2741] /usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0x400cebed] troff[0x80898f2] troff[0x806eb33] troff[0x8080f34] troff[0x807023d] troff[0x804bd71] troff[0x8050242] troff[0x80578c2] troff[0x804a72d] troff[0x80666a9] troff[0x806aafc] troff[0x806ae97] troff[0x806c3d4] /lib/libc.so.6(__libc_start_main+0xe6)[0x4016bc66] troff[0x8049561] ======= Memory map: ======== groff: troff: Signal 6 post-grohtml:<standard input> (/usr/share/groff/site-tmac/man.local):409:warning: no final `x stop' command При ручном запуске из hsh-shell: [builder@vvk doc]$ groff -man -Thtml ../man/deliver.8 > man/deliver.html troff: out of memory post-grohtml:<standard input> (/usr/share/groff/site-tmac/man.local):401:warning: no final `x stop' command
Добавьте в аттач ман-страницу, на которой падает.
Created attachment 4751 [details] example manpage
Created attachment 5469 [details] openconnect manpage
openconnect-3.20. при сборке в хэшер получаю: groff -t -K UTF-8 -mandoc -Txhtml ../openconnect.8 | sed -e '1,/<body>/d' -e '/<\/body>/,$d' > openconnect.8.inc *** glibc has detected an error in pre-grohtml: double free or corruption (out): 0x00002ba98b78c250 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x71646)[0x2ba98bcaf646] /lib64/libc.so.6(cfree+0x6c)[0x2ba98bcb43fc] pre-grohtml[0x40375b] /lib64/libc.so.6(__libc_start_main+0xfd)[0x2ba98bc5cbdd] pre-grohtml[0x401c69] ======= Memory map: ======== groff: pre-grohtml: Signal 6 man-файл приложил.
*** Bug 29353 has been marked as a duplicate of this bug. ***
Может, обновить ? 1.22.3 есть.
Проблема всё ещё на месте, без groff-ps получаем: [builder@localhost .in]$ pre-grohtml free(): invalid pointer Aborted [builder@localhost .in]$ epmqf pre-grohtml Note: pre-grohtml is placed as /usr/bin/pre-grohtml $ rpm -qf /usr/bin/pre-grohtml groff-extra-1.22.3-alt2.x86_64