The test deliberately induces crashes but it has core dumping enabled. The captured stack from the timeout handler shows we are getting delayed/stuck writing out the minidump file:
4 Id: 1cf0.1778 Suspend: 1 Teb: 000000ed`18234000 Unfrozen
# Child-SP RetAddr Call Site
00 000000ed`187fc4f8 00007ffc`c39b9f09 ntdll!NtWaitForAlertByThreadId+0x14
01 000000ed`187fc500 00007ffc`c39b74c2 ntdll!RtlQueryEnvironmentVariable+0x16c9
02 000000ed`187fc620 00007ffc`c39b2e5e ntdll!RtlEnterCriticalSection+0x42
03 000000ed`187fc650 00007ffc`c39b1f17 ntdll!RtlReAllocateHeap+0x10de
04 000000ed`187fc7d0 00007ffc`c39b1dda ntdll!RtlReAllocateHeap+0x197
05 000000ed`187fc930 00007ffc`c39ed290 ntdll!RtlReAllocateHeap+0x5a
06 000000ed`187fc970 00007ffc`c39c8291 ntdll!LdrResGetRCConfig+0x890
07 000000ed`187fc9d0 00007ffc`c39c7a2c ntdll!LdrLoadAlternateResourceModuleEx+0x551
08 000000ed`187fd4d0 00007ffc`c39c6ab5 ntdll!LdrRscIsTypeExist+0x42c
09 000000ed`187fd640 00007ffc`c39c8e4e ntdll!LdrpResGetMappingSize+0x11a5
0a 000000ed`187fd7e0 00007ffc`c28664e4 ntdll!LdrFindResource_U+0x5e
0b 000000ed`187fd830 00007ffc`b27eb806 KERNEL32!FindResourceExA+0x84
0c 000000ed`187fd8a0 00007ffc`b27ec250 dbgcore!MiniDumpReadDumpStream+0x4576
0d 000000ed`187fd8f0 00007ffc`b27f22f0 dbgcore!MiniDumpReadDumpStream+0x4fc0
0e 000000ed`187fdc70 00007ffc`b27f2ea4 dbgcore!MiniDumpReadDumpStream+0xb060
0f 000000ed`187fdfb0 00007ffc`b27e66a8 dbgcore!MiniDumpReadDumpStream+0xbc14
10 000000ed`187fe210 00007ffc`b27e71b8 dbgcore+0x66a8
*** WARNING: Unable to verify checksum for c:\ade\mesos\work_dir\jib-master\install\jdk-26+21-2119\windows-x64-debug.jdk\jdk-26\fastdebug\bin\server\jvm.dll
11 000000ed`187fea60 00007ffc`9d9891cb dbgcore!MiniDumpWriteDump+0x238
12 000000ed`187feb60 00007ffc`9d621762 jvm!WindowsDbgHelp::miniDumpWriteDump(
void * hProcess = 0xffffffff`ffffffff,
unsigned long ProcessId = 0x1cf0,
void * hFile = 0x00000000`00000534,
_MINIDUMP_TYPE DumpType = 0n6182 (No matching enumerant),
struct _MINIDUMP_EXCEPTION_INFORMATION * ExceptionParam = 0x000000ed`187fec10,
struct _MINIDUMP_USER_STREAM_INFORMATION * UserStreamParam = 0x00000000`00000000,
struct _MINIDUMP_CALLBACK_INFORMATION * CallbackParam = 0x00000000`00000000)+0x6b
13 000000ed`187febc0 00007ffc`9d92c7b7 jvm!os::abort(
bool dump_core = true,
void * siginfo = 0x00007ffc`9e071150,
void * context = 0x00007ffc`9e070c80)+0xd2
14 000000ed`187fec40 00007ffc`9ce741d2 jvm!VMError::report_and_die(
int id = 0n-536870912,
char * message = 0x00007ffc`9db96868 "fatal error",
char * detail_fmt = 0x00007ffc`9dc89c60 "NMT has detected a memory corruption bug. Block at 0x%016llx: %s",
char * detail_args = 0x000000ed`187fef10 "???",
class Thread * thread = 0x0000020f`734f24b0,
unsigned char * pc = 0x00000000`00000000 "",
void * siginfo = 0x00007ffc`9e071150,
void * context = 0x00007ffc`9e070c80,
char * filename = 0x00007ffc`9dc89800 "c:\sb\prod\1760984590\workspace\open\src\hotspot\share\nmt/mallocHeader.inline.hpp",
int lineno = 0n107,
unsigned int64 size = 0)+0xcf7
15 000000ed`187fee60 00007ffc`9d523448 jvm!report_fatal(
VMErrorType error_type = 0n-536870912 (No matching enumerant),
char * file = 0x00007ffc`9dc89800 "c:\sb\prod\1760984590\workspace\open\src\hotspot\share\nmt/mallocHeader.inline.hpp",
int line = 0n107,
char * detail_fmt = 0x00007ffc`9dc89c60 "NMT has detected a memory corruption bug. Block at 0x%016llx: %s")+0xb2
16 (Inline Function) --------`-------- jvm!MallocHeader::resolve_checked_impl(void)+0x191
17 000000ed`187feef0 00007ffc`9d522e14 jvm!MallocHeader::resolve_checked(
void * memblock = 0x0000020f`104c8710)+0x1b8
18 000000ed`187ff040 00007ffc`9d618d76 jvm!MallocTracker::record_free_block(
void * memblock = 0x0000020f`104c8710)+0x44
19 (Inline Function) --------`-------- jvm!MemTracker::record_free(void)+0xd
1a 000000ed`187ff080 00007ffc`9d970537 jvm!os::free(
void * memblock = 0x0000020f`104c8710)+0x76
1b 000000ed`187ff0b0 0000020f`0753fb18 jvm!WB_NMTFree(
struct JNIEnv_ * env = 0x0000020f`734f2950,
class _jobject * o = 0x000000ed`187ff1e8,
int64 mem = 0n2263721215760)+0x187
we need to disable coredumps in the test.
This hang with the minidump creation also leads to the test task timing out.
4 Id: 1cf0.1778 Suspend: 1 Teb: 000000ed`18234000 Unfrozen
# Child-SP RetAddr Call Site
00 000000ed`187fc4f8 00007ffc`c39b9f09 ntdll!NtWaitForAlertByThreadId+0x14
01 000000ed`187fc500 00007ffc`c39b74c2 ntdll!RtlQueryEnvironmentVariable+0x16c9
02 000000ed`187fc620 00007ffc`c39b2e5e ntdll!RtlEnterCriticalSection+0x42
03 000000ed`187fc650 00007ffc`c39b1f17 ntdll!RtlReAllocateHeap+0x10de
04 000000ed`187fc7d0 00007ffc`c39b1dda ntdll!RtlReAllocateHeap+0x197
05 000000ed`187fc930 00007ffc`c39ed290 ntdll!RtlReAllocateHeap+0x5a
06 000000ed`187fc970 00007ffc`c39c8291 ntdll!LdrResGetRCConfig+0x890
07 000000ed`187fc9d0 00007ffc`c39c7a2c ntdll!LdrLoadAlternateResourceModuleEx+0x551
08 000000ed`187fd4d0 00007ffc`c39c6ab5 ntdll!LdrRscIsTypeExist+0x42c
09 000000ed`187fd640 00007ffc`c39c8e4e ntdll!LdrpResGetMappingSize+0x11a5
0a 000000ed`187fd7e0 00007ffc`c28664e4 ntdll!LdrFindResource_U+0x5e
0b 000000ed`187fd830 00007ffc`b27eb806 KERNEL32!FindResourceExA+0x84
0c 000000ed`187fd8a0 00007ffc`b27ec250 dbgcore!MiniDumpReadDumpStream+0x4576
0d 000000ed`187fd8f0 00007ffc`b27f22f0 dbgcore!MiniDumpReadDumpStream+0x4fc0
0e 000000ed`187fdc70 00007ffc`b27f2ea4 dbgcore!MiniDumpReadDumpStream+0xb060
0f 000000ed`187fdfb0 00007ffc`b27e66a8 dbgcore!MiniDumpReadDumpStream+0xbc14
10 000000ed`187fe210 00007ffc`b27e71b8 dbgcore+0x66a8
*** WARNING: Unable to verify checksum for c:\ade\mesos\work_dir\jib-master\install\jdk-26+21-2119\windows-x64-debug.jdk\jdk-26\fastdebug\bin\server\jvm.dll
11 000000ed`187fea60 00007ffc`9d9891cb dbgcore!MiniDumpWriteDump+0x238
12 000000ed`187feb60 00007ffc`9d621762 jvm!WindowsDbgHelp::miniDumpWriteDump(
void * hProcess = 0xffffffff`ffffffff,
unsigned long ProcessId = 0x1cf0,
void * hFile = 0x00000000`00000534,
_MINIDUMP_TYPE DumpType = 0n6182 (No matching enumerant),
struct _MINIDUMP_EXCEPTION_INFORMATION * ExceptionParam = 0x000000ed`187fec10,
struct _MINIDUMP_USER_STREAM_INFORMATION * UserStreamParam = 0x00000000`00000000,
struct _MINIDUMP_CALLBACK_INFORMATION * CallbackParam = 0x00000000`00000000)+0x6b
13 000000ed`187febc0 00007ffc`9d92c7b7 jvm!os::abort(
bool dump_core = true,
void * siginfo = 0x00007ffc`9e071150,
void * context = 0x00007ffc`9e070c80)+0xd2
14 000000ed`187fec40 00007ffc`9ce741d2 jvm!VMError::report_and_die(
int id = 0n-536870912,
char * message = 0x00007ffc`9db96868 "fatal error",
char * detail_fmt = 0x00007ffc`9dc89c60 "NMT has detected a memory corruption bug. Block at 0x%016llx: %s",
char * detail_args = 0x000000ed`187fef10 "???",
class Thread * thread = 0x0000020f`734f24b0,
unsigned char * pc = 0x00000000`00000000 "",
void * siginfo = 0x00007ffc`9e071150,
void * context = 0x00007ffc`9e070c80,
char * filename = 0x00007ffc`9dc89800 "c:\sb\prod\1760984590\workspace\open\src\hotspot\share\nmt/mallocHeader.inline.hpp",
int lineno = 0n107,
unsigned int64 size = 0)+0xcf7
15 000000ed`187fee60 00007ffc`9d523448 jvm!report_fatal(
VMErrorType error_type = 0n-536870912 (No matching enumerant),
char * file = 0x00007ffc`9dc89800 "c:\sb\prod\1760984590\workspace\open\src\hotspot\share\nmt/mallocHeader.inline.hpp",
int line = 0n107,
char * detail_fmt = 0x00007ffc`9dc89c60 "NMT has detected a memory corruption bug. Block at 0x%016llx: %s")+0xb2
16 (Inline Function) --------`-------- jvm!MallocHeader::resolve_checked_impl(void)+0x191
17 000000ed`187feef0 00007ffc`9d522e14 jvm!MallocHeader::resolve_checked(
void * memblock = 0x0000020f`104c8710)+0x1b8
18 000000ed`187ff040 00007ffc`9d618d76 jvm!MallocTracker::record_free_block(
void * memblock = 0x0000020f`104c8710)+0x44
19 (Inline Function) --------`-------- jvm!MemTracker::record_free(void)+0xd
1a 000000ed`187ff080 00007ffc`9d970537 jvm!os::free(
void * memblock = 0x0000020f`104c8710)+0x76
1b 000000ed`187ff0b0 0000020f`0753fb18 jvm!WB_NMTFree(
struct JNIEnv_ * env = 0x0000020f`734f2950,
class _jobject * o = 0x000000ed`187ff1e8,
int64 mem = 0n2263721215760)+0x187
we need to disable coredumps in the test.
This hang with the minidump creation also leads to the test task timing out.
- links to
-
Review(master)
openjdk/jdk/27953