[bitbake-devel] Exception on error

Martin Jansa martin.jansa at gmail.com
Sun Mar 16 23:56:20 UTC 2014


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.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20140317/f580504d/attachment-0002.sig>


More information about the bitbake-devel mailing list