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

glibc detected java: malloc(): memory corruption

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      ADDITIONAL SYSTEM INFORMATION :
      OS : Linux

      Java Version :
      java version "1.8.0_231"
      Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      JVM crashed during file stream close. Stack trace below.

      *** glibc detected *** java: malloc(): memory corruption: 0x00007f1d7c099010 ***
      ======= Backtrace: =========
      /lib64/libc.so.6[0x3e41675e5e]
      /lib64/libc.so.6[0x3e4167a41a]
      /lib64/libc.so.6(__libc_malloc+0x5c)[0x3e4167ab1c]
      /lib64/libc.so.6[0x3e41666dab]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x90ac2c)[0x7f1de5761c2c]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x908b79)[0x7f1de575fb79]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x90f95d)[0x7f1de576695d]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x920544)[0x7f1de5777544]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x9b9b83)[0x7f1de5810b83]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x9ba1f1)[0x7f1de58111f1]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0xad9b27)[0x7f1de5930b27]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0xad9f08)[0x7f1de5930f08]
      /usr/java/jre1.8.0_231-amd64/lib/amd64/server/libjvm.so(+0x90dcb2)[0x7f1de5764cb2]
      /lib64/libpthread.so.0[0x3e41e07aa1]
      /lib64/libc.so.6(clone+0x6d)[0x3e416e8c4d]
      ======= Memory map: ========
      00400000-00401000 r-xp 00000000 08:05 1196513 /usr/java/jre1.8.0_231-amd64/bin/java
      00600000-00601000 r--p 00000000 08:05 1196513 /usr/java/jre1.8.0_231-amd64/bin/java
      00601000-00602000 rw-p 00001000 08:05 1196513 /usr/java/jre1.8.0_231-amd64/bin/java
      0195a000-0197b000 rw-p 00000000 00:00 0 [heap]
      d0000000-df600000 rw-p 00000000 00:00 0
      df600000-100000000 ---p 00000000 00:00 0
      100000000-1004c0000 rw-p 00000000 00:00 0
      1004c0000-140000000 ---p 00000000 00:00 0
      3e40e00000-3e40e20000 r-xp 00000000 08:05 655750 /lib64/ld-2.12.so
      3e41020000-3e41021000 r--p 00020000 08:05 655750 /lib64/ld-2.12.so
      3e41021000-3e41022000 rw-p 00021000 08:05 655750 /lib64/ld-2.12.so
      3e41022000-3e41023000 rw-p 00000000 00:00 0
      3e41200000-3e41202000 r-xp 00000000 08:05 655753 /lib64/libdl-2.12.so
      3e41202000-3e41402000 ---p 00002000 08:05 655753 /lib64/libdl-2.12.so
      3e41402000-3e41403000 r--p 00002000 08:05 655753 /lib64/libdl-2.12.so
      3e41403000-3e41404000 rw-p 00003000 08:05 655753 /lib64/libdl-2.12.so
      3e41600000-3e4178b000 r-xp 00000000 08:05 655751 /lib64/libc-2.12.so
      3e4178b000-3e4198a000 ---p 0018b000 08:05 655751 /lib64/libc-2.12.so
      3e4198a000-3e4198e000 r--p 0018a000 08:05 655751 /lib64/libc-2.12.so
      3e4198e000-3e41990000 rw-p 0018e000 08:05 655751 /lib64/libc-2.12.so
      3e41990000-3e41994000 rw-p 00000000 00:00 0
      3e41a00000-3e41a83000 r-xp 00000000 08:05 655823 /lib64/libm-2.12.so
      3e41a83000-3e41c82000 ---p 00083000 08:05 655823 /lib64/libm-2.12.so
      3e41c82000-3e41c83000 r--p 00082000 08:05 655823 /lib64/libm-2.12.so
      3e41c83000-3e41c84000 rw-p 00083000 08:05 655823 /lib64/libm-2.12.so
      3e41e00000-3e41e17000 r-xp 00000000 08:05 655752 /lib64/libpthread-2.12.so
      3e41e17000-3e42017000 ---p 00017000 08:05 655752 /lib64/libpthread-2.12.so
      3e42017000-3e42018000 r--p 00017000 08:05 655752 /lib64/libpthread-2.12.so
      3e42018000-3e42019000 rw-p 00018000 08:05 655752 /lib64/libpthread-2.12.so
      3e42019000-3e4201d000 rw-p 00000000 00:00 0
      3e42200000-3e42207000 r-xp 00000000 08:05 655820 /lib64/librt-2.12.so
      3e42207000-3e42406000 ---p 00007000 08:05 655820 /lib64/librt-2.12.so
      3e42406000-3e42407000 r--p 00006000 08:05 655820 /lib64/librt-2.12.so
      3e42407000-3e42408000 rw-p 00007000 08:05 655820 /lib64/librt-2.12.so
      3e43a00000-3e43a24000 r-xp 00000000 08:05 1077975 /usr/lib64/libxcb.so.1.1.0
      3e43a24000-3e43c24000 ---p 00024000 08:05 1077975 /usr/lib64/libxcb.so.1.1.0
      3e43c24000-3e43c25000 rw-p 00024000 08:05 1077975 /usr/lib64/libxcb.so.1.1.0
      3e43e00000-3e43e02000 r-xp 00000000 08:05 1077974 /usr/lib64/libXau.so.6.0.0
      3e43e02000-3e44002000 ---p 00002000 08:05 1077974 /usr/lib64/libXau.so.6.0.0
      3e44002000-3e44003000 rw-p 00002000 08:05 1077974 /usr/lib64/libXau.so.6.0.0
      3e44200000-3e44337000 r-xp 00000000 08:05 1077976 /usr/lib64/libX11.so.6.3.0
      3e44337000-3e44537000 ---p 00137000 08:05 1077976 /usr/lib64/libX11.so.6.3.0
      3e44537000-3e4453d000 rw-p 00137000 08:05 1077976 /usr/lib64/libX11.so.6.3.0
      3e44600000-3e44611000 r-xp 00000000 08:05 1077980 /usr/lib64/libXext.so.6.4.0
      3e44611000-3e44811000 ---p 00011000 08:05 1077980 /usr/lib64/libXext.so.6.4.0
      3e44811000-3e44812000 rw-p 00011000 08:05 1077980 /usr/lib64/libXext.so.6.4.0
      3e45e00000-3e45e09000 r-xp 00000000 08:05 1077977 /usr/lib64/libXrender.so.1.3.0
      3e45e09000-3e46008000 ---p 00009000 08:05 1077977 /usr/lib64/libXrender.so.1.3.0
      3e46008000-3e46009000 rw-p 00008000 08:05 1077977 /usr/lib64/libXrender.so.1.3.0
      3e46a00000-3e46a05000 r-xp 00000000 08:05 1077984 /usr/lib64/libXfixes.so.3.1.0
      3e46a05000-3e46c04000 ---p 00005000 08:05 1077984 /usr/lib64/libXfixes.so.3.1.0
      3e46c04000-3e46c05000 rw-p 00004000 08:05 1077984 /usr/lib64/libXfixes.so.3.1.0
      3e47200000-3e4720f000 r-xp 00000000 08:05 1077982 /usr/lib64/libXi.so.6.1.0
      3e4720f000-3e4740e000 ---p 0000f000 08:05 1077982 /usr/lib64/libXi.so.6.1.0
      3e4740e000-3e4740f000 rw-p 0000e000 08:05 1077982 /usr/lib64/libXi.so.6.1.0
      3e47600000-3e47609000 r-xp 00000000 08:05 1077985 /usr/lib64/libXcursor.so.1.0.2
      3e47609000-3e47809000 ---p 00009000 08:05 1077985 /usr/lib64/libXcursor.so.1.0.2
      3e47809000-3e4780a000 rw-p 00009000 08:05 1077985 /usr/lib64/libXcursor.so.1.0.2
      3e47e00000-3e47e16000 r-xp 00000000 08:05 655824 /lib64/libgcc_s-4.4.7-20120601.so.1
      3e47e16000-3e48015000 ---p 00016000 08:05 655824 /lib64/libgcc_s-4.4.7-20120601.so.1
      3e48015000-3e48016000 rw-p 00015000 08:05 655824 /lib64/libgcc_s-4.4.7-20120601.so.1
      3e48200000-3e482e8000 r-xp 00000000 08:05 1058961 /usr/lib64/libstdc++.so.6.0.13
      3e482e8000-3e484e8000 ---p 000e8000 08:05 1058961 /usr/lib64/libstdc++.so.6.0.13
      3e484e8000-3e484ef000 r--p 000e8000 08:05 1058961 /usr/lib64/libstdc++.so.6.0.13
      3e484ef000-3e484f1000 rw-p 000ef000 08:05 1058961 /usr/lib64/libstdc++.so.6.0.13
      3e484f1000-3e48506000 rw-p 00000000 00:00 0
      3e50e00000-3e50e05000 r-xp 00000000 08:05 1078011 /usr/lib64/libXtst.so.6.1.0
      3e50e05000-3e51004000 ---p 00005000 08:05 1078011 /usr/lib64/libXtst.so.6.1.0
      3e51004000-3e51005000 rw-p 00004000 08:05 1078011 /usr/lib64/libXtst.so.6.1.0
      7f1cc0d58000-7f1cc0dd8000 rw-p 00000000 00:00 0
      7f1cc0dd8000-7f1cc0f58000 ---p 00000000 00:00 0
      7f1cc0f58000-7f1cc0f99000 r-xp 00000000 08:05 1196571 /usr/java/jre1.8.0_231-amd64/lib/amd64/libjpeg.so
      7f1cc0f99000-7f1cc1199000 ---p 00041000 08:05 1196571 /usr/java/jre1.8.0_231-amd64/lib/amd64/libjpeg.so
      7f1cc1199000-7f1cc119a000 r--p 00041000 08:05 1196571 /usr/java/jre1.8.0_231-amd64/lib/amd64/libjpeg.so
      7f1cc119a000-7f1cc119b000 rw-p 00042000 08:05 1196571 /usr/java/jre1.8.0_231-amd64/lib/amd64/libjpeg.so

      7f1cc159d000-7f1cc17ae000 rw-s 00000000 00:05 1277983 /SYSV00401d08 (deleted)
      7f1cc17ae000-7f1cc17b1000 ---p 00000000 00:00 0
      7f1cc17b1000-7f1cc18af000 rw-p 00000000 00:00 0 [stack:11182]
      7f1cc18af000-7f1cc1ac0000 rw-s 00000000 00:05 458765 /SYSV00401cf7 (deleted)
      7f1cc1ac0000-7f1cc1b2c000 r-xp 00000000 08:05 1196590 /usr/java/jre1.8.0_231-amd64/lib/amd64/libt2k.so
      7f1cc1b2c000-7f1cc1d2c000 ---p 0006c000 08:05 1196590 /usr/java/jre1.8.0_231-amd64/lib/amd64/libt2k.so
      7f1cc1d2c000-7f1cc1d32000 r--p 0006c000 08:05 1196590 /usr/java/jre1.8.0_231-amd64/lib/amd64/libt2k.so
      7f1cc1d32000-7f1cc1d33000 rw-p 00072000 08:05 1196590 /usr/java/jre1.8.0_231-amd64/lib/amd64/libt2k.so
      7f1cc1d33000-7f1cc1f44000 rw-s 00000000 00:05 1212445 /SYSV00401d06 (deleted)
      7f1cc1f44000-7f1cc2144000 rw-p 00000000 00:00 0
      7f1cc2144000-7f1cc2355000 rw-s 00000000 00:05 262151 /SYSV00401cf2 (deleted)
      7f1cc2355000-7f1cc2566000 rw-s 00000000 00:05 327689 /SYSV00401cf4 (deleted)
      7f1cc2566000-7f1cc2777000 rw-s 00000000 00:05 425996 /SYSV00401cf6 (deleted)
      7f1cc2777000-7f1cc2988000 rw-s 00000000 00:05 491531 /SYSV00401cf8 (deleted)
      7f1cc2988000-7f1cc2b99000 rw-s 00000000 00:05 622608 /SYSV00401cfa (deleted)
      7f1cc2b99000-7f1cc2daa000 rw-s 00000000 00:05 720915 /SYSV00401cfc (deleted)
      7f1cc2daa000-7f1cc2fbb000 rw-s 00000000 00:05 786453 /SYSV00401cfe (deleted)
      7f1cc2fbb000-7f1cc31cc000 rw-s 00000000 00:05 1015831 /SYSV00401d00 (deleted)
      7f1cc31cc000-7f1cc33dd000 rw-s 00000000 00:05 1081369 /SYSV00401d02 (deleted)
      7f1cc33dd000-7f1cc35ee000 rw-s 00000000 00:05 1146907 /SYSV00401d04 (deleted)
      7f1cc35ee000-7f1cc35f1000 ---p 00000000 00:00 0
      7f1cc35f1000-7f1cc3def000 rw-p 00000000 00:00 0 [stack:11135]
      7f1cc3def000-7f1cc4000000 rw-s 00000000 00:05 1179676 /SYSV00401d05 (deleted)
      7f1cc4000000-7f1cc4021000 rw-p 00000000 00:00 0
      7f1cc4021000-7f1cc8000000 ---p 00000000 00:00 0
      7f1cc8000000-7f1cc8021000 rw-p 00000000 00:00 0
      7f1cc8021000-7f1ccc000000 ---p 00000000 00:00 0
      7f1ccc000000-7f1ccc021000 rw-p 00000000 00:00 0
      7f1ccc021000-7f1cd0000000 ---p 00000000 00:00 0
      7f1cd0000000-7f1cd0066000 rw-p 00000000 00:00 0
      7f1cd0066000-7f1cd4000000 ---p 00000000 00:00 0
      7f1cd4000000-7f1cd4021000 rw-p 00000000 00:00 0
      7f1cd4021000-7f1cd8000000 ---p 00000000 00:00 0
      7f1cd8000000-7f1cd8021000 rw-p 00000000 00:00 0
      7f1cd8021000-7f1cdc000000 ---p 00000000 00:00 0
      7f1cdc000000-7f1cdc021000 rw-p 00000000 00:00 0
      7f1cdc021000-7f1ce0000000 ---p 00000000 00:00 0
      7f1ce0004000-7f1ce0007000 ---p 00000000 00:00 0
      7f1ce0007000-7f1ce0105000 rw-p 00000000 00:00 0 [stack:11163]
      7f1ce0105000-7f1ce0108000 ---p 00000000 00:00 0
      7f1ce0108000-7f1ce0206000 rw-p 00000000 00:00 0 [stack:11232]
      7f1ce0206000-7f1ce0209000 ---p 00000000 00:00 0
      7f1ce0209000-7f1ce0a07000 rw-p 00000000 00:00 0 [stack:11134]
      7f1ce0a07000-7f1ce0c18000 rw-s 00000000 00:05 1146907 /SYSV00401d04 (deleted)
      7f1ce0c18000-7f1ce0e18000 rw-p 00000000 00:00 0
      7f1ce0e18000-7f1ce0e1b000 ---p 00000000 00:00 0
      7f1ce0e1b000-7f1ce1619000 rw-p 00000000 00:00 0 [stack:11129]
      7f1ce1619000-7f1ce161c000 ---p 00000000 00:00 0
      7f1ce161c000-7f1ce1e1a000 rw-p 00000000 00:00 0 [stack:11128]


      REGRESSION : Last worked in version 8


      ---------- BEGIN SOURCE ----------
      Properties _prop= new Properties();
      String _propFile = "<<file path>>";
      FileInputStream fis = null;
      try{
      fis = new FileInputStream(_propFile);
      _prop.load(fis);
      }catch(Exception e){
      }
      finally {
        if (fis != null) {
      System.out.println("Closing stream " + _propFile);
      try {
      fis.close();
      } catch (IOException e) {
      e.printStackTrace();
      }
        }
      }
      ---------- END SOURCE ----------

        Attachments

          Activity

            People

            • Assignee:
              fmatte Fairoz Matte
              Reporter:
              pnarayanaswa Praveen Narayanaswamy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: