https://bugzilla.novell.com/show_bug.cgi?id=668867

https://bugzilla.novell.com/show_bug.cgi?id=668867#c0


           Summary: Processes needs to be waited for to not turn into
                    zombies
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


Repro:

using System;
using System.Diagnostics;
class Zombie {
  static void Main () {
    Process.Start ("sleep", "1").Dispose ();
      Thread.Sleep (1000000);
      // now check using ps that the sleep process is a zombie process.
    }
}

This works:

using System;
using System.Diagnostics;
class Zombie {
  static void Main () {
    Process.Start ("sleep", "1").WaitForExit (1);
      Thread.Sleep (1000000);
      // now check using ps that the sleep process is a zombie process.
    }
}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to