Hadoop Common
  1. Hadoop Common
  2. HADOOP-5462

Glibc double free exception thrown when chown syscall fails.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development