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

(fc) SIGBUS when extending file size to map it

    Details

    • Subcomponent:
    • Resolved In Build:
      b149
    • CPU:
      x86_64
    • OS:
      linux

      Backports

        Description

        FULL PRODUCT VERSION :
        [megha@convsn101 ~]$ java -version
        java version "1.8.0_66"
        Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
        Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)


        FULL OS VERSION :
        Linux convsn101 3.10.0-327.el7.x86_64 #1 SMP Thu Oct 29 17:29:29 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

        A DESCRIPTION OF THE PROBLEM :
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGBUS (0x7) at pc=0x00007f192c7ea352, pid=20921, tid=139738801043200
        #
        # JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b17 mixed mode linux-amd64 compressed oops)
        # Problematic frame:
        # v ~StubRoutines::jshort_disjoint_arraycopy
        #
        # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
        #
        # If you would like to submit a bug report, please visit:
        # http://bugreport.java.com/bugreport/crash.jsp
        #

        --------------- T H R E A D ---------------

        Current thread (0x00007f144c004800): JavaThread "SEG_FILE_WRITER_10134_1204" [_thread_in_Java, id=24629, stack(0x00007f177988f000,0x00007f1779990000)]

        siginfo: si_signo: 7 (SIGBUS), si_code: 2 (BUS_ADRERR), si_addr: 0x00007f12bb41d000

        Registers:
        RAX=0x00000005db2fb6fa, RBX=0x0000000000006422, RCX=0x0000000000003211, RDX=0xfffffffffffff3a4
        RSP=0x00007f177998e170, RBP=0x00007f177998e170, RSI=0x00007f12bb4232fa, RDI=0x00000005db2fb6f0
        R8 =0x0000000000000000, R9 =0x0000000000000001, R10=0x00007f192c7eacc0, R11=0x00007f12bae38ae0
        R12=0x0000000000000000, R13=0x00000000005e4402, R14=0x00000005db2f51f0, R15=0x00007f144c004800
        RIP=0x00007f192c7ea352, EFLAGS=0x0000000000010292, CSGSFS=0x0000000000000033, ERR=0x0000000000000006
          TRAPNO=0x000000000000000e

        Top of Stack: (sp=0x00007f177998e170)
        0x00007f177998e170: 00000007ba6cf4e8 00007f192d0aa4eb
        0x00007f177998e180: 00000007b86bb570 00000007ba9c2200
        0x00007f177998e190: 00000000f8028f2c 00000001c552ca20
        0x00007f177998e1a0: 00000005c364dca8 0000000000006422
        0x00007f177998e1b0: 00000007b86f5760 00000005c364ddf0
        0x00007f177998e1c0: 00000000f8028f2c 00007f192e1a87f4
        0x00007f177998e1d0: 0000000001872fb0 00000005c364dd30
        0x00007f177998e1e0: 0000000006c3c112 00007f192ebd7424
        0x00007f177998e1f0: 00000007b86ef2e8 0000000006c3c111
        0x00007f177998e200: 00000005c3659bb8 00000005c3659bb8
        0x00007f177998e210: 00000001f824bb85 0000000006c3c407
        0x00007f177998e220: 00000005c364c1a0 00000005c364c148
        0x00007f177998e230: 00000000f8028f2c 00007f192ecba374
        0x00007f177998e240: 00000001c5763b18 00000005c3659b60
        0x00007f177998e250: 00000005c3659b80 00007f177a9b83a8
        0x00007f177998e260: 00000005c364dd30 00000005c364dd80
        0x00007f177998e270: 00000005c364dd10 00000005c3659bb8
        0x00007f177998e280: 0000000058089d4c 0000000000091c60
        0x00007f177998e290: 00000000f8028f2c 00007f192f4ffe64
        0x00007f177998e2a0: 00000007b86f5760 00000007b86ef2e8
        0x00007f177998e2b0: 0000000000000007 00000001c75fe1b8
        0x00007f177998e2c0: 0000000000000007 38ebfc3738ebfc25
        0x00007f177998e2d0: 0000000638ebfc2a 00000001c75fe150
        0x00007f177998e2e0: 00000001c47311b8 00007f1438ebfc25
        0x00007f177998e2f0: 0000000627c1f890 00000007c4f8407a
        0x00007f177998e300: 00007f17e032f568 0000000000000000
        0x00007f177998e310: 00007f1941db4c53 00007f1940f0afc1
        0x00007f177998e320: 00007f144c008b40 00007f144c004800
        0x00007f177998e330: 0000000000000000 00007f144c004800
        0x00007f177998e340: 00007f177998e360 00007f1940ecb81f
        0x00007f177998e350: 00007f144c008b40 00007f144c004800
        0x00007f177998e360: 00007f177998e390 00007f1940f153d0

        Instructions: (pc=0x00007f192c7ea352)
        0x00007f192c7ea332: 48 33 c0 c9 c3 66 0f 1f 84 00 00 00 00 00 c5 fa
        0x00007f192c7ea342: 6f 44 d7 c8 c5 fa 7f 44 d6 c8 c5 fa 6f 4c d7 d8
        0x00007f192c7ea352: c5 fa 7f 4c d6 d8 c5 fa 6f 54 d7 e8 c5 fa 7f 54
        0x00007f192c7ea362: d6 e8 c5 fa 6f 5c d7 f8 c5 fa 7f 5c d6 f8 48 83

        Register to memory mapping:

        RAX=0x00000005db2fb6fa is an unknown value
        RBX=0x0000000000006422 is an unknown value
        RCX=0x0000000000003211 is an unknown value
        RDX=0xfffffffffffff3a4 is an unknown value
        RSP=0x00007f177998e170 is pointing into the stack for thread: 0x00007f144c004800
        RBP=0x00007f177998e170 is pointing into the stack for thread: 0x00007f144c004800
        RSI=0x00007f12bb4232fa is an unknown

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        After some time , it just crashed.
        It happened on two servers around same time.

        REPRODUCIBILITY :
        This bug can be reproduced often.

          Attachments

          1. fstat.c
            0.8 kB
          2. hs_err_pid5108.log
            909 kB
          3. hs_err_pid71898.log
            4 kB
          4. i8168628.java
            0.9 kB
          5. TestFileCopy.java
            4 kB
          6. TestFileCopyNoRAF.java
            4 kB

            Issue Links

              Activity

                People

                • Assignee:
                  bpb Brian Burkhalter
                  Reporter:
                  webbuggrp Webbug Group
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: