RFR: 8282607: runtime/ErrorHandling/MachCodeFramesInErrorFile.java failed with "RuntimeException: 0 < 2"
David Holmes
dholmes at openjdk.java.net
Thu May 12 03:30:43 UTC 2022
On Wed, 11 May 2022 10:36:19 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> I've looked through the failures reported in https://bugs.openjdk.java.net/browse/JDK-8282607 and in all cases, the problem is that hs_err is truncated while printing the register to memory mapping and always while printing x14. Here are a few examples:
>
>
> Register to memory mapping:
>
> x0=0x000000000000000a is an unknown value
> x1=0x000000000000000a is an unknown value
> x2=0x0 is NULL
> x3=0x000000000000000a is an unknown value
> x4=0x000000013e009080 points into unknown readable memory: 0xabababababababab | ab ab ab ab ab ab ab ab
> x5=0x0000000000000005 is an unknown value
> x6=0x0 is NULL
> x7=0x0 is NULL
> x8=0x0 is NULL
> x9=0x0000000000000001 is an unknown value
> x10=0x2010000030300000 is an unknown value
> x11=0x0000000000000002 is an unknown value
> x12={method} {0x0000000800467b20} 'getLong' '(Ljava/lang/Object;J)J' in 'jdk/internal/misc/Unsafe'
> x13=0x0000000080000000 is an unknown value
> x14=
>
> and:
>
> Register to memory mapping:
>
> x0=0x000000000000000a is an unknown value
> x1=0x000000000000000a is an unknown value
> x2=0x0 is NULL
> x3=0x000000000000000a is an unknown value
> x4=0x000000012002ebc0 is pointing into metadata
> x5=0x0000000000000012 is an unknown value
> x6=0x0 is NULL
> x7=0x0000000136808210 is a thread
> x8=0x0 is NULL
> x9=0x0000000000000001 is an unknown value
> x10=0x2010000030300000 is an unknown value
> x11=0x0000010000000102 is an unknown value
> x12={method} {0x00000008004b0ed0} 'getLong' '(Ljava/lang/Object;J)J' in 'jdk/internal/misc/Unsafe'
> x13=0x0000000080000000 is an unknown value
> x14=
>
>
> To avoid the MachCodeFramesInErrorFile test failing as a result of the intermittent truncation, the test has been modified to pass if the section preceding the code blob dumping is not seen.
I've reopened JDK-8275677 to track this specific failure mode.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8650
More information about the hotspot-runtime-dev
mailing list