Bug 13685 - *** glibc detected *** pre-grohtml: free(): invalid pointer: 0xb7f588dc ***
: *** glibc detected *** pre-grohtml: free(): invalid pointer: 0xb7f588dc ***
Status: REOPENED
: Sisyphus
(All bugs in Sisyphus/groff-base)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2007-12-13 16:15 by
Modified: 2015-07-10 23:04 (History)


Attachments
example manpage (4.14 KB, text/plain)
2011-01-13 12:32, Vladimir V. Kamarzin
no flags Details
openconnect manpage (8.47 KB, application/octet-stream)
2012-05-22 21:13, Alexey Shabalin
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2007-12-13 16:15:46
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
------- Comment #1 From 2007-12-13 16:27:18 -------
Видимо, это моё.
------- Comment #2 From 2008-08-01 10:51:34 -------
Что-то не смог воспроизвести:

[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

Может надо именно такой файл?
------- Comment #3 From 2008-08-23 03:30:02 -------
В сизиф отправлена сборка: groff-1.19.3-alt1.20080822. Указанная команда
работает корректно.
------- Comment #4 From 2011-01-13 11:53:19 -------
Воспроизводится при сборке 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
------- Comment #5 From 2011-01-13 12:19:09 -------
Добавьте в аттач ман-страницу, на которой падает.
------- Comment #6 From 2011-01-13 12:32:41 -------
Created an attachment (id=4751) [details]
example manpage
------- Comment #7 From 2012-05-22 21:13:34 -------
Created an attachment (id=5469) [details]
openconnect manpage
------- Comment #8 From 2012-05-22 21:14:54 -------
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-файл приложил.
------- Comment #9 From 2015-07-10 22:57:32 -------
*** Bug 29353 has been marked as a duplicate of this bug. ***
------- Comment #10 From 2015-07-10 23:04:47 -------
Может, обновить ? 1.22.3 есть.