From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8) Gecko/20051216 Fedora/1.5-3 Firefox/1.5 Description of problem: When running man command iconv is segfaulting in nroff script. For example if I try execute the command on manpage of man command: # nroff -mandoc man.1 /usr/bin/nroff: line 69: 17905 Done /usr/bin/iconv -f ${charset_in} -t utf-8 ${TMPFILE} 17906 | /usr/bin/groff -mtty-char -Tutf8 $opts 2>/dev/null 17907 Segmentation fault | /usr/bin/iconv -f utf-8 -t ${charset_out}//translit The same command just outputs the formatted man page when working. Version-Release number of selected component (if applicable): glibc-common-2.3.90-22 How reproducible: Always Steps to Reproduce: 1. Upgrade to latest rawhide 2. Get a uncompressed man page of something 3. execute nroff -mandoc something.1 Additional info:
Can't reproduce, so you need to provide more details. What locale are you using (say output from locale command is good enough), what exact man page you can reproduce it on (attach to the bug report).
Hi, Below is the output of locale. This happens on every man page. Also, I am on x86_64. Also, my /etc/sysconfig/i18n file: LANG="en_US" SYSFONT="latarcyrheb-sun16" SUPPORTED="en_US.UTF-8:en_US:en" ============================================================= $ locale LANG=en_US LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=
OK...playing around found that the following fixes it: # cat i18n LC_ALL="en_US.UTF-8" LANG="en_US.UTF-8" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16" I had changed this at some point to some other bug BUT I don't think iconv should segfault with the above.
*** Bug 176583 has been marked as a duplicate of this bug. ***
Should be fixed in the next rawhide release by 2005-12-27 Jakub Jelinek <jakub> * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct before calling it.
Okay, glibc-2.3.90-23 (built from Fedora CVS) just works for me - at least my bug reported in #176583 disappeared now.
Today's rawhide will include glibc-2.3.90-25.
*** Bug 177124 has been marked as a duplicate of this bug. ***
*** Bug 177126 has been marked as a duplicate of this bug. ***