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

JCK-interactive: an irrecoverable stack overflow in Linux/Solaris

XMLWordPrintable

    • ladybird
    • x86
    • linux
    • Verified



        Name: icR10030 Date: 12/20/2000



        The following JCK13a testcase fails in RedHat 6.2 under builds 1.3.1beta-b12:
        api/java_awt/interactive/DnDTextDropTest.html


        Failing Test:
        =============
        api/java_awt/interactive/DnDTextDropTest.html


        Test source location:
        ====================
        /net/jtgb4u4c.eng/export/sail16/JCK/jck13afcs/tests/api/java_awt/interactive/DnDTextDropTest.html

        Platforms:
        =============
        Linux Redhat6.2, Redhat7

        JDK, switches Info:
        ===================
        % java -version
        java version "1.3.1beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1beta-b12)
        Java HotSpot(TM) Client VM (build 1.3.1beta-b12, mixed mode)

        How to reproduce:
        ====================
        To reproduce the bug, run script below (You may need to set JCK and JAVA_HOME).
        Then click middle mouse button (for 2-buttons mouse click simultaneously both buttons).
        An irrecoverable stack overflow will occur and java crashs:
        "Exception in thread "AWT-Motif" java.lang.StackOverflowError
                at sun.awt.motif.MDropTargetContextPeer.heartbeat(MDropTargetContextPeer.java:240)
                at sun.awt.motif.MToolkit.run(Native Method)
                at java.lang.Thread.run(Thread.java:484)
        # An irrecoverable stack overflow has occurred.
        # An unexpected exception has been detected in native code outside the VM.
        # Program counter=0x4044f579
        #
        # Problematic Thread: prio=1 tid=0x812eaa8 nid=0x2d0e runnable
        #"

        -------------------------------------------------------------------------------------
        #!/bin/sh
        SWITCH=${@}
        JAVA_HOME=/usr/local/java/jdk1.3.1/linux-i386
        JCK=/net/jtgb4u4c.eng/export/sail16/JCK/jck13afcs

        CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
        export CLASSPATH
        executeClass=javasoft.sqe.tests.api.java.awt.interactive.DnDTextDropTest

        $JAVA_HOME/bin/java ${SWITCH} -version
        $JAVA_HOME/bin/java ${SWITCH} -client -Xfuture ${executeClass} -TestCaseID ALL
        RESULT="$?"
        if [ $RESULT = 95 ]; then
         echo Test passed
        elif [ $RESULT = 97 ]; then
         echo Test failed
        else
         echo Result is $RESULT
        fi
        -------------------------------------------------------------------------------------

        ======================================================================

              dassunw Das Das (Inactive)
              ichesunw Iche Iche (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: