[Bug 15619] New: Odd beavor of loops with async sleep in 1.136
bugzilla at busybox.net
bugzilla at busybox.net
Mon Jun 5 12:52:15 UTC 2023
https://bugs.busybox.net/show_bug.cgi?id=15619
Bug ID: 15619
Summary: Odd beavor of loops with async sleep in 1.136
Product: Busybox
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: major
Priority: P5
Component: Standard Compliance
Assignee: unassigned at busybox.net
Reporter: busybox at f2o.io
CC: busybox-cvs at busybox.net
Target Milestone: ---
If the first command of a for or while loop is forked the following sleep seems
to be forked or maybe even skipped too.
Example broken:
for i in 1 2 3 4 5 6 7 8 9; do echo test & sleep 5; done; echo test2
The former command does just take a few milliseconds. Compared to
for i in 1 2 3 4 5 6 7 8 9; do echo test & /bin/sleep 5; done; echo test2
which takes quite some time.
This issue was not existing in 1.35. Tested in an Alpine Linux Docker
container.
Thanks for your time!
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list