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 18 Oct 2012 12:37:48 AM UTC  
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 Markup)

You are not logged in

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


Sat 19 Nov 2016 10:45:59 PM UTC, comment #3:

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

Hartmut <hardy>
Wed 09 Jul 2014 03:03:11 PM UTC, 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 17 Oct 2013 09:19:11 PM UTC, 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 18 Oct 2012 12:37:48 AM UTC, 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.


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):

No files currently attached


Depends on the following items: None found

   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 09 Jul 2014 02:55:52 PM UTCmtmillerDependencies-=>bugs #42665 is dependent
    Thu 17 Oct 2013 09:19:11 PM UTCrik5StatusNone=>Confirmed

    Back to the top

    Powered by Savane 3.1-cleanup1