Synchrony on sparcv9 server crashed with Code Dump on V [libjvm.so+0xd6f768] Unsafe_GetInt+0x174

XMLWordPrintable

    • 10
    • Severity 3 - Minor
    • 0

      Summary

      The error we're seeing in Synchrony is a core dump with

      V  [libjvm.so+0xd6f768]  Unsafe_GetInt+0x174
      

      We're affected by this bug in a library called lz4 for sparcv9 hardware which is fixed, but not in the latest release 1.3.

      The change went from checking the OS is Solaris to Solaris and SunOS which is what you're machine is reporting. The code change included going from

      src/java/net/jpountz/util/Native.java
      } else if (osName.contains("Solaris")) {
      

      to

      src/java/net/jpountz/util/Native.java
      } else if (osName.contains("Solaris") || osName.contains("SunOS")) {
      

      plus some other bits.

      So, the library lz4 1.3 is used by a library we use called nippy 2.12.0.

      And nippy 2.12.0 is used in a library called faraday 1.9.0.

      And we use Faraday.

      Synchrony in Confluence Sever doesn't need Faraday. It's a hangover from the Cloud version of Synchrony that we haven't removed.

      Environment

      • sparcv9 hardware
      • OS reported as SunOS

      Actual Results

      It crashed with a Core Dump

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      #  SIGBUS (0xa) at pc=0xffffffff7dd6f768, pid=27534, tid=0x0000000000000002
      #
      # JRE version: Java(TM) SE Runtime Environment (8.0_112-b15) (build 1.8.0_112-b15)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.112-b15 mixed mode solaris-sparc compressed oops)
      # Problematic frame:
      # V  [libjvm.so+0xd6f768]  Unsafe_GetInt+0x174
      #
      # Core dump written. Default location: /var/atlassian/application-data/confluence/core or core.27534
      #
      # An error report file with more information is saved as:
      # /var/atlassian/application-data/confluence/hs_err_pid27534.log
      Compiled method (nm)   23801 1310     n 0       sun.misc.Unsafe::getInt (native)
       total in heap  [0xffffffff6a662a10,0xffffffff6a662db8] = 936
       relocation     [0xffffffff6a662b38,0xffffffff6a662b58] = 32
       main code      [0xffffffff6a662b60,0xffffffff6a662db0] = 592
       metadata       [0xffffffff6a662db0,0xffffffff6a662db8] = 8
      #
      # If you would like to submit a bug report, please visit:
      #   http://bugreport.java.com/bugreport/crash.jsp
      #
      

      Expected Results

      It works.

      Workaround

      None

      Notes

      Although Solaris is not a supported platform, many enterprises use it, and this issue is using a library that we don't use in serverland.

      This is here to track

            Assignee:
            Unassigned
            Reporter:
            James Richards
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: