This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients BreamoreBoy, Saimadhav.Heblikar, roger.serwy, terry.reedy
Date 2014-10-02.19:30:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412278250.76.0.390810002382.issue15347@psf.upfronthosting.co.za>
In-reply-to
Content
A few years ago there was an issue where starting a new user process left the old user process continuing as a zombie. This time, it seems to be the idle process that becomes the zombie.  I determined this by starting Idle in edit-only mode, noting the memory size of the one process, running the shell, which starting a smaller user process, closing the editor, and continuing with the reproduce steps.  The larger Idle process remained. However, 'Idle' is gome from the Task Manager Application tab.

Saimadhav (or Mark) can you run the experiment on Linux and /or Mac and report a bit more?

The box says "The program is still running.  Do you want to kill it."  I am pretty sure 'the program' refers to the user process, not the Idle process.  (The message should be clearer about this.)

The message box is called in PyShell.PyShell.close (986 in 3.4.1).  If not 'Cancel', the call sequence is EditorWindow.EditorWindow.close, PyShell._close, Editor._close. PyShell._close first calls self.close_debugger.  That ends with 'Debug Off' and a new '>>> '.  I see these printed before Shell disappears.

If step 3 is omitted, there is no problem.  If I add 3b) Close the debugger, there is still a problem.  So 'activating' the debugger does something that is not undone by closing the debugger and that obstructs closing.
History
Date User Action Args
2014-10-02 19:30:50terry.reedysetrecipients: + terry.reedy, roger.serwy, BreamoreBoy, Saimadhav.Heblikar
2014-10-02 19:30:50terry.reedysetmessageid: <1412278250.76.0.390810002382.issue15347@psf.upfronthosting.co.za>
2014-10-02 19:30:50terry.reedylinkissue15347 messages
2014-10-02 19:30:49terry.reedycreate