SonarQube 8.0 (build 29455)
Windows Server 2016 x64
Java jdk-11.0.5
This is my first installation of Sonar Qube. After installation, the sonar started up, but when restarting it crashes with the error “A fatal error has been detected by the Java Runtime Environment: EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x0000011014eaa7b8, pid=6916, tid=5264”.
*A google search gave a solution: cleaning the directory C:\sonarqube\data\es6\nodes\0\indices. This needs to be done every time a Sonar Qube reboot. **
How to find the cause of the problem? I ask for help.
Logs:
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 | 2019.12.18 09:55:38 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\sonarqube\temp
jvm 1 | 2019.12.18 09:55:38 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
jvm 1 | 2019.12.18 09:55:38 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [C:\sonarqube\elasticsearch]: C:\jdk-11.0.5\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=C:\sonarqube\temp -XX:ErrorFile=…/logs/es_hs_err_pid%p.log -Des.enforce.bootstrap.checks=true -Xmx512m -Xms512m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=C:\sonarqube\elasticsearch -Des.path.conf=C:\sonarqube\temp\conf\es -cp lib/ org.elasticsearch.bootstrap.Elasticsearch
jvm 1 | 2019.12.18 09:55:38 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
jvm 1 | Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
jvm 1 | 2019.12.18 09:55:39 INFO app[o.e.p.PluginsService] no modules loaded
jvm 1 | 2019.12.18 09:55:39 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
jvm 1 | #
jvm 1 | # A fatal error has been detected by the Java Runtime Environment:
jvm 1 | #
jvm 1 | # EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x0000011014eaa7b8, pid=6916, tid=5264
jvm 1 | #
jvm 1 | # JRE version: Java™ SE Runtime Environment (11.0.5+10) (build 11.0.5+10-LTS)
jvm 1 | # Java VM: Java HotSpot™ 64-Bit Server VM (11.0.5+10-LTS, mixed mode, tiered, compressed oops, concurrent mark sweep gc, windows-amd64)
jvm 1 | # Problematic frame:
jvm 1 | # J 4628 c2 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer.calcHash([II)I (115 bytes) @ 0x0000011014eaa7b8 [0x0000011014eaa6a0+0x0000000000000118]
jvm 1 | #
jvm 1 | # Core dump will be written. Default location: C:\sonarqube\elasticsearch\hs_err_pid6916.mdmp
jvm 1 | #
jvm 1 | # An error report file with more information is saved as:
jvm 1 | # …/logs/es_hs_err_pid6916.log
jvm 1 | [thread 7600 also had an error]
jvm 1 | Compiled method (c2) 17674 4628 4 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer::calcHash (115 bytes)
jvm 1 | total in heap [0x0000011014eaa510,0x0000011014eaa988] = 1144
jvm 1 | relocation [0x0000011014eaa688,0x0000011014eaa6a0] = 24
jvm 1 | main code [0x0000011014eaa6a0,0x0000011014eaa880] = 480
jvm 1 | stub code [0x0000011014eaa880,0x0000011014eaa898] = 24
jvm 1 | oops [0x0000011014eaa898,0x0000011014eaa8a0] = 8
jvm 1 | metadata [0x0000011014eaa8a0,0x0000011014eaa8a8] = 8
jvm 1 | scopes data [0x0000011014eaa8a8,0x0000011014eaa910] = 104
jvm 1 | scopes pcs [0x0000011014eaa910,0x0000011014eaa970] = 96
jvm 1 | dependencies [0x0000011014eaa970,0x0000011014eaa978] = 8
jvm 1 | nul chk table [0x0000011014eaa978,0x0000011014eaa988] = 16
jvm 1 | Compiled method (c1) 17706 4594 3 com.fasterxml.jackson.core.sym.ByteQuadsCanonicalizer::findName (198 bytes)
jvm 1 | total in heap [0x000001100d9cfd10,0x000001100d9d0c90] = 3968
jvm 1 | relocation [0x000001100d9cfe88,0x000001100d9cff70] = 232
jvm 1 | main code [0x000001100d9cff80,0x000001100d9d0780] = 2048
jvm 1 | stub code [0x000001100d9d0780,0x000001100d9d0890] = 272
jvm 1 | oops [0x000001100d9d0890,0x000001100d9d0898] = 8
jvm 1 | metadata [0x000001100d9d0898,0x000001100d9d08a8] = 16
jvm 1 | scopes data [0x000001100d9d08a8,0x000001100d9d09d0] = 296
jvm 1 | scopes pcs [0x000001100d9d09d0,0x000001100d9d0c20] = 592
jvm 1 | dependencies [0x000001100d9d0c20,0x000001100d9d0c28] = 8
jvm 1 | nul chk table [0x000001100d9d0c28,0x000001100d9d0c90] = 104
jvm 1 | Could not load hsdis-amd64.dll; library not loadable; PrintAssembly is disabled
jvm 1 | #
jvm 1 | # If you would like to submit a bug report, please visit:
jvm 1 | # http://bugreport.java.com/bugreport/crash.jsp
jvm 1 | #
jvm 1 | 2019.12.18 09:56:03 WARN app[o.s.a.p.AbstractManagedProcess] Process exited with exit value [es]: 1
jvm 1 | 2019.12.18 09:56:03 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
jvm 1 | 2019.12.18 09:56:03 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
wrapper | <-- Wrapper Stopped