Re: [OE-core] [PATCH 1/1] kill-bb: Add it for killing abnormal bitbake processes

2019-08-06 Thread Robert Yang
Hi RP and Ross, It seems that I have figured out the root cause, I can reproduce the problem nearly 100% when parsing: $ kill-bb; rm -fr tmp-glibc/cache/default-glibc/qemux86/x86_64/bb_cache.dat* ; bitbake -p Press *one* Ctrl-C when the parsing process is at 50%, then I can reproduce the pro

Re: [OE-core] [PATCH 1/1] kill-bb: Add it for killing abnormal bitbake processes

2019-08-02 Thread Richard Purdie
On Fri, 2019-08-02 at 11:21 +0100, Ross Burton wrote: > On 02/08/2019 11:24, Robert Yang wrote: > > There might be processes left after Ctr-C, e.g.: > > $ rm -f tmp/cache/default-glibc/qemux86/x86_64/ > > $ bitbake -p > > > > Press 'Ctrl-C' multiple times during parsing, then bitbake > > processes

Re: [OE-core] [PATCH 1/1] kill-bb: Add it for killing abnormal bitbake processes

2019-08-02 Thread Mikko.Rapeli
On Fri, Aug 02, 2019 at 11:21:24AM +0100, Ross Burton wrote: > On 02/08/2019 11:24, Robert Yang wrote: > > There might be processes left after Ctr-C, e.g.: > > $ rm -f tmp/cache/default-glibc/qemux86/x86_64/ > > $ bitbake -p > > > > Press 'Ctrl-C' multiple times during parsing, then bitbake proces

Re: [OE-core] [PATCH 1/1] kill-bb: Add it for killing abnormal bitbake processes

2019-08-02 Thread Ross Burton
On 02/08/2019 11:24, Robert Yang wrote: There might be processes left after Ctr-C, e.g.: $ rm -f tmp/cache/default-glibc/qemux86/x86_64/ $ bitbake -p Press 'Ctrl-C' multiple times during parsing, then bitbake processes may not exit, and the worse is that we can't start bitbake again, we can't al

[OE-core] [PATCH 1/1] kill-bb: Add it for killing abnormal bitbake processes

2019-08-02 Thread Robert Yang
There might be processes left after Ctr-C, e.g.: $ rm -f tmp/cache/default-glibc/qemux86/x86_64/ $ bitbake -p Press 'Ctrl-C' multiple times during parsing, then bitbake processes may not exit, and the worse is that we can't start bitbake again, we can't always reproduce this, but sometime. We can