[bitbake-devel] Exception on error
Richard Purdie
richard.purdie at linuxfoundation.org
Mon Mar 17 15:05:20 UTC 2014
On Mon, 2014-03-17 at 00:56 +0100, Martin Jansa wrote:
> On Thu, Mar 13, 2014 at 04:35:35PM +0000, Burton, Ross wrote:
> > 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.
>
> I've started seeing this one today in some builds and only sometimes,
>
> bitbake -S some-image
>
> seems to be best reproducer here.
Thanks Martin, that let me reproduce and push a fix.
Cheers,
Richard
More information about the bitbake-devel
mailing list