]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake: runqueue: Ensure handler does not recurse
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2014 11:31:14 +0000 (11:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Mar 2014 11:32:52 +0000 (11:32 +0000)
Failures on the autobuilder look like this handler is recursing. That
shouldn't be possible but it doesn't hurt to code as such.

(Bitbake rev: e39e85803cbe1ef9413a118868c19087c0546d01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py

index e8dfb394cdca5d4694d91ef50a9e9b285e80f12d..b71e1d0fcb07a38882194ee2707268d41d9b1d89 100644 (file)
@@ -930,7 +930,7 @@ class RunQueue:
                     self.finish_runqueue(True)
             except OSError:
                 pid = False
-        if callable(self.oldsigchld):
+        if callable(self.oldsigchld) and self.oldsigchld != self.sigchild_exception:
             self.oldsigchld(*args, **kwargs)
 
     def start_worker(self):