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

Test: java/nio/Buffer/FinalizerCrash.java fails

XMLWordPrintable

    • b86
    • generic, x86
    • generic, linux_redhat_3.0
    • Verified

        JDK : Fails: Mustang b59a
                              Passes: Mustang b59
        Platform[s] : Fails On: Red Hat AS 4 (amd64)
        Failing Test [s] : java/nio/Buffer/FinalizerCrash.java


            Test source location:
            =====================
        /net/cady/export/jdk1.6.0/promoted/all/b59b/ws/j2se/test/java/nio/Buffer/FinalizerCrash.java

            Test Machine:
            =============
        Linux opteron002 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

        *** /etc/lsb-release.d: directory ***

        ::::::::::::::
        /etc/redhat-release
        ::::::::::::::
        Red Hat Enterprise Linux AS release 4 (Nahant Update 2)


            jtr file location:
            ==================
        /net/cady/export/dtf/regdir/59b-RHAS/java/nio/Buffer/FinalizerCrash.jtr

            How to reproduce:
            ====================
            - Set JAVA_HOME to Mustang b59a linux-amd64
            - cd /net/cady/export/jdk1.6.0/promoted/all/b59b/ws/j2se/test/java/nio/Buffer
            - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/linux/bin/jtreg -r:/tmp -w:/tmp ./FinalizerCrash.java

            Test output:
            =============
        ----------System.out:(1/84)----------
        Java HotSpot(TM) Client VM warning: Attempt to deallocate stack guard pages failed.
        ----------System.err:(22/1224)----------
        Direct ................................
        Mapped .........................................java.lang.Error: java.io.IOException: Cannot allocate memory
                at FinalizerCrash$2.run(FinalizerCrash.java:85)
                at FinalizerCrash.test(FinalizerCrash.java:38)
                at FinalizerCrash.testMapped(FinalizerCrash.java:77)
                at FinalizerCrash.main(FinalizerCrash.java:108)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:589)
                at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
                at java.lang.Thread.run(Thread.java:620)
        Caused by: java.io.IOException: Cannot allocate memory
                at sun.nio.ch.FileChannelImpl.map0(Native Method)
                at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:740)
                at FinalizerCrash$2.run(FinalizerCrash.java:80)
                ... 9 more

              iris Iris Clark
              jaleesunw James Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: