public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dtrebbien at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/12084] iconvconfig causes a Segmentation Fault when only conversion from or to a charset is possible
Date: Sun, 17 Oct 2010 16:23:00 -0000	[thread overview]
Message-ID: <20101017162300.FsyMl-v_cf8NJHNIHPKYwmXtiVu2bfLQtuZDpdAyYIs@z> (raw)
In-Reply-To: <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.


  parent reply	other threads:[~2010-10-17 16:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-12084-131@http.sourceware.org/bugzilla/>
2010-10-12 14:03 ` schwab@linux-m68k.org
2010-10-17 15:32 ` [Bug libc/12084] iconvconfig causes a Segmentation Fault when only conversion from or to a charset is possible and the source or destination charset is referenced by alias dtrebbien at gmail dot com
2010-10-17 15:52 ` dtrebbien at gmail dot com
2010-10-17 16:23 ` dtrebbien at gmail dot com [this message]
2011-01-15  4:37 ` [Bug libc/12084] iconvconfig causes a Segmentation Fault when only conversion from or to a charset is possible drepper.fsp at gmail dot com
2014-06-30  7:55 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101017162300.FsyMl-v_cf8NJHNIHPKYwmXtiVu2bfLQtuZDpdAyYIs@z \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).