Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4737

If minidumps are disabled, SIGUSR1 goes unhandled and will crash the process

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Impala 2.7.0
    • Fix Version/s: Impala 2.10.0
    • Component/s: Backend
    • Labels:

      Description

      When disabling minidumps by setting 'minidump_path' to an empty string, the signal handler for SIGUSR1 in be/src/util/minidump.cc is not registered, leaving the signal unhandled. If someone sends that signal to the process, it will crash.

      We should register a signal handler nonetheless and either ignore the signal or print a log message explaining that minidumps are disabled.

        Attachments

          Activity

            People

            • Assignee:
              lv Lars Volker
              Reporter:
              lv Lars Volker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: