All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: bitbake-devel <bitbake-devel@lists.openembedded.org>
Subject: Re: Exception on error
Date: Mon, 17 Mar 2014 00:56:20 +0100	[thread overview]
Message-ID: <20140316235620.GC3725@jama> (raw)
In-Reply-To: <CAJTo0LZffXzAyhu23+phNpKTNbvRV5zYvwRQR5ssvG-t_isqnw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]

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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2014-03-16 23:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 16:35 Exception on error Burton, Ross
2014-03-16 23:56 ` Martin Jansa [this message]
2014-03-17 15:05   ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140316235620.GC3725@jama \
    --to=martin.jansa@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=ross.burton@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.