newtmitch / docker-sonar-scanner

Quick sonar scanner docker image
MIT License
129 stars 88 forks source link

jdk problem with newtmitch/sonar-scanner:latest #45

Open giudel1987 opened 1 year ago

giudel1987 commented 1 year ago

Hi, i'm trying to use the sonar-scanner image with openjdk:12 (not alpine), but i have this error during sonar scanner startup when i run the container:

A fatal error has been detected by the Java Runtime Environment:  SIGILL (0x4) at pc=0x00007f1357a859bc, pid=7, tid=19 JRE version: OpenJDK Runtime Environment (12.0+29) (build 12-ea+29) Java VM: OpenJDK 64-Bit Server VM (12-ea+29, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64) Problematic frame: v  ~StubRoutines::updateBytesCRC32 An error report file with more information is saved as: /tmp/hs_err_pid7.log Compiled method (c1)    1477  119       3       java.util.zip.CRC32::update (51 bytes) total in heap  [0x00007f1358041e10,0x00007f1358042610] = 2048 relocation     [0x00007f1358041f88,0x00007f1358042000] = 120 main code      [0x00007f1358042000,0x00007f13580423e0] = 992 stub code      [0x00007f13580423e0,0x00007f13580424a8] = 200 metadata       [0x00007f13580424a8,0x00007f13580424b8] = 16 scopes data    [0x00007f13580424b8,0x00007f1358042538] = 128 scopes pcs     [0x00007f1358042538,0x00007f13580425f8] = 192 dependencies   [0x00007f13580425f8,0x00007f1358042600] = 8 nul chk table  [0x00007f1358042600,0x00007f1358042610] = 16 Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled.

Any ideas about this problem? Thank you so much