Bash 4.4.12-r2 jobs hangs on arm (alpine 3.7)
Bash jobs are hanging with bash 4.4.12-r2 (from alpine 3.7) when running on armv7l :
sleep 10 & wait; echo "done waiting"
bash-4.4# sleep 10 & wait; echo "done waiting"
[1] 15
[1]+ Done sleep 10
echo is not executed and bash never give the hand back.
bash 4.3.48-r1 on alpine 3.6:
bash-4.3# sleep 10 & wait; echo "done waiting"
[1] 14
[1]+ Done sleep 10
done waiting
bash-4.3#
sh on alpine 3.6 or 3.7:
/ # sleep 10 & wait; echo "done waiting"
done waiting
[1]+ Done sleep 10
/ #
This was tested on a Raspberry Pi 3 and Scaleway C1 instance.
(from redmine: issue id 8447, created on 2018-01-29, closed on 2019-05-03)
- Changesets:
- Revision 6c1881db by Natanael Copa on 2018-02-07T19:04:45Z:
main/bash: fix jobs again
previous fix didnt solve the problem for 32 bit architectures.
We fix it by capping childmax to 8192.
ref #8447
- Revision 55aa74e4 by Natanael Copa on 2018-02-07T19:11:33Z:
main/bash: fix jobs again
previous fix didnt solve the problem for 32 bit architectures.
We fix it by capping childmax to 8192.
ref #8447