diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-08-22 12:24:40 +0800 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2019-08-22 14:53:25 +0800 |
commit | d0e866d6640d5b834a6a48247642165e610f4a08 (patch) | |
tree | 0f5674fffd2691788ac6acdf34999512849a50a8 /meta/recipes-graphics/libva/libva_2.4.1.bb | |
parent | 58ab85d3e005476ab5bcc288ad421c0c5d1e0582 (diff) | |
download | openembedded-core-contrib-m5.tar.gz |
bitbake: cooker: Kill alive process before join itm5
Fixed:
$ echo helloworld >> meta/recipes-extended/bash/bash_4.4.18.bb
$ while true; do kill-bb; rm -fr bitbake-cookerdaemon.log tmp/cache/default-glibc/qemux86-64/x86_64/bb_cache.dat* ; bitbake -p; done
It may hang in 10 mins, there are two problems:
* There might be deadlocks when call process.join() if the queue is not NULL,
so we need cleanup the queue before join() it, but:
* The self.result_queue.get(timeout=0.25) may hang if the queue._wlock is hold
by SomeOtherProcess, the queue has the following info when it hangs:
'_wlock': <Lock(owner=SomeOtherProcess)>
We can kill alvie process before join it to fix the problems.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-graphics/libva/libva_2.4.1.bb')
0 files changed, 0 insertions, 0 deletions