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

Marlin renderer causes unaligned write accesses

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b94
    • Resolved In Build:
      b99

      Backports

        Description

        Both SwingSet2 and Java2d demos crash upon start with SIGBUS on Solaris 10u10 - sparcv9 .
        Note: these demos run fine on Linux and on Windows.

        # Problematic frame:
        # V [libjvm.so+0x10a932c] Unsafe_SetNativeInt+0x15c

        Per Jim and Phil, here's the fix: http://hg.openjdk.java.net/jdk9/client/jdk/rev/779ee10f495f
        The problem is the fix is in 9/client and we may have to push
        just this one patch to 9/dev (if SQE request it before the regular 9/client integration).

        ======= More details: ===========
        Both demos ran fine on the same sparcv9 test machine during previous PIT integration (Verona integration).

        Build location:
          /net/scanas404.us.oracle.com/export/jcg/NB.archived/9/dev/2015-12-07.1321.devmach_pit/solaris-sparcv9
        PIT info: http://javaweb.us.oracle.com/jcg/ws-depot/9/dev/pit-info/9.b96/PIT.req
        Platform: SunOS sc11152554 5.10 Generic_147440-26 sun4v sparc sun4v - s10u10

        Steps to reproduce:
        $ cd /net/scanas404.us.oracle.com/export/jcg/NB.archived/9/dev/2015-12-07.1321.devmach_pit/solaris-sparcv9
        $ bin/java -jar demo/jfc/SwingSet2/SwingSet2.jar
        $ bin/java -jar demo/jfc/Java2D/Java2Demo.jar

        Log file:
        /net/scanas411.us.oracle.com/export/infra_jano/jcg/ws-depot/9/dev/build-archive/2015-12-07.1321.devmach_pit/logs/jcia-demo-all.sc11152554.2015-12-09-13.log

        ssteuck@jcia-sparcv9:logs$ head -40 /net/scanas411.us.oracle.com/export/infra_jano/jcg/ws-depot/9/dev/build-archive/2015-12-07.1321.devmach_pit/logs/jcia-demo-all.sc11152554.2015-12-09-13.log

        09-Dec-15 13:46:40 - =================== solaris-sparcv9 ==============================
        09-Dec-15 13:46:40 - pwd
        /net/scanas411.us.oracle.com/export/infra_jano/jcg/ws-depot/9/dev/build-archive/2015-12-07.1321.devmach_pit/solaris-sparcv9
        09-Dec-15 13:46:40 - uname_a
        SunOS sc11152554 5.10 Generic_147440-26 sun4v sparc sun4v

        09-Dec-15 13:46:40 - test_jdk_ver
        ========== version =========
        java version "9-internal"
        Java(TM) SE Runtime Environment (build 9-internal+0-2015-12-07-172905.mach5one.9-dev-build-solaris-sparc)
        Java HotSpot(TM) 64-Bit Server VM (build 9-internal+0-2015-12-07-172905.mach5one.9-dev-build-solaris-sparc, mixed mode)
        09-Dec-15 13:46:41 - jcia-demo-java2d
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGBUS (0xa) at pc=0xffffffff7dca932c, pid=18911, tid=23
        #
        # JRE version: Java(TM) SE Runtime Environment (9.0) (build 9-internal+0-2015-12-07-172905.mach5one.9-dev-build-solaris-sparc)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (9-internal+0-2015-12-07-172905.mach5one.9-dev-build-solaris-sparc, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc)
        # Problematic frame:
        # V [libjvm.so+0x10a932c] Unsafe_SetNativeInt+0x15c
        #
        # Core dump will be written. Default location: /net/scanas404.us.oracle.com/export/jcg/NB.archived/9/dev/2015-12-07.1321.devmach_pit/solaris-sparcv9/core or core.18911
        #
        # An error report file with more information is saved as:
        # /net/scanas404.us.oracle.com/export/jcg/NB.archived/9/dev/2015-12-07.1321.devmach_pit/solaris-sparcv9/hs_err_pid18911.log
        Compiled method (nm) 3770 1334 n 0 jdk.internal.misc.Unsafe::putInt (native)
         total in heap [0xffffffff6f06f510,0xffffffff6f06f8b8] = 936
         relocation [0xffffffff6f06f640,0xffffffff6f06f660] = 32
         main code [0xffffffff6f06f660,0xffffffff6f06f8b0] = 592
         metadata [0xffffffff6f06f8b0,0xffffffff6f06f8b8] = 8
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #
        /net/scanas411.us.oracle.com/export/infra_jano/jcg/ws-depot/tools/add_to_PATH/jcia/jcia-demo-java2d: line 3: 18911 Abort (core dumped) bin/java -jar demo/jfc/Java2D/Java2Demo.jar -runs=2 -delay=3
        09-Dec-15 13:49:16 - jcia-demo-swing
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  prr Philip Race
                  Reporter:
                  lana Svetlana Steuck (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: