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

(ch) Interrupt-signal handler improperly installed, causing random exits (lnx)

XMLWordPrintable

    • beta
    • x86
    • linux
    • Verified

        Name: mmR10223 Date: 09/24/2003


        Filed By : J2SE-SQA [###@###.###
        JDK : JDK1.5.0-b19s
        JCK : JCK1.5-runtime (b04)
        Platform[s] : Linux
        switch/Mode : default
        JCK test owner : http://javaweb.eng/jck/usr/owners.jto
        Falling test[s]:
                api/java_nio/channels/SocketChannel/index.html#Generated

        JCK1.5-runtime api/java_nio/channels/SocketChannel/index.html#Generated test fails with JDK1.5.0-b19s
        on Linux platform only. It is not reproducible on Windows and Solaris platforms.

        This test passes for some reason with JDK1.5.0-b20, JDK1.5.0-b19, JDK1.4.2-b28 though is thrown exception
        "java.nio.channels.NotYetConnectedException"

        Test source location:
        =====================
        /java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_nio/channels/SocketChannel/GeneratedTests.java

        jtr file location:
        ==================
        /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b19s/jck15/linux/suse8.0_gnome_server_linux-2/workDir/api/java_nio/channels/SocketChannel/index_Generated.jtr

        How to reproduce:
        =================
        Run the following script (you may need to change its variables)
         
        --- script start ---
        #!/bin/bash

        #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
        KOORI_ONESTOP="/java/re"

        #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
        JCK="$KOORI_ONESTOP/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
        #JDK="/net/linux-15/export/home/java/jdk1.5.0/linux"
        JDK="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b19/binaries/linux-i586"

        CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
         
        $JDK/bin/java -showversion -cp $CLASSPATH javasoft.sqe.tests.api.java.nio.channels.SocketChannel.GeneratedTests -network.tcpPortRange 0


        --- script end ---

        Test output:
        ============
        java version "1.5.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b19)
        Java HotSpot(TM) Client VM (build 20030915105831.kbr.share_baseline_testing-fastdebug1-debug, mixed mode)

        java.nio.channels.NotYetConnectedException
        at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:114)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:139)
        at javasoft.sqe.tests.api.java.nio.channels.SocketChannel.GeneratedTests$Receiver.receiveMeth(GeneratedTests.java:484)
        at javasoft.sqe.tests.api.java.nio.channels.SocketChannel.GeneratedTests$Receiver.run(GeneratedTests.java:497)
        java.nio.channels.NotYetConnectedException
        at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:114)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:139)
        at javasoft.sqe.tests.api.java.nio.channels.SocketChannel.GeneratedTests$Receiver.receiveMeth(GeneratedTests.java:484)
        at javasoft.sqe.tests.api.java.nio.channels.SocketChannel.GeneratedTests$Receiver.run(GeneratedTests.java:497)
        result: Failed. unexpected exit code: exit code 189

        Specific machine info:
        ======================
        Hostname: linux-2
        OS: Suse Linux 8.2 (GNOME2)



        ======================================================================
        ###@###.### 10/15/04 10:56 GMT

              mr Mark Reinhold
              mmvsunw Mmv Mmv (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: