UTF8 converter crashes with large data

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.1.3
    • Affects Version/s: 1.1.1
    • Component/s: core-libs
    • b01
    • x86
    • solaris_9
    • Not verified


      takeshi.asano@Japan 1997-03-13

      When converting large data UTF8 converter crashes as below:

      asano@soda[551]$ java InOut UTF8 EUCJIS < large > /dev/null
      java.lang.InternalError: Converter malfunction (UTF8) -- please send a bug report to ###@###.###
       at java.lang.Throwable.<init>(Compiled Code)
       at java.lang.Error.<init>(Compiled Code)
       at java.lang.VirtualMachineError.<init>(Compiled Code)
       at java.lang.InternalError.<init>(Compiled Code)
       at java.io.InputStreamReader.malfunction(Compiled Code)
       at java.io.InputStreamReader.convertInto(Compiled Code)
       at java.io.InputStreamReader.fill(Compiled Code)
       at java.io.InputStreamReader.read(Compiled Code)
       at java.io.InputStreamReader.read(Compiled Code)
       at InOut.main(Compiled Code)

      Input data is not corrupted because if input is splitted into
      smaller pieces, each of them is converted by UTF8 converter
      successfully.

      I attached input file "large" and Java source "InOut.java" for reproduction.

            Assignee:
            Naoyuki Ishimura (Inactive)
            Reporter:
            Takeshi Asano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: