All of lore.kernel.org
 help / color / mirror / Atom feed
* Exception on error
@ 2014-03-13 16:35 Burton, Ross
  2014-03-16 23:56 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2014-03-13 16:35 UTC (permalink / raw)
  To: bitbake-devel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Exception on error
  2014-03-13 16:35 Exception on error Burton, Ross
@ 2014-03-16 23:56 ` Martin Jansa
  2014-03-17 15:05   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2014-03-16 23:56 UTC (permalink / raw)
  To: Burton, Ross; +Cc: bitbake-devel

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Exception on error
  2014-03-16 23:56 ` Martin Jansa
@ 2014-03-17 15:05   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2014-03-17 15:05 UTC (permalink / raw)
  To: Martin Jansa; +Cc: bitbake-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-03-17 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13 16:35 Exception on error Burton, Ross
2014-03-16 23:56 ` Martin Jansa
2014-03-17 15:05   ` Richard Purdie

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.