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

failure_handler lldb command times out on macosx-aarch64 core file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 24
    • 24
    • hotspot
    • None
    • b07

    Description

      I was looking at the failure_handler output for the lldb command on a macosx-aarch64 core file (it is trying to use lldb to get a back trace of all threads), and noticed it timed out:

      ----------------------------------------
      [2024-07-15 05:15:47] [<snip>/usr/bin/lldb, --core, <snip>/core.92643, <snip>/bin/java, -o, thread backtrace all, -o, quit] timeout=20000 in <snip>
      ----------------------------------------
      (lldb) target create "<snip>/bin/java" --core "<snip>/core.92643"
      WARNING: tool timed out: killed process after 20000 ms
      ----------------------------------------
      [2024-07-15 05:16:07] exit code: -2 time: 20163 ms
      ----------------------------------------

      20 seconds is the failure_handler default timeout for all commands. Core files on macosx-aarch64 tend to be very large. This one was over 13gb. On my MBPro it took 30 seconds. I bumped up the timeout to 60 seconds and reproduce the same crash in mach5 (more than once), and it usually took about 55 seconds for the lldb command, but it did succeed with the longer timeout. I think we should change the timeout to event more than 60 seconds just to make sure we won't see timeouts. 120 seconds is probably a good amount

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: