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

Invoke lldb with --batch from failure handler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • infrastructure
    • None
    • b153

      When the failure handler invokes lldb to create a core it looks something like this:

      lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit'

      However if the attach command fails, the rest of the commands - including 'quit' - are not being run. This means the lldb process is hung.

      Adding '--batch' to the command line overcomes this problem.

            sla Staffan Larsen (Inactive)
            sla Staffan Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: