JDK-8212153 : RedefineClasses/StressRedefine/TestDescription.java with exit code 134 on Linux-X64
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2018-10-13
  • Updated: 2018-10-15
  • Resolved: 2018-10-15
Related Reports
Duplicate :  
Description
The following test failed due to an AssertionError on Linux X64
in the fastdebug config using jdk-12+14 bits:

vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.java

The test only failed in 1 of 3 'fastdebug' bits runs so I'm
tagging this bug as intermittent. It did not fail at all in the
'slowdebug' or 'release' bits runs.

Here is a snippet from the log file:

<<<<<<<< RedefineClasses() is successfully done
>>>>>>>> Invoke RedefineClasses():
        new class byte count=2283
Current thread is 15937
Dumping core ...
----------System.err:(13/3662)----------
java.lang.AssertionError: [/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java, -XX:MaxRAMPercentage=1, -cp, /work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.d:/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/vmTestbase:/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/test/lib, -Djava.library.path=/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/images/test/hotspot/jtreg/native, -agentlib:stressRedefine, nsk.jvmti.RedefineClasses.StressRedefine, ./bin] exit code is 134
        at ExecDriver.main(ExecDriver.java:139)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:835)

JavaTest Message: Test threw exception: java.lang.AssertionError: [/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java, -XX:MaxRAMPercentage=1, -cp, /work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.d:/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/vmTestbase:/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/test/lib, -Djava.library.path=/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/images/test/hotspot/jtreg/native, -agentlib:stressRedefine, nsk.jvmti.RedefineClasses.StressRedefine, ./bin] exit code is 134
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.AssertionError: [/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/images/jdk/bin/java, -XX:MaxRAMPercentage=1, -cp, /work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/vmTestbase/nsk/jvmti/RedefineClasses/StressRedefine/TestDescription.d:/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/vmTestbase:/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/14/test/lib, -Djava.library.path=/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/build/linux-x86_64-normal-server-fastdebug/images/test/hotspot/jtreg/native, -agentlib:stressRedefine, nsk.jvmti.RedefineClasses.StressRedefine, ./bin] exit code is 134
----------rerun:(29/4459)*----------

There's no indication of an hs_err_pid file being generated.
Comments
Good, thanks! Closing this as a duplicate then.
15-10-2018

JDK-8209889 is resolved in jdk/jdk in B15 and I reported this bug against jdk-12+14. Update: This failure mode did not reproduce in my jdk-12+15 testing, but the failure is intermittent so that might not mean anytime.
15-10-2018

From zip file the error is: # Internal Error (/work/shared/bug_hunt/thread_SMR_stress/jdk12_exp/open/src/hotspot/share/oops/method.cpp:2157), pid=15899, tid=15937 # assert(!value || !is_old() || is_obsolete() || is_running_emcp()) failed: emcp methods cannot run after emcp bit is cleared # I think this is a duplicate of JDK-8209889. Need to check dates.
15-10-2018

Here are the logs for my jdk-12+14 Linux-X64 sightings: $ unzip -l jdk-12+14_linux.8212153.zip Archive: jdk-12+14_linux.8212153.zip Length Date Time Name --------- ---------- ----- ---- 99573 2018-10-06 09:06 jdk-12+14_3/TestDescription.jtr.fastdebug --------- ------- 99573 1 file
13-10-2018