Details
-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b110
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8235299 | openjdk8u252 | Denghui Dong | P2 | Resolved | Fixed | b01 |
Description
heapDumper doesn't check the size of segment while dumping an array. So if (bytes written to segment + length of array) > max_juint it overflows u4 segment length field and crash later on assert in heapDumper.cpp:
assert(dump_len >= 0 && dump_len <= max_juint) failed: bad dump length
assert(dump_len >= 0 && dump_len <= max_juint) failed: bad dump length
Attachments
Issue Links
- backported by
-
JDK-8235299 VM_HeapDumper hits assert with bad dump_len
- Resolved
- duplicates
-
JDK-8145091 JMAP fails to dump huge arrays
- Resolved
- relates to
-
JDK-8145091 JMAP fails to dump huge arrays
- Resolved
-
JDK-8149790 NegativeArraySizeException with hprof
- Resolved
-
JDK-8150986 serviceability/sa/jmap-hprof/JMapHProfLargeHeapTest.java failing because expects HPROF JAVA PROFILE 1.0.1 file format
- Closed
-
JDK-8171084 heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow.
- Closed
(1 relates to)