Hi Alex

Thanks for Your suggestion, but there is actually only these three processes 
running.

user        53     1  1 07:37 pts/0    00:00:03 python3 
/home/user/meta-poky/bitbake/bin/bitbake machine
user        59     1  4 07:37 ?        00:00:14 python3 
/home/user/meta-poky/bitbake/bin/bitbake machine
user       449    59  5 07:39 ?        00:00:11 python3 
/home/user/meta-poky/bitbake/bin/bitbake-worker decafbad

Regards
Kjeld Flarup



________________________________________
From: Alexander Kanavin <[email protected]>
Sent: Friday, July 3, 2020 10:25
To: Kjeld Flarup
Cc: [email protected]
Subject: Re: [yocto] Build hangs

You can try to list the process tree with ps axjf, and the innermost under 
do_install is probably the one that is stuck. Then you can attach gdb to it to 
see what it is doing.

Alex

On Fri, 3 Jul 2020 at 10:07, Kjeld Flarup via 
lists.yoctoproject.org<http://lists.yoctoproject.org> 
<[email protected]<mailto:[email protected]>> 
wrote:
I sometimes encounters this situation, where a task is running forever. This 
example only one task, but I have seen 6 tasks which have been running for 10+ 
minutes

Currently  1 running tasks (680 of 2941)  23% |###########################      
                                                                                
      |
0: openssl-native-1.1.1d-r0 do_install - 6m17s (pid 6007)

When I look into the docker container I see only these processes
user@yocto:~$ ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
user         1     0  0 07:37 pts/0    00:00:00 /bin/bash scripts/ci.sh 
pdsystems prepare_artifacts
user        53     1  1 07:37 pts/0    00:00:03 python3 
/home/user/meta-poky/bitbake/bin/bitbake machine
user        59     1  4 07:37 ?        00:00:14 python3 
/home/user/meta-poky/bitbake/bin/bitbake machine
user       414     0  0 07:38 pts/1    00:00:00 bash
user       449    59  5 07:39 ?        00:00:11 python3 
/home/user/meta-poky/bitbake/bin/bitbake-worker decafbad
user     15205   414  0 07:42 pts/1    00:00:00 ps -ef

Usually I can fix this by deleting all of by build folder, which of course is 
annoying as it takes a loong time. Just deleting caches does not help.

Anybody has an idea of why this happens.

Kjeld Flarup


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49848): https://lists.yoctoproject.org/g/yocto/message/49848
Mute This Topic: https://lists.yoctoproject.org/mt/75275457/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to