This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12084] iconvconfig causes a Segmentation Fault when only conversion from or to a charset is possible
- From: "dtrebbien at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 17 Oct 2010 16:22:50 +0000
- Subject: [Bug libc/12084] iconvconfig causes a Segmentation Fault when only conversion from or to a charset is possible
- Auto-submitted: auto-generated
- References: <bug-12084-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12084
Daniel Trebbien <dtrebbien at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|iconvconfig causes a |iconvconfig causes a
|Segmentation Fault when |Segmentation Fault when
|only conversion from or to |only conversion from or to
|a charset is possible and |a charset is possible
|the source or destination |
|charset is referenced by |
|alias |
--- Comment #4 from Daniel Trebbien <dtrebbien at gmail dot com> 2010-10-17 16:22:48 UTC ---
Well, I tried out the test case on a fresh Ubuntu 8.10 machine (libc version
2.8.90) and I was able to reproduce the issue. I then tried out Andreas'
suggestion, but simply changing `UTF-8//` to `UTF8//` did not stop the
Segmentation Fault from occurring. Only by adding both of these lines:
module ABC// UTF8// ABC 1
module UTF8// ABC// ABC 1
does `iconvconfig` not cause a seg. fault (and it does not matter if I use
`UTF8//` or the alias `UTF-8//`).
By the way, I also tried:
module HPGREEK8// ABC// ABC 1
(causes a seg. fault). This is kind of interesting because `HPGREEK8//` is an
alias that is defined in `/usr/lib/gconv/gconv-modules` whereas `UTF-8//` is a
built-in alias.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.