[bitbake-devel] Exception on error

Burton, Ross ross.burton at intel.com
Thu Mar 13 16:35:35 UTC 2014


Hi,

Just got this error when bitbake was shutting down after a failed parse:

ERROR: An uncaught exception occured in runqueue, please see the failure below:
ERROR: Running idle function
Traceback (most recent call last):
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line
128, in ProcessServer.idle_commands(delay=0.1, fds=[<read-only
Connection, handle 4>, <read-write Connection, handle 7>, <read-write
Connection, handle 12>]):
                 try:
    >                retval = function(self, data, False)
                     if retval is False:
  File "/home/ross/Yocto/poky/bitbake/lib/bb/cooker.py", line 1171, in
buildTargetsIdle(server=<ProcessServer(ProcessServer-1, started)>,
rq=<bb.runqueue.RunQueue instance at 0x16b8dd40>, abort=False):
                 try:
    >                retval = rq.execute_runqueue()
                 except runqueue.TaskFailure as exc:
  File "/home/ross/Yocto/poky/bitbake/lib/bb/runqueue.py", line 1122,
in RunQueue.execute_runqueue():
                 try:
    >                self.teardown_workers()
                 except:
  File "/home/ross/Yocto/poky/bitbake/lib/bb/runqueue.py", line 950,
in RunQueue.teardown_workers():
             self.teardown = True
    >        signal.signal(signal.SIGCHLD, self.oldsigchld)
             self._teardown_worker(self.worker, self.workerpipe)
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a
callable object

I can look into this maybe tomorrow but hopefully someone will
recognise it as a simple fix and send a patch first.

Ross



More information about the bitbake-devel mailing list