[bitbake-devel] bitbake hangs forever when PR serv is enabled

Martin Jansa martin.jansa at gmail.com
Fri Jan 11 15:28:56 UTC 2013


When building world which takes long time to finish I 
sometimes see bitbake hanging forever. It didn't happen
until I've enabled PR Service. But maybe it's not caused 
by PR Service and it's just coincidence.

I've to kill python processes manually and this traceback shown:
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/jenkins/oe/shr-core-branches/shr-core/bitbake/lib/prserv/serv.py", line 173, in _work
    self.prserv.work_forever()
  File "/home/jenkins/oe/shr-core-branches/shr-core/bitbake/lib/prserv/serv.py", line 93, in work_forever
    self.handle_request()
  File "/usr/lib/python2.7/SocketServer.py", line 265, in handle_request
    fd_sets = select.select([self], [], [], timeout)
error: (4, 'Interrupted system call')

When this happens, there is only one python process doing something 
for very long time:
29299 jenkins    20   0     0     0     0 Z  0.0  0.0 26:13.66 |  |           |        `- python

and when I've tried to connect to it with strace it was looping
between 2 pipes both returning EAGAIN.

Usually last cooker output is rm_work_all in gimp, but I don't see 
anything special in gimp recipe and it could be some other thread 
in background.

NOTE: Running task 22874 of 23570 (ID: 996, /home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-graphics/gimp/gimp_2.8.2.bb, do_rm_work_all)
NOTE: recipe gimp-2.8.2-r0: task do_rm_work_all: Started
NOTE: recipe gimp-2.8.2-r0: task do_rm_work_all: Succeeded
Exception in thread Thread-1:
.. traceback from above

Anyone seen this too? Any hints?
-------------- 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/20130111/d078327a/attachment-0001.sig>


More information about the bitbake-devel mailing list