JVM Crashes with SIGSEGV for build shenandoah-jdk8-b498-20191212

Roman Kennke rkennke at redhat.com
Fri Dec 13 12:16:50 UTC 2019


Hi Jestan,

thanks for reporting the bug!

Good news is that I can reproduce it. With fastdebug it fails even 
faster, even before the IDE is fully loaded.

As a workaroud you can disable class unloading by replacing 
-XX:+ClassUnloadingWithConcurrentMark with -XX:-ClassUnloading.

I'll let you know as soon as I have a fix!

Thanks, Roman


> Hi , I have been using shenandoah-jdk8 for Intellij Idea more than a year
> now :) and  no more pauses or hiccups while working with large projects, it
> works great.
> 
> Today I updated the jdk to latest build (shenandoah-jdk8-b498-20191212) and
> after that, JVM crashes with following error (after running Intellij Idea
> for a minute).
> 
> 
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x00007fec956b0e1e, pid=23911, tid=0x00007fec7f0a2700
> #
> # JRE version: OpenJDK Runtime Environment (8.0) (build
> 1.8.0-builds.shipilev.net-openjdk-shenandoah-jdk8-b498-20191212)
> # Java VM: OpenJDK 64-Bit Server VM (25.71-b498-20191212 mixed mode
> linux-amd64 compressed oops)
> # Problematic frame:
> # V  [libjvm.so+0x9c1e1e]  void
> ShenandoahConcurrentMark::mark_loop_work<ShenandoahMarkRefsClosure,
> true>(ShenandoahMarkRefsClosure*, unsigned short*, unsigned int,
> ShenandoahTaskTerminator*)+0xf9e
> 
> Stack: [0x00007fec7efa2000,0x00007fec7f0a3000],  sp=0x00007fec7f0a1c80,
>   free space=1023k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> V  [libjvm.so+0x9c1e1e]  void
> ShenandoahConcurrentMark::mark_loop_work<ShenandoahMarkRefsClosure,
> true>(ShenandoahMarkRefsClosure*, unsigned short*, unsigned int,
> ShenandoahTaskTerminator*)+0xf9e
> V  [libjvm.so+0x9c36c9]  void
> ShenandoahConcurrentMark::mark_loop_prework<true>(unsigned int,
> ShenandoahTaskTerminator*, ReferenceProcessor*, bool)+0x1f9
> V  [libjvm.so+0x9d6a08]  ShenandoahConcurrentMarkingTask::work(unsigned
> int)+0xa8
> V  [libjvm.so+0xb1a078]  GangWorker::loop()+0xc8
> V  [libjvm.so+0x8cdc52]  java_start(Thread*)+0xf2
> 
> 
> Here is the full crash log
> https://gist.github.com/jestan/d4abe02313b51d9b4208d699e779559b
> 
> thanks,
> -Jestan Nirojan
> 



More information about the shenandoah-dev mailing list