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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 3.0, Impala 2.12.0
    • Impala 3.0, Impala 2.12.0
    • Backend
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: