|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #41619] parcellfun can cause octave to hang indefinitely |
Date: | Mon, 17 Feb 2014 08:30:27 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?41619> Summary: parcellfun can cause octave to hang indefinitely Project: GNU Octave Submitted by: None Submitted on: Mo 17 Feb 2014 08:30:26 UTC Category: Octave Forge Package Severity: 3 - Normal Priority: 5 - Normal Item Group: Crash Status: None Assigned to: None Originator Name: Florian Kühnlenz Originator Email: address@hidden Open/Closed: Open Discussion Lock: Any Release: 3.6.4 Operating System: GNU/Linux _______________________________________________________ Details: I had some troubles with octave hanging (never finishing its script) on some occasions. It only occurred on every 1000-5000 start of octave and was not reproducible. It turned out that is was a logic failure in parcellfun. Sometimes one of the forked processes took so long to start that the first process was handed two jobs and the slow starting process never got any job. This in turn results in the slow starting process never getting send a 0 signal to spin down. Which caused the main thread to hang indefinitely on waitpid. I will attach my fixed version, but I assume you guys may can come up with a better solution than just adding another array to keep track of the processes that got send a spin down signal. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mo 17 Feb 2014 08:30:26 UTC Name: parcellfun.m Size: 13kB By: None <http://savannah.gnu.org/bugs/download.php?file_id=30585> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?41619> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |