Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5462

Glibc double free exception thrown when chown syscall fails.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      When setuid script's chown call fails, a glibc double free exception is thrown. The reason for this is that file_handle which was opened to write the pid file is already closed and the cleanup: label tries to close it once again.

        Attachments

        1. hadoop-5462-2.patch
          7 kB
          Sreekanth Ramakrishnan
        2. hadoop-5462-1.patch
          6 kB
          Sreekanth Ramakrishnan
        3. HADOOP-5462.patch
          2 kB
          Sreekanth Ramakrishnan

          Activity

            People

            • Assignee:
              sreekanth Sreekanth Ramakrishnan
              Reporter:
              sreekanth Sreekanth Ramakrishnan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: