This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/955] New: Segmentation fault while converting with iconv and IBM939


While using iconv to convert the character \uFFFF {0xef, 0xbf, 0xbf} iconv core
dumps.  iconv can convert all the other valid UTF-8 characters between \u0000
and \uFFFE without core dumping.  I know that some Unicode characters aren't
representable in IBM939, but it shouldn't fail with a segmentation fault. Other
iconv converters don't fail when \uFFFF is converted.


Here is a stack trace.
#0  0x0000002a96404be4 in gconv () from /usr/lib64/gconv/IBM939.so
#1  0x00000035d0121edb in __gconv_transform_utf8_internal ()
   from /lib64/tls/libc.so.6
#2  0x00000035d011d558 in __gconv () from /lib64/tls/libc.so.6
#3  0x00000035d011cbbb in iconv () from /lib64/tls/libc.so.6

I'm using Fedora Core 3 on AMD64.

-- 
           Summary: Segmentation fault while converting with iconv and
                    IBM939
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: grhoten at jtcsv dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=955

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]