Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4427057

Linux: native2ascii crashes on reverse encoding Japanese manpages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.1
    • hotspot
    • None
    • x86
    • linux

      Build of Ladybird (b-19) on Linux causes an error condition from HotSpot.
      Builds on Solaris Sparc and Solaris Intel are fine. Here is a build
      logfile snippet showing the error. Additionally, I have included the
      hotspot errorlog contents...

      -----------------------------------------------------------------------------
      Build log on Linux....

      /bin/mkdir -p /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/jre-image-i386/man/man1
      for i in java.1 keytool.1 rmid.1 rmiregistry.1 tnameserv.1; do /bin/cp ./../src/linux/doc/man/$i /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/jre-image-i386/man/man1; done
      for manpage in java.1 keytool.1 rmid.1 rmiregistry.1 tnameserv.1; do for encoding in eucJP UTF-8 PCK; do MAN_DEST_PATH=/net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/jre-image-i386/man/ja; if [ "${encoding}" != "eucJP" ]; then MAN_DEST_PATH=${MAN_DEST_PATH}_JP.${encoding}; fi; MAN_DEST_PATH=${MAN_DEST_PATH}/man1; /bin/mkdir -p ${MAN_DEST_PATH}; /bin/cat ./../src/linux/doc/man/ja/${manpage} | /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/bin/native2ascii -encoding eucJP | /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/bin/native2ascii -reverse -encoding ${encoding} > ${MAN_DEST_PATH}/${manpage}; done; done


      ****************
      Another exception has been detected while we were handling last error.
      Dumping information about last error:
      ERROR REPORT FILE = hs_err_pid3081.log
      PC = 0x0x40279665
      SIGNAL = 11
      FUNCTION NAME = type__C4Item
      LIBRARY NAME = /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so
      Please check ERROR REPORT FILE for further information, if there is any.
      Good bye.

      --------------------------------------------------------------------------

      hotspot error logs...


      Unexpected Signal : 11 occurred at PC=0x40279665
      Function name=type__C4Item
      Library=/net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so

      Current Java thread:
      at java.lang.Shutdown.halt(Native Method)
      at java.lang.Shutdown.exit(Shutdown.java:214)
      at java.lang.Runtime.exit(Runtime.java:93)
      at java.lang.System.exit(System.java:701)
      at sun.tools.native2ascii.Main.main(Main.java:325)

      Dynamic libraries:
      08048000-0804c000 r-xp 00000000 00:06 18020080 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/bin/i386/native_threads/native2ascii
      0804c000-0804d000 rw-p 00003000 00:06 18020080 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/bin/i386/native_threads/native2ascii
      40000000-40012000 r-xp 00000000 08:05 420163 /lib/ld-2.1.2.so
      40012000-40013000 rw-p 00012000 08:05 420163 /lib/ld-2.1.2.so
      40013000-40016000 r--p 00000000 08:05 791843 /usr/share/locale/en_US/LC_CTYPE
      40016000-40017000 r--p 00000000 08:05 953444 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
      40017000-40018000 r--p 00000000 08:05 791844 /usr/share/locale/en_US/LC_MONETARY
      40018000-40022000 r-xp 00000000 08:05 420209 /lib/libpthread-0.8.so
      40022000-40029000 rw-p 00009000 08:05 420209 /lib/libpthread-0.8.so
      4002a000-40033000 r-xp 00000000 00:06 19230902 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/native_threads/libhpi.so
      40033000-40034000 rw-p 00008000 00:06 19230902 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/native_threads/libhpi.so
      40034000-4029b000 r-xp 00000000 00:06 6987342 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so
      4029b000-40400000 rw-p 00266000 00:06 6987342 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so
      40417000-40419000 r-xp 00000000 08:05 420179 /lib/libdl-2.1.2.so
      40419000-4041a000 rw-p 00001000 08:05 420179 /lib/libdl-2.1.2.so
      4041a000-40505000 r-xp 00000000 08:05 420170 /lib/libc-2.1.2.so
      40505000-40509000 rw-p 000ea000 08:05 420170 /lib/libc-2.1.2.so
      4050d000-4051f000 r-xp 00000000 08:05 420183 /lib/libnsl-2.1.2.so
      4051f000-40520000 rw-p 00011000 08:05 420183 /lib/libnsl-2.1.2.so
      40523000-4053e000 r-xp 00000000 08:05 420181 /lib/libm-2.1.2.so
      4053e000-4053f000 rw-p 0001a000 08:05 420181 /lib/libm-2.1.2.so
      40540000-40574000 r-xp 00000000 08:05 258694 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      40574000-40580000 rw-p 00033000 08:05 258694 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      40582000-40593000 r-xp 00000000 00:06 19231434 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libverify.so
      40593000-40595000 rw-p 00010000 00:06 19231434 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libverify.so
      40595000-405b6000 r-xp 00000000 00:06 19231436 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libjava.so
      405b6000-405b8000 rw-p 00020000 00:06 19231436 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libjava.so
      405b9000-405cd000 r-xp 00000000 00:06 19231438 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libzip.so
      405cd000-405d0000 rw-p 00013000 00:06 19231438 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libzip.so
      405d0000-4086e000 r--s 00000000 00:06 18084865 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i18n.jar
      4086e000-40884000 r--s 00000000 00:06 18084840 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/sunrsasign.jar
      4292c000-4292d000 r--p 00000000 08:05 791846 /usr/share/locale/en_US/LC_TIME
      4292d000-4292e000 r--p 00000000 08:05 791845 /usr/share/locale/en_US/LC_NUMERIC
      4898f000-48997000 r--p 00000000 08:05 791842 /usr/share/locale/en_US/LC_COLLATE
      4899c000-489a4000 r-xp 00000000 08:05 420201 /lib/libnss_files-2.1.2.so
      489a4000-489a5000 rw-p 00007000 08:05 420201 /lib/libnss_files-2.1.2.so

      Local Time = Sun Mar 18 11:59:43 2001
      Elapsed Time = 0
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002CC
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1-rc1-b19 mixed mode)
      #
      # An error report file has been saved as hs_err_pid3081.log.
      # Please refer to the file for further information.
      #





      Unexpected Signal : 11 occurred at PC=0x40279665
      Function name=type__C4Item
      Library=/net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so

      Current Java thread:
      at java.lang.Shutdown.halt(Native Method)
      at java.lang.Shutdown.exit(Shutdown.java:214)
      at java.lang.Runtime.exit(Runtime.java:93)
      at java.lang.System.exit(System.java:701)
      at sun.tools.native2ascii.Main.main(Main.java:325)

      Dynamic libraries:
      08048000-0804c000 r-xp 00000000 00:06 18020080 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/bin/i386/native_threads/native2ascii
      0804c000-0804d000 rw-p 00003000 00:06 18020080 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/bin/i386/native_threads/native2ascii
      40000000-40012000 r-xp 00000000 08:05 420163 /lib/ld-2.1.2.so
      40012000-40013000 rw-p 00012000 08:05 420163 /lib/ld-2.1.2.so
      40013000-40016000 r--p 00000000 08:05 791843 /usr/share/locale/en_US/LC_CTYPE
      40016000-40017000 r--p 00000000 08:05 953444 /usr/share/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES
      40017000-40018000 r--p 00000000 08:05 791844 /usr/share/locale/en_US/LC_MONETARY
      40018000-40022000 r-xp 00000000 08:05 420209 /lib/libpthread-0.8.so
      40022000-40029000 rw-p 00009000 08:05 420209 /lib/libpthread-0.8.so
      4002a000-40033000 r-xp 00000000 00:06 19230902 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/native_threads/libhpi.so
      40033000-40034000 rw-p 00008000 00:06 19230902 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/native_threads/libhpi.so
      40034000-4029b000 r-xp 00000000 00:06 6987342 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so
      4029b000-40400000 rw-p 00266000 00:06 6987342 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/client/libjvm.so
      40417000-40419000 r-xp 00000000 08:05 420179 /lib/libdl-2.1.2.so
      40419000-4041a000 rw-p 00001000 08:05 420179 /lib/libdl-2.1.2.so
      4041a000-40505000 r-xp 00000000 08:05 420170 /lib/libc-2.1.2.so
      40505000-40509000 rw-p 000ea000 08:05 420170 /lib/libc-2.1.2.so
      4050d000-4051f000 r-xp 00000000 08:05 420183 /lib/libnsl-2.1.2.so
      4051f000-40520000 rw-p 00011000 08:05 420183 /lib/libnsl-2.1.2.so
      40523000-4053e000 r-xp 00000000 08:05 420181 /lib/libm-2.1.2.so
      4053e000-4053f000 rw-p 0001a000 08:05 420181 /lib/libm-2.1.2.so
      40540000-40574000 r-xp 00000000 08:05 258694 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      40574000-40580000 rw-p 00033000 08:05 258694 /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
      40582000-40593000 r-xp 00000000 00:06 19231434 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libverify.so
      40593000-40595000 rw-p 00010000 00:06 19231434 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libverify.so
      40595000-405b6000 r-xp 00000000 00:06 19231436 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libjava.so
      405b6000-405b8000 rw-p 00020000 00:06 19231436 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libjava.so
      405b9000-405cd000 r-xp 00000000 00:06 19231438 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libzip.so
      405cd000-405d0000 rw-p 00013000 00:06 19231438 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i386/libzip.so
      405d0000-4086e000 r--s 00000000 00:06 18084865 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/i18n.jar
      4086e000-40884000 r--s 00000000 00:06 18084840 /net/altair.east/terra/space2/plugin/jmelvin/ladybird/build/linux-i386/lib/sunrsasign.jar
      4292c000-4292d000 r--p 00000000 08:05 791846 /usr/share/locale/en_US/LC_TIME
      4292d000-4292e000 r--p 00000000 08:05 791845 /usr/share/locale/en_US/LC_NUMERIC
      4898f000-48997000 r--p 00000000 08:05 791842 /usr/share/locale/en_US/LC_COLLATE
      4899c000-489a4000 r-xp 00000000 08:05 420201 /lib/libnss_files-2.1.2.so
      489a4000-489a5000 rw-p 00007000 08:05 420201 /lib/libnss_files-2.1.2.so

      Local Time = Sun Mar 18 11:59:54 2001
      Elapsed Time = 0
      #
      # HotSpot Virtual Machine Error : 11
      # Error ID : 4F530E43505002CC
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.3.1-rc1-b19 mixed mode)
      #
      # An error report file has been saved as hs_err_pid4377.log.
      # Please refer to the file for further information.
      #

      james.melvin@East 2001-03-18

            hhuangsunw Hui Huang (Inactive)
            jmelvin James Melvin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: