Hotspot segfaulting on Linux SPARC

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Mon Apr 9 16:33:00 UTC 2018


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

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the hotspot-dev mailing list