bugGNU Octave - Bugs: bug #37591, system with async option results...

 
 

bug #37591: system with async option results in zombie processes

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu Oct 18 00:37:48 2012  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat Nov 19 22:45:59 2016, comment #3:

This is still happening with Octave 4.2.0 (on linux).

Hartmut <hardy>
Wed Jul 9 15:03:11 2014, comment #2:

In bug #42665, it was reported that Octave can also create gnuplot zombie processes if gnuplot is killed outside of Octave's knowledge. If Octave then tries to interact with the plot, it gets a broken pipe error and gets stuck somewhere, but this is a separate issue. If Octave subsequently closes the figure, the process is cleaned up.

Mike Miller <mtmiller>
Project Administrator
Thu Oct 17 21:19:11 2013, comment #1:

Finally got around to testing this and I can confirm that Octave is leaving zombies around all the time.

Rik <rik5>
Project Administrator
Thu Oct 18 00:37:48 2012, original submission:

Each call of

leaves a zombie process on Linux, probably MacOS and other unices as well. The sigchld_handler function is called for each process that exits, but nothing is done to clean up these processes until Octave exits. Exiting Octave simply allows init to clean up the leftovers.

Example:

A more common way to trigger this behavior is the edit command, which defaults to async mode when starting the editor.

If edit or system are called enough times, the user can overrun the process limit and no more processes can be started until Octave exits.

Mike Miller <mtmiller>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed Jul 9 14:55:52 2014mtmillerDependencies-=>bugs #42665 is dependent
    Thu Oct 17 21:19:11 2013rik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup