Re: Problem with zombie processes

2019-04-04 Thread E. Madison Bray
On Tue, Feb 21, 2017 at 12:58 PM Erik Bray wrote: > > On Mon, Feb 20, 2017 at 11:54 PM, Mark Geisert wrote: > > Erik Bray wrote: > >> > >> On Mon, Feb 20, 2017 at 11:54 AM, Mark Geisert wrote: > > So my guess was that Cygwin might try to hold on to a handle to a > child process at le

Re: Problem with zombie processes

2017-02-21 Thread Erik Bray
On Mon, Feb 20, 2017 at 11:54 PM, Mark Geisert wrote: > Erik Bray wrote: >> >> On Mon, Feb 20, 2017 at 11:54 AM, Mark Geisert wrote: So my guess was that Cygwin might try to hold on to a handle to a child process at least until it's been explicitly wait()ed. But that does not s

Re: Problem with zombie processes

2017-02-20 Thread Mark Geisert
Erik Bray wrote: On Mon, Feb 20, 2017 at 11:54 AM, Mark Geisert wrote: So my guess was that Cygwin might try to hold on to a handle to a child process at least until it's been explicitly wait()ed. But that does not seem to be the case after all. You might have missed a subtlety in what I sai

Re: Problem with zombie processes

2017-02-20 Thread Erik Bray
On Mon, Feb 20, 2017 at 11:54 AM, Mark Geisert wrote: >> So my guess was that Cygwin might try to hold on to a handle to a >> child process at least until it's been explicitly wait()ed. But that >> does not seem to be the case after all. > > > You might have missed a subtlety in what I said above.

Re: Problem with zombie processes

2017-02-20 Thread Mark Geisert
Erik Bray wrote: On Fri, Feb 17, 2017 at 11:06 PM, Mark Geisert wrote: Erik Bray wrote: On Tue, Feb 14, 2017 at 8:25 PM, Mark Geisert wrote: Please don't quote raw email addresses. We try to avoid feeding spammers. Sorry--normally replies on this ML are just back to the ML itself (my p

Re: Problem with zombie processes

2017-02-20 Thread Erik Bray
On Fri, Feb 17, 2017 at 11:06 PM, Mark Geisert wrote: > Erik Bray wrote: >> >> On Tue, Feb 14, 2017 at 8:25 PM, Mark Geisert wrote: > > > Please don't quote raw email addresses. We try to avoid feeding spammers. Sorry--normally replies on this ML are just back to the ML itself (my preference as

Re: Problem with zombie processes

2017-02-17 Thread Mark Geisert
Erik Bray wrote: On Tue, Feb 14, 2017 at 8:25 PM, Mark Geisert wrote: Please don't quote raw email addresses. We try to avoid feeding spammers. Erik Bray wrote: The attached Python script ?? D'oh! Here is the script. It at least demonstrates the problem. [...] Thanks! Running th

Re: Problem with zombie processes

2017-02-17 Thread Doug Henderson
On 17 February 2017 at 04:00, Erik Bray wrote: > On Tue, Feb 14, 2017 at 8:25 PM, Mark Geisert wrote: >> Erik Bray wrote: >>> >>> The attached Python script >> >> >> ?? > > D'oh! Here is the script. It at least demonstrates the problem. > If you add a few "time.sleep(1)" statements before and af

Re: Problem with zombie processes

2017-02-17 Thread Erik Bray
On Tue, Feb 14, 2017 at 8:25 PM, Mark Geisert wrote: > Erik Bray wrote: >> >> The attached Python script > > > ?? D'oh! Here is the script. It at least demonstrates the problem. test.py Description: Binary data -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Problem with zombie processes

2017-02-14 Thread Mark Geisert
Erik Bray wrote: The attached Python script ?? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Problem with zombie processes

2017-02-14 Thread Erik Bray
Hi all, I encountered a strange bug concerning zombie child processes during my testing. Specifically, it came up in the context of trying to read the /proc/ entries of processes that should be zombified but not reaped yet (i.e. they have received and processed a SIGKILL or SIGTERM but have not b