JDK-8276625 : runtime/cds/appcds/dynamicArchive/ArchiveConsistency.java fails with assert(result == unicode_path_len) failed: length already checked above
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 18
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2021-11-04
  • Updated: 2021-11-04
  • Resolved: 2021-11-04
Related Reports
Duplicate :  
Description
#  Internal Error (t:\workspace\open\src\hotspot\os\windows\os_windows.cpp:4435), pid=16180, tid=4224
#  assert(result == unicode_path_len) failed: length already checked above
#
# JRE version:  (18.0+22) (fastdebug build )
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+22-1420, mixed mode, sharing, tiered, compressed class ptrs, z gc, windows-amd64)
# Core dump will be written. Default location: ...
#
#

---------------  S U M M A R Y ------------

Command Line: -XX:MaxRAMPercentage=4.16667 -Djava.io.tmpdir=t:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_runtime\tmp -XX:+CreateCoredumpOnCrash -XX:+UseZGC -Xshare:on -XX:SharedArchiveFile=T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_runtime\scratch\0\base-07h35m20s322.jsa;T:\testoutput\test-support\jtreg_open_test_hotspot_jtreg_hotspot_runtime\scratch\0\wrongBaseName-07h35m23s812.jsa -Xlog:cds -Xlog:cds+dynamic=debug -XX:+VerifySharedSpaces Hello

Host: win2019-x64-build-test-418474, AMD EPYC 7J13 64-Core Processor                , 12 cores, 47G,  Windows Server 2019 , 64 bit Build 17763 (10.0.17763.2145)
Time: Thu Nov  4 08:35:23 2021 /GM elapsed time: 0.005426 seconds (0d 0h 0m 0s)

---------------  T H R E A D  ---------------

Current thread is native thread

Stack: [0x000000b6b9d00000,0x000000b6b9e00000]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [jvm.dll+0xb55f71]  os::platform_print_native_stack+0xf1  (os_windows_x86.cpp:235)
V  [jvm.dll+0xd9305e]  VMError::report+0x101e  (vmError.cpp:828)
V  [jvm.dll+0xd94a5e]  VMError::report_and_die+0x7fe  (vmError.cpp:1656)
V  [jvm.dll+0xd951e4]  VMError::report_and_die+0x64  (vmError.cpp:1437)
V  [jvm.dll+0x4df1d7]  report_vm_error+0xb7  (debug.cpp:282)
V  [jvm.dll+0xb4c4ad]  convert_to_unicode+0x9d  (os_windows.cpp:4435)
V  [jvm.dll+0xb556a7]  wide_abs_unc_path+0x117  (os_windows.cpp:4500)
V  [jvm.dll+0xb5468a]  os::stat+0x3a  (os_windows.cpp:4538)
V  [jvm.dll+0xb43608]  os::file_exists+0x48  (os.cpp:1403)
V  [jvm.dll+0x595cf2]  FileHeaderHelper::read_base_archive_name+0xe2  (filemap.cpp:1098)
V  [jvm.dll+0x5928e5]  FileMapInfo::check_archive+0x1f5  (filemap.cpp:1143)
V  [jvm.dll+0x227015]  Arguments::init_shared_archive_paths+0x3c5  (arguments.cpp:3543)
V  [jvm.dll+0x225715]  Arguments::apply_ergo+0x205  (arguments.cpp:4002)
V  [jvm.dll+0xd0d6b2]  Threads::create_vm+0xf2  (thread.cpp:2709)
V  [jvm.dll+0x7ac522]  JNI_CreateJavaVM_inner+0xb2  (jni.cpp:3616)
V  [jvm.dll+0x7afe7f]  JNI_CreateJavaVM+0x1f  (jni.cpp:3704)
C  [jli.dll+0x535f]  JavaMain+0x113  (java.c:411)
C  [ucrtbase.dll+0x2268a]
C  [KERNEL32.DLL+0x17974]
C  [ntdll.dll+0x5a2f1]