Hi again ...

I don't understand _what_ is going wrong, but at least I might
have found _when_ it is happening.

Please try the attached patch and see if it prints a warning.

On my systems, no warnings are shown when everything is OK, and
a warning is always shown before 'parallel' hangs. So the condi-
tion of the "print" might bring some light into this issue.

Thomas
--- /usr/bin/parallel   2012-04-02 18:01:58.000000000 +0200
+++ /home/tsattler/bin/parallel-20120322        2012-03-26 13:21:21.000000000 
+0200
@@ -1674,6 +1674,7 @@
         }
         # Ignore processes that we did not start
         my $job = $Global::running{$stiff};
+        $job or print("FATAL: job not found -> will hang!\n");
         $job or next;
         $job->set_exitstatus($? >> 8);
         $job->set_exitsignal($? & 127);

Reply via email to