Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-16252

Protobuf serialization in scanner on Solaris cause JVM to crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 8.9, 9.4
    • Fix Version/s: 8.9.9, 9.5
    • Component/s: Scanner
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Currently a bug from the recent versions of protobuf is causing sonar-scanner to crash on Solaris OS:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGBUS (0xa) at pc=0xffffffff7e423198, pid=5198, tid=2
      #
      # JRE version: Java(TM) SE Runtime Environment 18.9 (11.0.14+8) (build 11.0.14+8-LTS-263)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM 18.9 (11.0.14+8-LTS-263, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc)
      # Problematic frame:
      # V  [libjvm.so+0x1823198]  Unsafe_GetLong+0x1c8
      

      A few investigations have happened in this Discuss post: https://discuss.sonarsource.com/t/issue-with-jdk-8-11-on-solaris/10260

       

      A issue has been opened on Protobuf: 

      https://github.com/protocolbuffers/protobuf/issues/9728

       

      We will need to update Protobuf once the fix is out.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zipeng.wu Zipeng Wu
              Reporter:
              zipeng.wu Zipeng Wu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: