[Idle-dev] [ idlefork-Bugs-720581 ] Restarting Shell (sometimes) causes sub-process to hang
SourceForge.net
noreply@sourceforge.net
Sun, 13 Apr 2003 04:17:50 -0700
Bugs item #720581, was opened at 2003-04-13 20:47
Message generated for change (Comment added) made by fisheggs
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=720581&group_id=9579
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nigel Rowe (fisheggs)
Assigned to: Nobody/Anonymous (nobody)
Summary: Restarting Shell (sometimes) causes sub-process to hang
Initial Comment:
When restarting the Shell windows (Using Ctrl+F6),
the sub-process intermittantly hangs in rpc.py with
an unhandled exception (usually "connection reset
by peer" or "Broken pipe") from socket.send() in
putmessage().
When PyShell restarts, it interupts and shutsdown
the sub-process, then closes the socket before
waiting for the subprocess to exit.
Proposed solution, reverse the order of
self.rpcclt.close() and os.wait() in
restart_subprocess().
----------------------------------------------------------------------
>Comment By: Nigel Rowe (fisheggs)
Date: 2003-04-13 21:17
Message:
Logged In: YES
user_id=756090
Possibly relevant. This was on a fast, dual cpu
machine
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109579&aid=720581&group_id=9579