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

Crash during start up in _int_malloc() (libc) due to SIGSEGV

XMLWordPrintable

    • x86
    • linux

      Have seen occasional crashes during start up when running on Exalogic x2-2. The crash is reproducible but happens very seldom, something like 1 in 10000. It is reproducible on both jdk 7 and 8.

      The way I reproduce it is by running HelloCrash (like HelloWorld) over and over:
      while true; do java -Xms4096m -Xmx4096m HelloCrash; sleep 0.2; done

      The crash always seems to happen in _int_malloc and then the JVM often crashes again during crash handling. The stack trace before the call to malloc differs and I have not seen any real pattern.

      The Exalogic is running:
      Linux sthex01-srv06 2.6.32-400.1.1.el5uek #1 SMP Mon Jun 25 20:25:08 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

      jdk7:
      java version "1.7.0_12-ea"
      Java(TM) SE Runtime Environment (build 1.7.0_12-ea-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 24.0-b25, mixed mode)

      jdk8:
      java version "1.8.0-ea"
      Java(TM) SE Runtime Environment (build 1.8.0-ea-b66)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b10, mixed mode)

      Will attach some hs_err-files and cores. If needed I can provide more cores later, have around 50.

        1. HelloCrash.java
          0.2 kB
        2. hs_err_pid10725.log
          40 kB
        3. hs_err_pid10816.log
          39 kB
        4. hs_err_pid22043.log
          40 kB
        5. hs_err_pid23122.log
          40 kB
        6. hs_err_pid25632.log
          40 kB
        7. hs_err_pid28642.log
          39 kB
        8. jdk7.core.10816.gz
          5.50 MB
        9. jdk7.core.22043.gz
          5.50 MB
        10. jdk7.core.23122.gz
          5.50 MB
        11. jdk8.core.10725.gz
          5.13 MB
        12. jdk8.core.25632.gz
          5.51 MB
        13. jdk8.core.28642.gz
          5.07 MB
        14. hs_err_pid13517.log
          36 kB
        15. jdk8fastdbg.core.13517.gz
          5.99 MB

            Unassigned Unassigned
            sjohanss Stefan Johansson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: