octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58070] [octave forge] (symbolic) doesn't clos


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #58070] [octave forge] (symbolic) doesn't close subprocess calls
Date: Sat, 28 Mar 2020 16:11:57 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36

Update of bug #58070 (project octave):

                Severity:              3 - Normal => 1 - Wish               
                Priority:              5 - Normal => 3 - Low                
              Item Group:                    None => Performance            
                  Status:               Need Info => Confirmed              
                 Release:                   4.2.2 => dev                    

    _______________________________________________________

Follow-up Comment #4:

This bug report seems accurate to me in current versions of Octave. Basically,
the default Python interface for the symbolic package uses popen2, and it
keeps track of the open subprocess with persistent variables.

If the user uses the command 'sympref reset', then the subprocess is cleaned
up properly using 'fclose' and 'waitpid'. So there is no bug in this case,
everything is cleaned up properly.

But if the user uses 'clear all', or possibly 'clear functions', then the
persistent state of the package is reset without properly closing the pipe and
reaping the child process. I don't know if there's a way to handle that case.
Patches would be welcome.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58070>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]