Hotspot segfaulting on Linux SPARC
David Holmes
david.holmes at oracle.com
Mon Apr 9 21:05:39 UTC 2018
On 10/04/2018 2:33 AM, John Paul Adrian Glaubitz wrote:
> On 04/09/2018 05:03 PM, Thomas Stüfe wrote:
>> VM_Version::determine_features() needs a code blob, and hence ResourceMark, on sparc and ppc and s390 I think.
>>
>> But I think the reason that only sparc fails is that VM_Version::determine_features() is called too early on Sparc (as part of os::init_before_ergo()). The
>> other platforms call that function later in initialization (VM_Version_init() -> init_globals()). Could that be the error, and if yes, could
>> VM_Version::determine_features() be delayed?
>
> I just did that but it doesn't really change anything for me.
>
> The main problem is still the assertion failure which I don't really understand
> is supposed to tell me.
>
> Would be nice if any of the SPARC experts could comment on this:
>
> # To suppress the following error report, specify this argument
> # after -XX: or in .hotspotrc: SuppressErrorAt=/assembler_sparc.cpp:52
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # Internal Error (/srv/openjdk/hs/src/hotspot/cpu/sparc/assembler_sparc.cpp:52), pid=18610, tid=18620
> # assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed.
> #
> # JRE version: OpenJDK Runtime Environment (11.0) (fastdebug build 11-internal+0-adhoc.glaubitz.hs)
> # Java VM: OpenJDK 64-Bit Server VM (fastdebug 11-internal+0-adhoc.glaubitz.hs, mixed mode, tiered, compressed oops, serial gc, linux-sparc)
> # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /srv/openjdk/hs/make/hs_err_pid18610.log
> #
> # Compiler replay data is saved as:
> # /srv/openjdk/hs/make/replay_pid18610.log
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.java.com/bugreport/crash.jsp
> #
> Current thread is 18620
>
Can you provide the stacktrace for the above please.
David
More information about the hotspot-dev
mailing list