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

Crash in RuntimeProfile::EventSequence::AddNewerEvents() when events_ is empty

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 3.0, Impala 2.12.0
    • Fix Version/s: Impala 3.0, Impala 2.12.0
    • Component/s: Backend
    • Labels:
      None
    • Epic Color:
      ghx-label-7

      Description

      When events_ is empty in runtime-profile-counters.h:347, events_.back() is undefined. This can lead to a crash. The fix is to check for events_.empty() before calling back().

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: