Hotspot segfaulting on Linux SPARC

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Fri Apr 6 13:23:27 UTC 2018


On 04/06/2018 03:16 PM, Zhengyu Gu wrote:
> I think it is symptom, the real cause is:
> 
> In CPUinfo constructor:
> 
> _string = strdup(vstr);
> 
> should be:
> 
> _string = os::strdup(vstr, mtInternal);

I changed that and now it seems I'm getting a different failure which
is an assertion failure:

# 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=18170, tid=18201
#  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)
# Core dump will be written. Default location: /srv/openjdk/hs/make/core
#
# An error report file with more information is saved as:
# /srv/openjdk/hs/make/hs_err_pid18170.log
#
# Compiler replay data is saved as:
# /srv/openjdk/hs/make/replay_pid18170.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Current thread is 18201
Dumping core ...
make[3]: *** [ExplodedImageOptimize.gmk:41: /srv/openjdk/hs/build/linux-sparcv9-normal-server-fastdebug/jdk/_packages_attribute.done] Aborted (core dumped)
make[3]: Leaving directory '/srv/openjdk/hs/make'
make[2]: *** [make/Main.gmk:360: exploded-image-optimize] Error 2
make[2]: Leaving directory '/srv/openjdk/hs'


-- 
  .''`.  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