The following test failed in the JDK20 CI:
vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java
Here's a snippet from the log file:
>>>>>>>> Invoke RedefineClasses():
new class byte count=2354
[21.747s][trace][redefine,class,iklass,add ] adding previous version ref for MyClass, EMCP_cnt=7
[21.747s][trace][redefine,class,iklass,purge] MyClass: previous versions
[21.747s][trace][redefine,class,iklass,purge] previous version 0x0000000801176c60 is alive
[21.747s][trace][redefine,class,iklass,purge] previous version 0x000000080117b000 is alive
[21.747s][trace][redefine,class,iklass,purge] previous version 0x0000000801176800 is alive
[21.747s][trace][redefine,class,iklass,purge] previous version stats: live=3, deleted=0
[21.747s][trace][redefine,class,iklass,add ] scratch class added; one of its methods is on_stack.
<<<<<<<< RedefineClasses() is successfully done
>>>>>>>> Invoke RedefineClasses():
new class byte count=2354
[21.999s][trace][redefine,class,iklass,purge] Class unloading: has_previous_versions = true
[22.000s][trace][redefine,class,iklass,purge] MyClass: previous versions
[22.000s][trace][redefine,class,iklass,purge] previous version 0x0000000801177000 is alive
[22.000s][trace][redefine,class,iklass,purge] previous version 0x0000000801176c60 is alive
[22.000s][trace][redefine,class,iklass,purge] previous version 0x000000080117b000 is dead.
[22.000s][trace][redefine,class,iklass,purge] previous version 0x0000000801176800 is dead.
[22.000s][trace][redefine,class,iklass,purge] previous version stats: live=2, deleted=2
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=19516, tid=28940
#
# JRE version: Java(TM) SE Runtime Environment (20.0+15) (fastdebug build 20-ea+15-1009)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+15-1009, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
# Problematic frame:
#
[error occurred during error reporting (printing problematic frame), id 0xe0000000, Internal Error (c:\\sb\\prod\\1663116827\\workspace\\open\\src\\hotspot\\cpu\\x86\\frame_x86.inline.hpp:62)]
# Core dump will be written. Default location: C:\\sb\\prod\\1663276484\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\5\\hs_err_pid19516.mdmp
#
# An error report file with more information is saved as:
# C:\\sb\\prod\\1663276484\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\5\\hs_err_pid19516.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(42/6791)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000020eb471f3d0): VMThread "VM Thread" [stack: 0x000000fe45100000,0x000000fe45200000] [id=28940]
Stack: [0x000000fe45100000,0x000000fe45200000]
[error occurred during error reporting (printing stack bounds), id 0xe0000000, Internal Error (c:\sb\prod\1663116827\workspace\open\src\hotspot\cpu\x86\frame_x86.inline.hpp:62)]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), data execution prevention violation at address 0x0000000000000000
vmTestbase/nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption/TestDescription.java
Here's a snippet from the log file:
>>>>>>>> Invoke RedefineClasses():
new class byte count=2354
[21.747s][trace][redefine,class,iklass,add ] adding previous version ref for MyClass, EMCP_cnt=7
[21.747s][trace][redefine,class,iklass,purge] MyClass: previous versions
[21.747s][trace][redefine,class,iklass,purge] previous version 0x0000000801176c60 is alive
[21.747s][trace][redefine,class,iklass,purge] previous version 0x000000080117b000 is alive
[21.747s][trace][redefine,class,iklass,purge] previous version 0x0000000801176800 is alive
[21.747s][trace][redefine,class,iklass,purge] previous version stats: live=3, deleted=0
[21.747s][trace][redefine,class,iklass,add ] scratch class added; one of its methods is on_stack.
<<<<<<<< RedefineClasses() is successfully done
>>>>>>>> Invoke RedefineClasses():
new class byte count=2354
[21.999s][trace][redefine,class,iklass,purge] Class unloading: has_previous_versions = true
[22.000s][trace][redefine,class,iklass,purge] MyClass: previous versions
[22.000s][trace][redefine,class,iklass,purge] previous version 0x0000000801177000 is alive
[22.000s][trace][redefine,class,iklass,purge] previous version 0x0000000801176c60 is alive
[22.000s][trace][redefine,class,iklass,purge] previous version 0x000000080117b000 is dead.
[22.000s][trace][redefine,class,iklass,purge] previous version 0x0000000801176800 is dead.
[22.000s][trace][redefine,class,iklass,purge] previous version stats: live=2, deleted=2
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=19516, tid=28940
#
# JRE version: Java(TM) SE Runtime Environment (20.0+15) (fastdebug build 20-ea+15-1009)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 20-ea+15-1009, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
# Problematic frame:
#
[error occurred during error reporting (printing problematic frame), id 0xe0000000, Internal Error (c:\\sb\\prod\\1663116827\\workspace\\open\\src\\hotspot\\cpu\\x86\\frame_x86.inline.hpp:62)]
# Core dump will be written. Default location: C:\\sb\\prod\\1663276484\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\5\\hs_err_pid19516.mdmp
#
# An error report file with more information is saved as:
# C:\\sb\\prod\\1663276484\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti_quick\\scratch\\5\\hs_err_pid19516.log
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
----------System.err:(0/0)----------
----------rerun:(42/6791)*----------
Here's the crashing thread's stack:
--------------- T H R E A D ---------------
Current thread (0x0000020eb471f3d0): VMThread "VM Thread" [stack: 0x000000fe45100000,0x000000fe45200000] [id=28940]
Stack: [0x000000fe45100000,0x000000fe45200000]
[error occurred during error reporting (printing stack bounds), id 0xe0000000, Internal Error (c:\sb\prod\1663116827\workspace\open\src\hotspot\cpu\x86\frame_x86.inline.hpp:62)]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), data execution prevention violation at address 0x0000000000000000
- relates to
-
JDK-8258825 strange crashes with applications/jcstress on AMD EPYC
-
- Open
-
-
JDK-8293648 Kitchensink.java failed with SIGSEGV in compiled frame with ZGC
-
- Closed
-
-
JDK-8293832 Kitchensink24HStress.java failed with EXCEPTION_ACCESS_VIOLATION in a C-frame
-
- Closed
-