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

Frequent SEGV faults while running heavily theaded app

XMLWordPrintable

    • x86
    • linux

      ADDITIONAL SYSTEM INFORMATION :
      Linux, 64 bit, repoducible in both OpenJDK 11.0.3-7 (which we normally use) and Oracle 11.0.3 (which I can switch to if required)

      A DESCRIPTION OF THE PROBLEM :
      We are running a heavily multi-threaded application in Jenkins, and are seeing frequent core-dumps in one location. The hs_err indicates there is an "active compile task" on the method at the time of crash. There is no native component to the app, although we do make use of FileChannels.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      That's the problem - we only see this on our CI server, which is running 32 threads flat out for 10 minute or so, and it happens maybe one in 5 or 6 runs.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No SEGV

      ---------- BEGIN SOURCE ----------
      Sorry. 250,000 lines and it's proprietary. I will try to narrow it down but I'm not sure what info you need. The code is reading a PNG from a FileChannel (wrapped in quite a few layers of abstraction). However on closer inspection the crash appears to be unrelated; the FileChannel is via several layers of abstraction and none of those feature in the stacktrace on failure.

      I have an hs_err I can supply, I am trying to coax an actual core file out of Jenkins. I can run in different JVMs and happy to install a debug one for this if necessary.

      The hs_err indicates an active compiler thread on the method that is crashing, which I suspect is significant.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      None.

      FREQUENCY : often


        1. hs_err_pid1240.log
          734 kB
        2. hs_err_pid31788.log
          748 kB
        3. hs_err_pid323.log
          771 kB
        4. hserr.tar.gz
          1.76 MB

            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: