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

String.compareTo may walk one char past the end of array

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.3.1, 1.3.1_03, 1.3.1_06, 1.4.2
    • Fix Version/s: 1.3.1_07
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      07
    • CPU:
      sparc
    • OS:
      solaris_8

      Backports

        Description

        This crash occurred while doing a J2EE build with jdk1.3.1_03 on solaris sparc.

        Date: Mon, 17 Jun 2002 16:09:20 -0700 (PDT)
        From: Janet Koenig <###@###.###>
        Subject: HotSpot Crash
        To: ###@###.###, ###@###.###, ###@###.###
        Cc: ###@###.###, ###@###.###

        Does this look like a C1 crash to you guys? It happens more frequently
        on a big server (E250, E450). Less frequently on Ultra 5:


        Unexpected Signal : 11 occurred at PC=0xfb030734
        Function name=compareTo (compiled Java code)
        Library=(N/A)

        Current Java thread:

        Dynamic libraries:
        0x10000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/bin/../bin/sparc/nativ
        e_threads/java
        0xff350000 /usr/lib/libthread.so.1
        0xff390000 /usr/lib/libdl.so.1
        0xff200000 /usr/lib/libc.so.1
        0xff330000 /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
        0xfe480000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/jre/lib/sparc/client/l
        ibjvm.so
        0xff2d0000 /usr/lib/libCrun.so.1
        0xff1e0000 /usr/lib/libsocket.so.1
        0xff100000 /usr/lib/libnsl.so.1
        0xff0d0000 /usr/lib/libm.so.1
        0xff300000 /usr/lib/libw.so.1
        0xff0b0000 /usr/lib/libmp.so.2
        0xff080000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/jre/lib/sparc/native_t
        hreads/libhpi.so
        0xff050000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/jre/lib/sparc/libverif
        y.so
        0xfe440000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/jre/lib/sparc/libjava.
        so
        0xff020000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/jre/lib/sparc/libzip.s
        o
        0xfe230000
        /net/koori.sfbay/a/v01/jdk/1.3.1_03/fcs/binaries/solsparc/jre/lib/sparc/libioser
        12.so

        Local Time = Mon Jun 17 14:17:52 2002
        Elapsed Time = 4
        #
        # HotSpot Virtual Machine Error : 11
        # Error ID : 4F530E43505002BD 01
        # Please report this error at
        # http://java.sun.com/cgi-bin/bugreport.cgi
        #
        # Java VM: Java HotSpot(TM) Client VM (1.3.1_03-b03 mixed mode)
        #

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                never Tom Rodriguez
                Reporter:
                never Tom Rodriguez
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: