Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8159890

SIGSEGV with UseStringDeduplication and UseSharedSpaces/RequireSharedSpaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b120
    • b128

    Description

      hs nightly build(2016-06-17) got SIGSEGV with following options on Linux-x64 with Ubuntu 16.04 OS: '-XX:+UseSharedSpaces -XX:+UseStringDeduplication -version' or '-XX:+RequireSharedSpaces -XX:+UseStringDeduplication -version'

      java -XX:+UseSharedSpaces -XX:+UseStringDeduplication -version
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f1cb4d80f80, pid=17441, tid=17455
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (fastdebug build 9-internal+0-2016-06-17-185941.dfazunen.hs-int)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 9-internal+0-2016-06-17-185941.dfazunen.hs-int, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xde3f80] java_lang_String::is_instance(oop)+0xa0
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %P" (or dumping to /home/ddmitriev/work/nightly_bundles/nightly.2016-06-20/fastdebug/bin/core.17441)
      #

      hs_err_pid3459.log and hs_err_pid590.log are attached.

      Also, it is needed to dump CDS before calling java with '-XX:+UseSharedSpaces -XX:+UseStringDeduplication' options, i.e.:
      java -Xshare:dump
      java -XX:+UseSharedSpaces -XX:+UseStringDeduplication -version

      Attachments

        Issue Links

          Activity

            People

              pliden Per Liden (Inactive)
              ddmitriev Dmitry Dmitriev
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: