public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thkala at softlab dot ece dot ntua dot gr" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/2569] utf-16 iconv module breaks programs
Date: Tue, 25 Apr 2006 11:54:00 -0000	[thread overview]
Message-ID: <20060425115429.24875.qmail@sourceware.org> (raw)
In-Reply-To: <20060413132726.2569.maestromae@kateos.org>


------- Additional Comments From thkala at softlab dot ece dot ntua dot gr  2006-04-25 11:54 -------
Ah, I managed to reproduce this with something much simpler than samba :-) :

#include <iconv.h>

int main() {
    iconv_t cd0, cd1;
    cd0 = iconv_open("ISO-8859-7", "UTF-16LE");
    cd1 = iconv_open("ISO-8859-7", "UTF-16LE");
    iconv_close(cd0);
    iconv_close(cd1);
    return 0;
}

It seems that opening two identical conversion descriptors is what triggers the
error. Is there any reason why two identical descriptors should not be allowed ?

Therefore I think that this is a glibc bug, after all. Perhaps reopening it is
in order ?

Regards,

Theodoros Kalamatianos


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=2569

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2006-04-25 11:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 13:27 [Bug libc/2569] New: " maestromae at kateos dot org
2006-04-13 16:23 ` [Bug libc/2569] " drepper at redhat dot com
2006-04-19 21:47 ` decimal at us dot ibm dot com
2006-04-20  5:48 ` maestromae at kateos dot org
2006-04-20 10:18 ` maestromae at kateos dot org
2006-04-20 11:11 ` maestromae at kateos dot org
2006-04-24 17:56 ` drepper at redhat dot com
2006-04-25 11:54 ` thkala at softlab dot ece dot ntua dot gr [this message]
2006-04-25 12:26 ` maestromae at kateos dot org
2006-04-25 17:23 ` drepper at redhat dot com
2006-04-25 17:25 ` drepper at redhat dot com
2006-04-25 17:44 ` drepper 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=20060425115429.24875.qmail@sourceware.org \
    --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).