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

TransformerManagementThreadAddTests.java fails an assertion



    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 5.0u18, 5.0u18-rev, 6
    • Fix Version/s: 6
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Build:
    • Introduced In Version:
    • Resolved In Build:
    • CPU:
      generic, sparc
    • OS:
      generic, solaris, solaris_9



        TransformerManagementThreadAddTests.java failed in the 2006.06.29 nightly.
        Here is the entry from my usual analysis report:

        New INSTRUMENT_REGRESSION failures (from 2006.06.29)
                This test failed the following assertion:

                    Internal Error (src/share/vm/opto/parse1.cpp, 1579)
                    Error: assert(n != top() || r->in(pnum) == top(),
                        "live value must not be garbage")

                on Solaris X86 Server VM (machine vm-v20z-9), Solaris SPARC
                Server VM (machine jtg-s130), Solaris SPARC-64 Server VM
                (machine jtg-s130), and Solaris AMD64 Server VM (machine
                vm-v20z-10). This is a client-centric day so these are the
                only Server VM configs to be run today.

                This failure did not occur in the 2006.06.28 run. PRT job
                20060629094817.dcubed.service_hs_b91_merge was a merge of
                20060629071936.nips.compiler_b91_merge from main/baseline.
                There were no other putbacks to service_hs_baseline. It
                looks like we picked up a regression for the c2_baseline
                push for Mustang-B91.

                This test is covered by the following bug:

                    6239043 4/4 test/java/lang/instrument/
                                TransformerManagementThreadAddTests.java failed

                However, this is not the same failure mode.
        To reproduce this bug you need a JDK/SDK workspace. Actually you
        just need the test portion of it, possibly even just the
        test/java/lang/instrument portion of it, but I haven't tested

        I've attached a do-sdk-jli.ksh script that runs just the
        TransformerManagementThreadAddTests.java test. Drop this
        script at the top of the JDK/SDK workspace and run as

        % ksh do-sdk-jli.ksh $JAVA_HOME -server
        runregress: Version 01/14/06
        runregress: Using jtreg 2.1.6 from /java/svc/jct-tools2.1.6
        runregress: Using this jdk for JavaTest: /java/svc/sqeweb/UNIFIED-DTF/stable-jdk/solaris-sparc
        runregress: Testing this jdk: /net/gtee/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc

        -- NOTE: Will run jtreg with -server -showversion
                  jtreg might not like some/all of these!
                  Run ..../jtreg -help for more info

        Starting run: Fri Jun 30 14:44:54 PDT 2006
        Directory "/home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwork/scratch" not found: Creating
        java version "1.5.0_05"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
        Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)

        test results: failed: 1
        Report written to /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTreport/report.html
        Results written to /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwork
        Error: some tests failed or other problems occurred

        real 1:34.4
        user 1:02.0
        sys 9.1

        The summary report is in:

        Failed tests are:
        runner finished: java/lang/instrument/TransformerManagementThreadAddTests.java: Failed. Unexpected exit from test [exit code: 6]

        cat /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwork/java/lang/instrument/TransformerManagementThreadAddTests.jtr

        % tail -25 sdk-jli.solaris-sparc/JTwork/java/lang/instrument/TransformerManagementThreadAddTests.jtr
        InstrumentationHandoff JPLIS agent initialized
        Reading test class from /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwo
        # To suppress the following error report, specify this argument
        # after -XX: or in .hotspotrc: SuppressErrorAt=/parse1.cpp:1579]
        # An unexpected error has been detected by Java Runtime Environment:
        # Internal Error (/net/prt-solsparc-q1-18/tmp/PrtBuildDir/workspace/src/share/v
        m/opto/parse1.cpp, 1579 [ Patched ]), pid=22468, tid=7
        # Java VM: Java HotSpot(TM) Server VM (20060629094817.dcubed.service_hs_b91_merg
        e-debug mixed mode)
        # Error: assert(n != top() || r->in(pnum) == top(),"live value must not be garba
        # An error report file with more information is saved as hs_err_pid22468.log
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        Current thread is 7
        Dumping core ...
        result: Failed. Unexpected exit from test [exit code: 6]

        test result: Failed. Unexpected exit from test [exit code: 6]

        Feel free to use ~dcubed/sdk-test-mustang and the do-sdk-jli.ksh
        file that I left there.


            Issue Links



                kvn Vladimir Kozlov
                dcubed Daniel Daugherty
                0 Vote for this issue
                3 Start watching this issue