unwanted glibc crash messages
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 Code:
*** glibc detected *** man2html: free(): invalid next size (fast): 0x0000000000613610 *** |
See /etc/profile.d/glibc.sh and then http://www.gnu.org/s/libc/manual/htm...-Checking.html
|
Thanks!
Adding this: Code:
export MALLOC_CHECK_=4 |
(scratches chin)
Well, you may consider the messages to be bumf, but man2html could be corrupting memory. Now, if you never run man2html as root, then it may not be a big deal (since you won't be corrupting any system services). If you stay logged in for long periods of time as the user running man2html, you may see some really odd behavior in some of your programs (like your window manager if you are running under X). I hope that you reported the issue to the man2html maintainers. |
I am aware of the danger of memory overflow problems especially when run as root hence i left the MALLOC_CHECK in /etc/profile.d/glibc.sh alone and only set it in the script which only gets run once in a while and never as root and my machine is shut down most nights so this is not a problem ( but thanks for the head up anyway ), didn't think to report the bug but I will now as it is easily reproducible.
|
All times are GMT -5. The time now is 08:11 PM. |