bugGNU Octave - Bugs: bug #63256, system async zombies

 
 

bug #63256: system async zombies

Submitter:  None
Submitted:  Sat 22 Oct 2022 08:53:41 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Duplicate Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 7.2.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 24 Oct 2022 08:52:06 AM UTC, comment #1: 

This looks like a duplicate of bug #37591.

If you think this report is about something different, please let us know and we'll re-open it.

Closing as duplicate.


Markus Mützel <mmuetzel>
Group administrator
Sat 22 Oct 2022 08:53:41 PM UTC, original submission:  

There is a problem with the 'async' option for the system command.

for ii = 1:1000
  system ('ls', false, 'async');
end


The code above causes 1000 zombie processes to hang around after they finish. They are called "<defunct>" in ps or htop. They only disappear when Octave itself is exited.

The code below makes them finish properly and not hang around:

for ii = 1:1000
  system ('ls &');
end


Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-24 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #37591

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code