I am writing a script using man2html and some man pages cause man2html to crash ie
Code:
gunzip --to-stdout /usr/man/man7/groff_hdtbl.7.gz |man2html -r
will cause a glibc crashdump like so
Code:
*** glibc detected *** man2html: free(): invalid next size (fast): 0x0000000000613610 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x78812)[0x7f0dc8832812]
/lib64/libc.so.6(cfree+0x73)[0x7f0dc8836623]
man2html[0x405ac8]
man2html[0x407300]
man2html[0x406fa2]
man2html[0x407300]
man2html[0x406fa2]
man2html[0x407300]
man2html[0x4086f4]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f0dc87d8c7d]
man2html[0x400f99]
======= Memory map: ========
00400000-0
the crash ISN'T the problem its all the bumpf it prints out I need to find a way to suppress this output because it mucks up the dialog box I'm using, tried redirecting stderr, using setterm -msg off, googling, apropos etc but no luck any ideas?